tests: fix 00705_drop_create_merge_tree flakiness#42522
Merged
tavplubix merged 2 commits intoClickHouse:masterfrom Oct 20, 2022
Merged
tests: fix 00705_drop_create_merge_tree flakiness#42522tavplubix merged 2 commits intoClickHouse:masterfrom
tavplubix merged 2 commits intoClickHouse:masterfrom
Conversation
CI caught tiemout for this test [1]:
2022.10.19 16:43:46.238264 [ 24048 ] {aea0ff2a-f8de-498a-bd9f-0b8069a49f48} <Error> executeQuery: Code: 60. DB::Exception: Table test_orfkwn0y.table doesn't exist. (UNKNOWN_TABLE) (version 22.10.1.1) (from [::1]:60028) (comment: 00705_drop_create_merge_tree.sh) (in query: DROP TABLE table), Stack trace (when copying this message, always include the lines below):
...
2022.10.19 16:53:34.484777 [ 24042 ] {aec5a80a-4492-429b-87fb-7dbf5ffb5d67} <Debug> executeQuery: (from [::1]:57944) (comment: 00705_drop_create_merge_tree.sh) DROP DATABASE test_orfkwn0y (stage: Complete)
But as you can see there is huge delay between last query from the test
and final DROP DATABASE.
[1]: https://s3.amazonaws.com/clickhouse-test-reports/42457/65cd040d1565bb7b2a9ba515041c3a139d31a4f9/stateless_tests__tsan__[1/3]/runlog.log
Apparently it is the same issue in bash [1].
[1]: https://gist.github.com/azat/affbda3f8c6b5c38648d4ab105777d88
Anyway it is easier to simply invoke clickhouse-client only two times,
since each invocation is very slow (~1-2 sec) in debug build.
Signed-off-by: Azat Khuzhin <[email protected]>
tavplubix
approved these changes
Oct 20, 2022
Member
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.
CI caught tiemout for this test 1:
But as you can see there is huge delay between last query from the test and final DROP DATABASE.
Apparently it is the same issue in bash 1.
Anyway it is easier to simply invoke clickhouse-client only two times, since each invocation is very slow (~1-2 sec) in debug build.
Changelog category (leave one):
Cc: @alexey-milovidov
Cc: @tavplubix (he also bumped into this issue)