summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-21 19:41:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-21 19:41:55 +0100
commit17d62359c64e9292fc4d845eec836caced137f39 (patch)
treed2275d1347c84f8f345b13689908ef752548c429 /bin
parentdfdcc8682eee19ed5d596ab0be7326c573fe8c7b (diff)
downloadjenkins.debian.net-17d62359c64e9292fc4d845eec836caced137f39.tar.xz
reproducible: give the 2nd build 18h to finish (while the 1st only has 12h)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 338c2076..119af884 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -597,7 +597,9 @@ umask 0002
EOF
set +e
# remember to change the sudoers setting if you change the following command
- sudo timeout -k 12.1h 12h /usr/bin/ionice -c 3 /usr/bin/nice \
+ # (the 2nd build gets a longer timeout trying to make sure the first build
+ # aint wasted when then 2nd happens on a highly loaded node)
+ sudo timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice \
/usr/bin/unshare --uts -- \
/usr/sbin/pbuilder --build \
--configfile $TMPCFG \
@@ -610,7 +612,7 @@ EOF
PRESULT=$?
set -e
if [ $PRESULT -eq 124 ] ; then
- echo "$(date -u) - pbuilder was killed by timeout after 12h." | tee -a b2/build.log
+ echo "$(date -u) - pbuilder was killed by timeout after 18h." | tee -a b2/build.log
fi
if ! "$DEBUG" ; then set +x ; fi
rm $TMPCFG