Repository navigation
Un-flake 02524_fuzz_and_fuss_2 - #67867
Merged
Merged
Conversation
https://s3.amazonaws.com/clickhouse-test-reports/0/3221b651da16cd868350a1aff022ba71a1a15f3c/stateless_tests__tsan__s3_storage__[2_5].html https://s3.amazonaws.com/clickhouse-test-reports/0/1fde5b7bfa1b1a6a0d67258be5e7ef855b730559/stateless_tests__tsan__s3_storage__[2_4].html
alexey-milovidov
approved these changes
Aug 5, 2024
Contributor
|
This is an automated comment for commit 05395ac 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
|
This was referenced Jul 28, 2026
pull Bot
pushed a commit
to peijunlin2008/ClickHouse
that referenced
this pull request
Jul 28, 2026
The test pinned max_execution_time = '9' on a one-row INSERT INTO data_a_02187 SELECT * FROM system.one. That setting is a wall-clock deadline, not a work budget: it is registered per query in ProcessList.cpp and enforced by a background thread in CancellationChecker.cpp. On Stateless tests (amd_msan, WasmEdge) the statement was descheduled past its own deadline under load and the test failed with Code: 159. Timeout exceeded: elapsed 11056.432 ms, maximum: 9000 ms. The failing job's server log shows the query logging its last pipeline line, then nothing at all for 9.000839 s, then the cancellation, while 2396 lines from 120 other query ids land in the same window. Nothing in the statement got slower. Removing the pin does not weaken the test. It was added as a test for issue ClickHouse#38729 (Block structure mismatch in Pipes stream), its reference file is empty, it expects no server or client error, and EXPLAIN PIPELINE of the statement is byte-identical with and without the token. The test stays bounded by the harness --timeout of 600 s. Raising the value again was not an option: PR ClickHouse#67867 already raised this same pin from 3 to 9 for the same class of failure. Over the last 30 days this test file takes p50 2170 ms and p95 3210 ms on that flavour, and 24 of 8051 passing runs already exceed 9000 ms for the whole file, so no constant makes a per-statement 9 s cap reliable. Verified with three arms on one binary: as-is rc=0, pin removed rc=0, and as a live control the pin forced to 0.001 rc=159. The test then passes 1/1 through the harness and 50/50 with randomized settings.
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.
Fails very sporadically (ca. 2x / year) in tsan builds.
This PR increases setting
max_execution_time = '3'tomax_execution_time = '9'.Logs show nothing suspicious except running parallel aggregation queries by another test.
02524_fuzz_and_fuss_2usesmax_threads= 3, so the test might simply starve.https://s3.amazonaws.com/clickhouse-test-reports/0/3221b651da16cd868350a1aff022ba71a1a15f3c/stateless_tests__tsan__s3_storage__[2_5].html
https://s3.amazonaws.com/clickhouse-test-reports/0/1fde5b7bfa1b1a6a0d67258be5e7ef855b730559/stateless_tests__tsan__s3_storage__[2_4].html
Changelog category (leave one):