Merge "Improve logging around ansible timeouts"

This commit is contained in:
Zuul 2019-01-25 17:26:16 +00:00 committed by Gerrit Code Review
commit 1d6d8b0de6
1 changed files with 1 additions and 1 deletions

View File

@ -1854,7 +1854,7 @@ class AnsibleJob(object):
ret = None ret = None
if timeout: if timeout:
watchdog = Watchdog(timeout, self._ansibleTimeout, watchdog = Watchdog(timeout, self._ansibleTimeout,
("Ansible timeout exceeded",)) ("Ansible timeout exceeded: %s" % timeout,))
watchdog.start() watchdog.start()
try: try:
# Use manual idx instead of enumerate so that RESULT lines # Use manual idx instead of enumerate so that RESULT lines