Skip to content
Snippets Groups Projects
Commit 8d82b529 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible system health: ignore less than 10 unkillable zombies.


this just happens (and could be migated with more isolation I guess)
but is also harmless and can only be fixed by rebooting the node in question.

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 1289b81d
No related branches found
No related tags found
No related merge requests found
......@@ -743,7 +743,11 @@ for i in $PBUIDS ; do
done
done
if [ -n "$PSCALL" ] ; then
echo -e "Warning: processes found which should not be there and which could not be killed. Please fix manually:"
if [ $(ps -F -p "$PSCALL" | wc -l) -lt 10 ] ; then
echo "Info: ignoring less than ten processes found which should not be there and which could not be killed, because those are probably just a few harmless zombies, which can only be removed by rebooting...."
else
echo "Warning: found more than ten processes which should not be there and which could not be killed. Please investigate and reboot or ignore them...:"
fi
ps -F -p "$PSCALL"
echo
fi
......
......@@ -178,7 +178,7 @@ for JOB_NAME in $(ls -1d reproducible_* | sort ) ; do
small_note "session failed for user jenkins"
elif $(grep -q "etckeeper.service loaded failed" $LOG) ; then
small_note "etckeeper.service problem, manual intervention required"
elif $(grep -E -q "^Warning: processes found which should not be there and which could not be killed." $LOG) ; then
elif $(grep -E -q "^Warning: found more than ten processes which should not be there" $LOG) ; then
small_note "unkillable unwanted processes"
elif $(grep -q "failed failed pbuilder_build" $LOG) ; then
small_note "pbuilder build scope failed"
......
......@@ -7,7 +7,7 @@ warning /Warning: .+ contains invalid yaml, please fix./
warning /Warning: lock .+ still exists, exiting./
warning /^Warning: failed to end schroot session:/
warning /Warning: Tried, but failed to delete these/
warning /Warning: processes found which should not be there/
warning /Warning: found more than ten processes which should not be there/
warning /Warning: found reproducible_build.sh processes which have pid 1 as parent.+/
warning /Warning: Found files with bad permissions.+/
warning /Warning: .+ could not be fully removed.+/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment