summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_coreboot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-08 11:50:28 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-08 11:50:28 +0200
commit13194ec75aff7e320ad5dc29d7a7a9d24ef48c7a (patch)
treec655429a063b8691df679a908e7c1a884c492256 /bin/reproducible_coreboot.sh
parent151f81520c2f2adc603eeef61e8c5ee03e41b852 (diff)
downloadjenkins.debian.net-13194ec75aff7e320ad5dc29d7a7a9d24ef48c7a.tar.xz
reproducible coreboot: improve job output
Diffstat (limited to 'bin/reproducible_coreboot.sh')
-rwxr-xr-xbin/reproducible_coreboot.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index d3a3825a..8876b01e 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
}