cypress: SIGABRT exit a the end of CI run
Cypress is randomly crashing at the end of normally successful runs.
In Cypress 3.7:
/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress[13137]: ../../third_party/electron_node/src/node_platform.cc:435:std::shared_ptr<PerIsolatePlatformData> node::NodePlatform::ForIsolate(v8::Isolate *): Assertion `data' failed.
1: 0x564e854d6d85 node::Abort() [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
2: 0x564e854d664f [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
3: 0x564e8552249b [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
4: 0x564e81ab798c [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
5: 0x564e81b04835 v8::internal::PagedSpace::RefillLinearAllocationAreaFromFreeList(unsigned long) [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
6: 0x564e81b0763c v8::internal::PagedSpace::RawSlowRefillLinearAllocationArea(int) [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
7: 0x564e81b075c9 v8::internal::PagedSpace::SlowRefillLinearAllocationArea(int) [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
8: 0x564e816bd913 [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
9: 0x564e81a9882a v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::RootIndex, int, v8::internal::Object, v8::internal::PretenureFlag) [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
10: 0x564e8181c406 [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
11: 0x564e8181c262 [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
12: 0x564e819aae42 [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
13: 0x564e819a13b0 [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
14: 0x564e819a12c4 [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
15: 0x564e8180d4a8 v8::internal::Compiler::FinalizeOptimizedCompilationJob(v8::internal::OptimizedCompilationJob*, v8::internal::Isolate*) [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
16: 0x564e8180d0eb v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions() [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
17: 0x564e81a7678f v8::internal::StackGuard::HandleInterrupts() [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
18: 0x564e81ca2566 [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
19: 0x564e81fabfab [/home/runner/.cache/Cypress/3.7.0/Cypress/Cypress]
The Test Runner unexpectedly exited via a exit event with signal SIGABRT
In Cypress 3.8:
/home/runner/.cache/Cypress/3.8.0/Cypress/Cypress[7074]: ../../third_party/electron_node/src/node_platform.cc:444:std::shared_ptr<PerIsolatePlatformData> node::NodePlatform::ForIsolate(v8::Isolate *): Assertion `data' failed.
The Test Runner unexpectedly exited via a exit event with signal SIGABRT
Versions
- Cypress 3.7, Cypress 3.8
- Reproduced in GitHub Actions and CircleCI
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 16
- Comments: 50 (6 by maintainers)
Commits related to this issue
- chore: try chrome trying to work around https://github.com/cypress-io/cypress/issues/5965 — committed to dcos/dcos-ui by pierrebeitz 4 years ago
- chore: try chrome trying to work around https://github.com/cypress-io/cypress/issues/5965 — committed to dcos/dcos-ui by pierrebeitz 4 years ago
- Merge pull request #529 from camille-hdl/feature/downgrade-cypress downgrade cypress to 5.1 to fix CI ref cypress-io/cypress#5965 — committed to camille-hdl/cuisine-ead by camille-hdl 4 years ago
SIGABRT error codes generally happen when there are out-of-memory conditions. This seems related to something within Electron.
Current Workaround
Run
cypress runusing the--browserflag to run in an installed version of a Chrome or Firefox browser (not Electron). https://on.cypress.io/command-line#cypress-run-browser-lt-browser-name-or-path-gtnode 13.x doesn’t make a difference
DEBUG=cypress:*is making some of our tests failing, so we can’t reproduce the issue with it, all tests needs to pass for the issue to happen.DEBUG=cypress:cliis not helping much:Given the error, do you have a more specific
DEBUGprefix to suggest?We are having the same issue, updating to version 4.5 did not fix it.
Hi! I’m quite uncertainly if the log file below is about the same error, but the fact is…
Although all tests passed, we had a crash on gitlab-ci job which runs cypress.
And as I told you, since then I switched on debug mode… So let attach it here.
ERROR: Job failed: exit status 1:some of the ending rows:
Logging file with debug mode on: gitlabci-cypress-job.log
@jennifer-shehane when setting the image to
ubuntu-1604:201903-01I’ve been unable to duplicate theSIGABRTerror. I’ll get it merged and hence trigger more executions with it, I’ll post an update after more runs have occurred.