From 7594662c128697961715f6d6ce772b67e874b2c7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 13 Sep 2022 16:23:30 +0200 Subject: [PATCH] trbo health check: detect failures due to ssh connection refused Signed-off-by: Holger Levsen --- bin/reproducible_system_health.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/reproducible_system_health.sh b/bin/reproducible_system_health.sh index b6c511343..16d5b03ac 100755 --- a/bin/reproducible_system_health.sh +++ b/bin/reproducible_system_health.sh @@ -302,6 +302,8 @@ for JOB_NAME in $(ls -1d reproducible_* | sort ) ; do small_note "no route to host" elif $(grep -E -q "^ssh: Could not resolve hostname .*: Temporary failure in name resolution" $LOG) ; then small_note "failure in name resolution" + elif $(grep -E -q "^ssh: connect to host .* Connection refused" $LOG) ; then + small_note "ssh connection refused" elif $(grep -q "^E: Package 'diffoscope' has no installation candidate" $LOG) ; then small_note "package 'diffoscope' has no installation candidate" elif $(grep -q "^W: No exported results found in /tmp/job-exports" $LOG) ; then -- GitLab