[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible Debian: restructure breakages page and html headings

Holger Levsen holger at layer-acht.org
Mon Jan 23 16:57:45 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 1c691b157f41e829f6cbc09914780f68916c8299
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jan 23 17:57:32 2017 +0100

    reproducible Debian: restructure breakages page and html headings
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_breakages.py | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/bin/reproducible_html_breakages.py b/bin/reproducible_html_breakages.py
index 6eb459d..bcfd64b 100755
--- a/bin/reproducible_html_breakages.py
+++ b/bin/reproducible_html_breakages.py
@@ -335,6 +335,7 @@ def update_stats_breakages(diffoscope_timeouts, diffoscope_crashes):
 def gen_html():
     html = ''
     # files that should not be there (e.g. removed packages without cleanup)
+    html += '<h2>Trouble caused by jenkins.debian.net</h2>'
     html += _gen_files_html('log files that should not be there:',
                          entries=alien_log())
     html += _gen_files_html('diffoscope files that should not be there:',
@@ -354,17 +355,14 @@ def gen_html():
     html += _gen_packages_html('have been built but don\'t have a .buildinfo file:',
                          lack_buildinfo())
     # pbuilder-satisfydepends failed
-    html += _gen_packages_html('failed to satisfy their build-dependencies:',
-                         pbuilder_dep_fail())
+    broken_pkgs = pbuilder_dep_fail()
+    if broken_pkgs != []:
+        html += '<h3>Trouble caused by broken packages</h3>'
+        html += _gen_packages_html('failed to satisfy their build-dependencies:',
+                         broken_pkgs)
     # diffoscope troubles
+    html += '<h2>Trouble caused by diffscope</h2>'
     without_dbd, bad_dbd, sources_without_dbd = unrep_with_dbd_issues()
-    html += _gen_packages_html('are marked as unreproducible, but there is no ' +
-                         'diffoscope output - so probably diffoscope ' +
-                         'crashed:', without_dbd)
-    html += _gen_packages_html('are marked as unreproducible, but their ' +
-                         'diffoscope output does not seem to be an html ' +
-                         'file - so probably diffoscope ran into a ' +
-                         'timeout:', bad_dbd)
     html += str(len(sources_without_dbd))
     html += ' source packages on which diffoscope ran into a timeout ('
     html += str(count_pkgs(bad_dbd)) + ') or crashed ('
@@ -379,6 +377,14 @@ def gen_html():
     # link artifacts
     html += '<br/> <a href="https://tests.reproducible-builds.org/debian/artifacts/">Artifacts diffoscope crashed</a> on are available for 48h for download.'
 
+    html += _gen_packages_html('are marked as unreproducible, but there is no ' +
+                         'diffoscope output - so probably diffoscope ' +
+                         'crashed:', without_dbd)
+    html += _gen_packages_html('are marked as unreproducible, but their ' +
+                         'diffoscope output does not seem to be an html ' +
+                         'file - so probably diffoscope ran into a ' +
+                         'timeout:', bad_dbd)
+
     return html
 
 

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