-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:loggingarea:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDKarea:task-sdkkind:metaHigh-level information important to the communityHigh-level information important to the community
Description
Body
Something not quite right with either sdk logging setup or test side effects.
To repro
- enter breeze
- run supervisor test
- 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
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Metadata
Metadata
Assignees
Labels
area:loggingarea:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDKarea:task-sdkkind:metaHigh-level information important to the communityHigh-level information important to the community