[Qa-jenkins-scm] [jenkins.debian.net] 03/03: reproducible debian: check whether both build nodes are up before starting the build
Holger Levsen
holger at layer-acht.org
Sat Jun 11 11:02:44 UTC 2016
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 43f05710a5046930e5b201e0c1635acdec86ab45
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Jun 11 13:01:53 2016 +0200
reproducible debian: check whether both build nodes are up before starting the build
---
bin/reproducible_build.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 20d5f7f..b692c40 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -658,6 +658,14 @@ check_node_is_up() {
set -e
}
+check_nodes_are_up() {
+ local SLEEPTIME=30
+ get_node_ssh_port $NODE1
+ check_node_is_up $NODE1 $PORT $SLEEPTIME
+ get_node_ssh_port $NODE2
+ check_node_is_up $NODE2 $PORT $SLEEPTIME
+}
+
remote_build() {
local BUILDNR=$1
local NODE=$2
@@ -805,6 +813,7 @@ fi
#
# main - only used in master-mode
#
+check_nodes_are_up
delay_start
choose_package # defines SUITE, PKGID, SRCPACKAGE, SAVE_ARTIFACTS, NOTIFY
get_source_package
--
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