Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs on Mac mini M2 headless #290

Open
ubmarco opened this issue Nov 5, 2024 · 1 comment
Open

Hangs on Mac mini M2 headless #290

ubmarco opened this issue Nov 5, 2024 · 1 comment

Comments

@ubmarco
Copy link

ubmarco commented Nov 5, 2024

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?

@ubmarco
Copy link
Author

ubmarco commented Nov 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant