[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: also detect ftbfs due to failing to source PKGBUILD files
Holger Levsen
holger at layer-acht.org
Wed Dec 13 11:47:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit e4491a4d562c95c0a7c8a4ac0dc36c7fbb59eef6
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Dec 13 11:47:40 2017 +0000
reproducible Arch Linux: also detect ftbfs due to failing to source PKGBUILD files
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_html_archlinux.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index c1d0b6a..dbe581a 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -131,6 +131,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: 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
@@ -207,7 +210,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"
MEMBERS_FTBR="0 1 2"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list