summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-09 16:06:00 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-09 16:06:00 +0200
commite1dc1ec1d4e341626072f9e929e3e58660158e2c (patch)
tree40c1b37eeb6d4027de398eb34d0f37adcea0f9fe /bin
parent01a9889ed9c06c91f8d4db23ab89d3d17eb08821 (diff)
downloadjenkins.debian.net-e1dc1ec1d4e341626072f9e929e3e58660158e2c.tar.xz
reproducible: reschedule ftbfs (without bugs filed) after 5 instead of 10 days
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_scheduler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 2a0071cb..c916dcce 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -351,7 +351,7 @@ def query_new_versions(suite, arch, limit):
def query_old_ftbfs_versions(suite, arch, limit):
- criteria = 'status ftbfs, no bug filed, tested at least ten days ago, ' + \
+ criteria = 'status ftbfs, no bug filed, tested at least 5 days ago, ' + \
'no new version available, sorted by last build date'
query = """SELECT DISTINCT s.id, s.name
FROM sources AS s JOIN results AS r ON s.id = r.package_id
@@ -359,7 +359,7 @@ def query_old_ftbfs_versions(suite, arch, limit):
WHERE s.suite='{suite}' AND s.architecture='{arch}'
AND r.status = 'FTBFS'
AND ( n.bugs = '[]' OR n.bugs IS NULL )
- AND r.build_date < datetime('now', '-10 day')
+ AND r.build_date < datetime('now', '-5 days')
AND s.id NOT IN (SELECT schedule.package_id FROM schedule)
ORDER BY r.build_date
LIMIT {limit}""".format(suite=suite, arch=arch, limit=limit)