github-action: Action stuck at Warning: vkCreateInstance: Found no drivers!
We’re having runs on PRs with this action get stuck with
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
for hours.
It looks like once this error occurs, the action keeps running indefinitely until it will be terminated by GitHub.
See for example:
- https://github.com/envelope-zero/frontend/actions/runs/8122963743/job/22202908208?pr=1572
- https://github.com/envelope-zero/frontend/actions/runs/8117820097/job/22190843300?pr=1574
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.
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 15
Commits related to this issue
- test: move to Electron for e2e tests To have a shot at fixing https://github.com/cypress-io/github-action/issues/1136, we'll test with Electron — committed to envelope-zero/frontend by morremeyer 4 months ago
- Downgrade to Cypress 13.6.4 because of https://github.com/cypress-io/github-action/issues/1136 — committed to Modern-MISP/frontend by feathecutie 4 months ago
@roshnimridha04
github-actionrepo, since it is not agithub-actionbug. I suspect it may need Cypress to update the version of Electron it uses, but there is no confirmation of that theory at this time.@marcdix
Many thanks for your feedback! I passed that on to other users to try out as well.
@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.
@sbrawner
Thanks for contributing your experience too! To test if this might be related to the Electron upgrade in cypress@13.6.5 from
25.8.4to27.1.3you might like to try reverting to cypress@13.6.4.I am using it in docker/kube and am having this exact issue. Backing down a version to see if it still occurs.
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. Thanks @MikeMcC399 for the poke in the right direction!
@MikeMcC399 Thanks for the pointers! I’ll dig into this and document any findings here in case anyone runs into it in the future.