[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: show many build jobs are down due to remote node problems

Holger Levsen holger at layer-acht.org
Sat Jun 3 14:37:22 UTC 2017


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 fda62ff6877a134eb86f7dd7769d8f49e8b045ca
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Jun 3 16:37:17 2017 +0200

    reproducible Debian: show many build jobs are down due to remote node problems
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build.sh          | 2 +-
 bin/reproducible_html_dashboard.sh | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 3442cd0..bce93b2 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -735,7 +735,7 @@ check_node_is_up() {
 	if [ $RESULT -ne 0 ] ; then
 		echo "$(date -u) - $NODE seems to be down, sleeping ${SLEEPTIME}min before aborting this job."
 		unregister_build
-		sleep ${SLEEPTIME}m
+		sleep ${SLEEPTIME}.1337m
 		exec /srv/jenkins/bin/abort.sh
 	fi
 	set -e
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index 5ff591b..e92872f 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -344,6 +344,10 @@ write_build_performance_stats() {
 	for ARCH in ${ARCHS} ; do
 		write_page "<td>$(ps fax|grep reproducible_build.sh|grep ssh|grep -c $ARCH)</td>"
 	done
+	write_page "</tr><tr><td class=\"left\">Build jobs currently down due to remote node problems</td>"
+	for ARCH in ${ARCHS} ; do
+		write_page "<td>$(ps fax|egrep -B 1 "sleep .*\.1337m"|grep -c $ARCH)</td>"
+	done
 	write_page "</tr><tr><td class=\"left\">Build jobs currently running diffoscope</td>"
 	for ARCH in ${ARCHS} ; do
 		write_page "<td>$(ps fax|grep "diffoscope --html /srv/reproducible-results/rbuild-debian"|grep -c $ARCH)</td>"

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