This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch inserted_src
in repository toolchain/semiautobench.
discards 29a9c4d Create debug mode
adds 89b4665 Create debug mode
adds af786a8 Remove hacking session isms
adds f3f3771 Move early IP report to first script
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (29a9c4d)
\
N -- N -- N refs/heads/inserted_src (f3f3771)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
No new revisions were added by this update.
Summary of changes:
bench-session-debian.yaml | 3 +--
invoke_session_debian | 34 ++++++++--------------------------
setup_session_debian | 5 +++++
3 files changed, 14 insertions(+), 28 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit f3f37718c88e2e3a7ef3b3eeab60afb4b377481d
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Mon Jul 27 12:33:16 2015 +0200
Move early IP report to first script
This is even earlier, and de-pollutes the main script a little.
Change-Id: I6dd6276190cad4af1c17b1c1ec78ed0627133bc0
---
bench-session-debian.yaml | 3 +--
invoke_session_debian | 22 ++++++++--------------
setup_session_debian | 5 +++++
3 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index b349a5e..934c8a6 100644
--- a/bench-session-debian.yaml
+++ b/bench-session-debian.yaml
@@ -6,7 +6,6 @@ metadata:
params:
PUB_KEY: None
- GATEWAY: 10.0.0.1
ABE_BRANCH: benchmarking
BENCHMARK: fakebench
TOOLCHAIN: https://releases.linaro.org/14.11/components/toolchain/binaries/arm [...]
@@ -37,4 +36,4 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - env BENCH_DEBUG="$BENCH_DEBUG" ./invoke_session_debian "$GATEWAY" "$ABE_ [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" ./invoke_session_debian "$ABE_BRANCH" "$B [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index c0b7108..2c05826 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -16,29 +16,22 @@ function exitfunc {
trap exitfunc EXIT
-# Hack for now until lava-test-shell is smart enough to know it's dispatcher ip
-gateway=$1
-abe_branch="$2"
+abe_branch="$1"
#these parameters used by Benchmark.job
-export benchmark="$3"
-export toolchain="$4"
-if test x"$5" = xNone; then
+export benchmark="${2:?Must set a benchmark}"
+export toolchain="${3:?Must set a toolchain}"
+if test x"$4" = xNone; then
export run_flags=
else
- export run_flags="$5"
+ export run_flags="$4"
fi
-if test x"$6" = xNone; then
+if test x"$5" = xNone; then
export compiler_flags=
else
- export compiler_flags="$6"
+ export compiler_flags="$5"
fi
-# Obtain target IP and Hostname
-ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...]
-hostname=$(cat /etc/hostname)
-echo "IP address for early debugging: ${ip_addr}"
-
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
@@ -80,6 +73,7 @@ fi
#Generate config file for each target in multinode job
lava-network broadcast eth0
lava-network collect eth0
+ip_addr="$(lava-network query `lava-group | grep '[[:blank:]]\+host$' | awk '{prin [...]
#Request agent just before we need it
#This would be two keys in one agent if we wanted one for source, one for job
diff --git a/setup_session_debian b/setup_session_debian
index 4352d2d..ac6c2b5 100755
--- a/setup_session_debian
+++ b/setup_session_debian
@@ -12,3 +12,8 @@ echo "Public Key Installed: $1"
/etc/init.d/ssh restart
echo "sshd re-started"
+
+echo "Hostname for early debugging: $(cat /etc/hostname)"
+echo "IP address for early debugging: $(hostname -I)"
+
+
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit af786a898fbad7d11fae85341bd8a964a4a0599c
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Fri Jul 24 15:44:53 2015 +0200
Remove hacking session isms
We keep the bit that computes the IP address, even though
lava-network will tell us the same thing later - this is for
debugging of early problems.
Change-Id: I753801fcc4c051401d0aabb218bb7fd02d33324f
---
invoke_session_debian | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian
index aa28ae9..c0b7108 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -1,5 +1,4 @@
#!/bin/bash
-# Usage ./invoke_session <gateway>
set -u
set -o pipefail
@@ -34,17 +33,11 @@ if test x"$6" = xNone; then
else
export compiler_flags="$6"
fi
-echo "Target's Gateway: $gateway"
-
-if ! grep 'invoke_session' /etc/rc.local
-then
- sed -i '/bin/a invoke_session &' /etc/rc.local
-fi
# Obtain target IP and Hostname
ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...]
hostname=$(cat /etc/hostname)
-echo ${ip_addr}
+echo "IP address for early debugging: ${ip_addr}"
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
@@ -84,11 +77,6 @@ if ! ssh -o NoHostAuthenticationForLocalhost=yes localhost true; then
exit 1
fi
-echo ""
-mkdir -p /run
-mkdir -p /run/hacking
-echo $$ > /run/hacking/hacking.pid
-
#Generate config file for each target in multinode job
lava-network broadcast eth0
lava-network collect eth0
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit 89b46652c7166317ece0d0f46d64b7c7b793c656
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Mon Jul 27 09:22:21 2015 +0200
Create debug mode
Wrap script in tmux, so that we can attach on failure. Disable
status bar so that console output isn't full of escape codes.
Trap exits so that, if BENCH_DEBUG is set, we do not exit.
The two together let us log in, attach to tmux session and suspend.
We can then debug in the environment where the error occurred.
Change-Id: I0d508e8f77b6ece882913a876f2ebd5054301cb4
---
bench-session-debian.yaml | 3 ++-
invoke_session_debian | 12 +++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index fcd9dd4..b349a5e 100644
--- a/bench-session-debian.yaml
+++ b/bench-session-debian.yaml
@@ -12,6 +12,7 @@ params:
TOOLCHAIN: https://releases.linaro.org/14.11/components/toolchain/binaries/arm [...]
RUN_FLAGS: None
COMPILER_FLAGS: None
+ BENCH_DEBUG: None
install:
deps:
@@ -36,4 +37,4 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - ./invoke_session_debian "$GATEWAY" "$ABE_BRANCH" "$BENCHMARK" "$TOOLCHAI [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" ./invoke_session_debian "$GATEWAY" "$ABE_ [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index fe835e0..aa28ae9 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -5,7 +5,17 @@ set -o pipefail
error=1
-trap "rm -rf ~/*; exit \${error}" EXIT
+function exitfunc {
+ if test ${error} -ne 0; then
+ if test x"${BENCH_DEBUG}" != x && test x"${BENCH_DEBUG}" != xNone; then
+ sleep infinity
+ fi
+ fi
+ rm -rf ~/*
+ exit ${error}
+}
+
+trap exitfunc EXIT
# Hack for now until lava-test-shell is smart enough to know it's dispatcher ip
gateway=$1
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch remove_hackingisms
in repository toolchain/semiautobench.
discards bebd78a Move early IP report to first script
discards da5d621 Remove hacking session isms
discards 2b29efd Don't attach tmux to console
omits 6624e56 Create debug mode
new 89b4665 Create debug mode
new af786a8 Remove hacking session isms
new f3f3771 Move early IP report to first script
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (bebd78a)
\
N -- N -- N refs/heads/remove_hackingisms (f3f3771)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
bench-session-debian.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch tmux_wrapper
in repository toolchain/semiautobench.
commit 5fd4fd4d91238865cf72c602643e2e50da6dd47e
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Mon Jul 27 15:59:05 2015 +0200
Don't attach tmux to console
Makes the output less confusing, at least when attaching to the
session for debugging purposes.
NB THIS BRANCH WAS A BROKEN ATTEMPT TO WRAP THE SCRIPT WITH TMUX -
AS I DON'T SET UP ENVIRONMENT INDEPENDENTLY FROM SCRIPT, IT ISN'T
USEFUL. BUT I'LL PUSH IT TO A BRANCH FOR NOW, THESE TRICKS MAY
BE GOOD FOR SOMETHING ELSE SOMEDAY.
Change-Id: I347a1e77913b1319c6401f76d564b9c9f9ec6569
---
bench-session-debian.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index 0aa22bf..bc36ff0 100644
--- a/bench-session-debian.yaml
+++ b/bench-session-debian.yaml
@@ -37,4 +37,4 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; new -ds benchmark-hos [...]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch tmux_wrapper
in repository toolchain/semiautobench.
at 5fd4fd4 Don't attach tmux to console
This branch includes the following new commits:
new 5fd4fd4 Don't attach tmux to console
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from ab2874b 2015-07-27 Matthew Wahab <matthew.wahab(a)arm.com>
new 1ed4ddb Fix logic error in Fortran OpenACC parsing
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/fortran/ChangeLog | 5 +++++
gcc/fortran/parse.c | 6 ++++--
2 files changed, 9 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit bebd78a098e584e022a47a1bb2e8c5dcd9729690
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Mon Jul 27 12:33:16 2015 +0200
Move early IP report to first script
This is even earlier, and de-pollutes the main script a little.
Change-Id: I6dd6276190cad4af1c17b1c1ec78ed0627133bc0
---
bench-session-debian.yaml | 3 +--
invoke_session_debian | 22 ++++++++--------------
setup_session_debian | 5 +++++
3 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index bc36ff0..676f45a 100644
--- a/bench-session-debian.yaml
+++ b/bench-session-debian.yaml
@@ -6,7 +6,6 @@ metadata:
params:
PUB_KEY: None
- GATEWAY: 10.0.0.1
ABE_BRANCH: benchmarking
BENCHMARK: fakebench
TOOLCHAIN: https://releases.linaro.org/14.11/components/toolchain/binaries/arm [...]
@@ -37,4 +36,4 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; new -ds benchmark-hos [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; new -ds benchmark-hos [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index 6e5df43..2c05826 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -16,29 +16,22 @@ function exitfunc {
trap exitfunc EXIT
-# Hack for now until lava-test-shell is smart enough to know it's dispatcher ip
-gateway=$1
-abe_branch="$2"
+abe_branch="$1"
#these parameters used by Benchmark.job
-export benchmark="${3:?Must set a benchmark}"
-export toolchain="${4:?Must set a toolchain}"
-if test x"$5" = xNone; then
+export benchmark="${2:?Must set a benchmark}"
+export toolchain="${3:?Must set a toolchain}"
+if test x"$4" = xNone; then
export run_flags=
else
- export run_flags="$5"
+ export run_flags="$4"
fi
-if test x"$6" = xNone; then
+if test x"$5" = xNone; then
export compiler_flags=
else
- export compiler_flags="$6"
+ export compiler_flags="$5"
fi
-# Obtain target IP and Hostname
-ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...]
-hostname=$(cat /etc/hostname)
-echo "IP address for early debugging: ${ip_addr}"
-
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
@@ -80,6 +73,7 @@ fi
#Generate config file for each target in multinode job
lava-network broadcast eth0
lava-network collect eth0
+ip_addr="$(lava-network query `lava-group | grep '[[:blank:]]\+host$' | awk '{prin [...]
#Request agent just before we need it
#This would be two keys in one agent if we wanted one for source, one for job
diff --git a/setup_session_debian b/setup_session_debian
index 4352d2d..ac6c2b5 100755
--- a/setup_session_debian
+++ b/setup_session_debian
@@ -12,3 +12,8 @@ echo "Public Key Installed: $1"
/etc/init.d/ssh restart
echo "sshd re-started"
+
+echo "Hostname for early debugging: $(cat /etc/hostname)"
+echo "IP address for early debugging: $(hostname -I)"
+
+
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit da5d62156887173f40be7ab83402b609edf4312d
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Fri Jul 24 15:44:53 2015 +0200
Remove hacking session isms
We keep the bit that computes the IP address, even though
lava-network will tell us the same thing later - this is for
debugging of early problems.
Change-Id: I753801fcc4c051401d0aabb218bb7fd02d33324f
---
invoke_session_debian | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian
index 90ce64f..6e5df43 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -1,5 +1,4 @@
#!/bin/bash
-# Usage ./invoke_session <gateway>
set -u
set -o pipefail
@@ -34,17 +33,11 @@ if test x"$6" = xNone; then
else
export compiler_flags="$6"
fi
-echo "Target's Gateway: $gateway"
-
-if ! grep 'invoke_session' /etc/rc.local
-then
- sed -i '/bin/a invoke_session &' /etc/rc.local
-fi
# Obtain target IP and Hostname
ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...]
hostname=$(cat /etc/hostname)
-echo ${ip_addr}
+echo "IP address for early debugging: ${ip_addr}"
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
@@ -84,11 +77,6 @@ if ! ssh -o NoHostAuthenticationForLocalhost=yes localhost true; then
exit 1
fi
-echo ""
-mkdir -p /run
-mkdir -p /run/hacking
-echo $$ > /run/hacking/hacking.pid
-
#Generate config file for each target in multinode job
lava-network broadcast eth0
lava-network collect eth0
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.