Skip to content

Wait for more ports to be free before starting server - #106806

Merged
PedroTadim merged 2 commits into
masterfrom
wait-more-ports
Jun 9, 2026
Merged

PedroTadim merged 2 commits into
masterfrom
wait-more-ports

Conversation

@PedroTadim

@PedroTadim PedroTadim commented Jun 9, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

in stress tests. Fixes CI failures such as this one: https://d1k2gkhrlfqv31.cloudfront.net/clickhouse-test-reports-private/json.html?PR=59667&sha=latest&name_0=PR&name_1=Stress+test+%28amd_debug%2C+meta+in+keeper%29

Reduce sleep time after restart, because the wait before start is going to be longer. 40 seconds waiting for the server to start should be enough.

cc @maxknv @leshikus

Version info

  • Merged into: 26.6.1.547

@clickhouse-gh

clickhouse-gh Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [139816d]

Summary: ✅


AI Review

Summary

This PR expands the stress-test restart helper to wait for every ClickHouse listen port used by the test config, and the latest revision avoids re-entering the port wait while a previously started clickhouse-server process is still alive. The earlier inline concern is addressed in the current code, and I did not find a remaining code-level blocker.

Missing context / blind spots
  • ⚠️ The overall PR status for commit 139816ddc0a1e38459420599abf730ee3fcbe671 was still pending when reviewed; only Style check had completed. A completed stress-test CI run would close this operational validation gap.
Final Verdict

Status: ✅ Approve

No code-review actions are required. Let the normal CI gate finish before merging.

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Jun 9, 2026
Comment thread tests/docker_scripts/stress_tests.lib Resolved
@maxknv
maxknv self-requested a review June 9, 2026 09:22
@PedroTadim
PedroTadim enabled auto-merge June 9, 2026 09:43
@PedroTadim
PedroTadim added this pull request to the merge queue Jun 9, 2026
Merged via the queue into master with commit 7bb16d5 Jun 9, 2026
166 checks passed
@PedroTadim
PedroTadim deleted the wait-more-ports branch June 9, 2026 12:14
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants