NEW182764
[GTK] error: XDG_RUNTIME_DIR not set in the test environment.
https://bugs.webkit.org/show_bug.cgi?id=182764
Summary [GTK] error: XDG_RUNTIME_DIR not set in the test environment.
Michael Catanzaro
Reported 2018-02-13 19:42:48 PST
We have dozens of tests printing the following stderr output: error: XDG_RUNTIME_DIR not set in the environment. I'm kinda surprised that anything works without XDG_RUNTIME_DIR set. Should be set to the user-private directory under /run, commonly /run/user/1000.
Attachments
Michael Catanzaro
Comment 1 2018-02-27 14:43:31 PST
Hey Carlos Lopez, can you check what is wrong with the bots? This is not an environment variable that our test scripts should have to set up for themselves.
Michael Catanzaro
Comment 2 2018-06-03 10:32:42 PDT
Adrian, is this something you could help with? We currently have 263 tests with stderr output, and I guess this is responsible for quite a few of them.
Carlos Alberto Lopez Perez
Comment 3 2018-06-18 05:51:33 PDT
(In reply to Michael Catanzaro from comment #1) > Hey Carlos Lopez, can you check what is wrong with the bots? This is not an > environment variable that our test scripts should have to set up for > themselves. In our case it is. That environment variable may be set when a user session is created, but in case of the bots there is no user session as such... its just a daemontool service executing the job as the buildbot user. This was already set on the wayland and perf bots (those run under a real X11/wayland session), but not on the others that run over xvfb. I will be ensuring this environment variable is properly set when starting the service on all.
Note You need to log in before you can comment on or make changes to this bug.