[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible Debian: add some timestamps to debug bottleneck

Holger Levsen holger at layer-acht.org
Mon Oct 10 17:01:54 UTC 2016


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 9a79243e8a332ed1244f3bfe1acbc0ea0b86cc27
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Oct 10 19:01:34 2016 +0200

    reproducible Debian: add some timestamps to debug bottleneck
---
 bin/reproducible_scheduler.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 7eeaf2e..cbe2462 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

-- 
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