dstandish opened a new issue, #47232:
URL: https://github.com/apache/airflow/issues/47232
### Body
Something not quite right with either sdk logging setup or test side effects.
To repro
1. enter breeze
2. run supervisor test
3. Observe error
```
...
task_sdk/tests/execution_time/test_supervisor.py::TestHandleRequest::test_handle_requests[get_prev_successful_dagrun]
PASSED [ 97%]
task_sdk/tests/execution_time/test_supervisor.py::TestHandleRequest::test_handle_requests[runtime_check_on_task]
PASSED [100%]
================================== 44 passed, 1 warning in 16.54s
==================================
--- Logging error ---
Traceback (most recent call last):
File "/usr/local/lib/python3.9/logging/__init__.py", line 1086, in emit
stream.write(msg + self.terminator)
ValueError: I/O operation on closed file.
Call stack:
File "/opt/airflow/airflow/settings.py", line 482, in dispose_orm
log.debug("Disposing DB connection pool (PID %s)", os.getpid())
Message: 'Disposing DB connection pool (PID %s)'
Arguments: (108,)
root@a041b505f651:/opt/airflow#
```
### 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]