[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: let's not fail the node health check just because the internet is down…

Holger Levsen holger at layer-acht.org
Tue Jun 13 12:53:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit e91b3d899d736645a227a8d74ec9893fedba959f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Jun 13 14:53:25 2017 +0200

    reproducible Debian: let's not fail the node health check just because the internet is down…
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_node_health_check.sh | 3 +--
 logparse/reproducible.rules           | 3 +++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh
index 17accb1..c025cc7 100755
--- a/bin/reproducible_node_health_check.sh
+++ b/bin/reproducible_node_health_check.sh
@@ -43,8 +43,7 @@ set +e
 echo "$(date -u) - testing whether the proxy works..."
 curl http://www.debian.org > /dev/null
 if [ $? -ne 0 ] ; then
-	irc_message debian-reproducible "Proxy is down for $HOSTNAME, please tell the jenkins admins to fix this. (sudo service squid3 restart)"
-	exit 1
+	echo "Warning: curl http://www.debian.org failed, probably the proxy is down for $HOSTNAME…"
 fi
 
 #
diff --git a/logparse/reproducible.rules b/logparse/reproducible.rules
index 66139b3..cba9955 100644
--- a/logparse/reproducible.rules
+++ b/logparse/reproducible.rules
@@ -22,3 +22,6 @@ warning /W: The repository .+ is not signed./
 warning /W: There is no public key available for the following key IDs:.+/
 warning /Warning: /.../shm.+please tell the jenkins admins to fix this./
 warning /Warning, today is the wrong future:.+/
+warning /Warning: curl http:..www.debian.org failed, probably the proxy is down for.+/
+
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list