[Git][qa/jenkins.debian.net][master] reproducible Debian maintenance: improve handling when killing unwanted processes
Holger Levsen (@holger)
gitlab at salsa.debian.org
Mon Jan 15 12:37:47 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
95cf719f by Holger Levsen at 2024-01-15T13:37:33+01:00
reproducible Debian maintenance: improve handling when killing unwanted processes
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -413,7 +413,6 @@ fi
# find and kill builds which should not be there
RESULTS=$(pgrep -f reproducible_build.sh --parent 1 || true)
if [ -n "$RESULTS" ] ; then
- DIRTY=true
echo "found reproducible_build.sh processes which have pid 1 as parent (and not sshd), trying to kill them now."
for pid in $RESULTS ; do
echo "killing PID $pid and all children: $(ps -s $pid -o pid=)."
@@ -421,7 +420,9 @@ if [ -n "$RESULTS" ] ; then
done
RESULTS=$(pgrep -f reproducible_build.sh --parent 1 || true)
if [ -n "$RESULTS" ] ; then
- echo "Warning: found reproducible_build.sh processes which have pid 1 as parent (and not sshd), thus something went wrong… please investigate."
+ DIRTY=true
+ echo "Warning: found reproducible_build.sh processes which have pid 1 as parent (and not sshd), thus something went wrong… please investigate:"
+ echo -e "RESULTS"
fi
fi
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/95cf719fd45e652deb66f9742f9f0ec2a3059171
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/95cf719fd45e652deb66f9742f9f0ec2a3059171
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/20240115/927dd7ef/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list