-
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
SIGABRT exit a the end of CI run #5965
Comments
We've never seen a SIGABRT error before in Cypress. Could you run Cypress in debug mode mode and print the entire set of logs here? |
Thank you, it's really happening a lot on our side. I'm gonna try the DEBUG mode and also check if there is a difference between node 12.x and node 13.x. |
node 13.x doesn't make a difference
Given the error, do you have a more specific |
The same exact issue started happeneing for me today also. I'm also using CircleCI and running with electron |
This comment has been minimized.
This comment has been minimized.
I believe @bahmutov ran into a SIGABRT in macOS Catalina during debugging, but he got past it somehow. This is happening in Linux right? |
Yea, CircleCI’s machine image which is some flavour of Linux
…On Tue, Dec 17, 2019 at 7:08 PM Zach Bloomquist ***@***.***> wrote:
I believe @bahmutov <https://github.com/bahmutov> ran into a SIGABRT in
macOS Catalina during debugging, but he got past it somehow. This is
happening in Linux right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5965?email_source=notifications&email_token=AARFFTGUFRZM7FEYCXYCPITQZFZXXA5CNFSM4J3G3WG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHEP63I#issuecomment-566820717>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARFFTEAA5KHWT36MGSSFX3QZFZXXANCNFSM4J3G3WGQ>
.
|
It used to work fine in Cypress 3.7 for weeks but it's currently also happening when downgrading to Cypress 3.7 (the error message is slightly different). On our side, the first occurrences of I tried to downgrade Node and Ubuntu without success. |
We are experiencing this same issue consistently as of today 11am EST. There is very little information provided and all tests appear to pass, the failure at the very end of the build. @jennifer-shehane any update? VersionsCypress: 3.8.0 Error
|
We'll really need more information. Ideally tracking down exactly what changed that is causing this error. Are you all using CircleCI Server? Did you upgrade by chance? The fact that downgrading to 3.7 does not resolve the issue leads me to believe there's another factor involved. |
@jennifer-shehane thanks for being so responsive, unfortunately I don't have much more info. Looks like we are all using CircleCI. I'm using the base 'machine' image that Circle maintains, maybe circle changed that image? I'll try defining it to something like Currently I'm just using.. It was working for weeks and then stopped with this SIGABRT error I'll try defining the image |
@jennifer-shehane when setting the image to |
The same issue is happening to us after upgrading from Cypress 3.4.1 to 3.8.2. Happens on older node versions as well. Docker container inside Google cloud. |
@TheRusskiy which docker image are you using? A cypress one or a custom one, if using a custom do you have the extra apt packages installed? On our side, we're not seeing the errors anymore since we made this change opencollective/opencollective-api@1fd1f94#diff-8e9db7c3471e6c0ca16bd70456b7fffcR50 Not sure if it's a coincidence or not but worth checking. |
@znarf custom one based on ubuntu:18.10, |
I had the same issue, was solved by using cypress/browsers:node11.13.0-chrome73 |
@TheRusskiy can you double check a recent dependency list and/or try switching to a cypress image? |
@znarf, indeed, there were a couple of packages missing, |
I ran our test suite 20 times using Chrome instead of Electron and it seems to be working, so it looks like an Electron issue. |
Hi, i'm still having this issue. @TheRusskiy how did you manage to drop the error ? The output error
E2E tests are integrated in each merge request from back & middle & front stacks. Having this issue blocks everything :) |
@AlexSwtlsk I ended up using headless chrome instead of Electron. |
trying to work around cypress-io/cypress#5965
SIGABRT error codes generally happen when there are out-of-memory conditions. This seems related to something within Electron. Current WorkaroundRun |
it worked here (cypress run --browser chrome). I'm using github actions. |
@jennifer-shehane Can you check if bumping up the Electron deps versions fixes this issue? |
Same issue here using headleass Platform: darwin (19.2.0) |
The issue came up right after when we upgrade from
Maybe the issue connected to the updated Electron deps what's mentioned by @eladcandroid also! :) |
I have a very similar issue after upgrading from 3.8 to 4.5, my runs always fail, but on different tests each time, with the error "The Test Runner unexpectedly exited via a exit event with signal SIGSEGV" |
The latest release (4.5) contains Electron deps update which solved the issue for us. Ps.: Our test coverage currently very small so maybe the problem exist yet. |
We are having the same issue, updating to version 4.5 did not fix it. |
4.8.0 has this problem on hello world type of test, here is how to reproduce it: On Linux,
|
We have got this error
Is it possible that this issue caused by lack of resources like free memory? |
Sharing my error message here and will try the workaround posted above by Jennifer.
|
Since this is still open Ill post my specs too. I just started running into this issue using the Cypress Github action. The workaround above mentions its potentially due to memory issues in electron and to use chrome but I am already using chrome
|
This just started happening for us after upgrading to 5.5. I also tried passing the --browser flag with chrome, but didn't fix the issue. Any other workarounds for this?
|
We see exactly the same error as @lasanders above, and also after an attempt of upgrading to |
downgrade cypress to 5.1 to fix CI ref cypress-io/cypress#5965
Upgraded to cypress 6.0.1, using Gitlab 13.5.1-ee. Still happens. |
Same issue after upgrading to Cypress 6.1.0 Running on a azure build pipeline (ubuntu latest) it throws this error after successfully finishing all specs. Seems to depend on the tests that are running, because some projects wil run fine after the update with the same Azure build setup. Running it localy on my Window 10 doesn't give any errors System: |
Going to close this as a duplicate of #8865 - which has some more updated logs. Some people there are indicating that the SIGABRT error with text "Assertion `(env) != nullptr' failed" began happening in Cypress 5.4.0. Please refer to that issue if you're still experiencing this issue. If you're encountering a SIGSEGV error - this is not the same as SIGABRT. Search our issues for something related to SIGSEGV errors. Duplicate of #8865 |
Cypress is randomly crashing at the end of normally successful runs.
In Cypress 3.7:
In Cypress 3.8:
Versions
The text was updated successfully, but these errors were encountered: