Closed
Description
Switching from 8.7.0 to 9.0.0 image breaks our current Jenkins build with the following errors:
12:46:08 > cypress run "--config-file" "config/ci.json" "--headless" "--browser" "chrome" "--record" "--key=****"
12:46:08
12:46:09 [126:1117/194609.299483:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
12:46:09 [126:1117/194609.300787:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
12:46:09 [126:1117/194609.300812:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
12:46:09 [126:1117/194609.302689:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 316: Permission denied (13)
12:46:09 [316:1117/194609.311910:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
12:46:11 [OperationalError: EACCES: permission denied, mkdir '/root/.config/Cypress/cy/production/proxy'
12:46:11
12:46:11 ] {
12:46:11 cause: [Error: EACCES: permission denied, mkdir '/root/.config/Cypress/cy/production/proxy'
12:46:11
12:46:11 ] {
12:46:11 errno: -13,
12:46:11 code: 'EACCES',
12:46:11 syscall: 'mkdir',
12:46:11 path: '/root/.config/Cypress/cy/production/proxy'
12:46:11 },
12:46:11 isOperational: true,
12:46:11 errno: -13,
12:46:11 code: 'EACCES',
12:46:11 syscall: 'mkdir',
12:46:11 path: '/root/.config/Cypress/cy/production/proxy'
12:46:11 }
12:46:11 Error: EACCES: permission denied, mkdir '/root/.config/Cypress/cy/production/proxy'```
The warnings fail the build.
If I run the image locally as specified in the readme docker run -it -v $PWD:/e2e -w /e2e cypress/included:9.0.0
I get the following warnings, though the tests still run:
% docker run -it -v $PWD:/e2e -w /e2e cypress/included:9.0.0
[18:1117/205925.216129:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[18:1117/205925.219185:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[18:1117/205925.219244:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[186:1117/205925.244039:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
[18:1117/205928.199477:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
Looking around for solutions indicates the dbus line
ENV DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
but I"m not that familiar with it to tell if that's the reason.
Metadata
Metadata
Assignees
Labels
No labels