[Qa-jenkins-scm] [jenkins.debian.net] 01/01: chroot-run: another case when to retry debootstrap…

Mattia Rizzolo mattia at debian.org
Mon Jul 17 22:22:56 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit d019f87ad014ed546e805520d65fd2596776eb5e
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Jul 18 00:22:24 2017 +0200

    chroot-run: another case when to retry debootstrap…
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/chroot-run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index abf70f3..e776043 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -68,7 +68,7 @@ bootstrap() {
 	echo "$(date -u ) - bootstraping $DISTRO into $CHROOT_TARGET now."
 	set +e
 	sudo debootstrap $BOOTSTRAP_OPTIONS $DISTRO $CHROOT_TARGET $MIRROR | tee $TMPLOG
-	local RESULT=$(egrep "E: (Couldn't download packages|Invalid Release signature)" $TMPLOG || true )
+	local RESULT=$(egrep "E: (Couldn't download (packages|dists)|Invalid Release signature)" $TMPLOG || true )
 	rm $TMPLOG
 	set -e
 	if [ ! -z "$RESULT" ] ; then

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