[Git][qa/jenkins.debian.net][master] reproducible Debian: check for working proxy more often

Holger Levsen (@holger) gitlab at salsa.debian.org
Sat Aug 31 13:04:43 BST 2024



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


Commits:
12d067d0 by Holger Levsen at 2024-08-31T14:04:11+02:00
reproducible Debian: check for working proxy more often

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

- - - - -


2 changed files:

- bin/reproducible_maintenance.sh
- bin/reproducible_node_health_check.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -480,16 +480,6 @@ if [ -n "$BADPERMS" ] ; then
     sudo chmod +r /boot/vmlinuz*
 fi
 
-#
-# check for working proxy
-#
-echo "$(date -u) - testing whether the proxy $http_proxy works..."
-curl $MIRROR > /dev/null
-if [ $? -ne 0 ] ; then
-	echo "Error: curl $MIRROR failed, probably the proxy is down for $HOSTNAME"
-	exit 1
-fi
-
 if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 	#
 	# find nodes with problems and temporarily turn them offline


=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -151,6 +151,16 @@ else
 	echo "$(date -u) - a linux-image package has been manually put on hold, so no testing whether the latest kernel is running..."
 fi
 
+#
+# check for working proxy
+#
+echo "$(date -u) - testing whether the proxy $http_proxy works..."
+curl $MIRROR > /dev/null
+if [ $? -ne 0 ] ; then
+	echo "Error: curl $MIRROR failed, probably the proxy is down for $HOSTNAME"
+	exit 1
+fi
+
 #
 # check whether all services are running fine
 #



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/12d067d0e3636cf8e22062987dda24b85e510b84
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/20240831/2c3dd32b/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list