Add more debugging around lost builds.

A build was recently marked as lost because zuul said it finished
more than 5 minutes ago, but it had not yet finished.  This should
give us the information needed to debug that situation.

Change-Id: I2ab95c8110f4c3adf85db999cb6153db89b1b1b2
This commit is contained in:
James E. Blair 2012-07-11 15:06:54 -07:00
parent e5a847f484
commit 2c0e967d27
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ info can not be retreived" % build)
finish_time = (info['timestamp'] + info['duration']) / 1000
if time.time() - finish_time > JENKINS_GRACE_TIME:
self.log.debug("Lost build %s because it finished \
more than 5 minutes ago" % build)
more than 5 minutes ago. Build info %s:" % (build, info))
lostbuilds.append(build)
continue
# Give it more time