From fda62ff6877a134eb86f7dd7769d8f49e8b045ca Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 3 Jun 2017 16:37:17 +0200 Subject: reproducible Debian: show many build jobs are down due to remote node problems Signed-off-by: Holger Levsen --- 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 3442cd02..bce93b2b 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 5ff591b2..e92872f3 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 "$(ps fax|grep reproducible_build.sh|grep ssh|grep -c $ARCH)" done + write_page "Build jobs currently down due to remote node problems" + for ARCH in ${ARCHS} ; do + write_page "$(ps fax|egrep -B 1 "sleep .*\.1337m"|grep -c $ARCH)" + done write_page "Build jobs currently running diffoscope" for ARCH in ${ARCHS} ; do write_page "$(ps fax|grep "diffoscope --html /srv/reproducible-results/rbuild-debian"|grep -c $ARCH)" -- cgit v1.2.3-54-g00ecf