[Git][qa/jenkins.debian.net][master] reproducible system health: always ignore some well known harmless zombies

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Jul 14 13:45:23 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
520b9cf4 by Holger Levsen at 2023-07-14T14:44:18+02:00
reproducible system health: always ignore some well known harmless zombies

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -743,8 +743,10 @@ for i in $PBUIDS ; do
 	done
 done
 if [ -n "$PSCALL" ] ; then
-	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...."
+	# ignore some well known zombie processes
+	KNOWN_ZOMBIE_PROCESSES="(buf-ring.t|poll-race-mshot.t|ringbuf-read.t)"
+	if [ $(ps -F -p "$PSCALL" | grep -E -v $KNOWN_ZOMBIE_PROCESSES | wc -l) -lt 10 ] ; then
+		echo "Info: ignoring less than ten processes 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



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/520b9cf44016e2df29c81d35c5a7e802f2fa7c02

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/520b9cf44016e2df29c81d35c5a7e802f2fa7c02
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230714/9a986265/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list