[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible debian: build.sh: differentiate the irc message between diffoscope errors and timeouts
Mattia Rizzolo
gitlab at salsa.debian.org
Wed Jun 20 17:27:44 BST 2018
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
bae726d3 by Mattia Rizzolo at 2018-06-20T18:26:10+02:00
reproducible debian: build.sh: differentiate the irc message between diffoscope errors and timeouts
also, move the errors to #debian-reproducible, so we really see the
notification promptly and can try to fix whatever's broken.
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
1 changed file:
- bin/reproducible_build.sh
Changes:
=====================================
bin/reproducible_build.sh
=====================================
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -114,8 +114,11 @@ notification() {
1|2)
irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
;;
- diffoscope)
- irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed"
+ diffoscope_err)
+ irc_message debian-reproducible "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE failed"
+ ;;
+ diffoscope_timeout)
+ irc_message debian-reproducible-changes "$DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE $STATUS and $DIFFOSCOPE timed out"
;;
*)
# a weird value of $NOTIFY that we don't know about
@@ -390,7 +393,7 @@ dbd_timeout() {
msg="$msg, but there is still $DEBIAN_URL/dbd/$SUITE/$ARCH/$DDBREPORT"
fi
SAVE_ARTIFACTS=0
- NOTIFY="diffoscope"
+ NOTIFY="diffoscope_timeout"
handle_ftbr "$msg"
}
@@ -437,7 +440,7 @@ call_diffoscope_on_changes_files() {
;;
2)
SAVE_ARTIFACTS=1
- NOTIFY="diffoscope"
+ NOTIFY="diffoscope_err"
handle_ftbr "$DIFFOSCOPE had trouble comparing the two builds. Please investigate $DEBIAN_URL/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log"
;;
124)
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bae726d3ef0b7bc4a6759971bfc20c5e1da7822d
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bae726d3ef0b7bc4a6759971bfc20c5e1da7822d
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/20180620/72028fe3/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list