Possible infinite loop while running in Jenkins with retries
See original GitHub issueCurrent behavior
While running Cypress with a docker image inside Jenkins, we are currently encountering an infinite loop (or what appears to be one). Seems related to this issue: https://github.com/cypress-io/cypress/issues/9040, but I am still encountering the problem with versions 6.3.0 and 6.4.0 of cypress.
With DEBUG=cypress:*
set, I get these two messages repeatedly until I either abort the Jenkins build or lerna crashes.
cypress:server:browsers:electron debugger: sending Page.screencastFrameAck with params { sessionId: 1 }
cypress:server:browsers:electron debugger: received response to Page.screencastFrameAck: {}
Appears to be related to retries, as it can successfully run occasionally, and I’ve seen that when it does pass all tests, the tests ran quickly with no retry attempts.
Desired behavior
Test code to reproduce
Unfortunately, I can’t share my code, but can try and provide any more information you need.
Versions
Issue exists in 6.2.1, 6.3.0, and 6.4.0 at minimum. Haven’t heard of or seen this issue from previous versions.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (1 by maintainers)
I have already commented on a similar issue thatp proposed some changes: https://github.com/cypress-io/cypress/issues/8206
We are experiencing this stall in 70% or more. This means, rerunning CI several times for every change to go through. I am not sure how to debug or address this issue further.
Our Setup
Things we have tried so far
None of which seems to help.
I just want to chime in and say that we too are experiencing the same issue, however, we’re experiencing it in all environments.