[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 3 commits: reproducible trbo system health check: change ordering of detected notices'

Holger Levsen gitlab at salsa.debian.org
Sat Aug 1 01:01:38 BST 2020



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


Commits:
0fec191d by Holger Levsen at 2020-08-01T01:56:12+02:00
reproducible trbo system health check: change ordering of detected notices'

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

- - - - -
881291bb by Holger Levsen at 2020-08-01T01:58:47+02:00
reproducible trbo system health check: move explaination to bottom of page

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

- - - - -
4a45fc75 by Holger Levsen at 2020-08-01T02:01:09+02:00
reproducible trbo system health check: improve comments

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

- - - - -


1 changed file:

- bin/reproducible_system_health.sh


Changes:

=====================================
bin/reproducible_system_health.sh
=====================================
@@ -11,7 +11,7 @@
 ###  of https://tests.reproducible-builds.org for usage with
 ###  https://github.com/jelly/reproduciblebuilds-display/
 ### 
-###
+###  also produce a fancy status page: https://tests.reproducible-builds.org/trbo.status.html
 ###
 
 DEBUG=false
@@ -167,6 +167,10 @@ for JOB_NAME in reproducible_* ; do
 			small_note " (node seemed down)"
 		elif $(tail -1 $LOG | grep -q "Finished: ABORTED") ; then
 			small_note " (job was aborted)"
+		elif $(grep -q "^make -r world: build failed. Please re-run" $LOG) ; then
+			small_note " (make world failed)"
+		elif $(grep -q "^ERROR: Failed to make build_install" $LOG) ; then
+			small_note " (make build_install failed)"
 		elif $(grep -q "^SSH EXIT CODE:" $LOG) ; then
 			if $(grep -q "^Timeout, server .*.debian.net not responding." $LOG) || \
 			 $(grep -q "^packet_write_wait: Connection to .*: Broken pipe" $LOG) ; then
@@ -174,10 +178,6 @@ for JOB_NAME in reproducible_* ; do
 			else
 				small_note " (generic SSH failure)"
 			fi
-		elif $(grep -q "^make -r world: build failed. Please re-run" $LOG) ; then
-			small_note " (make world failed)"
-		elif $(grep -q "^ERROR: Failed to make build_install" $LOG) ; then
-			small_note " (make build_install failed)"
 		fi
 		case $JOB_NAME in
 			reproducible_maintenance_amd64_jenkins)			MODIFIER=250 ;; # main node
@@ -185,7 +185,7 @@ for JOB_NAME in reproducible_* ; do
 			reproducible_maintenance_amd64_profitbricks10)		MODIFIER=500 ;;	# proxy for other nodes
 			reproducible_maintenance_amd64_*)			MODIFIER=20 ;;
 			reproducible_maintenance_i386_*)			MODIFIER=10 ;;
-			reproducible_maintenance_arm64_codethink16)		MODIFIER=500 ;;  # proxy for other nodes
+			reproducible_maintenance_arm64_codethink16)		MODIFIER=500 ;; # proxy for other nodes
 			reproducible_maintenance_arm64_*)			MODIFIER=10 ;;
 			reproducible_maintenance_armhf_*)			MODIFIER=3 ;;
 			reproducible_node_health_check_amd64_jenkins)		MODIFIER=150 ;;
@@ -248,7 +248,7 @@ cat > $HEALTH_FILE.html <<- EOF
   Status: <a href="$REPRODUCIBLE_URL/$(basename $HEALTH_FILE)">$STATUS</a> (an integer value between 0 and 255)
  </p>
  <p>
-  Score: $SCORE (a stable jobs adds 3, an unstable job adds 1 and a failed job substracts something between 1 and 500 (indicated in brackets after the job name below), depending on the importance of the job for the setup.)
+  Score: $SCORE
   <br/>
   Jobs considered: $INPUTS
   ${SUSPICIOUS_TEXT}
@@ -278,6 +278,7 @@ conditional_paragraph ${FAILED_SUSPECTS} "Failed jobs on nodes automatically mar
 conditional_paragraph ${UNSTABLE_SUSPECTS} "Unstable jobs on nodes automatically marked down by jenkins" "$(cat ${UNSTABLE_SUSPECTS})"
 conditional_paragraph ${IGNORED_JOBS} "Ignored jobs (because these nodes are known and <a href=\"https://salsa.debian.org/qa/jenkins.debian.net/-/blob/master/jenkins-home/offline_nodes\">documented</a> to be offline)" "$(cat ${IGNORED_JOBS})"
 conditional_paragraph ${KNOWN_BAD_JOBS} "Ignored jobs (because they are known to be non-funtional)" "$(cat ${KNOWN_BAD_JOBS})"
+write2healthfile "<p>A stable jobs adds 3, an unstable job adds 1 and a failed job substracts something between 1 and 500 (indicated in brackets after the job name below), depending on the importance of the job for the setup.</p>"
 write2healthfile "<p><small>last updated: $(date -u) by the <a href=\"https://jenkins.debian.net/job/reproducible_system_health/\">reproducible_system_health</a> job on jenkins.debian.net.</small></p>"
 write2healthfile "</body></html>"
 echo "$(date -u) - $(basename $HEALTH_FILE).html updated, visible at $REPRODUCIBLE_URL/$(basename $HEALTH_FILE).html."



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/505b973c9d5f43a864d7e8449dbd696b6ec7e504...4a45fc7596e96c36d5879c6e492d4e9ef148e05e

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/505b973c9d5f43a864d7e8449dbd696b6ec7e504...4a45fc7596e96c36d5879c6e492d4e9ef148e05e
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/20200801/7adff81a/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list