-
Notifications
You must be signed in to change notification settings - Fork 380
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
Jj #747
Comments
Same, some of our CI specs are failing today.
All tests pass when running locally but consistently fail inside the container. I think our failures are unrelated but have been seeing the same error - maybe a coincidence? |
Getting a similar error. We've been using the cypress/included:10.8.0 image to build but the stack trace is showing errors in /root/.cache/Cypress/10.9.0. Tried updating Cypress in our project to 10.9.0 but no change in the error. libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) |
Getting the same error in our Jenkins pipeline. Cypress 10.6.
|
Same issue using cypress/included:10.11.0. Is there an update on this issue? |
I was also getting the same issue in MacOS running cypress/included:10.11.0. The issue doesn't happen if you have xquartz setup. After xquartz is setup, you need to add a DISPLAY environment variable mapped to the ip/screen xquartz is listening on (e.g. export DISPLAY=192.168.1.8:0) then also pass that to the docker container as an environment variable when you run it. (e.g. docker run -e DISPLAY ...) |
is there any update on this? Or a workaround, Currently this is causing our tests on cypress 11 to hang for a very long time after running the ocmmand. |
same issue. this should be looked at. latest one that worked was prior to 10.11 |
same problem for our app :-( |
+1 |
After doing some research, it seems those messages dont really mean much. I had to log out all the errors by running the following command and it showing me where it was erroring/hanging in the logs |
Found this solution which makes the errors go away: https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/issues/7 # Start virtual monitor
export DISPLAY=:1
Xvfb :1 -screen 0 1024x768x16 2>/dev/null &
# After running test, stop virtual monitor
# We probably don't need this since the container will be killed after we run anyways
unset DISPLAY
kill %1 |
@vai0 Hi!! Could you tell me where to find this file "Xvfb"? This extract is from the web that you shared on that link. Thanks |
If you’re using the cypress’ docker image it should already exist |
Getting the same error when loading the metamask extension in a docker container. Works locally. |
Any update on this issue?
I am not sure if this is related to the actual issue but I don't see any other helpful log which I can use to debug this issue. Note: I am upgrading from Cypress 8 to Cypress 12. Everything works fine on Cypress 8 Thanks |
|
We're also often getting the same error here, running in CircleCI with Cypress 12.3.0. Is there any update on this? |
Could you confirm exactly which error message you are getting? |
@MikeMcC399 This is the exact error that I see:
|
You should probably look at why this is happening. It seems you have chosen to use Chrome, but it is not found. Generally errors like
don't stop tests from running. For the error message
I posted a workaround in cypress-io/cypress#25357 to add the environment variable |
@AJMcKane OT: Where did you get these images |
Check https://hub.docker.com/r/cypress/browsers/tags If you want to follow up about why you can't find it under https://github.com/cypress-io/cypress-docker-images/tree/master/browsers then I suggest you open a new issue. |
I've not been able to get this workaround to work, does anyone have an example they can point me to? |
Have you tried the workaround from #747 (comment)?
|
I have, it also didn't work for me. It's just a snippet though, so I'm wondering if I'm applying it in the right place? Also, the xvfb solution mentioned (link below) states that disabling the gpu doesn't work, as the error happens before the browser is started: It would be good to look at the config for something that has used a workaround successfully |
Which version of Cypress are you using? What environment are you running in? |
HI Mike, I'm using cypress/included:12.4.1. |
Sorry I don't have that online, but maybe somebody else can contribute? |
This fixes the problem in cypress-io/cypress-docker-images#747
I have the same issue with cypress in docker I tried ENV cypress:
image: cypress/included:12.14.0
working_dir: /e2e
volumes:
- ./:/e2e
environment:
- ELECTRON_EXTRA_LAUNCH_ARGS='--disable-gpu'
restart: unless-stopped
depends_on:
- app
networks:
- test |
Getting the following error when running the cypress docker container.
The text was updated successfully, but these errors were encountered: