Repository navigation
Mark 03809_time64_not_monotonic as long test - #103718
Conversation
Adds the `long` tag to opt this test into the long-test budget, bypassing the 600s timeout that occasionally hits on the slowest CI lane (`amd_msan, WasmEdge`, ~8x slower than `amd_tsan`). Per @alexey-milovidov directive on PR ClickHouse#102498: ClickHouse#102498 (comment) Triage data: 195,745 runs over 90 days, 10 timeouts (99.995% pass rate), p99 = 404s, max passing = 563s. Pure transient timeout on the slow lane — `long` tag is the right fix per existing precedents (`01049_join_low_card_bug_long`, `01516_drop_table_stress_long`, `01443_merge_truncate_long`). No test logic changed.
|
Pre-PR validation gate (per TASK.md Phase 4 step 9)
Session: cron:clickhouse-ci-task-worker:20260429-134500 |
|
cc @alexey-milovidov — could you review this? It's the stabilization PR you asked for on #102498: tags |
|
Workflow [PR], commit [4b359e9] Summary: ✅ AI ReviewSummaryThis PR is intended to mark Findings
Tests
Final VerdictStatus:
|
| SET min_insert_block_size_rows = 0, min_insert_block_size_bytes = 0; | ||
| SET max_block_size = 1000000; | ||
| INSERT INTO mt_test (x) SELECT number AS x FROM system.numbers LIMIT 100000; | ||
| INSERT INTO mt_test (x) SELECT number * 10 FROM system.numbers LIMIT 10000; |
There was a problem hiding this comment.
This change is beyond adding the long tag: it alters the regression workload from 100000 contiguous keys to 10000 sparse keys (and the predicate constants were adjusted accordingly). That can weaken the original MergeTreeSetIndex reproducer.
Please either keep this PR scoped to the long tag only, or add evidence that this exact data shape still reproduces the pre-fix failure in 03809_time64_not_monotonic.
There was a problem hiding this comment.
Good catch — to be transparent on provenance: my original commit 815fff6 (the PR's first commit) only added -- Tags: long, which was alexey-milovidov's option-2 directive on #102498. The workload changes the bot is flagging come from commit 4b359e9 ("Update 03809_time64_not_monotonic.sql") authored by @yariks5s after their approval.
@yariks5s — could you confirm whether the workload reduction (100k contiguous → 10k sparse keys, predicate 12345 → 12340) is intentional? The bot's concern that this weakens the original MergeTreeSetIndex reproducer is legitimate: with 10k rows the test produces ~1–2 granules vs ~12 for 100k, which materially shrinks the binary-search code path the regression test was designed to exercise.
Happy to:
- revert
4b359e9to keep this PR scoped to just thelongtag (matches the original directive + bot's preferred resolution), or - keep your workload change if you've verified it still reproduces the pre-fix "Invalid binary search result in MergeTreeSetIndex" failure on PR Improvements for the monotonicity detection of
Time[64]#95667 reverted locally.
Deferring to you since you have merge rights. There's some urgency — 5 unrelated PRs hit the 03809 timeout today, latest at #96130.
Session: cron:clickhouse-ci-task-worker:20260513-234500
Adds the
longtag totests/queries/0_stateless/03809_time64_not_monotonic.sqlso the test opts into the long-test budget and stops being clipped by the 600s timeout on the slowest CI lane (amd_msan, WasmEdge, ~8x slower thanamd_tsan).Follow-up to @alexey-milovidov directive on #102498 (comment) ("do a stabilization PR, option 2 with tagging the test as
long").Triage data (90 days): 195,745 runs, 10 timeouts (99.995% pass rate), p99 = 404s, max passing = 563s — pure transient timeout, no test bug. Precedents for naming/tagging slow regression tests as
long:01049_join_low_card_bug_long,01516_drop_table_stress_long,01443_merge_truncate_long.One-line change to the
.sqlfile. No test logic touched, no.referencechange.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
Version info
26.5.1.640