Commit f8d3d67b authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible: mark nodes as offline after 3h of failures

parent 75e11acf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -140,8 +140,8 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
		fi
		if [ $DIFF -eq -1 ] ; then
			echo "Problems analysing $i build logs, ignoring $NODE."
		elif [ $DIFF -gt 16 ] ; then
			echo -n "$i jobs has issues since more than 4h"
		elif [ $DIFF -gt 12 ] ; then
			echo -n "$i jobs has issues since more than 3h"
			if grep -q $NODE ~/offline_nodes >/dev/null 2>&1 ; then
				echo " and $NODE already marked as offline, good."
			else