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
The Test Runner unexpectedly exited via a exit event with signal SIGABRT - Assertion `(env) != nullptr' failed #8865
Comments
Same issue on Azure Pipeline. |
I can confirm the same thing happening on Jenkins (Ubuntu 18.04). If desired, I can provide additional debug logs or information. |
Yes, DEBUG logs may be helpful. Perhaps this is due to Electron upgrade in 5.4.0. #8406 |
I just uploaded the last part of the debug log, since it's huge. |
Any update on this? Is there some more information needed? I'm facing the issue as well after upgrading to 5.5.0. |
Bug still exists in 5.5.0 |
@jennifer-shehane Do you need additional logs on this or the ones Andrea provided sufficient? Many thanks. |
Also seeing in 5.5.0 (electron) |
I'm also getting the same issue with Cypress 5.5.0 when running Electron headless. |
Same issue here - Started with 5.4.0 and not fixed in 5.5.0. Everything was working fine with 5.3.0 |
Also seeing this both when building with Jenkins (Ubuntu) and locally on OSX Catalina |
Initially, I thought it happens due to retries and some flaky tests since some of my tests do fail at least once. |
@jennifer-shehane is it possible to provide approximate Cypress version with fixes? Thank you in advance! |
Just saw Cypress 5.6.0 coming out, but if it isn't fixed in that, we have to stick to 5.3.0 unfortunately as otherwise all our test runs will fail in Jenkins, making it absolutely unusable :( |
Sad because It's true that it is a |
Just upgraded to Cypress 5.6.0 and experienced the same issue |
Is there any workaround for it? I would like to update Cypress to the latest version, however, this issue blocks me as it breaks the whole CI process. Are there any plans of fixing it in the near future? If not then I may think of supressing the exit code returned by the Cypress using e.g. custom docker entry point or something similar. |
I have encountered the same issue after upgrading to the latest Cypress version from Cypress version: |
There is a situation where Cypress will occasionally exit with SIGABRT, SIGTERM, or SIGSEGV and a non-zero exit code when This may not be the issue for everyone in this thread however, so we will leave this issue open to track the cause of any other SIGABRT errors. |
In our example, we don't (and never have) use |
We're facing the same issue on GitHub Action. Here's some of the logs:
|
Doesn't work for me v 5.6.0 |
At least on Azure Pipeline I guess it was the electron upgrade. |
Upgrading to 6.3.0 no longer throws this error on our Ubuntu/jenkins so looks like I can finally move on from 5.3.0 |
I can concur 6.3.0 solves the issue, works fine on the azure pipeline now. |
It's also occuring in version 6.3.0 |
Are people still experiencing this in the current version of Cypress? I see some indication that some people's issues were fixed and no one has commented since January. Would love some feedback. |
Yes. I'm seeing this issue on GitLab 13.9.3 with GitLab Runner 13.9.0 with Cypress 6.8.0 with cypress/base:14.6.0. .gitlab-ci.yml
log
|
We have not experienced the error since moving to Chrome for testing rather than Electron. |
Does not happen to me anymore after upgrading to |
I get the SIGABRT when running at least 110 tests with cypress open |
@jennifer-shehane the issue is still happening with electron when trying to download a pdf from aws server link. The same issue does not happen with chrome browser. I am using latest cypress version of 7.3.0 (as of today) In this case, upon clicking download button the file download url opens in a separate browser and opens up a file location window. Could this be causing the issue?
|
I experienced this issue when running a docker container with the following configuration
However, on my local machine I had not run |
Same issue :-( |
got the same error after update Please search Cypress documentation for possible solutions: Check if there is a GitHub issue describing this crash: https://github.com/cypress-io/cypress/issues Consider opening a new issue. Platform: linux-x64 (Ubuntu - 20.04) |
Seeing this issue with the same output as previous comment. Platform: MacOS Big Sur latest |
Hi, I am getting the error Platform: darwin-x64 (21.2.0) |
It's a combination of Cypress and React scripts versions. Specifically, happens when running Cypress 9.3.1 with React scripts 5+, on Mac. Surprisingly it does not happen in CI (probably not Linux either). Renovate seamslessly updates, passes CI, we pull and SIGABIRT. @jennifer-shehane to reproduce git clone https://github.com/muratkeremozcan/react-hooks-in-action-with-cypress
cd react-hooks-in-action-with-cypress
# upgrade react-scripts to 5+
yarn cy:open-ct
# to work around it, use react scripts 4+ Edit: I dare say this needs a combinatorial test config. Paste the below to https://foselab.unibg.it/ctwedge/ to generate a test configuration suite. Instead of 3^4 tests, runs 9 test configurations to cover these kind of cryptic issues. Profit.
|
I found that an easy way to trigger this (getting either SIGABRT or SIGILL) is to try to run multiple This seems to happen whether I use Electron or Chrome. I turned on debug logging and noticed different messages about the browser startup, mostly the GPU. Things like "Maximum number of clients reached" and "GPU process isn't usable." So it seems like the browsers are stepping on each other somehow... EDIT: I actually got it to perform a lot better by unsetting the |
Unsetting DISPLAY in |
Faced the same issue. Like others mentioned above, unsetting/removing |
Changing the command: |
Still facing the same issue. Tried with both Electron and Chrome.
|
ever found a solution to this? Still getting this on Cypress 12 |
The Test Runner unexpectedly exited via a exit event with signal SIGABRT Please search Cypress documentation for possible solutions: Check if there is a GitHub issue describing this crash: https://github.com/cypress-io/cypress/issues Consider opening a new issue. Platform: linux-x64 (Ubuntu - 22.04) |
I did that beforehand (obviously) and there is nothing there.
Why should I, here is an issue perfectly describing the problem I have, so I checked (and found an issue). Your answer does not help at all unfortunately. |
Hi. Platform: darwin-arm64 (23.4.0) |
Current behavior
Test suites sometimes crashing after successful run.
Desired behavior
Good exit code
Test code to reproduce
With assistance I can perhaps narrow this down from 356 tests. Some suites work fine but two continually fail.
Versions
Cypress 5.40
Linux running on CircleCI
The text was updated successfully, but these errors were encountered: