diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-10-10 19:01:34 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-10-10 19:01:34 +0200 |
commit | 9a79243e8a332ed1244f3bfe1acbc0ea0b86cc27 (patch) | |
tree | 78e4823a63186ef842284a29ac82f16c43e8936c | |
parent | 396a55ce4d8190e94b435e9e809ae6e75df1e92c (diff) | |
download | jenkins.debian.net-9a79243e8a332ed1244f3bfe1acbc0ea0b86cc27.tar.xz |
reproducible Debian: add some timestamps to debug bottleneck
-rwxr-xr-x | bin/reproducible_scheduler.py | 2 |
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 |