[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: include arch in warnings

Holger Levsen holger at moszumanska.debian.org
Tue Sep 22 19:14:29 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 53c25f4ab2f1ee76e142501b0ab7bd64673409d7
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Sep 22 21:13:07 2015 +0200

    reproducible: include arch in warnings
---
 bin/reproducible_html_breakages.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/reproducible_html_breakages.py b/bin/reproducible_html_breakages.py
index 687887b..8e225fb 100755
--- a/bin/reproducible_html_breakages.py
+++ b/bin/reproducible_html_breakages.py
@@ -26,14 +26,14 @@ def unrep_with_dbd_issues():
             eversion + '.debbindiff.html'
         if not os.access(dbd, os.R_OK):
             without_dbd.append((pkg, version, suite, arch))
-            log.warning(pkg + '/' + suite + ' (' + version + ') is '
+            log.warning(pkg + '/' + suite + '/' + arch + ' (' + version + ') is '
                         'unreproducible without diffoscope file.')
         else:
             log.debug(dbd + ' found.')
             data = open(dbd, 'br').read(3)
             if b'<' not in data:
                 bad_dbd.append((pkg, version, suite, arch))
-                log.warning(pkg + '/' + suite + ' (' + version + ') has '
+                log.warning(pkg + '/' + suite + '/' + arch + ' (' + version + ') has '
                             'diffoscope output, but it does not seem to '
                             'be an html page.')
     return without_dbd, bad_dbd
@@ -53,7 +53,7 @@ def not_unrep_with_dbd_file():
             eversion + '.debbindiff.html'
         if os.access(dbd, os.R_OK):
             bad_pkgs.append((pkg, version, suite, arch))
-            log.warning(pkg + '/' + suite + ' (' + version + ') has a '
+            log.warning(pkg + '/' + suite + '/' + arch + ' (' + version + ') has a '
                         'diffoscope file but it\'s not unreproducible.')
     return bad_pkgs
 
@@ -69,7 +69,7 @@ def lack_rbuild():
     for pkg, version, suite, arch in results:
         if not pkg_has_rbuild(pkg, version, suite, arch):
             bad_pkgs.append((pkg, version, suite, arch))
-            log.warning(pkg + '/' + suite + ' (' + version + ') has been '
+            log.warning(pkg + '/' + suite + '/' + arch + ' (' + version + ') has been '
                         'built, but a buildlog is missing.')
     return bad_pkgs
 
@@ -89,7 +89,7 @@ def lack_buildinfo():
             '_' + eversion + '_' + arch + '.buildinfo'
         if not os.access(buildinfo, os.R_OK):
             bad_pkgs.append((pkg, version, suite, arch))
-            log.warning(pkg + '/' + suite + ' (' + version + ') has been '
+            log.warning(pkg + '/' + suite + '/' + arch + ' (' + version + ') has been '
                         'successfully built, but a .buildinfo is missing')
     return bad_pkgs
 
@@ -115,7 +115,7 @@ def pbuilder_dep_fail():
                 for line in fd:
                     if re.search(b'E: pbuilder-satisfydepends failed.', line):
                         bad_pkgs.append((pkg, version, suite, arch))
-                        log.warning(pkg + '/' + suite + ' (' + version +
+                        log.warning(pkg + '/' + suite + '/' + arch + ' (' + version +
                                     ') failed to met its dependencies.')
     return bad_pkgs
 

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