[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible archlinux: detect when sources cannot be verified due to unknown public PGP keys

Holger Levsen holger at moszumanska.debian.org
Sat Dec 12 14:52:12 UTC 2015


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 5c4d59eb290df42aa7ee063fa31b83b2ae9ba8b4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Dec 12 15:51:56 2015 +0100

    reproducible archlinux: detect when sources cannot be verified due to unknown public PGP keys
---
 bin/reproducible_html_archlinux.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 36e02da..089891e 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -58,6 +58,14 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
 				HTML_TARGET=$HTML_404
 				let NR_404+=1
 				echo "       <img src=\"/userContent/static/weather-severe-alert.png\" alt=\"404 icon\" /> failed to download source" >> $HTML_BUFFER
+			elif [ ! -z "$(egrep '==> ERROR: One or more PGP signatures could not be verified' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then
+				HTML_TARGET=$HTML_404
+				let NR_404+=1
+				EXTRA_REASON=""
+				if [ ! -z "$(grep 'FAILED (unknown public key' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then
+					EXTRA_REASON="(unknown public key)"
+				fi
+				echo "       <img src=\"/userContent/static/weather-severe-alert.png\" alt=\"404 icon\" /> failed to verify source with PGP signatures $EXTRA_REASON" >> $HTML_BUFFER
 			elif [ ! -z "$(egrep '==> ERROR: One or more files did not pass the validity check' $ARCHBASE/$REPOSITORY/$PKG/build1.log)" ] ; then
 				HTML_TARGET=$HTML_FTBFS
 				let NR_FTBFS+=1

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