Commit 02debef2 authored by Holger Levsen's avatar Holger Levsen

reproducible: automatically turn sick nodes offline after an hour of problems, not 3h

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent f4193d2e
......@@ -141,8 +141,8 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
fi
if [ $DIFF -eq -1 ] ; then
echo "Problems analysing $i build logs, ignoring $NODE."
elif [ $DIFF -gt 12 ] ; then
echo -n "$i jobs has issues since more than 3h"
elif [ $DIFF -gt 4 ] ; then
echo -n "$i job has issues since more than an hour"
if grep -q $NODE ~/offline_nodes >/dev/null 2>&1 ; then
echo " and $NODE already marked as offline, good."
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment