[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: complain about unreproducible packages without debbindiff output. Thanks mapreri for the patch

Holger Levsen holger at moszumanska.debian.org
Fri Mar 20 17:28:19 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 2cc427ef8824dc65b019503dd9dd986c0e213633
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Mar 20 18:28:17 2015 +0100

    reproducible: complain about unreproducible packages without debbindiff output. Thanks mapreri for the patch
---
 bin/reproducible_html_all_packages.py | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_html_all_packages.py b/bin/reproducible_html_all_packages.py
index eafe5d4..ed1fbd6 100755
--- a/bin/reproducible_html_all_packages.py
+++ b/bin/reproducible_html_all_packages.py
@@ -14,6 +14,20 @@
 from reproducible_common import *
 from reproducible_html_packages import gen_all_rb_pkg_pages
 
-
+# produce all packages html
 for suite in SUITES:
     gen_all_rb_pkg_pages(suite=suite)
+
+
+# now find those where debbindiff failed
+unreproducible = query_db('SELECT s.name, s.suite, s.architecture, r.version ' +
+                          'FROM sources AS s JOIN results AS r ON s.id=r.package_id ' +
+                          'WHERE r.status="unreproducible"')
+
+for pkg, suite, arch, version in unreproducible:
+    eversion = strip_epoch(version)
+    dbd = DBD_PATH + '/' + suite + '/' + arch + '/' + pkg + '_' + \
+          eversion + '.debbindiff.html'
+    if not os.access(dbd, os.R_OK):
+        log.critical(REPRODUCIBLE_URL + '/' + suite + '/' + arch + '/' + pkg +
+                     ' is unreproducible, yet it produced no debbindiff output.')

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