This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch inserted_src
in repository toolchain/semiautobench.
commit 62b6015a1a33b068951967722b3528486fafe2d4
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.
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 | 4 +++-
invoke_session_debian | 12 +++++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml
index fcd9dd4..096f64d 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,5 @@ install:
run:
steps:
- ./setup_session_debian "$PUB_KEY"
- - ./invoke_session_debian "$GATEWAY" "$ABE_BRANCH" "$BENCHMARK" "$TOOLCHAI [...]
+ - tmux set -g status off
+ - tmux new -s benchmark-host 'BENCH_DEBUG="$BENCH_DEBUG" ./invoke_session_ [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index fe835e0..88f180b 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; 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 inserted_src
in repository toolchain/semiautobench.
discards e2bcef7 Create debug mode
new 62b6015 Create debug mode
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 (e2bcef7)
\
N -- N -- N refs/heads/inserted_src (62b6015)
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 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:
bench-session-debian.yaml | 1 +
1 file changed, 1 insertion(+)
--
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 inserted_src
in repository toolchain/semiautobench.
commit e2bcef7e37cd11c4879680afda59c019a4445835
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.
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..c32911d 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 new -s benchmark-host 'BENCH_DEBUG="$BENCH_DEBUG" ./invoke_session_ [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index fe835e0..88f180b 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; 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 inserted_src
in repository toolchain/semiautobench.
discards 7254f28 Create debug mode
new e2bcef7 Create debug mode
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 (7254f28)
\
N -- N -- N refs/heads/inserted_src (e2bcef7)
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 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:
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 inserted_src
in repository toolchain/semiautobench.
The following commit(s) were added to refs/heads/inserted_src by this push:
new 7254f28 Create debug mode
7254f28 is described below
commit 7254f28c0cb1b78c1c7084b3f2212b195e08fa87
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.
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..e5d70d8 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 [...]
+ - BENCH_DEBUG="$BENCH_DEBUG" tmux new -ds benchmark-host './invoke_session [...]
diff --git a/invoke_session_debian b/invoke_session_debian
index fe835e0..88f180b 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; 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.
unknown user pushed a change to branch trunk
in repository gcc.
from 2ce308e Fix PR c++/18969 (invalid return statement diagnosed too late)
new e954729 Daily bump.
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/DATESTAMP | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.