[Qa-jenkins-scm] [jenkins.debian.net] 01/01: chroot-installs: detect Hash Sum mismatches and try again

Holger Levsen holger at layer-acht.org
Sat Sep 9 11:53:50 UTC 2017


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 71e7314d0ee46fbc807b630f6c823c9b587c10c0
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Sep 9 13:53:46 2017 +0200

    chroot-installs: detect Hash Sum mismatches and try again
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/chroot-installation.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index e2e467a..a4578cf 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -57,7 +57,7 @@ execute_ctmpfile() {
 	(sudo chroot $CHROOT_TARGET $TMPFILE 2>&1 | tee $TMPLOG) || true
 	RESULT=$(grep "xxxxxSUCCESSxxxxx" $TMPLOG || true)
 	if [ -z "$RESULT" ] ; then
-		RESULT=$(egrep "Failed to fetch.*(Unable to connect to|Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway|Service Unavailable)" $TMPLOG || true)
+		RESULT=$(egrep "Failed to fetch.*(Unable to connect to|Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway|Service Unavailable|Hash Sum mismatch)" $TMPLOG || true)
 		if [ ! -z "$RESULT" ] ; then
 			echo
 			echo "$(date -u) - Warning: Network problem detected."

-- 
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