Taragolis opened a new issue, #39051: URL: https://github.com/apache/airflow/issues/39051
### Body We are disable by default this check in https://github.com/apache/airflow/pull/28990, and enable in https://github.com/apache/airflow/pull/38893 However it might not pass every time. ```console 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 - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
