Repository navigation
Tag 05307_json_shared_typed_paths_concurrent_readers with no-msan - #127865
Conversation
Under MSan the test runs at 80-90% of the 600 s per-test timeout (master amd_msan: median 470 s, max 532 s over 6 passing runs, one Timeout! at 600.25 s), against 16 s in amd_debug. The failing job's query_log: six single-threaded INSERTs parsing 640 000 JSON documents 246 s, 18 comparison queries over both tables ~300 s, OPTIMIZE FINAL 22 s; the SHARED table and its plain twin cost the same, and the time does not depend on the random settings draw. The body and reference are unchanged, so ASan, UBSan, TSan and the other builds keep running it. Failing job: https://github.com/ClickHouse/ClickHouse/actions/runs/40338606213/job/121633043306 Related: ClickHouse#127000 Related: ClickHouse#115050 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 on the test header change). Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261026-172500 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-6:20261026-170900 |
|
cc @Avogar, could you review this and add the |
|
Workflow [PR], commit [c97b10b] Summary: ✅ AI ReviewSummaryPR #127865 adds Final VerdictStatus: ✅ Approve. |
22f15b5
Backport #127865 to 26.10: Tag 05307_json_shared_typed_paths_concurrent_readers with no-msan
Under MSan the test takes up to 445 s of the 600 s per-test timeout on master (amd_msan: median 235 s over 37 passing runs in 30 days), against 7 s in amd_debug, and it times out in the private CI's MSan jobs on object storage. Smaller tables do not fit it: on one MSan server half the rows took 0.85x the time and a quarter 0.74x, because most of the cost is per query, not per row. The body and reference are unchanged, so ASan, UBSan, TSan and the other builds keep running it, and under MSan the many-task SHARED read path stays covered by 05303_json_shared_typed_paths_s3. 445 s run: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=2fbf0f458e338daafbd720d14069681c51b557a8&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_msan%2C%20parallel%2C%202%2F3%29 Related: ClickHouse#127000 Related: ClickHouse#127865 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Related: #127000
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Test-only change, no changelog entry required.
Description
05307_json_shared_typed_paths_concurrent_readers(new in #127000) timed out inStateless tests (amd_msan, parallel, 3/3)on master:Failing job: https://github.com/ClickHouse/ClickHouse/actions/runs/40338606213/job/121633043306 (
Timeout!at 600.25 s, the only failing test of the job)Under MSan it runs close to the 600 s per-test timeout: 470 s median and 532 s max over the 6 passing master runs since the merge, against 16 s in
amd_debugand 17 s inamd_release. The failing job'squery_logputs the time in the fixture and the reads, not in one query: the six single-threadedINSERT ... SELECTthat parse 640 000 JSON documents take 246 s, the 18 comparison queries over both tables about 300 s, the twoOPTIMIZE FINAL22 s. The SHARED table and its plain-type twin cost the same, so this is MSan's cost on the JSON code, and it does not depend on the randomized settings (the job's rerun with another draw took 566 s).This tags the test
no-msanwith a one-line reason, as done for other tests that time out under MSan (01721_join_implicit_cast_long, #115050). The body and the reference are unchanged, so it still runs under ASan, UBSan and TSan, and the other SHARED typed path tests (at most 470 s under MSan, none has failed) keep running under MSan. Shrinking the fixture enough to fit would often leave each part a single granule (the randomizedindex_granularitygoes up to 65536), i.e. a single read task, which removes the concurrency the test exists for.Validation with the CI binaries of the failing commit: on the MSan server the test runs before the change and is skipped after it (
not running for current build); the debug and ASan+UBSan binaries still run it and pass.Workflow [PR]
Sync PR [sync-upstream/pr/127865]
Version info
26.11.1.844-master(included in26.11and later)26.10.3.24