Giter VIP home page Giter VIP logo

Comments (4)

mxschmitt avatar mxschmitt commented on May 17, 2024

pw:browser [pid=2510][err] [2510:0417/152447.115131:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY +240ms

Try doing xvfb-run npm run test:debug:linux since Electron asks for an X server but there is none.

from playwright.

Aenardhil avatar Aenardhil commented on May 17, 2024

With this xvfb-run i got this new error instead:

xvfb-run npm run test:debug:linux
>  test:debug:linux
> DEBUG=pw:browser npx playwright test
Running 4 tests using 1 worker
  pw:browser <launching> /opt/atlassian/pipelines/agent/build/electron-desktop/node_modules/electron/dist/electron -r /opt/atlassian/pipelines/agent/build/electron-desktop/node_modules/playwright-core/lib/server/electron/loader.js --no-sandbox --inspect=0 --remote-debugging-port=0 dist/main.js +0ms
  pw:browser <launched> pid=2736 +7ms
  pw:browser [pid=2736][err] [2736:0418/094503.439891:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory +99ms
  pw:browser [pid=2736][err] Debugger listening on ws://127.0.0.1:44091/2ef4c5be-737d-418f-a336-eff3528a93f2 +42ms
  pw:browser [pid=2736][err] For help, see: https://nodejs.org/en/docs/inspector +0ms
  pw:browser <ws connecting> ws://127.0.0.1:44091/2ef4c5be-737d-418f-a336-eff3528a93f2 +1ms
  pw:browser <ws connected> ws://127.0.0.1:44091/2ef4c5be-737d-418f-a336-eff3528a93f2 +11ms
  pw:browser [pid=2736][err] Debugger attached. +1ms
  pw:browser [pid=2736][err] [2736:0418/094503.842482:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory +347ms
  pw:browser [pid=2736][err] [2736:0418/094503.842528:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory +1ms
  pw:browser [pid=2736][err] [2736:0418/094503.844131:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +1ms
  pw:browser [pid=2736][err] [2736:0418/094503.844174:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +0ms
  pw:browser [pid=2736][err] [2736:0418/094503.844192:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +0ms
  pw:browser [pid=2736][err] [2736:0418/094503.844208:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +0ms
  pw:browser [pid=2736][err] [2736:0418/094503.846820:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 2762: Permission denied (13) +2ms
  pw:browser [pid=2736][err]  +2ms
  pw:browser [pid=2736][err] DevTools listening on ws://127.0.0.1:33243/devtools/browser/87b6840c-fc33-4a06-8872-560463a9ccc0 +0ms
  pw:browser <ws connecting> ws://127.0.0.1:33243/devtools/browser/87b6840c-fc33-4a06-8872-560463a9ccc0 +0ms
  pw:browser [pid=2736][err] [2736:0418/094503.856285:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type:  +8ms
  pw:browser <ws connected> ws://127.0.0.1:33243/devtools/browser/87b6840c-fc33-4a06-8872-560463a9ccc0 +2ms
  pw:browser [pid=2736][err] [2736:0418/094503.893148:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +36ms
  pw:browser [pid=2736][err] [2736:0418/094503.896732:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 2779: Permission denied (13) +2ms
  pw:browser <ws disconnecting> ws://127.0.0.1:44091/2ef4c5be-737d-418f-a336-eff3528a93f2 +65ms
  pw:browser [pid=2736][err] Waiting for the debugger to disconnect... +5ms
  pw:browser [pid=2736][err] [2762:0418/094503.966560:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization +0ms
  pw:browser <ws disconnecting> ws://127.0.0.1:44091/2ef4c5be-737d-418f-a336-eff3528a93f2 +1ms
  pw:browser <ws disconnected> ws://127.0.0.1:44091/2ef4c5be-737d-418f-a336-eff3528a93f2 code=1005 reason= +3ms
  pw:browser <ws disconnected> ws://127.0.0.1:33243/devtools/browser/87b6840c-fc33-4a06-8872-560463a9ccc0 code=1006 reason= +23ms
  pw:browser [pid=2736] <process did exit: exitCode=0, signal=null> +18ms
  pw:browser [pid=2736] starting temporary directories cleanup +1ms
  pw:browser [pid=2736] finished temporary directories cleanup +15ms

from playwright.

yury-s avatar yury-s commented on May 17, 2024

With this xvfb-run i got this new error instead:

What exactly is not working?

Can you share complete reproduction, so that we could try it locally?

from playwright.

yury-s avatar yury-s commented on May 17, 2024

We need more information to act on this report. Please file a new one and link to this issue when you get back to it!

from playwright.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.