-
Notifications
You must be signed in to change notification settings - Fork 354
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
Action stuck at Warning: vkCreateInstance: Found no drivers! #1136
Comments
This does not look like an error caused by the Cypress GitHub Action. There is an identical stack trace on https://askubuntu.com/questions/1477966/using-chromium-with-vulkan which may help you. You might want to try testing with different browsers such as the built-in Electron or Google Chrome instead of Chromium. In the meantime, I suggest to add a timeout to prevent the job hanging for a long time. |
@MikeMcC399 Thanks for the pointers! I'll dig into this and document any findings here in case anyone runs into it in the future. |
To have a shot at fixing cypress-io/github-action#1136, we'll test with Electron
Since this posed the danger of leading me to the realm of "understanding display drivers", which I do not have desire to explore, I decided to see what happens if I switch the tests to Electron. Doing so did not get rid of the error message, as can be seen in https://github.com/envelope-zero/frontend/actions/runs/8124771638/job/22206650558?pr=1576, where it occurs once However, the run does not get stuck when this error pops up. I'm going to count this as a win. |
We are seeing this when using Cypress 13.6.6 and Electron 118 when running tests within the Another error which may be related only appears on the CentOS hosts:
However any hangs are intermittent and I have not been able to pin down what the actual cause is. It might just be coincidence that the message appears around the time of a hang. Is there any other logging/debugging we should enable? Edit: I am a pillock, just realised this issue is againt |
It looks like there are multiple users experiencing an issue with This is the issue list for the Cypress GitHub JavaScript Action. So problems on GitLab don't belong here. Can I ask you to please submit a new issue to the main Cypress issue list on https://github.com/cypress-io/cypress/issues ? Regarding:
In my experience this is an error which often shows on headless systems and it can be ignored. |
No problem about being in the wrong issue list! 🙂 |
Since other users are also reporting this issue and the root cause is still unclear, can I ask you if you are running Cypress in a Docker container or not? |
@MikeMcC399 Sure! If the action doesn't use docker under the hood, then no. This is the configuration we currently use: https://github.com/envelope-zero/frontend/blob/3b4effc9aff0814ccd49b933dfad8c8a1348e26b/.github/workflows/workflow.yml#L67-L84 |
Many thanks for your confirmation! Hopefully it will soon become clear what is causing this issue! No, GitHub Actions does not use Docker in any hidden way., only if it is explicitly configured, for instance like the following in a workflow: container:
image: cypress/browsers:latest
options: --user 1001
|
I am using it in docker/kube and am having this exact issue. Backing down a version to see if it still occurs. |
Thanks for contributing your experience too! To test if this might be related to the Electron upgrade in cypress@13.6.5 from |
@MikeMcC399 I just googled for the error as I got it when running after updating Cypress to 13.6.6. I downgraded to 13.6.4 as you suggested and the error is gone. Hope this helps to identify the culprit. Thanks for everyones efforts. |
Many thanks for your feedback! I passed that on to other users to try out as well. |
@MikeMcC399 Is there a plan to resolve this issue in future release of cypress as downgrading version to 13.6.4 works? |
|
We're having runs on PRs with this action get stuck with
for hours.
It looks like once this error occurs, the action keeps running indefinitely until it will be terminated by GitHub.
See for example:
This started at 2024-02-28T18:50Z with https://github.com/envelope-zero/frontend/actions/runs/8085573515?pr=1550.
I did some research, but could not find anything for this error related to cypress so far.
The text was updated successfully, but these errors were encountered: