[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible trbo system health check: improve explaination how the status and score is calculated

Holger Levsen gitlab at salsa.debian.org
Sat Aug 1 17:20:30 BST 2020



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


Commits:
1c631d08 by Holger Levsen at 2020-08-01T18:20:23+02:00
reproducible trbo system health check: improve explaination how the status and score is calculated

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

- - - - -


1 changed file:

- bin/reproducible_system_health.sh


Changes:

=====================================
bin/reproducible_system_health.sh
=====================================
@@ -248,7 +248,7 @@ fi
 
 cat > $HEALTH_FILE.html <<- EOF
 <html><meta http-equiv="refresh" content="300"><head></head><body style="background-color: rgb($RED, $GREEN, 0);">
- <h1>tests.reproducible-builds.org Status</h1>
+ <h1>tests.reproducible-builds.org status summary view</h1>
  <p>
   Status: <a href="$REPRODUCIBLE_URL/$(basename $HEALTH_FILE)">$STATUS</a> (an integer value between 0 and 255)
  </p>
@@ -281,7 +281,7 @@ conditional_paragraph ${FAILED_JOBS} "Failed jobs" "$(cat ${FAILED_JOBS} | sort
 conditional_paragraph ${UNSTABLE_JOBS} "Unstable jobs" "$(cat ${UNSTABLE_JOBS})"
 conditional_paragraph ${FAILED_SUSPECTS} "Failed jobs on nodes automatically marked down by jenkins" "$(cat ${FAILED_SUSPECTS} | sort -t '|' -n -r | cut -d '|' -f2- | sort)"
 conditional_paragraph ${UNSTABLE_SUSPECTS} "Unstable jobs on nodes automatically marked down by jenkins" "$(cat ${UNSTABLE_SUSPECTS})"
-write2healthfile "<hr><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. Ignored jobs are not counted at all.</p><hr>"
+write2healthfile "<hr><p>A stable jobs adds 3 points to the score, an unstable job adds 1 and a failed job substracts something between 1 and 500 (indicated in brackets after the job name if not equal 1), depending on the importance of the job for the setup. Ignored jobs are not counted at all. Finally the score is divided by three times number of considered jobs and is multiplied with 255 to get a status between 0 and 255.</p><hr>"
 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 "<hr><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>"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1c631d089bcdb8974666cc6be6b156097be56bce
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/949db424/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list