[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible coreboot: improve job output
Holger Levsen
holger at moszumanska.debian.org
Mon Jun 8 10:03:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 13194ec75aff7e320ad5dc29d7a7a9d24ef48c7a
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Jun 8 11:50:28 2015 +0200
reproducible coreboot: improve job output
---
bin/reproducible_coreboot.sh | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index d3a3825..8876b01 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -27,7 +27,6 @@ create_results_dirs() {
call_debbindiff() {
local TMPLOG=(mktemp --tmpdir=$TMPDIR)
- echo
set +e
( timeout $TIMEOUT schroot \
--directory $TMPDIR \
@@ -43,17 +42,17 @@ call_debbindiff() {
cat $TMPLOG # print dbd output
rm -f $TMPLOG
case $RESULT in
- 0) echo "$1/coreboot.rom is reproducible, yay!"
+ 0) echo "$(date -u) - $1/coreboot.rom is reproducible, yay!"
;;
1)
- echo "$DBDVERSION found issues, please investigate $1/coreboot.rom"
+ echo "$(date -u) - $DBDVERSION found issues, please investigate $1/coreboot.rom"
;;
2)
- echo "$DBDVERSION had trouble comparing the two builds. Please investigate $1/coreboot.rom"
+ echo "$(date -u) - $DBDVERSION had trouble comparing the two builds. Please investigate $1/coreboot.rom"
;;
124)
if [ ! -s $TMPDIR/$1.html ] ; then
- echo "$(date -u) - $DBDVERSION produced no output and was killed after running into timeout after ${TIMEOUT}..."
+ echo "$(date -u) - $DBDVERSION produced no output for $1/coreboot.rom and was killed after running into timeout after ${TIMEOUT}..."
else
local msg="$DBDVERSION was killed after running into timeout after $TIMEOUT"
msg="$msg, but there is still $TMPDIR/$1.html"
@@ -61,7 +60,7 @@ call_debbindiff() {
echo $msg
;;
*)
- echo "Something weird happened when running $DBDVERSION (which exited with $RESULT) and I don't know how to handle it"
+ echo "$(date -u) - Something weird happened when running $DBDVERSION on $1/coreboot.rom (which exited with $RESULT) and I don't know how to handle it"
;;
esac
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list