Skip to content

Fix test_storage_rabbitmq timeouts#84234

Merged
pamarcos merged 5 commits intoClickHouse:masterfrom
pamarcos:improve-test_storage_rabbitmq
Jul 24, 2025
Merged

Fix test_storage_rabbitmq timeouts#84234
pamarcos merged 5 commits intoClickHouse:masterfrom
pamarcos:improve-test_storage_rabbitmq

Conversation

@pamarcos
Copy link
Copy Markdown
Member

@pamarcos pamarcos commented Jul 22, 2025

Part of #71049
Closes #81221

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

pamarcos added 4 commits July 22, 2025 14:44
This will make the tests more resilient
@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Jul 22, 2025

Workflow [PR], commit [0d56f80]

Summary:

job_name test_name status info comment
Integration tests (release, 3/4) failure
Job Timeout Expired FAIL

@clickhouse-gh clickhouse-gh bot added the pr-ci label Jul 22, 2025
@nikitamikhaylov nikitamikhaylov assigned pamarcos and unassigned pamarcos Jul 22, 2025
@pamarcos pamarcos added the 🍃 green ci 🌿 Fixing flaky tests in CI label Jul 23, 2025
@pamarcos pamarcos changed the title Improve test_storage_rabbitmq to avoid timeouts Fix test_storage_rabbitmq timeouts Jul 23, 2025
@kssenii kssenii self-assigned this Jul 23, 2025
Comment on lines +81 to +82
if result > prev_result:
deadline += 1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be also have a hard deadline after which we can no longer increase?

Copy link
Copy Markdown
Member Author

@pamarcos pamarcos Jul 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't set any hard deadline on purpose because ideally, I'd like the deadline to keep increasing as long as there's new data consumed. pytest already has a 900s timeout, so it'll make sure it won't take infinite time

@pamarcos pamarcos enabled auto-merge July 23, 2025 11:56
@pamarcos pamarcos added pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-must-backport Pull request should be backported intentionally. Use this label with great care! labels Jul 23, 2025
@pamarcos pamarcos added this pull request to the merge queue Jul 24, 2025
Merged via the queue into ClickHouse:master with commit 4c0c2e8 Jul 24, 2025
121 of 123 checks passed
@pamarcos pamarcos deleted the improve-test_storage_rabbitmq branch July 24, 2025 08:56
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 24, 2025
robot-ch-test-poll added a commit that referenced this pull request Jul 24, 2025
Cherry pick #84234 to 25.3: Fix test_storage_rabbitmq timeouts
robot-ch-test-poll added a commit that referenced this pull request Jul 24, 2025
Cherry pick #84234 to 25.4: Fix test_storage_rabbitmq timeouts
robot-ch-test-poll added a commit that referenced this pull request Jul 24, 2025
Cherry pick #84234 to 25.5: Fix test_storage_rabbitmq timeouts
robot-ch-test-poll added a commit that referenced this pull request Jul 24, 2025
Cherry pick #84234 to 25.6: Fix test_storage_rabbitmq timeouts
robot-ch-test-poll added a commit that referenced this pull request Jul 24, 2025
Cherry pick #84234 to 25.7: Fix test_storage_rabbitmq timeouts
@pamarcos pamarcos removed the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 24, 2025
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 24, 2025
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jul 24, 2025
clickhouse-gh bot added a commit that referenced this pull request Jul 24, 2025
Backport #84234 to 25.7: Fix test_storage_rabbitmq timeouts
clickhouse-gh bot added a commit that referenced this pull request Jul 24, 2025
Backport #84234 to 25.6: Fix test_storage_rabbitmq timeouts
@pamarcos pamarcos removed pr-synced-to-cloud The PR is synced to the cloud repo pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Jul 25, 2025
@robot-ch-test-poll4 robot-ch-test-poll4 added pr-backports-created-cloud deprecated label, NOOP pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Jul 25, 2025
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 25, 2025
pamarcos added a commit that referenced this pull request Jul 25, 2025
Backport #84234 to 25.3: Fix test_storage_rabbitmq timeouts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍃 green ci 🌿 Fixing flaky tests in CI pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-ci pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_rabbitmq_sharding_between_queues_publish is flaky

8 participants