[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible Debian: correctly count packages which make piuparts crash or timeout
Holger Levsen
holger at layer-acht.org
Wed Jan 11 21:43:11 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 ee84610406e2f3d261acc4b7d90a61fba00cc7b3
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Jan 11 22:32:46 2017 +0100
reproducible Debian: correctly count packages which make piuparts crash or timeout
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_html_breakages.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_breakages.py b/bin/reproducible_html_breakages.py
index 629d12b..0655923 100755
--- a/bin/reproducible_html_breakages.py
+++ b/bin/reproducible_html_breakages.py
@@ -44,6 +44,12 @@ def unrep_with_dbd_issues():
sources_without_dbd.append(pkg)
return without_dbd, bad_dbd, sources_without_dbd
+def count_pkgs(pkgs_to_count=[]):
+ counted_pkgs = []
+ for pkg, version, suite, arch in pkgs_to_count:
+ if pkg not in counted_pkgs:
+ counted_pkgs.append(pkg)
+ return len(counted_pkgs)
def not_unrep_with_dbd_file():
log.info('running not_unrep_with_dbd_file check...')
@@ -312,8 +318,8 @@ def gen_html():
# TODO: graph this
html += str(len(sources_without_dbd))
html += ' source packages on which diffoscope ran into a timeout ('
- html += str(len(without_dbd)) + ') or crashed ('
- html += str(len(bad_dbd)) + ').'
+ html += str(count_pkgs(without_dbd)) + ') or crashed ('
+ html += str(count_pkgs(bad_dbd)) + ').'
html += '<br/> <a href="https://tests.reproducible-builds.org/debian/artifacts/">Artifacts diffoscope crashed</a> on are available for 48h for download.'
# pbuilder-satisfydepends failed
html += _gen_packages_html('failed to satisfy their build-dependencies:',
--
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