cypress-docker-images icon indicating copy to clipboard operation
cypress-docker-images copied to clipboard

The Test Runner unexpectedly exited via a close event with signal SIGSEGV

Open azaeng199104 opened this issue 3 years ago • 1 comments

Executing Cypress 9.6.0 throws the below error

Screenshot 2022-04-26 at 14 19 56

I have XQuartz running with my $DISPLAY variable set to: /private/tmp/com.apple.launchd.F7iXdpUeWD/org.xquartz:0

This is my docker-compose config:

  cy:
    image: cypress/included:9.6.0
    volumes:
      - ./:/app/
      - /tmp/.X11-unix:/tmp/.X11-unix
      - ~/.Xauthority:/root/.Xauthority
    depends_on:
      - nextjs
    entrypoint: []
    working_dir: /app/
    environment:
      DISPLAY: $DISPLAY
    network_mode: "host"

Any idea what I am not doing?

azaeng199104 avatar Apr 26 '22 12:04 azaeng199104

Getting the same error in the same base image, thou with different setup - just tests, no DISPLAY, with and without volumes. Whats interesting - few tests are passed, and it always falls on the same test (3rd spec file in a row), which seems nothing different to previous 2. also - there is no stacktrace and\or --verbose flag, so nothing more to report.


Platform: linux-x64 (Debian - 11.3) Cypress Version: 9.5.2 error Command failed with exit code 1.

elkemper avatar Jun 16 '22 11:06 elkemper