Skip to content

Do not run 05271_promql_label_matcher_pushdown under MSan - #125128

Merged
fm4v merged 1 commit into
ClickHouse:masterfrom
groeneai:groeneai/05271-promql-no-msan
Oct 11, 2026
Merged

fm4v merged 1 commit into
ClickHouse:masterfrom
groeneai:groeneai/05271-promql-no-msan

Conversation

@groeneai

@groeneai groeneai commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #122972
Related: #115050

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

05271_promql_label_matcher_pushdown no 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 of Stateless 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-msan to the # Tags: line, with a one-line reason, as was done for 01721_join_implicit_cast_long. The test still runs on debug, release and ASan+UBSan. Under MSan, other PromQL tests with on(...)/ignoring(...) still go through the pushdown, which is on by default (for example 05320_promql_duplicate_series_check_per_step).

Validation: the runner's tag parser returns no-msan for 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

  • Merged into: 26.10.1.2120-master (included in 26.10 and later)

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]>
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding labels Oct 11, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
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).

# Sev Finding Verdict Evidence / action
1 💡 The PR description undercounted the MSan timeouts (3 of 6 runs at drafting time) AGREE, fixed in the description CIDB now shows 5 of 8 master runs of Stateless tests (amd_msan, parallel, 2/3) at 600 s

Severity: ❌ blocker / ⚠️ major / 💡 nit.

Session id: cron:clickhouse-review-slot-9:20261011-014800

@clickhouse-gh

clickhouse-gh Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [3e64397]

Summary: ✅


AI Review

Summary

This PR adds no-msan to tests/queries/0_stateless/05271_promql_label_matcher_pushdown.sh so the PromQL label-matcher pushdown regression stops consuming the amd_msan lane on a reproducible timeout. I verified the linked master reports: the test hits the 600 s limit in Stateless tests (amd_msan, parallel, 2/3) and still times out when rerun without randomized settings, and tests/clickhouse-test does honor no-msan skips for MSan builds. Given that the test still runs in non-MSan lanes and this change does not alter product behavior, I do not see an unresolved correctness or coverage problem in the proposed skip.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added pr-ci comp-testing Test content only (no production code). labels Oct 11, 2026
@alexey-milovidov alexey-milovidov added the blocker This issue / pr blocks a new release label Oct 11, 2026
@alexey-milovidov alexey-milovidov self-assigned this Oct 11, 2026
@fm4v
fm4v added this pull request to the merge queue Oct 11, 2026
Merged via the queue into ClickHouse:master with commit 2079ed3 Oct 11, 2026
163 checks passed
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 11, 2026
opensource-fork-sync Bot pushed a commit to cla7aye15I4nd/opensource-ClickHouse__ClickHouse that referenced this pull request Oct 29, 2026
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]>
@clickhouse-gh clickhouse-gh Bot added comp-promql PromQL / time-series subsystem: TimeSeries storage engine, PromQL parser, PromQL-to-SQL converter... and removed comp-testing Test content only (no production code). labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocker This issue / pr blocks a new release can be tested Allows running workflows for external contributors comp-promql PromQL / time-series subsystem: TimeSeries storage engine, PromQL parser, PromQL-to-SQL converter... groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants