Repository navigation
Split Stateless tests (arm_asan_ubsan, azure, sequential) into 2 batches - #123849
Conversation
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 of the same head.
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261004-095600 |
|
Workflow [PR], commit [60bdc46] Summary: ⏳
AI ReviewSummaryThis PR splits the Final Verdict
LLVM Coverage Report |
d0da2e4 to
f8405b4
Compare
f8405b4 to
19e0902
Compare
|
@groeneai Please fix conflicts but do so with a new commit, not force pushing |
…sequential-lane Resolve the conflicts in the generated .github/workflows/master.yml and pull_request.yml by taking master's files and regenerating them with `PYTHONPATH=./ci:. python3 -m praktika yaml`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Done: I merged master into the branch as a new commit, 60bdc46, and regenerated the two workflow YAMLs. There was no force push, and the PR is mergeable again. |
CI finish ledger - 60bdc46Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
The eight infra rows started between 22:31Z and 22:45Z on 2026-10-13, in the wave in which For the change itself: both new batches passed on this head, Session id: cron:our-pr-ci-monitor:20261014-070008 |
|
Rerunning failed tests due to infra problems. The sync is now fine, just need a clear CI here to merge |
64d5363
In `master_head` mode the PR performance comparison used master's official release build as the reference. That build keeps debug info and sets `-DCLICKHOUSE_OFFICIAL_BUILD=1`, while a PR release build has `-DDISABLE_ALL_DEBUG_SYMBOLS=1` and no official flag. Both change the generated code (XRay instruments ~11k more functions when debug info is present, and the official flag adds code), so the same sources give two binaries with different code layout. The CI-only ClickHouse#123849 has 0x65500 bytes less code than the official build of its own base e95690a and was 21.6% slower on `window_functions_distinct ClickHouse#2`. On some master bases a hot loop lands on a slow placement only in the PR flavour, and every PR on that base then reds (seen on ClickHouse#100391). MasterCI's `Build (amd|arm_release_pr_cache_warmup)` jobs already compile master with exactly the PR cmake flags. They now also link `clickhouse-self-extracting` and upload it, and take the PGO/BOLT decision of the release build they mirror, as a PR build does. For PR runs of the public repository, `find_prev_build` prefers that binary. When the base has none it walks back only over commits where MasterCI skipped the warmup job (a skipped job means its inputs did not change, so the older build has the same sources); anything else falls back to the official build. Replayed over 14 days of PR references, 332 of 356 get a build with identical compiled sources and none gets different sources. Master runs (official vs official) and local runs are unchanged. The report parsing of `classify_missing_prev_master_run` moves into `master_job_status`, shared by both walks. The arm warmup's build-profile upload stays what it was (compiled objects): the server link trace is deleted before extraction and the symbol table of the linked binary is not uploaded, so the shared build-profile cluster gets no new load. Cost: ~24 min (amd) and ~39 min (arm) of ThinLTO link per warmup run and ~540 MB of S3 per run with default retention. MasterCI wall clock is unchanged and no PR job is added. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preserve the shared compression output path and master protocol revisions; move the small-frame capability to 54496 and compatibility history to 26.11. Clarify that precompressed asynchronous `Distributed` queue replay keeps its stored codec. Includes the Azure sequential job split that addresses the 9000-second timeout seen on this branch. Related: ClickHouse#123849 PR: ClickHouse#120191 CI: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=120191&sha=c0d9b692de33d123b65dce59bf47ed5b28704ee5&name_0=PR&name_1=Stateless%20tests%20%28arm_asan_ubsan%2C%20azure%2C%20sequential%29
Related: #123810
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Stateless tests (arm_asan_ubsan, azure, sequential)now reaches its 9000 s job timeout. A timed-out job uploads no test results, so any failure in it is hidden. Three runs were killed at 150.9 min in two days, none in the 30 days before:9672750a8995, at test[1106 / 1107]Ten more runs in the last week finished between 145 and 149 min.
The lane runs only the sequential-flavor tests (
--no-parallel), one at a time, so its wall time is the sum of its test durations plus about 6.5 min of setup. That sum grows with the suite: p50 91 min in early July, 133 min over the last 3 days (834 to 1105 tests). Over the last month the growth is all newly added sequential tests, not one regressed test.This splits the job into 2 hash batches, like
amd_tsan, sequentialandamd_msan, sequential. Projected over the 1079 runs of the last 3 days with thecrc32predicateclickhouse-testapplies: batch 1/2 p99 65 min, batch 2/2 p99 88 min (59% of the timeout). Cost: one moreARM_SMALL_MEMjob per run, about +5% runner time. Nothing is skipped: the hash split is a total partition and no test has theno-batchtag. The workflow YAML is regenerated, not hand-edited.A longer timeout would let a real hang burn longer, and a bigger runner does not shorten a lane that runs one test at a time. I can make it 3 batches (p99 61 min, about +11% runner time) if you prefer more margin.
Workflow [PR]
Sync PR [sync-upstream/pr/123849]
Version info
26.10.1.2377-master(included in26.10and later)