-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Current behavior
When Cypress is run in a CI environment where there is no physical GPU available, an error message similar to the following is output:
[266:1014/183729.600834:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type:
This is new in Cypress 13.3.1 and is a regression from Cypress 13.3.0.
It affects for instance:
- GitHub Actions with Ubuntu
22.04/ Node.js20.8.0 - CircleCI Ubuntu
22.04in Docker / Node.js20.6.1
The error message occurs in CI where it uses Xvfb (X virtual framebuffer) when there is no other X11 server available due to missing hardware graphic.
Desired behavior
The only message output when starting Cypress in CI should be similar to the following:
DevTools listening on ws://127.0.0.1:35223/devtools/browser/18023e84-028d-4b1e-a9d3-afb174f8232f
There should be no message with the following text output:
ERROR:object_proxy.cc
Test code to reproduce
Workflows from Cypress repos show the issue since the update to Cypress 13.3.1:
- https://github.com/cypress-io/github-action/actions/workflows/example-cron.yml
- https://github.com/cypress-io/cypress-example-kitchensink/blob/master/.github/workflows/single.yml
- https://github.com/cypress-io/cypress-docker-images/blob/master/circle.yml for example "test-image-medium-factory-test-factory-cypress-included-electron" on https://app.circleci.com/pipelines/github/cypress-io/cypress-docker-images
Cypress Version
First reported on version: 13.3.1
Reproducible also on version: 13.6.4
Node version
20.8.0 / 20.6.1
Operating System
Ubuntu 22.04
Debug Logs
| Workflow | Cypress 13.3.0 | Cypress 13.3.1 |
|---|---|---|
| GitHub Actions | Job 17616845243 | Job 17685117337 |
| CircleCI | Job 48307 | Job 48982 |
Other
Error history
- Cypress
13.0.0/13.1.0showed (see also ERROR:gpu_memory_buffer_support_x11 on GitHub Ubuntu #25357):
[443:1014/182211.580014:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
-
Cypress
13.2.0and13.3.0were free from ERROR codes on starting -
Cypress
13.3.1->13.6.0show:
[266:1014/183729.600834:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type: