[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: Add health check for broken ssh port on virt32a.

Vagrant Cascadian gitlab at salsa.debian.org
Wed Apr 28 15:21:01 BST 2021



Vagrant Cascadian pushed to branch master at Debian QA / jenkins.debian.net


Commits:
8b0bf2d2 by Vagrant Cascadian at 2021-04-28T07:20:04-07:00
reproducible Debian: Add health check for broken ssh port on virt32a.

The ssh port has periodically been getting removed from the sshd
configuration. This should help find when with more granularity to
help figure out why...

- - - - -


1 changed file:

- bin/reproducible_node_health_check.sh


Changes:

=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -194,6 +194,17 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 	jenkins_bugs_check
 fi
 
+case "$HOSTNAME" in
+	virt32a*)
+		# TODO generalize to all nodes that need it
+		echo "$(date -u) - checking for broken ssh port..."
+		if ! grep -q 'Port 2273' /etc/ssh/sshd_config ; then
+			echo "Something has broken the port configuration"
+			DIRTY=true
+		fi
+		;;
+esac
+
 #
 # finally
 #



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/8b0bf2d22c1d85fae270dd77b8fef178e32634f7
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/20210428/b394ac73/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list