Cypress 测试运行程序通过 CircleCI 中带有信号 SIGSEGV 的退出事件意外退出

Abd*_*oob 15 javascript circleci cypress


我被这个问题困住了。我正在运行柏树测试。当我在本地运行时,它运行顺利。当我在circleCI中运行时,它在执行后抛出错误。
这是我得到的:

[334:1020/170552.614728: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
[334:1020/170552.616006:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[334:1020/170552.616185:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[521:1020/170552.652819:ERROR:gpu_init.cc(441)] Passthrough is not supported, GL is swiftshader
Run Code Online (Sandbox Code Playgroud)

当前行为:
当我在circleCI 上无头运行我的规范时,Cypress 因套接字错误而意外关闭。

错误信息

测试运行器通过带有信号 SIGSEGV 的退出事件意外退出

请搜索赛普拉斯文档以获取可能的解决方案:

https://on.cypress.io


平台: linux (Debian - 10.5)
Cypress 版本: 8.6.0

Abd*_*oob 7

通过将 cypress 版本恢复到 7.6.0 解决了问题。