Skip to content

macOS에서 hide-platform IPC 연결 폭주 test가 ConnectionRefused로 실패한다 #396

Closed

Description

@yansfil

What happened

hide-platform/tests/ipc.rs의 a_burst_of_clients_that_connect_and_leave_loses_no_connect가 macOS에서 반복해서 실패합니다.
200번 연결하고 바로 끊는 루프 중간의 connect가 ConnectionRefused로 거절됩니다.
실패한 assertion은 connect_promptly의 LocalStream::connect(path).unwrap_or_else(...) (main 494ee5b 기준 hide-platform/tests/ipc.rs:235)입니다.

main verify 최근 20회(2026-10-04 03:51 - 14:33 UTC) 중 3회, 모두 desktop e2e job의 "OS contract on macOS" 단계에서 실패했습니다.

run (attempt 1) SHA 메시지
37209722343 494ee5b connect 128 failed: Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }
37201946081 2c27355 connect 128 failed: Os { code: 61, kind: ConnectionRefused, ... }
37195061109 316fa7d connect 142 failed: Os { code: 61, kind: ConnectionRefused, ... }

세 번 모두 같은 assertion 시그니처입니다.
같은 기간 Linux(rust workspace, os contract)와 Windows(os contract)에서는 이 test의 실패가 없었습니다.
같은 SHA에서 macOS 재실행 결과는 확인하지 않았습니다(세 run 모두 attempt 1만 있음).

What you expected

accept loop가 도는 동안 클라이언트가 연결하고 바로 떠나도, 다음 connect는 거절되지 않고 1초 안에 연결됩니다.

Steps to reproduce

  1. macOS runner(macos-15, image 20260828.587)에서 bash scripts/verify-cargo.sh test-scoped -p hide-platform --test ipc를 실행합니다.
  2. 20회 중 약 3회 위 메시지로 실패합니다.

로컬 재현과 원인 조사는 하지 않았습니다.

Versions

Diagnostics

원인 후보 브랜치 커밋(참고용, 미검증): 293d65f9, 548fb8e0.

Quarantine

  • 격리 방식: macOS에서만 #[cfg_attr(target_os = "macos", ignore = "<this issue>")]. Linux와 Windows에서는 계속 필수 lane에서 돕니다.
  • macOS에서는 PR의 desktop e2e quarantine 단계(verify를 막지 않음)와 nightly macOS OS contract 단계(막음)에서 --ignored로 계속 실행됩니다.
  • 만료일: 2026-10-12. 이날까지 원인 수정 PR이 없으면 격리를 유지할지 이 issue에 이유를 남깁니다.
  • 격리 해제 조건: 원인을 고친 PR이 ignore 속성을 지우고, macOS에서 이 test가 통과합니다.

Activity

  1. added
    bug
    on Oct 4, 2026
  2. added 5 commits that reference this issue on Oct 4, 2026
    f84c626
    9ba0162
    f36c9b1
    f6695df
    a062b11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions