Commit 3bf156d9 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible: make more robust against network problems

parent 7595a2e2
...@@ -135,6 +135,7 @@ This is about Debian, below are more todo entries for other projects… ...@@ -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 &) * on SIGTERM, also ssh to remote host and cleanup there! (via ssh &)
* higher prio: * 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" ** 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 *** 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. *** 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.
......
...@@ -167,13 +167,14 @@ diff_copy_buildlogs() { ...@@ -167,13 +167,14 @@ diff_copy_buildlogs() {
handle_404() { handle_404() {
echo "Warning: Download of ${SRCPACKAGE} sources from ${SUITE} failed." | tee -a ${RBUILDLOG} echo "Warning: Download of ${SRCPACKAGE} sources from ${SUITE} failed." | tee -a ${RBUILDLOG}
ls -l ${SRCPACKAGE}* | 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='' DURATION=''
EVERSION="None" EVERSION="None"
update_rbuildlog update_rbuildlog
update_db_and_html "404" update_db_and_html "404"
if [ $SAVE_ARTIFACTS -eq 1 ] ; then SAVE_ARTIFACTS=0 ; fi if [ $SAVE_ARTIFACTS -eq 1 ] ; then SAVE_ARTIFACTS=0 ; fi
if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; 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 exit 0 # RBUILDLOG and SAVE_ARTIFACTS and NOTIFY are used in cleanup_all called at exit
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment