Skip to content
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

Flaky test: Too long with no output (exceeded 10m0s): context deadline exceeded #23308

Closed
rachelruderman opened this issue Aug 12, 2022 · 4 comments
Labels
OS: linux process: flaky test Related to test(s) that have flake in our internal tests stale no activity on this issue for a long period

Comments

@rachelruderman
Copy link
Contributor

rachelruderman commented Aug 12, 2022

Link to dashboard or CircleCI failure

Link to failing test in GitHub

https://github.com/cypress-io/cypress/blob/develop/packages/driver/cypress/e2e/commands/navigation.cy.js#L495

Analysis

Tests hang during execution of navigation.cy.js file

Screen Shot 2022-08-11 at 8 00 17 PM

We also see this same error as seen in #23326

$ node ../../scripts/cypress run --config experimentalSessionAndOrigin=true,experimentalModifyObstructiveThirdPartyCode=true --record --parallel --group 5x-driver-chrome:beta-experimentalSessionAndOrigin --browser chrome:beta
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2032:0811/220636.124358:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

Cypress Version

10.4.0

Other

Search for this issue number in the codebase to find the test(s) skipped until this issue is fixed

@audriusnavickasDB
Copy link

Might be related to #21110 Also there are many more issues registered regarding Cypress hanging in CI.

@flotwig flotwig added the process: flaky test Related to test(s) that have flake in our internal tests label Feb 1, 2023
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Aug 1, 2023
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2023
@josekim
Copy link

josekim commented Oct 26, 2023

I ran into this problem, "Too long with no output (exceeded 10m0s): context deadline exceeded" in circleci.

I found that the best solution around this was just to log something to the Command line using cy.task in my test. There is some setup involved, but you can see it here.

I think this may be a better solution than dealing with CircleCi Configs.
I had a test that takes about 20 minutes to complete, mainly because i'm waiting for some data to propagate through the backend before I check. I broke up my 15 minute wait time and just logged a couple of things to the command line and that fixed my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: linux process: flaky test Related to test(s) that have flake in our internal tests stale no activity on this issue for a long period
Projects
None yet
Development

No branches or pull requests

6 participants