garris / garris/BackstopJS

Sometimes: Fontconfig warning / Failed to connect to socket when running BackstopJS 6.0.4 in a docker container

Open
#1,390 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

This error occurs sporadically, e.g. in two of 26 test runs
```log
URL > ...
BROWSER: > HeadlessChrome/97.0.4691.0
COMMAND | Command "test" ended with an error after [46.821s]
COMMAND | Error: Failed to launch the browser process!
Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
[0126/024642.946354:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Inconsistency detected by ld.so: ../elf/dl-tls.c: 493: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (/usr/local/lib/node_modules/backstopjs/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:229:20)
at ChildProcess. (/usr/local/lib/node_modules/backstopjs/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:220:79)
at ChildProcess.emit (events.js:387:35)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
```
Docker Version 20.10.12
Ubuntu Version 20.04.3 LTS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.