Skip to content

Revert #111979: macOS Fast test runners wedged by /proc-based ClickHouse teardown - #112812

Merged
maxknv merged 1 commit into
masterfrom
revert-111979-fix-stop-server-signals-real-server
Jul 31, 2026
Merged

maxknv merged 1 commit into
masterfrom
revert-111979-fix-stop-server-signals-real-server

Conversation

@maxknv

@maxknv maxknv commented Jul 31, 2026 •

Copy link
Copy Markdown
Member

Reverts #111979.

That PR changed ClickHouse server teardown to detect server liveness via /proc/<pid>/cmdline. macOS has no /proc, so on the Fast test (arm_darwin) self-hosted runners the check always reports the server "already gone" and never stops it. The orphaned clickhouse-server keeps the write end of praktika's TeePopen stdout pipe open, so TeePopen.wait never sees EOF and praktika run hangs after an otherwise-green run. Because these runners are ephemeral (one job per registration), every hung job permanently consumes a Mac host — the ap-southeast-2 pool drained from 10 usable to 2 within ~4h of the merge (13:02 UTC, 2026-07-31).

Reverting to restore macOS CI capacity. The teardown improvement can re-land once the liveness check is cross-platform (e.g. os.kill(pid, 0) + ps instead of /proc).

Caused by: #111979

Changelog category (leave one):

  • CI Fix or improvement

Version info

  • Merged into: 26.8.1.554 (included in 26.8 and later)

@maxknv maxknv added the do not test disable testing on pull request label Jul 31, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [a63dba5]

Summary: ✅

@maxknv
maxknv enabled auto-merge July 31, 2026 20:29
@clickhouse-gh clickhouse-gh Bot added the pr-ci label Jul 31, 2026
@maxknv
maxknv disabled auto-merge July 31, 2026 20:33
@maxknv
maxknv merged commit 29de450 into master Jul 31, 2026
177 of 178 checks passed
@maxknv
maxknv deleted the revert-111979-fix-stop-server-signals-real-server branch July 31, 2026 20:33
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not test disable testing on pull request 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.

2 participants