Comments (15)
Is there a plan to resolve this issue in future release of cypress as downgrading version to 13.6.4 works?
- There is an open issue cypress-io/cypress#29085 in the Cypress repo for this which you can follow. It's not tracked in the
github-action
repo, since it is not agithub-action
bug. 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.
from github-action.
@MikeMcC399 Thanks for the pointers! I'll dig into this and document any findings here in case anyone runs into it in the future.
from github-action.
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!
from github-action.
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.
from github-action.
Thanks for contributing your experience too! To test if this might be related to the Electron upgrade in [email protected] from 25.8.4
to 27.1.3
you might like to try reverting to [email protected].
from github-action.
@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.
from github-action.
I downgraded to 13.6.4 as you suggested and the error is gone.
Many thanks for your feedback! I passed that on to other users to try out as well.
from github-action.
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.
from github-action.
We are seeing this when using Cypress 13.6.6 and Electron 118 when running tests within the cypress/browsers:node-18.14.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
image as part of a GitLab pipeline. The error apperas on ubuntu 22.04 and CentOS 7 Docker hosts.
Another error which may be related only appears on the CentOS hosts:
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
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 github-action
specifically and not the cypress project in general. Apologies for the noise.
from github-action.
It looks like there are multiple users experiencing an issue with vkCreateInstance
, however you say that you are seeing this in a GitLab pipeline.
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:
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
In my experience this is an error which often shows on headless systems and it can be ignored.
from github-action.
No problem about being in the wrong issue list! 🙂
from github-action.
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?
from github-action.
@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
from github-action.
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
from github-action.
@MikeMcC399 Is there a plan to resolve this issue in future release of cypress as downgrading version to 13.6.4 works?
from github-action.
Related Issues (20)
- Github actions - npm install flags HOT 3
- Xvfb missing HOT 7
- GitHub Actions job marked as SUCCESS but CYPRESS tests fail HOT 5
- Node.js 16 deprecations in triage workflows HOT 4
- Test issue HOT 1
- Possibility to split summary results on spec level
- Commit message missing from Cypress Cloud when cypress/included container is used in GitHub Actions HOT 7
- Specify specs and readonly configuration (chromeWebSecurity) per matrix container HOT 4
- Cypress binary randomly missing with pnpm HOT 13
- App frontend is not reachable, on random test runs HOT 5
- pnpm workspaces workflow shows "no status" HOT 2
- Add workspace support for pnpm HOT 10
- Save Test Results to File or Action Output HOT 5
- Add thread_ts as an optional parameter to use threads as part of the cypress cloud slack integration HOT 4
- Cypress run starts but does not run any tests HOT 9
- Cypress.env returns undefined [Github Actions] HOT 11
- Cypress fails to connect to devTools after first test HOT 13
- `project` not working HOT 5
- adding user 1001 throws EACCES permission issue HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-action.