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: timeouts on windows #23321

Closed
rachelruderman opened this issue Aug 12, 2022 · 2 comments
Closed

Flaky test: timeouts on windows #23321

rachelruderman opened this issue Aug 12, 2022 · 2 comments
Labels
OS: windows 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

https://app.circleci.com/pipelines/github/cypress-io/cypress/41761/workflows/958cb274-e0b3-4e6c-873f-2a60038625c7/jobs/1731172/parallel-runs/5

Link to failing test in GitHub

Here's the link to the taskInternal function in question: https://github.com/cypress-io/cypress/blob/develop/packages/frontend-shared/cypress/e2e/support/e2eSupport.ts#L456

Analysis

Digging through the logs/artifacts we see interesting hints such as:

  1. A look at the logs shows repeated instances of MaxListenersExceededWarning:
(node:1252) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 dev-server:specs:changed listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
  1. A closer look at the logs shows a performance warning from NexusSlowGuard:

Screen Shot 2022-08-12 at 10 23 27 AM

  1. In the video, we don't see a loading spinner between this test and the previous test -- it's still showing the previous test. From our own log in the reporter we see "no commands were issued in this test". Perhaps teardown not working as expected?

Screen Shot 2022-08-12 at 10 15 00 AM

Cypress Version

10.4.0

Other

List of other timeout failures on windows with the same MaxListenersExceededWarning and NexusSlowGuard logs:

@rachelruderman rachelruderman changed the title Flaky test: CypressError: cy.task('__internal__beforeEach') timed out after waiting 10000ms. Flaky test: timeouts on windows Aug 12, 2022
@mschile mschile added triage and removed triage labels Aug 18, 2022
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: windows 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

4 participants