summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-06-03 16:37:17 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-03 16:37:17 +0200
commitfda62ff6877a134eb86f7dd7769d8f49e8b045ca (patch)
tree6f65e2f712bae275ca6d4d44687a160b8d40b8b3
parentba68a4ac163920308b07c92a94f368404b482683 (diff)
downloadjenkins.debian.net-fda62ff6877a134eb86f7dd7769d8f49e8b045ca.tar.xz
reproducible Debian: show many build jobs are down due to remote node problems
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_build.sh2
-rwxr-xr-xbin/reproducible_html_dashboard.sh4
2 files changed, 5 insertions, 1 deletions
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 "<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>"