[Qa-jenkins-scm] [jenkins.debian.net] 01/01: sleep 5m, before retrying on failures
Holger Levsen
holger at moszumanska.debian.org
Mon Sep 7 15:37:43 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 9e7fa862935de1f8dfabbebf3f8e6e4bb63ef684
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Sep 7 17:37:09 2015 +0200
sleep 5m, before retrying on failures
---
bin/chroot-installation.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index 82f111b..cb35412 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -59,8 +59,9 @@ execute_ctmpfile() {
RESULT=$(egrep "Failed to fetch.*(Unable to connect to|Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway)" $TMPLOG || true)
if [ ! -z "$RESULT" ] ; then
echo
- echo "Warning: Network problem detected."
- echo "Trying to workaround temporarily failure fetching packages, trying again..."
+ echo "$(date -u) - Warning: Network problem detected."
+ echo "$(date -u) - trying to workaround temporarily failure fetching packages, sleeping 5min before trying again..."
+ sleep 5m
echo
sudo chroot $CHROOT_TARGET $TMPFILE
else
--
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