diff --git a/zuul/ansible/library/command.py b/zuul/ansible/library/command.py index 84c3715359..639032257c 100644 --- a/zuul/ansible/library/command.py +++ b/zuul/ansible/library/command.py @@ -323,7 +323,10 @@ def zuul_run_command(self, args, check_rc=False, close_fds=True, executable=None "after child exited") console.addLine("[Zuul] Task exit code: %s\n" % ret) - cmd.stdout.close() + # ZUUL: If the console log follow thread *is* stuck in readline, + # we can't close stdout (attempting to do so raises an + # exception) , so this is disabled. + # cmd.stdout.close() # ZUUL: stdout and stderr are in the console log file stdout = ''