[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: detect failure to download from git repo

Holger Levsen gitlab at salsa.debian.org
Sat Sep 29 11:21:27 BST 2018


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


Commits:
9d91a3fb by Holger Levsen at 2018-09-29T10:21:14Z
reproducible Archlinux: detect failure to download from git repo

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

- - - - -


3 changed files:

- TODO
- bin/reproducible_build_archlinux_pkg.sh
- bin/reproducible_html_archlinux.sh


Changes:

=====================================
TODO
=====================================
@@ -328,6 +328,7 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
 *** create new job to recreate all pkg pages
 *** create json
 ** misc:
+*** write into all the stats_ tables
 *** make build.sh respect pacman exit code, see FIXME in _html_.sh
 *** comparing versions (in scheduler) is probably needed: if its not empty it must be higher (due to repo constraints), but it can be even higher than in the repo, because we build trunk
 *** debian uses a table removed_packages, should this be used here too?


=====================================
bin/reproducible_build_archlinux_pkg.sh
=====================================
@@ -151,6 +151,9 @@ create_pkg_html() {
 			elif find_in_buildlogs 'The requested URL returned error: 504'; then
 				echo 404_B > $ARCHLINUX_PKG_PATH/pkg.state
 				EXTRA_REASON="with 504 - gateway timeout"
+			elif find_in_buildlogs '==> ERROR: Failure while downloading .* git repo'; then
+				echo 404_C > $ARCHLINUX_PKG_PATH/pkg.state
+				EXTRA_REASON="from git repo"
 			fi
 			echo "       <img src=\"/userContent/static/weather-severe-alert.png\" alt=\"404 icon\" /> $REASON $EXTRA_REASON" >> $HTML_BUFFER
 		elif find_in_buildlogs '==> ERROR: (install file .* does not exist or is not a regular file|The download program wget is not installed)'; then


=====================================
bin/reproducible_html_archlinux.sh
=====================================
@@ -19,7 +19,7 @@ DATE=$(date -u +'%Y-%m-%d')
 YESTERDAY=$(date '+%Y-%m-%d' -d "-1 day")
 MEMBERS_FTBFS="0 1 2 3 4"
 MEMBERS_DEPWAIT="0 1 2"
-MEMBERS_404="0 1 2 3 4 5 6 7 8 9 A B"
+MEMBERS_404="0 1 2 3 4 5 6 7 8 9 A B C"
 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/9d91a3fb1d65e96da63cd3a2023bc74ae0a2a9b4

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9d91a3fb1d65e96da63cd3a2023bc74ae0a2a9b4
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/20180929/d4065c58/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list