[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible: tidying

Holger Levsen gitlab at salsa.debian.org
Wed Jul 22 11:45:16 BST 2020



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


Commits:
a915b30f by Holger Levsen at 2020-07-22T12:36:40+02:00
reproducible: tidying

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

- - - - -
9e5ed290 by Holger Levsen at 2020-07-22T12:44:52+02:00
reproducible trbo system health check: add notes explaining the issues hosts are experiencing

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

- - - - -


2 changed files:

- bin/diffoscope_distribution_test.sh
- bin/reproducible_system_health.sh


Changes:

=====================================
bin/diffoscope_distribution_test.sh
=====================================
@@ -6,8 +6,7 @@
 DEBUG=false
 . /srv/jenkins/bin/common-functions.sh
 common_init "$@"
-
-# common code (used for irc_message)
+# common code for tests.reproducible-builds.org
 . /srv/jenkins/bin/reproducible_common.sh
 
 send_irc_warning() {
@@ -119,6 +118,8 @@ if [ "$DIFFOSCOPE_IN_DEBIAN" = "" ] ; then
 	exit 0
 fi
 
+MESSAGE=""
+
 for PROJECT in PyPI FreeBSD NetBSD MacPorts Arch ; do
 	case $PROJECT in
 		PyPI)	check_pypi


=====================================
bin/reproducible_system_health.sh
=====================================
@@ -70,6 +70,7 @@ for JOB in reproducible_* ; do
 			REMOTE=true
 			;;
 	esac
+	SUSPECT=false
 	if $REMOTE ; then
 		case $NODE_ARCH in
 			amd64)
@@ -112,8 +113,15 @@ for JOB in reproducible_* ; do
 		echo "unstable job: $JOB"
 		let SCORE+=1 || SCORE=0
 		NOTE=""
-		if $(grep -q "Kernel needs upgrade" $JOB/builds/$LAST/log) ; then
+		# only show the most severe problem, don't aggregate them
+		if $(grep -q "failed Squid Web Proxy Server" $JOB/builds/$LAST/log) ; then
+			NOTE=" (squid.service failed)"
+		elif $(grep -q "Kernel needs upgrade" $JOB/builds/$LAST/log) ; then
 			NOTE=" (reboot needed for kernel upgrade)"
+		elif $(grep -q "failed failed /etc/rc.local Compatibility" $JOB/builds/$LAST/log) ; then
+			NOTE=" (rc-local.service loaded failed)"
+		elif $(egrep -q "failed Session [0-9]+ of user jenkins" $JOB/builds/$LAST/log) ; then
+			NOTE=" (session for user jenkins failed)"
 		fi
 		if ! $SUSPECT ; then
 			echo "   <li><a href=\"https://jenkins.debian.net/job/$JOB/\">$JOB</a>$NOTE</li>" >> ${UNSTABLE_JOBS}



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/283a5697f50cfd477acf1c516bab9611858c94f4...9e5ed290d10a844fafdb24445fccb05cf40dd18b

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/283a5697f50cfd477acf1c516bab9611858c94f4...9e5ed290d10a844fafdb24445fccb05cf40dd18b
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/20200722/2c5cd635/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list