Repository navigation
Give the server up to 120 seconds to become ready in CI - #110287
Merged
Merged
Conversation
The `wait_ready` deadline of 30 attempts x 2s = 60s is too tight for debug and sanitizer builds: in a flaky-check run the amd_debug server listened ~64 seconds after the fork, about 4 seconds past the deadline, and the job failed with `SETUP FAILURE: clickhouse-server not ready (wait_ready)` even though the server started fine. The loop exits early on success and detects a dead server via `proc.poll`, so a longer deadline only affects genuinely hung servers. Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=109005&sha=92b35fef52a82ba621462f1218a2e5cb43ef1980&name_0=PR&name_1=Stateless%20tests%20%28amd_debug%2C%20flaky%20check%29 PR: #109005 Co-Authored-By: Claude Fable 5 <[email protected]>
Contributor
|
Workflow [PR], commit [0a98bc4] Summary: ✅ AI ReviewSummaryThis PR extends the CI server-readiness budget from roughly 60 seconds to 120 seconds in both Final Verdict✅ No new findings. |
Address review: the AST/BuzzHouse fuzzer bootstrap in `run-fuzzer.sh` gave the server only ~30 seconds to answer `select 1` before the next `clickhouse-client` under `set -e` aborted the job, while the fuzzer jobs run the same `amd_debug` and sanitizer artifacts that motivated raising the `wait_ready` deadline in `clickhouse_proc.py`. Raise the loop to 120 attempts and break early when the server process died, as `wait_for_server` in `perf/compare.sh` does, so crashed servers are still detected quickly. PR: #110287 Co-Authored-By: Claude Fable 5 <[email protected]>
zeekay
pushed a commit
to hanzoai/datastore
that referenced
this pull request
Sep 11, 2026
Address review: the AST/BuzzHouse fuzzer bootstrap in `run-fuzzer.sh` gave the server only ~30 seconds to answer `select 1` before the next `clickhouse-client` under `set -e` aborted the job, while the fuzzer jobs run the same `amd_debug` and sanitizer artifacts that motivated raising the `wait_ready` deadline in `clickhouse_proc.py`. Raise the loop to 120 attempts and break early when the server process died, as `wait_for_server` in `perf/compare.sh` does, so crashed servers are still detected quickly. PR: ClickHouse#110287 Co-Authored-By: Claude Fable 5 <[email protected]>
zeekay
pushed a commit
to hanzoai/datastore
that referenced
this pull request
Sep 11, 2026
…imeout-debug-builds Give the server up to 120 seconds to become ready in CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #109005
The
wait_readydeadline inci/jobs/scripts/clickhouse_proc.py(30 attempts × 2s = 60s) is too tight for debug and sanitizer builds. In a flaky-check run on #109005 the amd_debug server listened for connections ~64 seconds after the fork — about 4 seconds past the deadline — and the job failed withSETUP FAILURE: clickhouse-server not ready (wait_ready)even though the server started fine (report).The loop exits early on success and detects a dead server via
proc.poll, so raising the deadline to 120s does not slow down healthy runs or runs where the server actually crashed — only genuinely hung servers wait longer before being declared dead.The AST/BuzzHouse fuzzer bootstrap in
ci/jobs/scripts/fuzzer/run-fuzzer.shhad the same problem: it gave the server only ~30 seconds to answerselect 1before the nextclickhouse-clientunderset -eaborted the job, while the fuzzer jobs run the sameamd_debugand sanitizer artifacts. It now uses the same 120-second budget and breaks early when the server process died, aswait_for_serverinci/jobs/scripts/perf/compare.shdoes.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.7.1.886(included in26.7and later)