[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: make more robust against network problems

Holger Levsen holger at moszumanska.debian.org
Wed Nov 25 14:33:04 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 3bf156d9a03753c1ef2e4ed77eebe7ec9c713b65
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Nov 25 15:26:06 2015 +0100

    reproducible: make more robust against network problems
---
 TODO                      | 1 +
 bin/reproducible_build.sh | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/TODO b/TODO
index 005858e..c002628 100644
--- a/TODO
+++ b/TODO
@@ -135,6 +135,7 @@ This is about Debian, below are more todo entries for other projects…
 * on SIGTERM, also ssh to remote host and cleanup there! (via ssh &)
 
 * higher prio:
+** scheduler should automatically schedule 404 packages
 ** explain status in plain english on each coreboot/openwrt/netbsd/freebsd page, also on the Debian dashboard plus add an "executive summary about reproducible builds in the free software world"
 *** get the content for "<h2>status of $1</h2>" from notes.git/friends.yaml or such
 *** document in the non-debian pages, that we don't have a clear idea yet, how to record+reproduce the build environment and that this is essential for reproducible builds too.
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index a376035..19f7a65 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -167,13 +167,14 @@ diff_copy_buildlogs() {
 handle_404() {
 	echo "Warning: Download of ${SRCPACKAGE} sources from ${SUITE} failed." | tee -a ${RBUILDLOG}
 	ls -l ${SRCPACKAGE}* | tee -a ${RBUILDLOG}
-	echo "Warning: Maybe there was a network problem, or ${SRCPACKAGE} is not a source package in ${SUITE}, or it was removed or renamed. Please investigate." | tee -a ${RBUILDLOG}
+	echo "Warning: Maybe there was a network problem, or ${SRCPACKAGE} is not a source package in ${SUITE}, or it was removed or renamed. Please investigate. Sleeping 30m as this should not happen." | tee -a ${RBUILDLOG}
 	DURATION=''
 	EVERSION="None"
 	update_rbuildlog
 	update_db_and_html "404"
 	if [ $SAVE_ARTIFACTS -eq 1 ] ; then SAVE_ARTIFACTS=0 ; fi
 	if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; fi
+	sleep 30m
 	exit 0 # RBUILDLOG and SAVE_ARTIFACTS and NOTIFY are used in cleanup_all called at exit
 }
 

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