This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch bernie/jenkmarking-multinode
in repository toolchain/abe.
discards 1447bf4 Terminate ping loop when host receives the ping
discards b153b55 Fix code to pause between pings
discards 896692f Add post-run command
new ea9f4f0 Fix code to pause between pings
new ed16a31 Terminate ping loop when host receives the ping
new 7f1a2aa Add post-run command
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 (1447bf4)
\
N -- N -- N refs/heads/bernie/jenkmarking-multinode (7f1a2aa)
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:
scripts/runbenchmark.sh | 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 change to branch bernie/jenkmarking-multinode
in repository toolchain/abe.
from 896692f Add post-run command
new b153b55 Fix code to pause between pings
new 1447bf4 Terminate ping loop when host receives the ping
The 2 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:
scripts/runbenchmark.sh | 11 +++++++----
1 file changed, 7 insertions(+), 4 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 bernie/jenkmarking-multinode
in repository toolchain/abe.
commit 1447bf4f3ee9004f4ec6e049475180beedb5d12a
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Tue Jul 28 10:43:34 2015 +0200
Terminate ping loop when host receives the ping
Change-Id: I4d5eecff29b9e6869c59102d1a7748954fe5b1ed
---
scripts/runbenchmark.sh | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/scripts/runbenchmark.sh b/scripts/runbenchmark.sh
index 076c5e1..55a77fc 100755
--- a/scripts/runbenchmark.sh
+++ b/scripts/runbenchmark.sh
@@ -177,10 +177,8 @@ fi
../controlledrun.sh ${cautious} ${flags} -l ${tee_output} -- ./linarobench.sh [...]
ret=\\\$?; \
echo \\\${ret} > ${target_dir}/RETCODE && \
- while true; do \
- if ping -c 1 ${host_ip}; then \
- break; \
- fi \
+ while ! test -e ${target_dir}/postrunack; do \
+ ping -c 1 ${host_ip}; \
sleep 11; \
done; \
exit \\\${ret}" \
@@ -198,6 +196,10 @@ fi
#Today LAVA lab does not provide DNS, but IP seems stable in practice
#Rather than work around lack of DNS, just make sure we notice if the IP changes
while ! tcpdump -c 1 -i eth0 'icmp and icmp[icmptype]=icmp-echo' | grep -q "${ip} [...]
+if ! (. ${topdir}/lib/common.sh; remote_exec "${ip}" "touch ${target_dir}/postruna [...]
+ echo "Warning: Failed to send post-run ack to target"
+ #Don't set $error, this is just a warning
+fi
error="`(. ${topdir}/lib/common.sh; remote_exec "${ip}" 'cat ${target_dir}/RETCODE [...]
if test $? -ne 0; then
echo "Unable to determine exit code, assuming the worst." 1>&2
--
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 8587c57 Halt targets on successful run
8587c57 is described below
commit 8587c5760a54aa1e95fe857403dc64518f5e777d
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Tue Jul 28 10:32:55 2015 +0200
Halt targets on successful run
Change-Id: I3111b37c5222ac1c53f2cc01d658351313379a40
---
invoke_session_debian | 1 +
1 file changed, 1 insertion(+)
diff --git a/invoke_session_debian b/invoke_session_debian
index f199403..2b24bab 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -124,6 +124,7 @@ rm ~/data/socket
export targets="${target_names[@]}"
export maindir="/${HOME}/bench"
+export post_target_cmd="shutdown -h 0"
mkdir "${maindir}"
chmod 700 "${maindir}"
--
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 bernie/jenkmarking-multinode
in repository toolchain/abe.
commit 896692f547b71e182151f9c6e8dcda320f2bbbab
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Fri Jul 24 17:52:11 2015 +0200
Add post-run command
The most likely use is to reboot conventional targets, or to
halt LAVA targets.
Change-Id: Ic7172f8abdbc855aba0555df7b3f87baca104216
---
scripts/Benchmark.job | 4 ++--
scripts/benchmark.sh | 6 ++++--
scripts/runbenchmark.sh | 12 +++++++++++-
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/scripts/Benchmark.job b/scripts/Benchmark.job
index e584f75..c3d53dd 100755
--- a/scripts/Benchmark.job
+++ b/scripts/Benchmark.job
@@ -56,5 +56,5 @@ echo cd "${maindir}"
echo "${ABE_DIR}"/configure --with-fileserver=148.251.136.42 --with-remote-snapsho [...]
"${ABE_DIR}"/configure --with-fileserver=148.251.136.42 --with-remote-snapsho [...]
-echo "${ABE_DIR}"/scripts/benchmark.sh ${run_flags:+-a \"${run_flags//\"/\\\"}\"} [...]
- "${ABE_DIR}"/scripts/benchmark.sh ${run_flags:+-a "${run_flags//\"/\\\"}"} [...]
+echo "${ABE_DIR}"/scripts/benchmark.sh ${post_target_cmd:+-e \"${post_target_cmd}\ [...]
+ "${ABE_DIR}"/scripts/benchmark.sh ${post_target_cmd:+-e "${post_target_cmd}" [...]
diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh
index 6b10b70..bcc49f4 100755
--- a/scripts/benchmark.sh
+++ b/scripts/benchmark.sh
@@ -88,7 +88,8 @@ keep= #'-p' (polite) - clean up and release target even if there [...]
#'' (default) - clean up and release target unless there is an error
#'-k' (keep) - unconditionally keep target-side data and target
target=
-while getopts g:f:a:i:b:kpchs flag; do
+post_target_cmd=
+while getopts g:f:a:i:b:e:kpchs flag; do
case "${flag}" in
g) tag="${OPTARG}";;
a) run_benchargs="${OPTARG}";;
@@ -116,6 +117,7 @@ while getopts g:f:a:i:b:kpchs flag; do
echo 'Unconditional release (-p) set: data will be scrubbed and target rele [...]
;;
f) compiler_flags="${OPTARG}";;
+ e) post_target_cmd="${OPTARG}";;
h)
usage
exit 0
@@ -190,7 +192,7 @@ if ! tar cjf "${cmpbuild}" -C "${builddir}/.." "`basename ${bui [...]
exit 1
fi
for device in "${devices[@]}"; do
- "${topdir}"/scripts/runbenchmark.sh -g "${tag:-${device}-${benchmark}}" -b "${be [...]
+ "${topdir}"/scripts/runbenchmark.sh ${post_target_cmd:+-e "${post_target_cmd}"} [...]
runpids[$!]=''
done
diff --git a/scripts/runbenchmark.sh b/scripts/runbenchmark.sh
index 9f3abd0..d9f3a45 100755
--- a/scripts/runbenchmark.sh
+++ b/scripts/runbenchmark.sh
@@ -18,7 +18,8 @@ keep=
cautious=''
build_dir=
run_benchargs=
-while getopts g:b:d:t:a:kpc flag; do
+post_target_cmd=
+while getopts g:b:d:t:e:s:kpc flag; do
case "${flag}" in
g) tag="${OPTARG}";;
k) keep='-k';;
@@ -28,6 +29,7 @@ while getopts g:b:d:t:a:kpc flag; do
d) device="${OPTARG}";;
t) buildtar="${OPTARG}";;
a) run_benchargs="${OPTARG}";;
+ e) post_target_cmd="${OPTARG}";;
*)
echo "Bad arg" 1>&2
exit 1
@@ -97,6 +99,14 @@ clean_benchmark()
echo "Target post-boot initialisation did not happen, thus nothing to clean up."
fi
+ if test ${error} -eq 0; then
+ echo "Sending post-target command '${post_target_cmd}' - will not check error code"
+ if test x"${post_target_cmd}" != x; then
+ (. ${topdir}/lib/common.sh; remote_exec "${ip}" "${post_target_cmd}" ${ssh_opts})
+ fi
+ #We don't check the error code because this might well include a shutdown
+ fi
+
exit "${error}"
}
--
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 bernie/jenkmarking-multinode
in repository toolchain/abe.
discards b81d9c8 Add strictly-required quotes
discards ddc58ce Better logging
discards a0f70a4 Add option to reboot target on completion
new f215413 Better logging
new 85834af Add strictly-required quotes
new 896692f Add post-run command
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 (b81d9c8)
\
N -- N -- N refs/heads/bernie/jenkmarking-multinode (896692f)
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:
scripts/Benchmark.job | 4 ++--
scripts/benchmark.sh | 6 ++++--
scripts/runbenchmark.sh | 18 +++++++++++-------
3 files changed, 17 insertions(+), 11 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.