summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-22 15:37:28 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-22 15:37:28 +0200
commitc3fa4105f0cf8768d81bfae39a14abeb5afd9c79 (patch)
treed030c587eb2561d19bb2045346abe0feee081559 /bin
parent2df85965b5e70a207a4b9d7bbe6654b9c85be5ce (diff)
downloadjenkins.debian.net-c3fa4105f0cf8768d81bfae39a14abeb5afd9c79.tar.xz
reproducible: only care about dependency failures in testing as the other suites are moving too much
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_breakages.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/reproducible_breakages.py b/bin/reproducible_breakages.py
index 7e3cbcbb..268875db 100755
--- a/bin/reproducible_breakages.py
+++ b/bin/reproducible_breakages.py
@@ -107,9 +107,12 @@ def lack_buildinfo():
def pbuilder_dep_fail():
log.info('running pbuilder_dep_fail check...')
bad_pkgs = []
+ # we only care about these failures in the testing suite as they happen
+ # all the time in other suites, as packages are buggy
+ # and specific versions also come and go
query = '''SELECT s.name, r.version, s.suite, s.architecture
FROM sources AS s JOIN results AS r ON r.package_id=s.id
- WHERE r.status = "FTBFS"
+ WHERE r.status = "FTBFS" AND s.suite = "testing"
ORDER BY s.name ASC, s.suite DESC'''
results = query_db(query)
for pkg, version, suite, arch in results: