-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Cypress 13 Hanging During Runs #27722
Comments
I am having a similar issue that appears to have started yesterday where our CI/CD freezes when trying to upload results to Cypress Cloud. It's not happening on every spec but appears to be happening after the same spec. The spec nor config has changed recently. Seems odd that this started happening with the release of 13 which leads me to believe it's a bug with Cloud. FWIW, We're on version 10 still and have never had this issue until yesterday. |
@cfuller1985 @angiedaley Could you run Cypress in debug mode mode and print the entire set of logs here (extracting any private info)? |
same. our cypress job has a timeout of 2 hours in Jenkins and when upgrading to 13 we are actually hitting this timeout, which never happened before. will try to collect some debug logs |
This is also happening to our team. I will try to get some logs. (Edit, didn't realize @funkadelic is also on our team 👋 , will coordinate on getting those logs) |
are any of your tests using |
Hi folks, we did make a change to make certain errors non-fatal in 13.1.0 which may help in some situations. Can folks please try upgrading to the latest version and see if that helps at all. |
I am also seeing this with
And then I get this seemingly infinitely:
|
@nagash77 still experiencing the same issues. |
I figured out that for my case, that it has something relates to test isolation. |
Also experiencing this after updating to Cypress 13. Rolling back. |
Experiencing the same issue I tried debugging it by running in a headed mode and I noticed, that my app redirects the whole page including the cypress runner and hangs then Issue similar to: #23751 |
My team has been experiencing this as well with cypress 13.0.0 and now 13.1.0. Running it with our current settings with After reading this I ran it with Adding my info to add more data points: Test code to reproduce in my .yml file I have this content (leaving out some private .env materials)
Cypress Mode Cypress Version Browser Version Node version Operating System Memory Debug Logs
When running with
|
Hi everyone on this thread. Just wanted to drop an update here to keep everyone in the loop on what we are doing around this issue. Unfortunately, the logs provided right now don't have quite enough information for us to pinpoint the problem. We are working on adding some more debugging information into the logs that will hopefully get us closer to understanding and addressing this problem. We are working on that change which will be part of a Cypress Cloud release. Once that is released I will comment back here asking for folks to run their tests again and posts the logs with the added debugging information. Stay tuned. |
Hi everyone! We have deployed our changes to logging. If folks could run their tests with |
For my case, it hangs after tests are completed detailed loggingThe log is very repetitive, after
The logs start to see repetitive stuff like this
Nothing else was seen and starts hanging. |
Thanks @billxlong, can you share the last log that is prefixed with |
There you go: detailed logging
FWIW I'm running this locally with my Mac not in CI @ryanthemanuel |
Here is the logging for my run that is hung up in the ci/cd pipeline detailed logs
|
Thanks @sowardskimberly can you share the last log that is prefixed with cypress:protocol:capture? (And maybe the surrounding logs) |
@ryanthemanuel what I have shared is where my logs end. My test has been hung up for over 1 hour since the last test passed. In the logs I pasted, I included where it passed, and then the end where it is waiting. I assume you mean |
Hello everyone. We just released something in the cloud that will hopefully help some of the hangings that people were seeing between specs. I'm not sure this covers everyone's issue, but I'm curious to see if it has helped anyone so far. We have a few additional fixes we are looking into as well. |
For me, this can be reproduced locally, I commented on a potentially duplicate issue. Has an open repo, and repro steps anyone can try, as well as a public Cy Cloud project. |
Resolved the issue for me. |
This also resolved the issue for me. |
Resolved for us |
Seems this would have solved the issue on our side as well, thanks! |
This appears to have resolved the issue for us too, thanks! 🙌 |
Hi @angiedaley have you been able to try using 13.1.0 to see if your issues are resolved? |
hi all, can confirm that it happens in Cypress 13.1.0 when using |
Confirmed it is still happening in 13.2.0 as well using |
Closing this issue as most of this occurrence has been resolved. If you’re still encountering hanging in 13.x, please open a new issue detailing the exact error, debug logs, and reproducible example so we can track down the new situation that may be causing hanging in your specific situation. |
@nagash77 Unfortunately this does not resolve our issue. I was out of the office for two weeks, apologies for not commenting sooner. I'll work with support. |
Hey @angiedaley, sorry to hear this didn't resolve your issue. There are a lot of inputs that could influence hanging. Please reach out to support providing more details so we can focus it down more on what separates your issue from the other commenters. |
Have the same problem, a test remains hanging when we are waiting for an apicall. Is there a method to fail the test or the pipeline if this happens? |
Test code to reproduce
No code is failing. Code works when running in Desktop. Hangs between tests and stops running. No errors reported.
Cypress Mode
cypress run
Cypress Version
13.0.0
Browser Version
Chrome Version 116.0.5845.96 (Official Build) (64-bit)
Node version
v16.5.0
Operating System
Windows 11
Memory Debug Logs
No response
Other
We have 112 specs. Tests get to spec 55 and run the first two tests normally, then hangs and never progresses.
The text was updated successfully, but these errors were encountered: