[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] trbo health check: detect if udd-mirror.debian.net is down

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Dec 30 17:56:16 GMT 2021



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


Commits:
5f3d6569 by Holger Levsen at 2021-12-30T18:55:57+01:00
trbo health check: detect if udd-mirror.debian.net is down

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

- - - - -


1 changed file:

- bin/reproducible_system_health.sh


Changes:

=====================================
bin/reproducible_system_health.sh
=====================================
@@ -270,6 +270,12 @@ for JOB_NAME in $(ls -1d reproducible_* | sort ) ; do
 			else
 				small_note "SSH failure"
 			fi
+		elif $(grep -q "^psql: error: could not connect to server: No route to host" $LOG) ; then
+			if $(grep -q 'Is the server running on host "udd-mirror.debian.net"' $LOG) ; then
+				small_note "psql: could not connect to UDD-mirror.debian.net"
+			else
+				small_note "psql: could not connect to server"
+			fi
 		elif $(grep -E -q "^ssh: connect to host .* No route to host" $LOG) ; then
 				small_note "no route to host"
 		elif $(grep -E -q "^ssh: Could not resolve hostname .*: Temporary failure in name resolution" $LOG) ; then



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/5f3d6569033a1356427d906f7ed868eb5caba442
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/20211230/d2a3405d/attachment.htm>


More information about the Qa-jenkins-scm mailing list