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.
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.
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.
(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
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.