WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
245332
[WPE][GTK] a11y dbus proxy is set-up too early
https://bugs.webkit.org/show_bug.cgi?id=245332
Summary
[WPE][GTK] a11y dbus proxy is set-up too early
Philippe Normand
Reported
2022-09-18 04:19:58 PDT
When running layout tests on a headless bot (WPE Debug Tests for instance), the "setup_a11y_proxy()" method emits a warning and returns an empty list: Error connecting: Cannot autolaunch D-Bus without X11 $DISPLAY Failed to get a11y address Command '('gdbus', 'call', '-e', '-d', 'org.a11y.Bus', '-o', '/org/a11y/bus', '-m', 'org.a11y.Bus.GetAddress')' returned non-zero exit status 1. I suspect that's then triggering a bunch of accessibility timeouts on the bot and harness bails out early... On this specific bot (
https://build.webkit.org/#/builders/14
) it seems(?) there's no dbus running at all either... If we want to keep running this gdbus call that early (before xvfb has been started), we need to make sure all bots have a working dbus setup, since auto-launching clearly is not working out.
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2022-09-18 07:23:13 PDT
Maybe run xvfb under dbus-run-session?
Carlos Garcia Campos
Comment 2
2022-09-19 00:57:42 PDT
The layout tests don't use atspi service at all, so we don't needs to start it. It's needed for the unit tests, though.
Philippe Normand
Comment 3
2022-09-22 10:23:00 PDT
The WebProcess becomes un-responsive on the WPE Debug bot, I don't know why: 20:30:56.465 3 worker/0 starting 20:30:56.467 3 worker/1 starting 20:30:56.468 3 worker/2 starting 20:30:56.470 3 worker/3 starting 20:30:56.472 3 worker/4 starting 20:31:11.825 3 worker/1 WPEWebProcess is unresponsive, pid = None 20:31:11.829 3 worker/4 WPEWebProcess is unresponsive, pid = None 20:31:11.829 3 worker/2 WPEWebProcess is unresponsive, pid = None 20:31:11.832 3 worker/0 WPEWebProcess is unresponsive, pid = None 20:31:11.834 3 worker/2 worker/2 animations/CSSKeyframesRule-name-null.html output stderr lines: 20:31:11.842 3 worker/2 Failed to load 'about:blank', terminating process and trying again. 20:31:11.843 3 worker/2 WPEWebProcess terminated (pid 0) for reason: requested by client 20:31:11.843 3 worker/2 Failed to load 'about:blank' again after termination. 20:31:11.844 3 worker/2 <unknown> - TestController::run - Failed to reset state to consistent values 20:31:11.844 3 worker/2 #PROCESS UNRESPONSIVE - WPEWebProcess
Philippe Normand
Comment 4
2022-09-22 10:25:02 PDT
And it seems this has been going possibly since February 2022.
Philippe Normand
Comment 5
2022-09-22 10:47:13 PDT
Another issue, possibly orthogonal to this one here, but might contribute to timeouts... we keep gathering crash dumps even for expected crashes. Isn't that a bit of a waste of virtual virtual CPU cycles? Expected crashes are not linked in the results page.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug