[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: detect SSL verify failures with bzr

Holger Levsen holger at layer-acht.org
Sat Dec 2 13:56:50 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 30ab7bd033301f90d42378c3ff978a91e4622206
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Dec 2 13:56:22 2017 +0000

    reproducible Arch Linux: detect SSL verify failures with bzr
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_archlinux.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 56bc62d..5743d5f 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -91,7 +91,7 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
 				elif [ ! -z "$(egrep '^error: unknown package: ' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
 					echo 404_0 > $ARCHLINUX_PKG_PATH/pkg.state
 					echo "       <img src=\"/userContent/static/weather-severe-alert.png\" alt=\"404 icon\" /> unknown package" >> $HTML_BUFFER
-				elif [ ! -z "$(egrep '==> ERROR: (Failure while downloading|One or more PGP signatures could not be verified|One or more files did not pass the validity check|Integrity checks \(.*\) differ in size from the source array)' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
+				elif [ ! -z "$(egrep '==> ERROR: (Failure while downloading|One or more PGP signatures could not be verified|One or more files did not pass the validity check|Integrity checks \(.*\) differ in size from the source array|Failure while branching)' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
 					REASON="download failed"
 					EXTRA_REASON=""
 					echo 404_0 > $ARCHLINUX_PKG_PATH/pkg.state
@@ -113,9 +113,9 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
 					elif [ ! -z "$(egrep '==> ERROR: One or more PGP signatures could not be verified' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
 						echo 404_7 > $ARCHLINUX_PKG_PATH/pkg.state
 						EXTRA_REASON="to verify source with PGP signatures"
-					elif [ ! -z "$(grep 'SSL certificate problem: unable to get local issuer certificate' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
+					elif [ ! -z "$(egrep '(SSL certificate problem: unable to get local issuer certificate|bzr: ERROR: .SSL: CERTIFICATE_VERIFY_FAILED' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
 						echo 404_1 > $ARCHLINUX_PKG_PATH/pkg.state
-						EXTRA_REASON="with SSL certificate problem"
+						EXTRA_REASON="with SSL problem"
 					elif [ ! -z "$(egrep '==> ERROR: One or more files did not pass the validity check' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
 						echo 404_8 > $ARCHLINUX_PKG_PATH/pkg.state
 						REASON="downloaded ok but failed to verify source"

-- 
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