[Git][qa/jenkins.debian.net][master] Add list of issues to be excluded from reproduce.debian.net
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Nov 15 14:53:01 GMT 2026
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
c02c08ec by Jay Burstin at 2026-11-15T15:52:51+01:00
Add list of issues to be excluded from reproduce.debian.net
(cherry picked from commit b85ec6502f34d69886a3db44178398925d96aa41)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilderd_stats.py
Changes:
=====================================
bin/rebuilderd_stats.py
=====================================
@@ -222,6 +222,29 @@ def main() -> None:
def output(outfile, arch, db_size, total, messages_packages, size_sort, api, release):
+ excluded_issues=(
+ # build directory doesn't vary, so its unnecessary to include those issues
+ 'absolute_build_dir_in_docs_generated_by_doxygen_ref',
+ 'build_dir_in_documentation_generated_by_doxygen',
+ 'build_dir_in_tags_generated_by_doxygen',
+ 'build_path_captured_by_octave',
+ 'build_path_captured_in_assembly_objects',
+ 'build_path_in_index_files_generated_by_qdoc',
+ 'buildpath_in_binaries_generated_by_d_compiler_ldc',
+ 'captures_build_path',
+ 'captures_build_path_in_hd5_database_files',
+ 'captures_build_path_in_r_rdb_rds_databases',
+ 'captures_build_path_via_assert',
+ 'captures_varying_number_of_build_path_directory_components',
+ 'cmake_rpath_contains_build_path',
+ 'fortran_captures_build_path',
+ 'gcc_captures_build_path',
+ 'golang_compiler_captures_build_path_in_binary',
+ 'ocaml_captures_build_path',
+ # other issues that aren't applicable to r.d.n
+ 'blacklisted_on_jenkins',
+ 'blacklisted_on_jenkins_armhf_only',
+ )
with urlopen("https://salsa.debian.org/reproducible-builds/reproducible-notes/-/raw/master/packages.yml?ref_type=heads") as rn:
rn_bugs = safe_load(rn)
@@ -266,7 +289,8 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort, api, rel
print('<p>Packages are grouped by having a bug in <a href="https://salsa.debian.org/reproducible-builds/reproducible-notes">reproducible-notes</a> and sorted by build time (newer logs later) inside the group. There is also a <a href="index_size.html">page</a> sorted by diffoscope size.</p>', file=outfile)
def sorter(pkg):
- if any(x in rn_bugs.get(pkg["src"], []) for x in ("bugs", "comments", "issues")):
+ rn_bug = rn_bugs.get(pkg["src"], [])
+ if "bugs" in rn_bug or "comments" in rn_bug or not all(x in excluded_issues for x in rn_bug.get("issues", [])):
if size_sort and pkg["diff"]:
return 1 - 1 / pkg["diff"]
return -1
@@ -290,7 +314,8 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort, api, rel
bug_break = False
print("<p><span>", file=outfile)
for pkg in sorted(packages, key=sorter):
- if not bug_break and not any(x in rn_bugs.get(pkg["src"], []) for x in ("bugs", "comments", "issues")):
+ rn_bug = rn_bugs.get(pkg["src"], [])
+ if not bug_break and "bugs" not in rn_bug and "comments" not in rn_bug and all(x in excluded_issues for x in rn_bug.get("issues", [])):
bug_break = True
print("</span></p><p><span>", file=outfile)
print(f'<a href="../{api}/builds/{pkg["id"]}/log">{pkg["name"]}</a> ', end='', file=outfile)
@@ -303,14 +328,15 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort, api, rel
print(f'<a href="https://tests.reproducible-builds.org/debian/rb-pkg/{ci_release}/{ci_arch}/{pkg["src"]}.html">🔬</a>', end='', file=outfile)
if next_retry := pkg["next_retry"]:
print(f'<span title="Next retry: {next_retry}">⏱</span>', end='', file=outfile)
- if rn_bug := rn_bugs.get(pkg["src"]):
+ if rn_bug:
if comments := rn_bug.get("comments"):
comments = escape(comments).replace("\n", "
")
print(f'<span title="{comments}">🗈</span>', end='', file=outfile)
for bug in rn_bug.get("bugs", []):
print(f'<a style="color: #FF0000;" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug={bug}">#</a>', end='', file=outfile)
for issue in rn_bug.get("issues", []):
- print(f'<a href="https://tests.reproducible-builds.org/debian/issues/unstable/{issue}_issue.html">🐛</a>', end='', file=outfile)
+ if issue not in excluded_issues:
+ print(f'<a href="https://tests.reproducible-builds.org/debian/issues/unstable/{issue}_issue.html">🐛</a>', end='', file=outfile)
print(" ", file=outfile)
span += 1
if span == 256:
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c02c08ecbcdc9af54bd891089732c8f5add2a91e
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c02c08ecbcdc9af54bd891089732c8f5add2a91e
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20261115/d5a2f9c1/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list