Repository navigation
Raise the gdb-wrapped unit test timeout from 45 to 90 minutes - #113863
Conversation
The unit tests run sequentially in one binary under `timeout -s INT -v 45m gdb`. The summed test duration under TSan has grown from ~30 minutes in early July to 38-40 minutes now, leaving almost no headroom: a run on a slower machine exceeds the budget and the report blames whichever test happened to be running when `SIGINT` arrived - most recently `Storage/CoordinationTestWithCompression.TestStateMachineAndLogStore/MemCompressed`, which legitimately takes ~62 seconds and sits near the end of the run. Seen in https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=112878&sha=3eea89cbb616eee24f1777cefb80ac39140aee60&name_0=PR&name_1=Unit%20tests%20(tsan) (#112878) and in the same job on #111032 the day before. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Workflow [PR], commit [fd56d1b] Summary: ✅ AI ReviewSummaryThis PR only raises the non-ASan Final Verdict
|
Build profile diff (arm_release)No arm_release build profile data for commit fd56d1b - the build was skipped, reused from cache, or predates profile upload. |
|
🕵 The only red on the |
Changelog category (leave one):
The unit tests run sequentially in one binary under
timeout -s INT -v 45m gdb. The summed per-test duration under TSan has grown from ~30 minutes in early July to 38–40 minutes now (per CIDB), leaving almost no headroom against the 45-minute cap: a run on a slower machine exceeds the budget,timeoutsendsSIGINTto gdb, and the report blames whichever test happened to be running at that moment — most recentlyStorage/CoordinationTestWithCompression.TestStateMachineAndLogStore/MemCompressed, which legitimately takes ~62 seconds (it has for at least 30 days) and simply sits near the end of the run. The interrupted run had completed ~44 minutes of tests with no individual test hung (the backtrace shows a healthy 200 ms poll loop inwaitDurableLogs).Raise the gdb wrapper timeout to 90 minutes. The praktika job-level timeout is 5 hours, so this stays well within the job budget, and a healthy run is unaffected — the wrapper only bounds the abnormal case.
Occurrences: Unit tests (tsan) on #112878 (2026-08-07) and the same job on #111032 (2026-08-06); no other failures of this test in the last 60 days, and no open issue found.
Related: #112878
Version info
26.8.1.1043(included in26.8and later)