From 5879a5051aedd0f775e8d54e70f4952f95cce23b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 12 Oct 2012 17:50:59 +0200 Subject: [PATCH] more debugging --- db_add.py | 2 ++ debian_build.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/db_add.py b/db_add.py index cfa7521..d5e32ae 100755 --- a/db_add.py +++ b/db_add.py @@ -40,7 +40,9 @@ def harmonize_timeformat(time): def db_add_build(con, db_id, number, start, end, status): cur = con.cursor() cur.execute("SAVEPOINT a") + logger.debug('start = %s' % start) start = harmonize_timeformat(start) + logger.debug('harmonized_start = %s' % start) end = harmonize_timeformat(end) try: cur.execute("INSERT INTO jenkins_build(jenkins_job_id, jenkins_build_number, build_start, build_end, status) VALUES(%s, %s, %s, %s, '%s') RETURNING id" % (db_id, number, start, end, status)) diff --git a/debian_build.py b/debian_build.py index ece00ad..ad0d1ca 100755 --- a/debian_build.py +++ b/debian_build.py @@ -578,7 +578,7 @@ if __name__ == '__main__': cmd = ['figlet-figlet', '-t', 'CIDB problem:'] subprocess.check_call(cmd) logger.error("package instance not added to DB") - exit_error() + #exit_error() if len(package_instances) > 0: try: add_liveboot_request(package_instances) -- 2.39.5