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
diff --git a/zuul/launcher/jenkins.py b/zuul/launcher/jenkins.py
index a8e1b09..ff24066 100644
--- a/zuul/launcher/jenkins.py
+++ b/zuul/launcher/jenkins.py
@@ -383,7 +383,7 @@
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