Disable 04218_limit_by_partitions_independently under MSan (test timeout) by fm4v · Pull Request #105842 · ClickHouse/ClickHouse · GitHub
Skip to content

Disable 04218_limit_by_partitions_independently under MSan (test timeout)#105842

Merged
fm4v merged 4 commits into
ClickHouse:masterfrom
fm4v:fix-04218-msan-timeout
May 27, 2026
Merged

Disable 04218_limit_by_partitions_independently under MSan (test timeout)#105842
fm4v merged 4 commits into
ClickHouse:masterfrom
fm4v:fix-04218-msan-timeout

Conversation

@fm4v

@fm4v fm4v commented May 26, 2026

Copy link
Copy Markdown
Member

The test 04218_limit_by_partitions_independently (added in #105126) has ~30 scenarios that each do INSERT INTO ... numbers_mt(1e3) and then EXPLAIN actions = 1. Under MSan, the cumulative cost pushes the test past the per-test timeout: in Stateless tests (amd_msan, meta in keeper, s3 storage) the test now fails on the majority of runs since #105126 landed, while passing on every other sanitizer/build flavor.

Adding no-msan because the test exercises pipeline planning (per-partition LimitByTransform fan-out), not memory correctness, so MSan adds little signal here. A follow-up could shrink the per-scenario row counts to restore MSan coverage; this PR is the minimal fix to unblock CI.

Failure mode in CI is a client-side timeout while waiting for results — __GI___poll -> Poco::Net::SocketImpl::pollImpl -> DB::ClientBase::receiveResult.

CI report (first failing master commit, sha 69102a31ed94, 2026-05-25 06:48 UTC, ~25 min after #105126 was merged):
https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=69102a31ed94&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_msan%2C%20meta%20in%20keeper%2C%20s3%20storage%2C%20parallel%2C%202%2F2%29

No open issue exists for this; searches for 04218, 04218_limit_by_partitions_independently, and allow_limit_by_partitions_independently against ClickHouse/ClickHouse returned nothing.

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):

...

Version info

  • Merged into: 26.6.1.175

The test (added in ClickHouse#105126) has ~30 scenarios that each do
INSERT + EXPLAIN, and the MSan slowdown pushes it past the per-test
timeout. It is consistently flaky on `Stateless tests (amd_msan, ...)`
while passing on every other sanitizer/build flavor.

Adding `no-msan` since the test exercises pipeline planning, not
memory correctness, so MSan adds little signal.

CI report (first failing master commit, sha 69102a31ed94):
https://d1k2gkhrlfqv31.cloudfront.net/clickhouse-test-reports-private/json.html?REF=master&sha=69102a31ed94&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_msan%2C%20meta%20in%20keeper%2C%20s3%20storage%2C%20parallel%2C%202%2F2%29
@nihalzp nihalzp self-assigned this May 26, 2026
@nihalzp

nihalzp commented May 26, 2026

Copy link
Copy Markdown
Member

@clickhouse-gh

clickhouse-gh Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [1bec1e6]


AI Review

Summary

This PR updates tests/queries/0_stateless/04218_limit_by_partitions_independently.sql test tags to skip sanitizer/object-storage variants where the scenario set is too slow and times out, while keeping the test logic itself unchanged. Based on the current diff, prior discussion, and current PR state, I did not find correctness, safety, or maintainability issues that require changes.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label May 26, 2026
@clickhouse-gh

clickhouse-gh Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 84.20% 84.10% -0.10%
Functions 91.40% 91.40% +0.00%
Branches 76.60% 76.60% +0.00%

Changed lines: No C/C++ source files changed — skipping uncovered code analysis.

Newly covered by added/modified tests: 374 line(s), 76 function(s) across 129 file(s) · Details

Top files
  • src/Storages/StorageReplicatedMergeTree.cpp: 50 line(s), 1 function(s)
  • src/Common/QueryFuzzer.cpp: 17 line(s), 1 function(s)
  • src/AggregateFunctions/TimeSeries/AggregateFunctionTimeseriesChanges.h: 14 line(s), 32 function(s)
  • src/AggregateFunctions/AggregateFunctionWindowFunnel.cpp: 11 line(s), 6 function(s)
  • src/Common/ZooKeeper/ZooKeeperImpl.cpp: 11 line(s)

Full report

@fm4v fm4v added this pull request to the merge queue May 27, 2026
Merged via the queue into ClickHouse:master with commit c15c432 May 27, 2026
163 of 165 checks passed
@fm4v fm4v deleted the fix-04218-msan-timeout branch May 27, 2026 06:19
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants