[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: wait longer for lock as we've increased the timeout - the real solution is to use schroot sessions properly...

Holger Levsen holger at moszumanska.debian.org
Sat Mar 28 16:03:28 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 3a528e2d4e6f0d21b7806daa9dd8acc07f276cac
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Mar 28 17:03:11 2015 +0100

    reproducible: wait longer for lock as we've increased the timeout - the real solution is to use schroot sessions properly...
---
 bin/reproducible_build.sh         | 2 +-
 bin/reproducible_common.sh        | 2 +-
 bin/reproducible_setup_schroot.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index dc7a7b5..b9c6372 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -70,7 +70,7 @@ call_debbindiff() {
 	BUILDINFO=${SRCPACKAGE}_${EVERSION}_${ARCH}.buildinfo
 	# the schroot for debbindiff gets updated once a day. wait patiently if that's the case
 	if [ -f $DBDCHROOT_WRITELOCK ] || [ -f $DBDCHROOT_READLOCK ] ; then
-		for i in $(seq 0 200) ; do
+		for i in $(seq 0 200) ; do	# this loop also exists in _common.sh and _setup_pbuilder.sh
 			sleep 15
 			echo "sleeping 15s, debbindiff schroot is locked."
 			if [ ! -f $DBDCHROOT_WRITELOCK ] && [ ! -f $DBDCHROOT_READLOCK ] ; then
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index ed5b93b..b65fba7 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -11,7 +11,7 @@ PACKAGES_DB=/var/lib/jenkins/reproducible.db
 INIT=/var/lib/jenkins/reproducible.init
 if [ -f $PACKAGES_DB ] && [ -f $INIT ] ; then
 	if [ -f ${PACKAGES_DB}.lock ] ; then
-		for i in $(seq 0 100) ; do
+		for i in $(seq 0 200) ; do
 			sleep 15
 			echo "sleeping 15s, $PACKAGES_DB is locked."
 			if [ ! -f ${PACKAGES_DB}.lock ] ; then
diff --git a/bin/reproducible_setup_schroot.sh b/bin/reproducible_setup_schroot.sh
index f966339..c8f9a56 100755
--- a/bin/reproducible_setup_schroot.sh
+++ b/bin/reproducible_setup_schroot.sh
@@ -117,7 +117,7 @@ trap remove_writelock INT TERM EXIT
 touch $DBDCHROOT_WRITELOCK
 if [ -f $DBDCHROOT_READLOCK ] ; then
 	# patiently wait for our users to using the schroot
-	for i in $(seq 0 100) ; do
+	for i in $(seq 0 200) ; do
 		sleep 15
 		echo "sleeping 15s, debbindiff schroot is locked and used."
 		if [ ! -f $DBDCHROOT_READLOCK ] ; 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