Skip to content

Flaky test: CypressError: cy.request() timed out waiting 30000ms for a response from your server #23326

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

Closed
rachelruderman opened this issue Aug 13, 2022 · 7 comments
Labels
OS: linux process: flaky test Related to test(s) that have flake in our internal tests

Comments

@rachelruderman
Copy link
Contributor

rachelruderman commented Aug 13, 2022

Link to dashboard or CircleCI failure

https://app.circleci.com/pipelines/github/cypress-io/cypress/41821/workflows/3a631187-bd7e-4234-a5c5-64fb97984e5c/jobs/1733761/steps

Link to failing test in GitHub

https://github.com/cypress-io/cypress-example-recipes/blob/master/examples/blogs__iframes/cypress/e2e/xhr-spec.cy.js#L10

Analysis

Some hints:
The following error in the logs. Keep in mind that it happens at the start of the suite, so it's followed by several successful tests. Looks like playwright is currently triaging the same error

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[6037:0812/181450.054272: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

@brianwawok
Copy link

Seeing this a lot, and my server is crashing. Not 100% if this is related.

@aj-sdet
Copy link

aj-sdet commented Sep 8, 2022

seeing this, when trying to run in ci:

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[29310:0908/142840.488087:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[29310:0908/142840.493355:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported

@aj-sdet
Copy link

aj-sdet commented Sep 8, 2022

the issue in my case was with electron browser, thus switched to chromium and ran fine.

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Jan 3, 2023

@rachelruderman

  • I can reproduce the errors
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

on GitHub ubuntu-20.04 & ubuntu-22.04
with electron & chrome browsers
running in container: cypress/included:12.2.0 (with Node.js 16.16.0).

I have cloned the test https://github.com/cypress-io/github-action/tree/master/examples/v10/basic and modified it to run under Cypress 12.2.0.

The test runs successfully, so the errors are just a distraction.

Would it be helpful for me to open a separate new issue regarding the libva and dri3 errors?

@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
@MikeMcC399
Copy link
Contributor

Flaky tests from cypress-io/cypress-example-recipes are recorded into Cypress Cloud.

I don't see the test from this issue appearing in the Flaky tests list, so I suggest to close this issue.

@jennifer-shehane
Copy link
Member

Closing since this is likely stale

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
Projects
None yet
Development

No branches or pull requests

8 participants