diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-08-15 21:48:33 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-15 21:48:33 +0200 |
commit | 51781f8ee0771848b0a594dc49b8abf12ae00d15 (patch) | |
tree | e492c460b0beaceb9eb63b03494a72cd7f7df3ec | |
parent | df09410d93cec963045e314cc1d7bc7e3e70c4f8 (diff) | |
download | jenkins.debian.net-51781f8ee0771848b0a594dc49b8abf12ae00d15.tar.xz |
reproducible Debian: improve logging
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | bin/reproducible_build.sh | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -118,6 +118,7 @@ The plan is to run a jenkins.d.o host, which is maintained by DSA, but we are ma * make reproducible_build.sh rock solid again and get rid off "set -x # # to debug diffoscoppe/schroot problems" ** pass scheduled version to remote build nodes and abort the build there if the to be build version is different +*** the current implementation does this backwards: it first builds and *then* checks on the main node if the build version was right… to make things worse, this check is also broken… ** add check if package to be build has been blacklisted since scheduling and abort ** on SIGTERM, also cleanup on remote build nodes there! (via ssh &) ** check rbuild logs for "DIFFOSCOPE='E: Failed to change to directory /tmp: Permission denied' and deal with those diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 6363c3cf..11727ffd 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -774,6 +774,7 @@ check_buildinfo() { build_rebuild() { FTBFS=1 mkdir b1 b2 + log_info "Starting 1st build on remote node $NODE1." remote_build 1 $NODE1 if [ ! -f b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] && [ -f b1/${SRCPACKAGE}_*_${ARCH}.changes ] ; then log_error "Version mismatch between main node (${SRCPACKAGE}_${EVERSION}_${ARCH}.dsc expected) and first build node ($(ls b1/*dsc)) for $SUITE/$ARCH, aborting. Please upgrade the schroots..." @@ -782,7 +783,7 @@ build_rebuild() { NOTIFY="" exit 0 elif [ -f b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then - log_info "Build successful. Starting remote build." + log_info "1st build successful. Starting 2nd build on remote node $NODE2." remote_build 2 $NODE2 if [ -f b2/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then # both builds were fine, i.e., they did not FTBFS. |