Giter Club home page Giter Club logo

Comments (15)

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024 4

@roshnimridha04

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 a github-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.

morremeyer avatar morremeyer commented on June 8, 2024 1

@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.

morremeyer avatar morremeyer commented on June 8, 2024 1

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.

sbrawner avatar sbrawner commented on June 8, 2024 1

@morremeyer

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.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024 1

@sbrawner

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.

marcdix avatar marcdix commented on June 8, 2024 1

@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.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024 1

@marcdix

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.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024

@morremeyer

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.

roadSurfer avatar roadSurfer commented on June 8, 2024

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.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024

@roadSurfer

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.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024

@roadSurfer

No problem about being in the wrong issue list! 🙂

from github-action.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024

@morremeyer

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.

morremeyer avatar morremeyer commented on June 8, 2024

@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.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024

@morremeyer

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.

roshnimridha04 avatar roshnimridha04 commented on June 8, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.