Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tech debt: Squelch e2e cypress errors #115

Closed
3 tasks
BCerki opened this issue Dec 22, 2021 · 2 comments
Closed
3 tasks

Tech debt: Squelch e2e cypress errors #115

BCerki opened this issue Dec 22, 2021 · 2 comments

Comments

@BCerki
Copy link
Collaborator

BCerki commented Dec 22, 2021

Description

As a developer
I want no errors in my CI
So that I can be confident my code is working

Tasks (How)

  • Task
  • Task
  • Task
    Alec from here: There's probably a way to squelch these, so that should be tracked as tech debt as well.
@wenzowski
Copy link

You can safely ignore the dbus error if your tests are executing fine.

cypress-io/cypress#4925 (comment)

Closing: safe to ignore.

@djangofan
Copy link

djangofan commented Dec 29, 2021

You really should fix this because is super confusing, in my case my test suite fails, but the first output messages are these ERROR logs:

cypress run --record --headless '--spec=cypress/integration/smoke/*.spec.js' --env configFile=cypress/config/cypress.playground.json --browser chrome --key b1f2e1.....53d9ebcf
[259:1229/221955.995612:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[259:1229/221956.006535:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[259:1229/221956.006584:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[425:1229/221956.055877:ERROR:gpu_init.cc(441)] Passthrough is not supported, GL is swiftshader

AND so it is misleading me to think that is the cause of my subsequent errors. Are you sure I can ignore?? I am running in a cypress/included 8.7.0 . I had the same errors with cypress-included v9

NOTE: I managed to fix this issue by deleting my /var docker folder and then completely re-installing docker on my Mac.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants