[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: re-schedule unstable twice as fast as testing as unstable changes more frequently and atm we mostly care about sid
Holger Levsen
holger at moszumanska.debian.org
Mon May 18 07:26:14 UTC 2015
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 a446d2037f159c500b5ffe6f2be4f5a62ec41176
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon May 18 09:24:10 2015 +0200
reproducible: re-schedule unstable twice as fast as testing as unstable changes more frequently and atm we mostly care about sid
---
bin/reproducible_scheduler.py | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 7cee0ae..58a15b3 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -256,16 +256,18 @@ def scheduler():
# old packages
old = {}
if total <= 250:
- many_old = 25 # multiplied by 10, usually, see below
+ many_old_base = 35 # multiplied by 10 or 5, usually, see below
elif total <= 350:
- many_old = 17 # also...
+ many_old_base = 25 # also...
else:
- many_old = 0 # ...
+ many_old_base = 0 # ...
for suite in SUITES:
- if suite != 'experimental':
- suite_many_old = many_old*10 # experimental is roughly one tenth of the size of the other suites
+ if suite = 'unstable':
+ suite_many_old = many_old_base*10 # experimental is roughly one tenth of the size of the other suites
+ elif suite = 'testing':
+ suite_many_old = many_old_base*5 # re-schedule testing less than unstable as we care more about unstable and because unstable changes more frequently
else:
- suite_many_old = many_old
+ suite_many_old = many_old_base
log.info('Requesting ' + str(suite_many_old) + ' old packages in ' + suite + '...')
old[suite] = scheduler_old_versions(suite, suite_many_old)
total += len(old[suite])
--
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