You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: attempt to fix RabbitMQ tests (pause/unpause breaks RabbitMQ)
I was looking at [1] failure on CI, all problems pops up there after
unpause of rabbitmq container failed:
# dockerd.log
time="2025-05-21T11:07:28.863531720Z" level=debug msg="Calling POST /v1.46/containers/1f6103a506ad393e4ff79565ff27e01e73d760722a0412b66f3e0ac3759b2905/unpause"
time="2025-05-21T11:07:54.715714117Z" level=warning msg="Health check for container 1f6103a506ad393e4ff79565ff27e01e73d760722a0412b66f3e0ac3759b2905 error: timed out starting health check for container 1f6103a506ad393e4ff79565ff27e01e73d760722a0412b66f3e0ac3759b2905"
# pytest logs
cat test_storage_rabbitmq_test_py_0.jsonl | jq -r '[.nodeid, .outcome, .duration] | @TSV'
test_storage_rabbitmq/test.py::test_rabbitmq_no_connection_at_startup_1 passed 0.06497019900052692
test_storage_rabbitmq/test.py::test_rabbitmq_no_connection_at_startup_1 passed 4.069896273000268
test_storage_rabbitmq/test.py::test_rabbitmq_no_connection_at_startup_1 passed 2.9214494500010915
test_storage_rabbitmq/test.py::test_rabbitmq_no_connection_at_startup_2 passed 0.06504274200051441
test_storage_rabbitmq/test.py::test_rabbitmq_no_connection_at_startup_2 failed 305.5343935210003
test_storage_rabbitmq/test.py::test_rabbitmq_no_connection_at_startup_2 failed 120.9480928060002
test_storage_rabbitmq/test.py::test_rabbitmq_format_factory_settings passed 0.06524586100022134
test_storage_rabbitmq/test.py::test_rabbitmq_format_factory_settings failed 4.070239695000055
test_storage_rabbitmq/test.py::test_rabbitmq_format_factory_settings failed 120.14076365499932
test_storage_rabbitmq/test.py::test_rabbitmq_vhost passed 0.06514747200162674
test_storage_rabbitmq/test.py::test_rabbitmq_vhost failed 4.070600553000986
test_storage_rabbitmq/test.py::test_rabbitmq_vhost failed 120.16239366799891
As you can see all tests timed out after
test_rabbitmq_no_connection_at_startup_2 failure.
So let's try to properly pause it using stop_app/start_app.
[1]: https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=87a5d902c552e9bf1502023611f7341b665754e0&name_0=MasterCI&name_1=Integration%20tests%20%28aarch64%2C%20distributed%20plan%2C%202%2F4%29
0 commit comments