summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-10-10 19:01:34 +0200
committerHolger Levsen <holger@layer-acht.org>2016-10-10 19:01:34 +0200
commit9a79243e8a332ed1244f3bfe1acbc0ea0b86cc27 (patch)
tree78e4823a63186ef842284a29ac82f16c43e8936c
parent396a55ce4d8190e94b435e9e809ae6e75df1e92c (diff)
downloadjenkins.debian.net-9a79243e8a332ed1244f3bfe1acbc0ea0b86cc27.tar.xz
reproducible Debian: add some timestamps to debug bottleneck
-rwxr-xr-xbin/reproducible_scheduler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 7eeaf2e8..cbe24620 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -673,6 +673,7 @@ if __name__ == '__main__':
log.info('Updating sources tables for all suites.')
for suite in SUITES:
update_sources(suite)
+ log.info('Sources for suite %s done at %s.', suite, datetime.now())
purge_old_pages()
query = 'SELECT count(*) ' + \
'FROM schedule AS p JOIN sources AS s ON s.id=p.package_id ' + \
@@ -687,6 +688,7 @@ if __name__ == '__main__':
log.info('%s packages already scheduled for %s, probably scheduling some '
'more...', overall, arch)
message += scheduler(arch)
+ log.info('Arch %s scheduled at %s.', arch, datetime.now())
if message != '':
# build the kgb message text
message = 'Scheduled in ' + '+'.join(SUITES) + ':' + message