-
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 4.6.0 hangs when running headless chrome in Jenkins CI with "Received unexpected number of handles" #7461
Comments
it looks like Chrome closes because it ran out of available RAM:
how much RAM do your CI machines have? |
It has 12 GiB. Which I bumped up from 4GiB. Which is plenty for these tests
in my opinion. The issue is Cypress does not fail. It does not end
the process. Last night it ran for 10 hours and 46 minutes before it got
killed.
Thanks for your prompt help,
Ugandhar
…On Fri, May 22, 2020 at 10:28 AM Zach Bloomquist ***@***.***> wrote:
it looks like Chrome closes because it ran out of available RAM:
:FATAL:memory.cc(38)] Out of memory. size=491520
how much RAM do your CI machines have?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7461 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AINV2TLSZMSMYYUQVIARE4LRS2DXZANCNFSM4NH2EHFA>
.
--
--
Thanks,
Ugandhar Chalasani
|
@uchalasani do you think the root cause of what you're experiencing is actually this issue? #7464 |
I am not sure if that is it or not. Symptom description looks to be similar. I can test if there a code fix. Please let me know. |
@uchalasani Do you have this issue in previous versions of Cypress? Can you try our 4.5.0 docker image? Please let me know the results. Thanks. |
Yes. Looks like this issue is not new to 4.6.0. The following is the result of 4.5.0 testing.
|
I tested with Cypress 4.4.1 docker image also. It ran successfully 2 times, and the 3rd run failed with the same error message. i.e. 4.4.1 is little better but still had this issue.
|
Any further help on this? |
Hi, I am receiving a similar issue:
after calling "reload page" ( But there are no logs pointing to the lack of memory in my case. |
In our case I already bumped up memory from 4GiB to 12 GiB and I still see issue. Fact that 4.4.1 is successful 2 out of 3 times tells us that it is not necessarily memory. Unfortunately, 4.5.0 and 4.6.0 is always hangs. I am looking for either a work around or a fix. Please let me know. |
I replied with the information. |
I should mention here, that my tests are being executed within docker container. I managed to resolve the issue. Adding |
In my case there are few different issues we resolved. Previous releases have few different issues, I am ignoring them as I am now using most recent 4.7.0 version. The errors relating memory I thought I addressed, but it turned out that Cypress needs more shared memory. But it is not clear from the error messages. It is easy to get lost in the flood of Debug errors which are mis-leading. |
I am closing this issue as my above solution worked. |
regarding use of |
Current behavior:
Cypress 4.6.0 hangs when running headless chrome in Jenkins CI with "Received unexpected number of handles"
Desired behavior:
Cypress 4.6.0 hangs when running headless chrome in Jenkins CI should run successfully.
Test code to reproduce
Versions
Cypress 4.6.0 Docker image (cypress/included:4.6.0)
Jenkins 2.222.3
The text was updated successfully, but these errors were encountered: