potiuk commented on PR #33145: URL: https://github.com/apache/airflow/pull/33145#issuecomment-1666603069
Example flaky tests: * https://github.com/apache/airflow/actions/runs/5772507476/job/15647634825?pr=33144 * https://github.com/apache/airflow/actions/runs/5772507476/job/15647635099?pr=33144 ``` ---------------------------- Captured log teardown ----------------------------- ERROR sqlalchemy.pool.impl.NullPool:base.py:791 Exception during reset or similar Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 763, in _finalize_fairy fairy._reset(pool, transaction_was_reset) File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1038, in _reset pool._dialect.do_rollback(self) File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 683, in do_rollback dbapi_connection.rollback() sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 140220884317952 and this is thread id 140222344125312. ERROR sqlalchemy.pool.impl.NullPool:base.py:264 Exception closing connection <sqlite3.Connection object at 0x7f879f914c70> Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 763, in _finalize_fairy fairy._reset(pool, transaction_was_reset) File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 1038, in _reset pool._dialect.do_rollback(self) File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 683, in do_rollback dbapi_connection.rollback() sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 140220884317952 and this is thread id 140222344125312. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/sqlalchemy/pool/base.py", line 260, in _close_connection self._dialect.do_terminate(connection) File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 689, in do_terminate self.do_close(dbapi_connection) File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 692, in do_close dbapi_connection.close() sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 140220884317952 and this is thread id 140222344125312. =================================== FAILURES =================================== ``` -- 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]
