[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: detect more types of source download problems
Holger Levsen
gitlab at salsa.debian.org
Fri Sep 14 20:35:17 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
327396e4 by Holger Levsen at 2018-09-14T19:35:08Z
reproducible Archlinux: detect more types of source download problems
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_html_archlinux.sh
Changes:
=====================================
bin/reproducible_html_archlinux.sh
=====================================
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2014-2017 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2018 Holger Levsen <holger at layer-acht.org>
# 2015 anthraxx <levente at leventepolyak.net>
# released under the GPLv=2
@@ -127,6 +127,9 @@ create_pkg_state_and_html() {
elif [ ! -z "$(grep 'The requested URL returned error: 404' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
echo 404_3 > $ARCHLINUX_PKG_PATH/pkg.state
EXTRA_REASON="with 404 - file not found"
+ elif [ ! -z "$(egrep '==> ERROR: Failed to source .*PKGBUILD' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
+ echo 404_A > $ARCHLINUX_PKG_PATH/pkg.state
+ EXTRA_REASON="unclear why"
fi
echo " <img src=\"/userContent/static/weather-severe-alert.png\" alt=\"404 icon\" /> $REASON $EXTRA_REASON" >> $HTML_BUFFER
elif [ ! -z "$(egrep '==> ERROR: (install file .* does not exist or is not a regular file|The download program wget is not installed)' $ARCHLINUX_PKG_PATH/build1.log 2>/dev/null)" ] ; then
@@ -141,9 +144,6 @@ 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: Failed to source .*PKGBUILD' $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 source PKGBUILD" >> $HTML_BUFFER
else
echo " probably failed to build from source, please investigate" >> $HTML_BUFFER
echo UNKNOWN > $ARCHLINUX_PKG_PATH/pkg.state
@@ -218,9 +218,9 @@ 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 4"
+MEMBERS_FTBFS="0 1 2 3"
MEMBERS_DEPWAIT="0 1"
-MEMBERS_404="0 1 2 3 4 5 6 7 8 9"
+MEMBERS_404="0 1 2 3 4 5 6 7 8 9 A"
MEMBERS_FTBR="0 1 2"
HTML_BUFFER=$(mktemp -t archlinuxrb-html-XXXXXXXX)
HTML_REPOSTATS=$(mktemp -t archlinuxrb-html-XXXXXXXX)
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/327396e4377d90536a110e67ad20bb84bb0fe65e
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/327396e4377d90536a110e67ad20bb84bb0fe65e
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/20180914/75a97ae1/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list