Skip to content

Commit

Permalink
Filter out SIGTERM and SIGKILL exit codes from "completed almost ontime"
Browse files Browse the repository at this point in the history
(cherry picked from commit 07e3b08)
  • Loading branch information
penguinolog committed Dec 7, 2018
1 parent 8cfa74f commit 5ebe418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec_helpers/subprocess_runner.py
Expand Up @@ -148,7 +148,7 @@ def close_streams(): # type: () -> None
# Force stop cycle if no exit code after kill
except OSError:
exit_code = async_result.interface.poll()
if exit_code is not None: # Nothing to kill
if exit_code is not None and exit_code not in {-9, -15}: # Nothing to kill
self.logger.warning(
"{!s} has been completed just after timeout: please validate timeout.".format(command)
)
Expand Down

0 comments on commit 5ebe418

Please sign in to comment.