diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-11-25 15:26:06 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-11-25 15:26:06 +0100 |
commit | 3bf156d9a03753c1ef2e4ed77eebe7ec9c713b65 (patch) | |
tree | 87afd71d45cc1f56c5b008da9f0acd05c000ee7c | |
parent | 7595a2e2509defe3371dfc01b085e30bd7be2bde (diff) | |
download | jenkins.debian.net-3bf156d9a03753c1ef2e4ed77eebe7ec9c713b65.tar.xz |
reproducible: make more robust against network problems
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | bin/reproducible_build.sh | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -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 a3760352..19f7a656 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 } |