summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-09 22:06:41 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-09 22:06:41 +0100
commit90b08396b823dd7324e2440f2b58f58396270213 (patch)
treec434d2379bdddb3f2505294d3b663cb854a338f8 /bin
parentee4e0275fc891e0dd6f0238024f3a4870f0bda8c (diff)
downloadjenkins.debian.net-90b08396b823dd7324e2440f2b58f58396270213.tar.xz
reproducible: improve (debug) output
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 3cfd822e..d128192a 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -79,7 +79,7 @@ def update_sources_tables(suite):
# Now actually update the database:
cursor = conn_db.cursor()
# updated packages
- log.debug('Pusing ' + str(len(updated_pkgs)) + ' updated packages to the database...')
+ log.info('Pushing ' + str(len(updated_pkgs)) + ' updated packages to the database...')
cursor.executemany('REPLACE INTO sources ' +
'(id, name, version, suite, architecture) ' +
'VALUES (?, ?, ?, ?, "{arch}")'.format(arch='amd64'),
@@ -207,7 +207,7 @@ def scheduler():
query = 'SELECT count(*) ' + \
'FROM schedule AS p JOIN sources AS s ON p.package_id=s.id '
total = int(query_db(query)[0][0])
- log.debug('current scheduled packages in all suites: ' + str(total))
+ log.info('Currently scheduled packages in all suites: ' + str(total))
if total > 250:
build_page('scheduled') # from reproducible_html_indexes
log.info(str(total) + ' packages already scheduled' +
@@ -222,7 +222,7 @@ def scheduler():
log.info('Requesting 200 untested packages...')
untested[suite] = scheduler_untested_packages(suite, 200)
total += len(untested[suite])
- log.info('About to schedule ' + str(len(untested[suite])) + ' untested packages in ' + suite + '.')
+ log.info('Received ' + str(len(untested[suite])) + ' untested packages in ' + suite + ' to schedule.')
# packages with new versions
new = {}
@@ -236,7 +236,7 @@ def scheduler():
for suite in SUITES:
new[suite] = scheduler_new_versions(suite, many_new)
total += len(new[suite])
- log.info('About to schedule ' + str(len(new[suite])) + ' new packages in ' + suite + '.')
+ log.info('Received ' + str(len(new[suite])) + ' new packages in ' + suite + ' to schedule.')
# old packages
old = {}
@@ -252,7 +252,7 @@ def scheduler():
log.info('Requesting ' + str(many_old) + ' old packages...')
old[suite] = scheduler_old_versions(suite, many_old)
total += len(old[suite])
- log.info('About to schedule ' + str(len(old[suite])) + ' old packages in ' + suite + '.')
+ log.info('Received ' + str(len(old[suite])) + ' old packages in ' + suite + ' to schedule.')
for suite in SUITES:
all_scheduled_pkgs = []