[Qa-jenkins-scm] [jenkins.debian.net] 02/03: reproducible: try longer to cleanup schroot sessions

Holger Levsen holger at moszumanska.debian.org
Mon Sep 14 15:32:39 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 d24e39270fce7113b43f53622f359bff10989aa1
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Sep 14 13:20:18 2015 +0200

    reproducible: try longer to cleanup schroot sessions
---
 bin/schroot-create.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 20e5f3a..31d1bed 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -184,13 +184,13 @@ bootstrap() {
 cleanup_schroot_sessions() {
 	# FIXME: if this works well, move to _common.sh and use the same function from _maintenance.sh
 	local RESULT=""
-	for loop in $(seq 0 9) ; do
+	for loop in $(seq 0 19) ; do
 		ps fax|grep -v grep |grep schroot || for i in $(schroot --all-sessions -l ) ; do ps fax|grep -v grep |grep schroot || schroot -e -c $i ; done
 		RESULT=$(schroot --all-sessions -l)
 		if [ -z "$RESULT" ] ; then
 			break
 		fi
-		sleep 5
+		sleep 15
 	done
 }
 

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