Repository navigation
Skip 02947_parallel_replicas_remote on macOS (arm_darwin) - #107420
alexey-milovidov merged 1 commit into
Conversation
The test uses remote('127.0.0.1|127.0.0.2|127.0.0.3|127.0.0.4', ...) with
prefer_localhost_replica = 0. macOS only binds 127.0.0.1 to loopback and does
not auto-route the rest of 127.0.0.0/8, unlike Linux. Connecting to 127.0.0.3
and 127.0.0.4 therefore times out with SOCKET_TIMEOUT. The query result is
still correct (the failover falls back to 127.0.0.1), but the connection
warnings reach stderr and clickhouse-test treats any stderr as a failure.
This is the same macOS loopback limitation already handled for sibling tests
in ci/defs/darwin.skip (e.g. 02875_parallel_replicas_remote). Add this test to
the skip list as well.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Pre-PR validation gate
Pre-existing arm_darwin-only environment issue, unrelated to the parent PR #106689. Submitted as a separate PR. Session id: cron:clickhouse-worker-slot-1:20260613-222600 |
|
cc @maxknv — could you review this? It adds |
|
Workflow [PR], commit [cd91d6e] Summary: ✅ AI ReviewSummary
Final Verdict
|
|
@groeneai, send another PR that will add interface aliases on Mac to allow all similar tests. |
|
@alexey-milovidov done: #107435 aliases 127.0.0.2..16 on lo0 in the macOS Fast test pre-hook and un-skips the parallel-replica remote() tests (02875, 02947, 03562, 03572, 03595). ~150 other darwin.skip entries also connect to 127.0.0.2+ and should pass now too; I kept the un-skip scope conservative and we can widen it incrementally once the runner behavior is confirmed. |
Related: #106689
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
02947_parallel_replicas_remotefails inFast test (arm_darwin)(native macOS).The test runs:
macOS only binds
127.0.0.1to loopback and does not auto-route the rest of127.0.0.0/8, unlike Linux. Withprefer_localhost_replica = 0, connecting to127.0.0.3and127.0.0.4times out:The query result is still correct (failover falls back to
127.0.0.1, stdout is100 4950), but the connection warnings reach stderr andclickhouse-testtreats any stderr output as a failure.This is the same macOS loopback limitation already handled for sibling tests in
ci/defs/darwin.skip(for example02875_parallel_replicas_remote). This adds02947_parallel_replicas_remoteto the skip list.Pre-existing arm_darwin-only environment issue, unrelated to #106689 (which only changes the clickhouse-local temporary storage limit). Surfaced on #106689's
Fast test (arm_darwin)run.Version info
26.6.1.777