Repository navigation
Conversation
… shared CI runners Both tests intermittently fail on `Stateless tests (arm_asan_ubsan, azure, parallel)` with `MEMORY_LIMIT_EXCEEDED` from the global tracker (RSS approaching `max_server_memory_usage` while the OvercommitTracker cannot free enough memory). Both tests pass on every rerun, indicating transient runner-wide pressure rather than a per-test bug. Diagnosis from the failures (PR ClickHouse#74691, commit `ae085e9`, both at 15:39:56 UTC): * `00906_low_cardinality_cache` fails inside `AggregatingTransform::consume` on the `GROUP BY b` query, which produces a single row but spawns per-thread aggregation state under default `max_threads`. * `00945_bloom_filter_index` fails inside `MergeTreeSelect` on a tiny IN-set lookup. Issue ClickHouse#104873's randomized-settings diagnoser identified the `parallel_replicas`/`enable_parallel_replicas` cluster as the trigger. Pin the minimum settings to keep these tests light enough to coexist with heavier siblings on shared runners: * `00906`: `max_threads = 1, enable_parallel_replicas = 0` on the GROUP BY. Local measurement: tracked memory drops from 3.16 MiB to 478 KiB (6.6x). * `00945`: `max_threads = 1` and `enable_parallel_replicas = 0` at the top. All tables are <= a few hundred rows; single-threaded execution is enough to verify bloom-filter index behaviour. Test intent is preserved in both cases - the LowCardinality cache and bloom filter index assertions are unchanged. CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=74691&sha=ae085e998b212b496c9ad6166c2f5dd64625b65c&name_0=PR&name_1=Stateless%20tests%20%28arm_asan_ubsan%2C%20azure%2C%20parallel%29 Related: ClickHouse#74691 Related: ClickHouse#104873 Related: ClickHouse#91024 Co-Authored-By: Claude Opus 4.8 <[email protected]>
Pre-PR validation gate
Session id: cron:clickhouse-ci-task-worker:20260607-053000 |
|
cc @CurtizJ — could you review this? It pins |
|
Workflow [PR], commit [2cfb33a] Summary: ❌
AI ReviewSummaryThis PR pins Missing context / blind spots
Final VerdictStatus: ✅ Approve |
LLVM Coverage Report
Changed lines: No C/C++ source files changed — skipping uncovered code analysis. Newly covered by added/modified tests: 359 line(s), 28 function(s) across 126 file(s) · Details Top files
|
|
CI ledger for HEAD
The PR-caused failures originally cited on PR #74691 ( CI fully finished at 2026-06-07 12:19:08Z. Mergeable Check + PR aggregator failures are downstream of the chronic Hung check. |
Algunenano
left a comment
There was a problem hiding this comment.
Another incorrect approach. The query was using 3.16 MiB of memory in a 64GB server. This adjustment does not make any sense. You should investigate the global usage instead, not change specific tiny queries
Both tests intermittently fail on
Stateless tests (arm_asan_ubsan, azure, parallel)withMEMORY_LIMIT_EXCEEDEDfrom the global tracker, withFailed 0 out of 3 reruns(transient runner-wide pressure, not per-test bugs). Reported on PR #74691 (alexey-milovidov asked us to fix and send a PR).CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=74691&sha=ae085e998b212b496c9ad6166c2f5dd64625b65c&name_0=PR&name_1=Stateless%20tests%20%28arm_asan_ubsan%2C%20azure%2C%20parallel%29
Failure shape (both at 15:39:56 UTC, same run, RSS = 50.39 GiB / 53.69 GiB max):
00906_low_cardinality_cachefails insideAggregatingTransform::consumeon theGROUP BY bquery (1-row result, but spawns per-thread aggregation state under defaultmax_threads).00945_bloom_filter_indexfails insideMergeTreeSelecton a tiny IN-set lookup. Issue Flaky test: 00945_bloom_filter_index #104873's randomized-settings diagnoser identified the parallel-replicas cluster (enable_parallel_replicas/cluster_for_parallel_replicas/parallel_replicas_for_non_replicated_merge_tree) as the trigger.Fix: pin the minimum settings to keep these tests light enough to coexist with heavier siblings on shared runners.
00906:max_threads = 1, enable_parallel_replicas = 0on the GROUP BY. Local measurement: tracked memory drops from 3.16 MiB to 478 KiB (6.6x reduction).00945:max_threads = 1andenable_parallel_replicas = 0at the top. All tables are <= a few hundred rows; single-threaded execution is sufficient to verify bloom-filter index behaviour.Test intent is preserved in both cases: the
LowCardinalitycache and bloom filter index assertions are unchanged.Related: #74691
Related: #104873
Related: #91024
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes