[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: detect ftbfs due to invalid characters in pkg relations

Holger Levsen gitlab at salsa.debian.org
Sat Sep 15 14:17:57 BST 2018


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


Commits:
f0ebaa44 by Holger Levsen at 2018-09-15T13:17:47Z
reproducible Archlinux: detect ftbfs due to invalid characters in pkg relations

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

- - - - -


1 changed file:

- bin/reproducible_html_archlinux.sh


Changes:

=====================================
bin/reproducible_html_archlinux.sh
=====================================
@@ -144,6 +144,9 @@ create_pkg_state_and_html() {
 		elif [ ! -z "$(egrep 'makepkg was killed by timeout after' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
 			echo FTBFS_3 > $ARCHLINUX_PKG_PATH/pkg.state
 			echo "       <img src=\"/userContent/static/weather-storm.png\" alt=\"ftbfs icon\" /> failed to build, killed by timeout" >> $HTML_BUFFER
+		elif [ ! -z "$(egrep '==> ERROR: .* contains invalid characters:' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
+			echo FTBFS_4 > $ARCHLINUX_PKG_PATH/pkg.state
+			echo "       <img src=\"/userContent/static/weather-storm.png\" alt=\"ftbfs icon\" /> failed to build, pkg relations contain invalid characters" >> $HTML_BUFFER
 		else
 			echo "       probably failed to build from source, please investigate" >> $HTML_BUFFER
 			echo UNKNOWN > $ARCHLINUX_PKG_PATH/pkg.state
@@ -218,7 +221,7 @@ create_pkg_state_and_html() {
 echo "$(date -u) - starting to analyse build results."
 DATE=$(date -u +'%Y-%m-%d')
 YESTERDAY=$(date '+%Y-%m-%d' -d "-1 day")
-MEMBERS_FTBFS="0 1 2 3"
+MEMBERS_FTBFS="0 1 2 3 4"
 MEMBERS_DEPWAIT="0 1"
 MEMBERS_404="0 1 2 3 4 5 6 7 8 9 A"
 MEMBERS_FTBR="0 1 2"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/f0ebaa4481a81dd9695deb5f5394e50e5b9d42f7

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/f0ebaa4481a81dd9695deb5f5394e50e5b9d42f7
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/20180915/cf522ade/attachment.html>


More information about the Qa-jenkins-scm mailing list