summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-19 08:56:41 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-19 08:56:41 +0200
commitee70c0eb3455e82fbab58d1a7c9f164f2a1e0010 (patch)
tree751112c70def5d4cda154ff7dcf39400129c90db /bin
parent6a1236ba7feed0b83fad20f3e77de9cbbb711059 (diff)
downloadjenkins.debian.net-ee70c0eb3455e82fbab58d1a7c9f164f2a1e0010.tar.xz
reproducible: log arch more
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_scheduler.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 2d103ada..de13355a 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -446,7 +446,7 @@ def scheduler(arch):
'FROM schedule AS p JOIN sources AS s ON p.package_id=s.id ' + \
'WHERE s.architecture="{arch}"'
total = int(query_db(query.format(arch=arch))[0][0])
- log.info('Currently scheduled packages in all suites: ' + str(total))
+ log.info('Currently scheduled packages in all suites on ' + arch + ': ' + str(total))
if total > MAXIMUM[arch]:
generate_schedule(arch) # from reproducible_html_indexes
log.info(str(total) + ' packages already scheduled' +
@@ -488,7 +488,7 @@ def scheduler(arch):
to_be_scheduled = queue_packages(to_be_scheduled, old_ftbfs[suite], datetime.now()+timedelta(minutes=360))
to_be_scheduled = queue_packages(to_be_scheduled, old[suite], datetime.now()+timedelta(minutes=720))
schedule_packages(to_be_scheduled)
- log.info('### Suite ' + suite + ' done ###')
+ log.info('### Suite ' + suite + '/' + arch + ' done ###')
log.info('==============================================================')
# update the scheduled page
generate_schedule(arch) # from reproducible_html_indexes
@@ -536,8 +536,8 @@ if __name__ == '__main__':
log.info('Scheduling for %s...', arch)
overall = int(query_db(query.format(arch))[0][0])
if overall > (MAXIMUM[arch]*2):
- log.info('%s packages already scheduled, nothing to do.', overall)
+ log.info('%s packages already scheduled for %s, nothing to do.', overall, arch)
continue
- log.info('%s packages already scheduled, probably scheduling some '
- 'more...', overall)
+ log.info('%s packages already scheduled for %s, probably scheduling some '
+ 'more...', overall, arch)
scheduler(arch)