[Git][qa/jenkins.debian.net][master] reproducible debian: add a check for the systemd user services too

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Sat Mar 9 20:43:28 GMT 2024



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
133cc156 by Mattia Rizzolo at 2024-03-09T21:42:31+01:00
reproducible debian: add a check for the systemd user services too

for now don't try to fix anything, just report

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_node_health_check.sh


Changes:

=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -196,6 +196,13 @@ if ! systemctl is-system-running > /dev/null; then
 	fi
 	rm $SERVICES
 fi
+echo "$(date -u) - checking whether all user services are running fine..."
+if ! systemctl --user is-system-running > /dev/null; then
+	echo "$(date -u) - problematic user services found:"
+	systemctl --user list-units --state=error,failed || true
+	echo "Manual cleanup needed."
+	DIRTY=true
+fi
 
 #
 # prevent some processes from being killed by oom



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/133cc1569f331e4d811b8e9027a49331154019c4
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/20240309/e023845d/attachment.htm>


More information about the Qa-jenkins-scm mailing list