Body
We are disable by default this check in #28990, and enable in #38893
However it might not pass every time.
captured = tmp_file.read_text()
for msg in [
"Received SIGTERM. Terminating subprocesses",
"Task exited with return code 143",
]:
# assert msg in captured.out or msg in captured.err
> assert msg in captured
E AssertionError: assert 'Task exited with return code 143' in '::group::Pre task execution logs\nRunning <TaskInstance: test_task_runner_sigterm_fork_non_daemon.test_on_retry_callback test-2016-01-01 [running]> on host 7132048ea935\nReceived SIGTERM. Terminating subprocesses\n'
I guess it some sort of race condition behaviour and we might kill process before it writes into the logs
Committer
Body
We are disable by default this check in #28990, and enable in #38893
However it might not pass every time.
I guess it some sort of race condition behaviour and we might kill process before it writes into the logs
Committer