-
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
Tests in GitHub Action hangs from version 13.3.2 onwards #28426
Comments
@nlzietsandor Could you run Cypress in debug mode mode and print the entire set of logs here? 13.3.2 seems like an odd one to hang on. Can you provide a reproducible example at all for us to recreate? |
Had a similar issue the past week or 2. Updating to [email protected] today seemed to have fixed it for us. |
Sadly it started timing out again, seeing lots of |
I agree it doesn't make much sense. What I've seen as well is that when enabling GitHub Action logging using the |
I've ran the tests using debug logging and the log is way too large to post here but here's a fragment right before a pause/hang that is taking 1 hour and 35 minutes (after which I cancelled the job to save costs):
|
In the meantime, I'm trying to build a reproduction scenario, adding parts step by step but it takes some time because of the time it takes to run the GitHub Action every time. |
@nlzietsandor Are these tests running in Firefox? |
Also there's an issue with a newer Typescript version that's causing hanging sometimes. Not sure if related, but throwing it out there. #28385 |
I'm also experiencing a hanging issue on GitHub Actions, but only with Chrome:
That's the last thing I see. It hangs indefinitely. But if I change to Firefox, all is fine
For me this started a few months ago, and I was hoping it would just go away...but it hasn't. Firefox does work, but since it can't show the replays, it would be much preferred to be able to run in Chrome. |
Is this still an issue after updating to our most recent version? |
I'm not getting any hangs at the moment. I can't really say if that's due to the version upgrade because a lot has changed to the tests in the meantime. |
TL;DR - works now. I'm not sure exactly when after 13.3.1 fixed it... but 13.3.1 was definitely not working! I was running the latest GitHub Action. But I didn't set Cypress up initially (and Node.js is voodoo to me)... and didn't know it decided what Cypress version to use from a I changed that from |
We have fixed some hanging in recent versions, so we encourage updating to see if this has been resolved so we can close this issue. |
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. |
This issue has been closed due to inactivity. |
Current behavior
Our GitHub Action that runs the tests seems to hang indefinitely (2 hours+) from version 13.3.2 onwards (tested as well in 13.5.0 and 13.6.0), without logging anything after a certain test name. This problem doesn't occur in versions 13.3.1 and below (tested as well in 13.0.0) where the finishes in a few minutes. The hang doesn't occur when the test that seemingly hangs is run in isolation or locally using Act, only in a GitHub Action. Disabling the test that hangs simply causes another test to hang, indicating the issue isn't specific to any one test.
Desired behavior
Finish the tests without hanging.
Test code to reproduce
Due to the factors described in the Current Behavior section, creating a simple reproduction scenario for this problem is challenging.
Cypress Version
13.3.2
Node version
16.16.0
Operating System
Ubuntu 22.04/GitHub Action
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: