Skip to content

Hangs on Mac mini M2 headless #290

Open

Description

I am running tests for a VS Code extension on a self-hosted Github runner.
The runner is installed on an Mac mini M2 ARM architecture. The Mac has a display connected, but no user is logged in during the test. I also don't want to connect a display for productive usage.

Run coactions/setup-xvfb@v1
/opt/homebrew/bin/npm test
> [email protected] test
> npm run compile && npm run test:compile && vscode-test --timeout=5000
> [email protected] compile
> npm run check-types && node esbuild.mjs
> [email protected] check-types
> tsc --noEmit
[watch] build started
[watch] build finished
> [email protected] test:compile
> node esbuild-tests.mjs
- Resolving version...
✔ Validated version: 1.95.1
- Found at https://update.code.visualstudio.com/1.95.1/darwin-arm64/stable?released=true
✔ Found at https://update.code.visualstudio.com/1.95.1/darwin-arm64/stable?released=true
- Downloading (128.81 MB)
✔ Downloaded VS Code into /Users/gh-runner/actions-runner-3/_work/new_ext/new_ext/vscode/.vscode-test/vscode-darwin-arm64-1.95.1
2024-11-05 14:49:18.393 Electron[6385:33271] +[NSXPCSharedListener endpointForReply:withListenerName:replyErrorCode:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted

It hangs at this step for a couple of minutes until the Github action times out.
Any clue what's wrong?

Activity

  1. ubmarco commented on Nov 5, 2024

    @ubmarco
    Author

    The error also appears when I connect to the machine via SSH and run it locally outside of a github action.
    And without coactions/setup-xvfb.

    It just returns

    bash-3.2$ node_modules/.bin/vscode-test 
    ✔ Validated version: 1.95.1
    ✔ Found existing install in /Users/gh-runner/new_ext/vscode/.vscode-test/vscode-darwin-arm64-1.95.1
    2024-11-05 16:19:32.147 Electron[7215:51296] +[NSXPCSharedListener endpointForReply:withListenerName:replyErrorCode:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted
    

    and hangs there forever.

  2. viktar-silakou commented on Dec 18, 2024

    @viktar-silakou

    Have same issue on github action, use windows hosted runner

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions