Fix flaky test_broken_projestions/test.py::test_broken_ignored_replic…#61932
Merged
Fix flaky test_broken_projestions/test.py::test_broken_ignored_replic…#61932
Conversation
Contributor
|
This is an automated comment for commit 14c60de with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
evillique
approved these changes
Mar 26, 2024
Member
Author
test_runtime_configurable_cache_size/test.py::test_query_cache_size_is_runtime_configurable |
19 tasks
azat
added a commit
to azat/ClickHouse
that referenced
this pull request
Feb 17, 2025
Recently CI found one more failure for
test_broken_projections/test.py::test_broken_ignored_replicated [1], but
this time, we have more details:
Looked for query id , but to no avail: 408ff27f-4d8d-4328-8099-c89c4aeee8ce SELECT queryID() FROM (SELECT c FROM \'test3_replica\' WHERE d == 12 ORDER BY c SETTINGS force_optimize_projection_name = \'proj1\') proj1
^^^ - query_id is empty!
[1]: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=75973&sha=bb72b6d9b56327982e2366d962be00888790bdb9&name_0=PR&name_1=Integration%20tests%20%28aarch64%2C%202%2F4%29
So:
- flakiness is due to buggy queryID() function, so revet ClickHouse#61932, the issue with queryID() will be fixed separately
- errors due to query included into the "res" so it always match
azat
added a commit
to azat/ClickHouse
that referenced
this pull request
Feb 17, 2025
Recently CI found one more failure for
test_broken_projections/test.py::test_broken_ignored_replicated [1], but
this time, we have more details:
Looked for query id , but to no avail: 408ff27f-4d8d-4328-8099-c89c4aeee8ce SELECT queryID() FROM (SELECT c FROM \'test3_replica\' WHERE d == 12 ORDER BY c SETTINGS force_optimize_projection_name = \'proj1\') proj1
^^^ - query_id is empty!
[1]: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=75973&sha=bb72b6d9b56327982e2366d962be00888790bdb9&name_0=PR&name_1=Integration%20tests%20%28aarch64%2C%202%2F4%29
So:
- flakiness is due to buggy queryID() function, so revet ClickHouse#61932
(retrying querying query_log), the issue with queryID() will be fixed
separately
- errors due to query included into the "res" so it always match
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
This is strange that there was no record by certain query_id even after system flush logs, but according to debug logging in test it was there after the second try (second try was the printing of debug info before abort) https://pastila.nl/?0075caf2/3ff9b5c94c6925196627cd3d80fe494b#8Kb3T85WOEfDlrf6RR0gaQ==
Modify your CI run:
NOTE: If your merge the PR with modified CI you MUST KNOW what you are doing
NOTE: Set desired options before CI starts or re-push after updates
Run only:
CI options:
Only specified batches in multi-batch jobs: