summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-14 13:14:52 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-14 13:14:52 +0200
commit3261662392605025031857a2cecabb0b2b4c98b7 (patch)
tree480af405ee58a377356d9f8a5be5339e950fe7ba
parent6c760b292447a00c91f2f1501b3fd6468129be66 (diff)
downloadjenkins.debian.net-3261662392605025031857a2cecabb0b2b4c98b7.tar.xz
reproducible: try longer to update
-rwxr-xr-xbin/reproducible_maintenance.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 9b01ae0d..f687d620 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -56,13 +56,13 @@ for s in $SUITES ; do
# schroot update
#
echo "$(date -u) - updating the $s/$ARCH schroot now."
- for i in 1 2 3 ; do
+ for i in 1 2 3 4 ; do
schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update
RESULT=$?
if [ $RESULT -eq 1 ] ; then
- # sleep 31-100 secs
+ # sleep 61-120 secs
echo "Sleeping some time... (to workaround network problems like 'Hash Sum mismatch'...)"
- /bin/sleep $(echo "scale=1 ; ($(shuf -i 1-700 -n 1)/10)+30" | bc )
+ /bin/sleep $(echo "scale=1 ; ($(shuf -i 1-600 -n 1)/10)+60" | bc )
echo "$(date -u) - Retrying to update the $s/$ARCH schroot."
elif [ $RESULT -eq 0 ] ; then
continue
@@ -80,13 +80,13 @@ for s in $SUITES ; do
if [ ! -z "$http_proxy" ] ; then
pbuilder_http_proxy="--http-proxy $http_proxy"
fi
- for i in 1 2 3 ; do
+ for i in 1 2 3 4 ; do
sudo pbuilder --update $pbuilder_http_proxy --basetgz /var/cache/pbuilder/$s-reproducible-base.tgz
RESULT=$?
if [ $RESULT -eq 1 ] ; then
- # sleep 31-100 secs
+ # sleep 61-120 secs
echo "Sleeping some time... (to workaround network problems like 'Hash Sum mismatch'...)"
- /bin/sleep $(echo "scale=1 ; ($(shuf -i 1-700 -n 1)/10)+30" | bc )
+ /bin/sleep $(echo "scale=1 ; ($(shuf -i 1-600 -n 1)/10)+60" | bc )
echo "$(date -u) - Retrying to update pbuilder for $s/$ARCH."
elif [ $RESULT -eq 0 ] ; then
continue