Repository navigation
Scale the cancellation-latency bounds of 04648_geohashes_in_box_cancellation for sanitizer builds - #113923
Scale the cancellation-latency bounds of 04648_geohashes_in_box_cancellation for sanitizer builds#113923alexey-milovidov wants to merge 2 commits into
04648_geohashes_in_box_cancellation for sanitizer builds#113923Conversation
…ellation` for sanitizer and coverage builds After the earlier deflake (#112823), the remaining failures of this test are bound overruns on sanitizer builds only: the `KILL ... SYNC` latency reached 4464-4882 ms against the 4000 ms bound under TSan/MSan, and `query_duration_ms` reached 5355-7167 ms against the same bound on the ASan/UBSan Azure runner (e.g. https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=110613&sha=e23d6eeccd2a175a5535fbfece080af0db7e9525&name_0=PR&name_1=Stateless%20tests%20%28amd_msan%2C%20WasmEdge%2C%20parallel%2C%203%2F3%29). Scale the bound 3x on sanitizer and coverage builds, following the pattern of `04722_count_substrings_cancellation`: those builds stretch the unfixed path (tens of seconds) at least as much as the fixed one, so 12000 ms still separates. Closes: #113922 Co-Authored-By: Claude Fable 5 <[email protected]>
|
Workflow [PR], commit [0db938e] Summary: ✅ AI ReviewSummaryThis PR deflakes Final Verdict✅ No blocking review findings. |
…er slow runners The readiness poll of `run_kill_case` was a fixed 500 iterations of 20 ms, and #113922 shows this as the dominant failure mode (`expanding kill: query never reached the row loop`, 11 failures on `arm_binary` and 6 on `amd_debug` in 14 days): on a busy runner the query start alone can outlast ten seconds. The window is not part of the fixed/unfixed oracle - it only waits for setup - so it is now sixty seconds on every build, with an early exit when the client process dies so a genuine startup failure still reports promptly instead of outwaiting the window.
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
Only the stripped binary is compared: the official master build keeps debug symbols while PR builds strip them, so the other binaries differ by construction. Compile time of recompiled translation units40 translation units recompiled, 29 s compile time in total, 6 of them have a recent master baseline. |
|
I am going to remove the test myself |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Deflake the test
04648_geohashes_in_box_cancellation: scale the cancellation-latency bounds for sanitizer and coverage builds, and extend the readiness window of theKILLcase for slow runners.After the earlier deflake in #112823, the remaining failures of this test (~24 in the last 14 days, across
masterand unrelated PRs) fall into two modes:Bound overruns on sanitizer builds. The
KILL ... SYNClatency reached 4464–4882 ms against the 4000 ms bound under TSan/MSan, e.g. this report (expanding kill blocked 4882ms), andquery_duration_msreached 5355–7167 ms against the same 4000 ms bound on the ASan/UBSan Azure runner (float64 throw ran 7167ms past a 1000ms limit). The bound is now scaled 3x on sanitizer and coverage builds, following the existing pattern of04722_count_substrings_cancellation/04650_replace_cancellation: those builds stretch the work in flight when the cancellation check fires, but stretch the unfixed path (a block that runs for tens of seconds) at least as much, so the scaled bound of 12000 ms still separates the fixed behavior from the unfixed one. On release builds the bound stays 4000 ms.Readiness-poll timeouts on busy runners (
expanding kill: query never reached the row loop, the dominant mode: 11 failures onarm_binaryand 6 onamd_debug). The readiness poll ofrun_kill_casewas a fixed 500 iterations of 20 ms, and on a busy runner the query start alone can outlast those ten seconds. The window is not part of the fixed/unfixed oracle — it only waits for setup — so it is now sixty seconds on every build, with an early exit when the client process dies so a genuine startup failure still reports promptly instead of outwaiting the window.The test still passes locally on a release build (byte-for-byte against the reference).
Closes: #113922