Random crashs of the test job in CI
Two types of errors are possible:
When starting Cypress (https://gitlab.esrf.fr/workflow/ewoks/ewoksweb/-/jobs/1029550)
[STARTED] Task without title.
[FAILED] Cypress failed to start.
[FAILED]
[FAILED] This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
[FAILED]
[FAILED] Please refer to the error below for more details.
[FAILED]
[FAILED] ----------
[FAILED]
[FAILED] [3884:0412/050432.381070:WARNING:discardable_shared_memory_manager.cc(197)] Less than 64MB of free space in temporary directory for shared memory files: 63
[FAILED] [3884:0412/050432.381485:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[FAILED]
[FAILED] ----------
[FAILED]
[FAILED] Platform: linux-x64 (Debian - 11.5)
[FAILED] Cypress Version: 13.3.0
Cypress failed to start.
This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
Please refer to the error below for more details.
----------
[3884:0412/050432.381070:WARNING:discardable_shared_memory_manager.cc(197)] Less than 64MB of free space in temporary directory for shared memory files: 63
[3884:0412/050432.381485:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
----------
When Cypress is running (https://gitlab.esrf.fr/workflow/ewoks/ewoksweb/-/jobs/1030348)
[4112:0100/000000.757244:ERROR:connection.cc(46)] X connection error received.
[4112:0100/000000.757366:ERROR:connection.cc(46)] X connection error received.
The Test Runner unexpectedly exited via a exit event with signal SIGSEGV
Please search Cypress documentation for possible solutions:
https://on.cypress.io
Check if there is a GitHub issue describing this crash:
https://github.com/cypress-io/cypress/issues
Consider opening a new issue.
Edited by Loic Huder