summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-14 00:32:48 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-14 00:32:48 +0100
commit47b16f45ffcffdc44d9e310fb536d14077fc0bb6 (patch)
tree1a4d48298b8551f08c4b40ff3539bcd9419174ff /bin
parentd899a7039d52f223cf659b43cffcd59c3e618dda (diff)
downloadjenkins.debian.net-47b16f45ffcffdc44d9e310fb536d14077fc0bb6.tar.xz
Revert "reproducible: completly stop scheduling testing for now"
This reverts commit d899a7039d52f223cf659b43cffcd59c3e618dda.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_scheduler.py16
1 files changed, 6 insertions, 10 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 45d638fd..e6c72d59 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -66,19 +66,19 @@ MAXIMA = {'amd64': 750, 'armhf': 600}
LIMITS = {
'untested': {
'amd64': {
- 'testing': {'*': 0},
+ 'testing': {'*': 440},
'unstable': {'*': 440},
'experimental': {'*': 440},
},
'armhf': {
- 'testing': {'*': 0},
+ 'testing': {'*': 177},
'unstable': {'*': 177},
'experimental': {'*': 177},
},
},
'new': {
'amd64': {
- 'testing': {1: (100, 0), 2: (200, 0), '*': 0},
+ 'testing': {1: (100, 250), 2: (200, 200), '*': 0},
'unstable': {1: (100, 250), 2: (200, 200), '*': 150},
'experimental': {1: (100, 250), 2: (200, 200), '*': 150},
},
@@ -90,7 +90,7 @@ LIMITS = {
},
'ftbfs+depwait': {
'amd64': {
- 'testing': {1: (250, 0), 2: (350, 0), '*': 0},
+ 'testing': {1: (250, 40), 2: (350, 20), '*': 0},
'unstable': {1: (250, 40), 2: (350, 20), '*': 0},
'experimental': {1: (250, 40), 2: (350, 20), '*': 0},
},
@@ -102,7 +102,7 @@ LIMITS = {
},
'old': {
'amd64': {
- 'testing': {1: (300, 0), 2: (500, 0), '*': 0},
+ 'testing': {1: (300, 800), 2: (500, 666), '*': 0},
'unstable': {1: (300, 1000), 2: (500, 888), '*': 0},
'experimental': {1: (300, 70), 2: (500, 50), '*': 0},
},
@@ -478,11 +478,7 @@ def schedule_404_versions(arch, total):
log.info('Requesting 404 packages in %s/%s...',
suite, arch)
# hard code the limit to 42 as 404s rarely happen anyway
- if suite != 'testing':
- temp_limit = 42
- else
- temp_limit = 0
- packages[suite] = query_404_versions(suite, arch, temp_limit)
+ packages[suite] = query_404_versions(suite, arch, 42)
log.info('Received ' + str(len(packages[suite])) +
' 404 packages in ' + suite + '/' + arch + ' to schedule.')
log.info('--------------------------------------------------------------')