[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible archlinux: follow up on 321db95 but revert the conditions to fail loudly and silently, to confirm the observations…

Holger Levsen holger at moszumanska.debian.org
Mon Dec 21 19:11:27 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 baafa49fcd426fdd1477d0f6d2d3526917b39f7b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Dec 21 20:10:58 2015 +0100

    reproducible archlinux: follow up on 321db95 but revert the conditions to fail loudly and silently, to confirm the observations…
---
 bin/reproducible_build_archlinux_pkg.sh | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index bbeafcf..9190f6f 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -234,13 +234,11 @@ remote_build() {
 	if [ $RESULT -ne 0 ] ; then
 		ssh -p $PORT $FQDN "rm -r $TMPDIR" || true
 		if [ $RESULT -eq 23 ] ; then
-			echo "$(date -u) - remote job could not end schroot session properly, failing loudly so we get a pointer for investigations."
-			exit 1
-		elif [ $RESULT -eq 42 ] ; then
-			echo "$($date -u) - sigh, we know this problem and need to debug it and end the session cleanly. Failing silently for now." # FIXME
-
+			echo "$(date -u) - remote job could not end schroot session properly and sent error 23 so we could abort silently."
 			exec /srv/jenkins/bin/abort.sh
-
+		elif [ $RESULT -eq 42 ] ; then
+			echo "$($date -u) - sigh, we know this problem and need to debug it and end the session cleanly. Failing loudly now so we can see this used to indeed silence things… (but we'll get noise from the other failures enabled in this commit…" # FIXME
+			exit 1
 		else
 			handle_remote_error "with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY"
 		fi

-- 
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