Commit 9d91a3fb authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Archlinux: detect failure to download from git repo

parent 34df443b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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?
+3 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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)