Taragolis commented on PR #28590: URL: https://github.com/apache/airflow/pull/28590#issuecomment-1366560903
@BobDu I think this changes conflicts with [pytest-capture-warnings](https://github.com/athinkingape/pytest-capture-warnings) plugin. I check locally and with our current settings and plugins nothing happen, unfortunetly Without disable `pytest-capture-warnings` --- ```console root@a33668319fad:/opt/airflow# pytest tests/jobs/test_scheduler_job.py::TestSchedulerJob ==================================================================== test session starts ==================================================================== platform linux -- Python 3.7.16, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /opt/airflow, configfile: pytest.ini plugins: cov-4.0.0, asyncio-0.20.3, rerunfailures-9.1.1, instafail-0.4.2, anyio-3.6.2, timeouts-1.2.1, xdist-3.1.0, requests-mock-1.10.0, capture-warnings-0.0.4, httpx-0.21.2, time-machine-2.8.2 asyncio: mode=strict setup timeout: 0.0s, execution timeout: 0.0s, teardown timeout: 0.0s collected 142 items ... All Warning errors can be found in the warnings.txt file. ... ============================================================== 139 passed, 3 skipped in 17.45s ============================================================== ``` Disable `pytest-capture-warnings` --- ```console root@a33668319fad:/opt/airflow# pytest -p no:capture_warnings tests/jobs/test_scheduler_job.py::TestSchedulerJob ==================================================================== test session starts ==================================================================== platform linux -- Python 3.7.16, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /opt/airflow, configfile: pytest.ini plugins: cov-4.0.0, asyncio-0.20.3, rerunfailures-9.1.1, instafail-0.4.2, anyio-3.6.2, timeouts-1.2.1, xdist-3.1.0, requests-mock-1.10.0, httpx-0.21.2, time-machine-2.8.2 asyncio: mode=strict setup timeout: 0.0s, execution timeout: 0.0s, teardown timeout: 0.0s collected 142 items ... ================================================================== short test summary info ================================================================== ... FAILED tests/jobs/test_scheduler_job.py::TestSchedulerJob::test_find_zombies_nothing - sqlalchemy.exc.SAWarning: SELECT statement has a cartesian product ... FAILED tests/jobs/test_scheduler_job.py::TestSchedulerJob::test_find_zombies - sqlalchemy.exc.SAWarning: SELECT statement has a cartesian product between ... FAILED tests/jobs/test_scheduler_job.py::TestSchedulerJob::test_find_zombies_handle_failure_callbacks_are_correctly_passed_to_dag_processor - sqlalchemy.e... ================================================== 3 failed, 136 passed, 3 skipped, 26 warnings in 18.43s =================================================== ``` -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org