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 6624e561f4965999b09849e3b3f8387a3e8023de
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 | 16 +++++++++++++---
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index fcd9dd4..0aa22bf 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" tmux start-server\; set -g status off\; n [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index fe835e0..90ce64f 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -5,15 +5,25 @@ 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
abe_branch="$2"
#these parameters used by Benchmark.job
-export benchmark="$3"
-export toolchain="$4"
+export benchmark="${3:?Must set a benchmark}"
+export toolchain="${4:?Must set a toolchain}"
if test x"$5" = xNone; then
export run_flags=
else
--
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 538f51e50da7207a921694ac641302a2ce2c85cc
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 | 16 +++++++++++++---
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index fcd9dd4..23097db 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" tmux start-server\; set -g status off\; n [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index fe835e0..90ce64f 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -5,15 +5,25 @@ 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
abe_branch="$2"
#these parameters used by Benchmark.job
-export benchmark="$3"
-export toolchain="$4"
+export benchmark="${3:?Must set a benchmark}"
+export toolchain="${4:?Must set a toolchain}"
if test x"$5" = xNone; then
export run_flags=
else
--
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 6e9cb5e Move early IP report to first script
discards 613fb2f Remove hacking session isms
discards bbec7ab Create debug mode
new 538f51e Create debug mode
new ff530fe Remove hacking session isms
new dd258b8 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 (6e9cb5e)
\
N -- N -- N refs/heads/remove_hackingisms (dd258b8)
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 +-
invoke_session_debian | 4 ++--
2 files changed, 3 insertions(+), 3 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 dd258b8090816a656c1fff34c75418602f97ffdd
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 23097db..e147936 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\; set -g status off\; n [...]
+ - env BENCH_DEBUG="$BENCH_DEBUG" tmux start-server\; set -g status off\; n [...]
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 ff530fe637fb680a8daeaf1ce2658a8034efdd1d
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.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 6784a47 PR c++/66555 PR c/54979 * c-common.c (find_array_ref_with_ [...]
new ab2874b 2015-07-27 Matthew Wahab <matthew.wahab(a)arm.com>
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/ChangeLog | 18 ++++++++++++++++++
gcc/config/arm/arm-arches.def | 3 ++-
gcc/config/arm/arm-c.c | 5 +++++
gcc/config/arm/arm-cores.def | 4 ++--
gcc/config/arm/arm-protos.h | 6 +++++-
gcc/config/arm/arm-tables.opt | 31 +++++++++++++++++--------------
gcc/config/arm/arm.c | 4 ++++
gcc/config/arm/arm.h | 2 +-
gcc/config/arm/driver-arm.c | 3 +++
gcc/doc/invoke.texi | 2 +-
10 files changed, 58 insertions(+), 20 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 6e9cb5e2022260d3ce306bc5b0903eecdc65d313
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 387c6ee..1b9a350 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"
- - tmux start-server\; set -g status off\; new -s benchmark-host env BENCH_ [...]
+ - tmux start-server\; set -g status off\; new -s benchmark-host env BENCH_ [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index c0b7108..9772160 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"
+export toolchain="$3"
+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 change to branch remove_hackingisms
in repository toolchain/semiautobench.
discards 9756f17 Move early IP report to first script
discards 587500d Remove hacking session isms
discards 25510f1 Create debug mode
new bbec7ab Create debug mode
new 613fb2f Remove hacking session isms
new 6e9cb5e 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 (9756f17)
\
N -- N -- N refs/heads/remove_hackingisms (6e9cb5e)
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 remove_hackingisms
in repository toolchain/semiautobench.
commit bbec7abb688fab2eb028b52600e704c5fd489db9
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..387c6ee 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 [...]
+ - tmux start-server\; set -g status off\; new -s benchmark-host env BENCH_ [...]
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 commit to branch remove_hackingisms
in repository toolchain/semiautobench.
commit 613fb2f33c5cb05e3b2f66f829f4d0d7718516b1
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.