Repository navigation
Do not run 05271_promql_label_matcher_pushdown under MSan - #125128
Conversation
The test timed out at the 600 s per-test limit in 3 of the 6 master runs of `Stateless tests (amd_msan, parallel, 2/3)` since it was added in ClickHouse#122972 (ed166bd, 28bdac1, db91952). The no-random-settings diagnosis reruns timed out as well, so it is not a randomized setting. The failing jobs' query_log shows where the time goes: each of the 37 comparison queries spends 15-31 s of single-threaded CPU in analysis and plan building under MSan, while reading 473 rows. The whole test takes at most 189 s under ASan+UBSan and 29 s in release builds. Splitting the file would keep the total MSan time, and each part would still be far above the 60 s MSan cutoff of ClickHouse#115050. Tag it `no-msan` like `01721_join_implicit_cast_long` (0d02623). The test still runs on debug, release and ASan+UBSan builds, and other PromQL tests keep the pushdown covered under MSan. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review (1 nit).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261011-014800 |
|
Workflow [PR], commit [3e64397] Summary: ✅ AI ReviewSummaryThis PR adds Final Verdict
|
The test (added by ClickHouse#127100) needs more data manifests than the 64 that ManifestFilesPrefetcher reads ahead, so it writes 70 of them with 70 INSERTs and then reads them twice on one thread with a cold metadata cache. Under MSan in the parallel stateless job that costs 1.7-2.6 s per manifest. In master `Stateless tests (amd_msan, parallel, 3/3)` it ran 16 times since the merge: mean 280 s, p99 533 s, max 543 s of the 600 s per-test timeout, so a timeout kill is an ordinary tail event. Per-query time of the 543 s run (master c0e5c9a): 70 INSERTs 111 s, first ALTER DELETE (cold cache) 176 s, icebergLocal with max_threads = 1 193 s, with max_threads = 8 25 s. The mean is 4.7x the 60 s MSan cutoff of ClickHouse#115050. Same remedy as 0d02623 (01721_join_implicit_cast_long) and ClickHouse#125128 (05271_promql_label_matcher_pushdown). The test still runs under ASan, UBSan, TSan, debug and release. Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=c0e5c9ad4ad2ac0426f2d75bf4ef6764dfc01814&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_msan%2C%20parallel%2C%203%2F3%29 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Related: #122972
Related: #115050
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
05271_promql_label_matcher_pushdownno longer runs in the MSan stateless test jobs.Description
05271_promql_label_matcher_pushdown(added in #122972) hit the 600 s per-test timeout in 5 of the 8 master runs ofStateless tests (amd_msan, parallel, 2/3)since it was merged, for example ed166bdd, 28bdac13, db919526. The passing MSan runs took 168-407 s. The diagnosis reruns without random settings timed out too.The time goes to planning. In the failing jobs'
query_log, each of the 37 comparison queries takes 15-31 s of single-threaded CPU under MSan (mostly analysis and plan building), while it reads 473 rows. Elsewhere the whole test takes at most 189 s under ASan+UBSan and 29 s in release builds. Splitting the file would not lower the total MSan time, and every part would still be far over the 60 s MSan cutoff that #115050 uses.This PR adds
no-msanto the# Tags:line, with a one-line reason, as was done for01721_join_implicit_cast_long. The test still runs on debug, release and ASan+UBSan. Under MSan, other PromQL tests withon(...)/ignoring(...)still go through the pushdown, which is on by default (for example05320_promql_duplicate_series_check_per_step).Validation: the runner's tag parser returns
no-msanfor the new header and not for master's. A local debug build passes the test ([ OK ], not skipped).Workflow [PR]
Sync PR [sync-upstream/pr/125128]
Version info
26.10.1.2120-master(included in26.10and later)