-
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
ERROR:object_proxy.cc(590) Failed to call method: org.freedesktop.portal.Settings.Read #28061
Comments
Confirming this on Cypress 13.4.0 running in CI mode on an Amazon Linux 2023 Docker image (Nodejs 18). Same code works fine on OSX (M1 Pro). |
Having same for Cypress 13.3.1 in CI, but no errors on OSX |
@csvan / @DmytroKhomychPrintify I only see this error message in CI and this is where Cypress uses |
If it can be determined that the error message in this issue is harmless:
perhaps it could be added to the list of "garbage warnings" in /~https://github.com/cypress-io/cypress/blob/develop/cli/lib/exec/spawn.js and which are filtered out by that module? |
Seeing the same error when running Cypress 13.4.0 in CI |
Having same error when running Cypress 12.17.4 in Jenkins:
|
Confirming the same error after upgrading to Cypress v13.5.1.
|
Anyone found the solution? |
Try running the build with ubuntu-latest |
Am currently running on ubuntu-latest and still having this problem :( |
Kindly get this issue fixed. I am so badly stuck |
Can people with this issue confirm it actually BREAKS something? I am getting it but the tests are still passing as usual. |
Are you stuck with that error or it proceed with the Cypress test along with this error? |
I think you're onto something as I reverted to 13.0 and still got the hanging issues. My problem is at least 1 test will hang on a white screen or a page that says "default blank page" in the test replay (seems to always be a failing test). I've read elsewhere it's a problem with retries so will maybe try turning retries off for now. |
Going by previous similar messages, the message
is probably not causing test failures, HOWEVER if your test is failing, then this may be the last message you see, so it looks as though it IS the cause. If you are seeing issues, then you should be following the Troubleshooting steps in the documentation. |
I was getting this exact error when running cypress under WSL2/win11. |
You didn't say which of the Stack Overflow solutions you used. WSLg would be the preferred one.
|
Is there a solution to this issue? I'm currently stuck here. The Cypress task runs fine locally, but it encounters this error and fails on the CI. We are running e2e tests on a self-hosted VM. Is there a way to avoid the issue |
I'm also having this issue on Bitbucket.
|
Same issue on GitLab pipeline. |
I would agree with @MikeMcC399 that this is likely not the cause of anyones hanging/failures, but the last message you see in the terminal before it fails in some people's cases. We'd need to do a git bisect to narrow down when this was introduced in 13.3.1. That would help since nothing obvious comes out as the problem looking at the changes. (This is happening in Firefox and Chrome, so not related to our Chrome manifest v3 upgrade) |
It is also reproducible testing against Electron, see /~https://github.com/cypress-io/github-action/actions/runs/7000454887/job/19041127272
|
Hi,
|
Same Problem... latest version |
It also occurs on Github Actions with node 18 and Cypress 13.5.1, 13.6.0 |
Breaks our azure pipelines builds which run tests inside Docker.
Can't upgrade past 13.2 or this blocks our build. |
The problem you are describing is not the one in this issue. |
Looking at the examples provided and the error messages provided - this message is not causing runs to fail. There is some other cause that the run is failing, where this happens to be the error message before it. Even some of the stack traces provided here prove that the error is coming from another source. Please read your terminal errors carefully and run the run in debug mode mode to print the set of logs to see where the failure is. What we will likely end up doing is parsing out this message and suppressing it from the Terminal output (as we have done before) in order to correctly direct users to the true reason their builds are failing/hanging. The long term fix will take time to update Electron. We're open to PRs to suppress the message. |
|
That may be true for you, however it is not necessarily the case for other users, including myself. I am not using |
|
It's very likely that the message
is not related to the following error:
|
Yeah seems like esm module loader error. value.replace seems like a string replace is trying to take place internally and failing. |
@MikeMcC399 @ojemuyiwa Related issue: #27466 |
I'm currently getting this error on Cypress 13.6.3. I also have
|
It's very unlikely that your problem with @cypress/code-coverage is stopping this from working. All the CircleCI workflows on https://app.circleci.com/pipelines/github/cypress-io/code-coverage?branch=master for @cypress/code-coverage succeed even though they also show the message |
You are correct. After looking into this further this issue was caused because coverage was attempting to run against a production build, while my NYC config was not set to instrument in a prod environment. Thanks for the response though 👍 |
Still seems to be an issue on 13.6.4, azure vm with ubuntu-latest. Still not something that breaks, but looks really out of place when you are just trying to figure out what the issue is with something. |
Thanks for your cross-check! I had already updated the original post to include Cypress #28061 (comment) said that they are open to PRs to suppress the message. Nobody has come forward so far and the Cypress.io team hasn't actively pick it up either, so the error message remains. |
still annoying |
I am also facing a similar issue, I am trying to build a ci/cd pipeline, in which I also have added step to run e2e tests with cypress. I am not using typescript for this project, and the tests are passing on my local machine (although there also I am getting this warning, but still tests are passing). For the reference, this is my pipeline.yml file, in which I have also tried using ubuntu-latest -
The workflow just gets stuck after the error shown in first screenshot, and I have to cancel it, if someone is having any idea how to solve it then kindly respond. For the complete code, refer this - /~https://github.com/harshitBhardwaj97/Full-Stack-Open-Pokedex-CICD |
Your problems are not due to the message
I suggest you remove the line command: npm run test:e2e and the action will automatically run your tests. You can get support from the Cypress technical community on Discord Also, you should probably be using the current action version |
Thanks a ton @MikeMcC399, kindly excuse if I asked a very basic question, I am self taught aspiring engineer, and I was following the instructions that were told to me. Once again thanks, now the CI pipeline is executing e2e tests as well - So I guess the key takeaway here is, that cypress-io/github-action@v6 internally is responsible executing the tests. |
Your problem was that you were trying to run Cypress in open (interactive) mode through |
This issue no longer occurs after updating to cypress@13.3.5 (released Feb 20, 2024).
|
Confirming that we can no longer reproduce this on Cypress 13.6.6 in CI |
@MikeMcC399 Oh, interesting. I must have missed a backport of this because I thought it was only in Electron 28. Great!! |
I was not able to find any reference to this issue on /~https://github.com/electron/electron and so I can't name any relevant Electron PR. If you happen to know which PR might have been responsible, you're welcome to add a reference to it here. If not, don't worry! |
Did you ever resolve this issue? |
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:
This is new in Cypress 13.3.1 and is a regression from Cypress 13.3.0.
It affects for instance:
22.04
/ Node.js20.8.0
22.04
in 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:
There should be no message with the following text output:
Test code to reproduce
Workflows from Cypress repos show the issue since the update to Cypress
13.3.1
: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
Other
Error history
13.0.0
/13.1.0
showed (see also ERROR:gpu_memory_buffer_support_x11 on GitHub Ubuntu #25357):Cypress
13.2.0
and13.3.0
were free from ERROR codes on startingCypress
13.3.1
->13.6.0
show:The text was updated successfully, but these errors were encountered: