[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reprodcucible: more sleep is good against race conditions

Holger Levsen holger at moszumanska.debian.org
Tue Mar 17 12:51:46 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 c184a898db4c87fcaf66c1a0ae9c949569a34827
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Mar 17 13:49:34 2015 +0100

    reprodcucible: more sleep is good against race conditions
---
 bin/reproducible_build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 05bbf74..2423502 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -14,8 +14,8 @@ common_init "$@"
 # support for different architectures (we have actual support only for amd64)
 ARCH="amd64"
 
-# sleep 1-4 secs to randomize start times
-/bin/sleep $(echo "scale=1 ; $(shuf -i 1-40 -n 1)/10" | bc )
+# sleep 1-8 secs to randomize start times
+/bin/sleep $(echo "scale=1 ; $(shuf -i 1-80 -n 1)/10" | bc )
 
 create_results_dirs() {
 	mkdir -p /var/lib/jenkins/userContent/dbd/${SUITE}/${ARCH}

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