-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Current behavior
When running Cypress 15 on Linux in a CI system, multiple garbage error messages such as the following are output:
[246:0820/083338.529340:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Desired behavior
-
This is a regression from previous Cypress 15 pre-release versions. It may be due to fix: Redirect spammy electron stderr to a debug sink #32188.
-
Reverting to PR breaking: update execa from 1.0.0 to 4.1.0 #32238 f6e0744, to an earlier Cypress 15 pre-release commit, reduces the number of error messages (
npm install https://cdn.cypress.io/beta/npm/15.0.0/linux-x64/develop-f6e0744e38f6b86af49ea3b036bedbe45a672008/cypress.tgz
). The following does however remain:
[244:0820/085133.641609:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
- Testing against Cypress
14.5.4
, no such error messages are displayed.
Test code to reproduce
See for instance https://github.com/cypress-io/cypress-realworld-app/actions/workflows/main.yml also ...
git clone --branch test/examples/15-beta-linux-x64 https://github.com/MikeMcC399/cypress-docker-images
cd cypress-docker-images
cd examples/basic # Use a pre-configured simple Cypress E2E project
npm ci # Install Cypress
docker run -it --rm -v .:/app -w /app cypress/base # Run image as container
At the bash
prompt :/app#
enter the following commands:
npx cypress install # Install Cypress binary into running Docker container
npx cypress run # Run Cypress test
Cypress Version
15.0.0
Node version
v22.18.0
LTS
Operating System
Debian 12.11
in Docker Desktop v4.44.2
in Ubuntu 24.04.3
LTS host
Debug Logs
npx cypress run # Run Cypress test
[246:0820/083338.529340:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[246:0820/083339.098784:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[246:0820/083339.098893:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[246:0820/083339.099889:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Address does not contain a colon
[246:0820/083339.099920:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Address does not contain a colon
[246:0820/083339.099932:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Address does not contain a colon
[246:0820/083339.099942:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Address does not contain a colon
[246:0820/083339.099956:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
DevTools listening on ws://127.0.0.1:37529/devtools/browser/ed937c40-8948-4281-b2ee-01257d006b30
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 15.0.0 │
│ Browser: Electron 136 (headless) │
│ Node Version: v22.18.0 (/usr/local/bin/node) │
│ Specs: 1 found (spec.cy.js) │
│ Searched: cypress/e2e/**/*.cy.{js,jsx,ts,tsx} │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: spec.cy.js (1 of 1)
[246:0820/083340.598578:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Address does not contain a colon
test local demo page
✓ heading (206ms)
1 passing (261ms)
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 1 │
│ Passing: 1 │
│ Failing: 0 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: false │
│ Duration: 0 seconds │
│ Spec Ran: spec.cy.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✔ spec.cy.js 263ms 1 1 - - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✔ All specs passed! 263ms 1 1 - - -
Other
No response