[Git][qa/jenkins.debian.net][master] reproducible maintenance: deal with rare conditions when killing procs which should not be there

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Sep 5 14:57:44 BST 2023



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


Commits:
b63c2e40 by Holger Levsen at 2023-09-05T15:57:14+02:00
reproducible maintenance: deal with rare conditions when killing procs which should not be there

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

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -718,7 +718,7 @@ if [ -s $RESULT ] ; then
 		ps -F -p $PSCALL
 		echo
 		for PROCESS in $(cat $TOKILL) ; do
-			sudo kill -9 $PROCESS 2>&1
+			sudo kill -9 $PROCESS 2>&1 || true
 			echo "'sudo kill -9 $PROCESS' done."
 		done
 		echo



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b63c2e40888efa5088fb3dac5b4b4bd613c511cf
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/20230905/03caa62d/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list