-
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
"Failed to connect to the bus: Address does not contain a colon" throws a SIGSEGV error #19299
Comments
Failed to connect to the bus: Address does not contain a colon
throws a SIGSEGV error
Failed to connect to the bus: Address does not contain a colon
throws a SIGSEGV error
Facing the same issue in 9.1.1 Issue resolved after I downgraded the cypress to 8.3.0. |
I have the same issue with cypress 9.1.1, randomly the execution unexpectedly exits with sigsev, rolling it back to 8.4.0 solved the problem, also I noticed that this message shows up between every spec file |
BTW, for others on here commenting, I think this issue and fix might help us: It's committed but not yet released. I know it's an old issue, but the fix way at the bottom is new. Hopefully we'll get it "soon" :) |
Also, I switched my headless runs from using headless YMMV :) |
I'm using 9.2.0 and I see these warnings:
|
I'm getting these when running as a github action:
Using cypress 9.2.0, chrome 96, node version 12.22.8 |
Here's a reproducing run on a public repo on
Raw logs.txt from typescript-eslint/typescript-eslint#4362 The issue does not reproduce when Cypress is downgraded to 8.3.0: https://github.com/typescript-eslint/typescript-eslint/runs/4670836053?check_suite_focus=true |
You can close this issue for my specific bug. I resolved it by switching to headless chrome. I have not seen the Thanks! |
exactly same errors with below versions: |
Hi there, do we have an update on this yet? I just upgraded to the cypress image "cypress/included:9.2.0" and not able to run the tests on Jenkins anymore. This works fine when I downgraded to 8.4.0 as suggested by @VicenteRuizWefoxgroup. re: issue on #9220 appears to be closed. Does anyone know whats going on? |
Cypress 9.2.1 |
Same issue in 8.6.0 ;) |
I'm seeing the same issue in Cypress 9.1.1. |
Same issue in Cypress 9.1.1 |
Same happening here (docker) Cypress: 9.2.1 |
Nevermind. Still broken. |
Same happening here, I was following this: https://docs.cypress.io/guides/continuous-integration/gitlab-ci#Basic-Setup Cypress: 9.3.0 |
The same we have in CI after update from 8.0.0 to 9.2.1. Cypress: 9.2.1 |
+1 SIGSEV
Cypress: 9.2.1 |
Had the same problem using ^8.3.0 on package.json. Fixed by downgrading to 8.3.0 |
same here in our ci :(
|
Please tap on 👍 reaction on first message in this issue to get attention of Cypress team :) |
I encountered the same issue with GitHub Actions + Docker, but I was able to workaround (locally) using the following post.
Workaround StepsAlthough the recommendation is that you run the container with
Once done, I proceeded to run the Cypress tests using the following:
To make sure that this wasn't a false positive, I edited my integration tests to assert a false statement, and confirmed the tests are working as intended.
Going to do some more digging and see how I can utilise this within GitHub actions - would be great for the Cypress team to provide a proper solution / patch to this. |
Same issue here (version 9.3.1) but in our CI pipeline, which also caused excessive run time (+5min) for the cypress tests. Reverted to version |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as spam.
This comment was marked as spam.
Hi, I´m running a CI with: cypress/included:9.5.2.
The run finishes successful and then still drops an error on exit:
|
ok, I did some research and ran the container with debugging and exactly the same test spec.
and then
The error raises when Xvfb is stopped.... maybe it´s not a cypress related issue, but at least the cypress/included:9.5.2 container is broken. I downgraded to cypress 8.7.0 again. |
Also seeing this problem. Crops up for me at 8.6.0 so reverting to 8.5.0 is my answer. |
So I spent a lot of time looking deep into the internals of Electron + Chromium to verify this, be extra 100% sure: these errors never cause problems, and are a red herring. There are sometimes issues where cypress fails to launch, where it fails to connect to electron and to browsers, but these errors aren't the cause. That's why there hasn't been much motion on this issue - we were pretty sure this was the case, but didn't have time to verify it 100% until now. If you want the technical details of why these were being emitted, take a look at the PR for an explanation. They'll be silenced in the next cypress release, but this won't fix any existing issues people are running into. |
As a note: "Me too" comments are not particularly useful. We look at reactions to issues when assessing seriousness - 132 thumbs up means it's very important to the community! By all means hold conversation and discussion, and if something hasn't been updated in weeks, a bump may be appropriate. But "Me too" multiple times a day make it harder for everyone to find the meat of issues. |
The code for this is done in cypress-io/cypress#20939, but has yet to be released. |
These dbus errors will be silenced in the next Cypress release. This will not solve SIGSEGV errors, since they were not caused by this message to begin with. Sorry! There are quite a number of open issues discussing faults in CI / docker - I encourage people who've found this issue to search other github issues, where you're more likely to find solutions, or at least better able to provide more targeted debugging so we can tackle the real causes. |
I want to reiterate for those that didn't see my comment after opening this issue. I had all kinds of I switched to using headless Chrome and they all went away. I get that may not be a solution for everyone, and if you think you can add value by helping the Cypress team with debug info, or reproducible test cases, definitely do that as I'm sure they're as frustrated with these For me and my team, running in Chrome is fine, and we have seen no downsides. Good luck all! |
Switching to headless Chrome and errors are gone for us too. |
Thank you in advance! Do you have any direction as to how to switch to chrome headless for running in github ci via github action? |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
UPDATE [by Cypress Team]: Please see #19299 (comment) for details.
Failed to connect to the bus
is a harmless message and will be silenced in future Cypress releases.In addition, see #19299 (comment) for some discussion of potential solutions to SIGSEGV.
Current behavior
Our tests intermittently crash in our Docker runs with the error below. We get the
Failed to connect to the bus: Address does not contain a colon
error often, but it doesn't crash it.But, when it does crash, that error is always the last one before the SIGSEGV.
I think we're going to downgrade to 8.5.0 to fix this as it wasn't happening back then. However, before we do, is there some kind of diagnostic log that will help you, help me, help you? :)
Thanks, and I know this is vague, not sure where to even start here.
Desired behavior
Do not throw the SIGSEGV.
Test code to reproduce
It can happen on any test, at any time, in our 850+ test test suite.
Cypress Version
9.1.1
Other
It doesn't seem to happen if we run on Windows, and we have a parallel set of Component tests (about 100) that have yet to show the issue and they're run exactly the same way in the same Docker container, just as component tests.
The text was updated successfully, but these errors were encountered: