Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress Not Starting in Gitlab Pipeline Env #948

Closed
JacobMcSheffrey opened this issue Oct 16, 2023 · 3 comments
Closed

Cypress Not Starting in Gitlab Pipeline Env #948

JacobMcSheffrey opened this issue Oct 16, 2023 · 3 comments
Labels

Comments

@JacobMcSheffrey
Copy link

JacobMcSheffrey commented Oct 16, 2023

I'm using the cypress/browsers:node16.13.2-chrome100-ff98 base image and can't seem to figure out why cypress won't start in my GitLab CI environment. Console output below:

image

For some additional context, im using Nx to run cypress (npx nx e2e ) as i have a nrwl workspace for this project. App compiles just fine. I seem to be able to successfully build a docker image using this particular parent image locally and run cypress without issue. I'm starting to wonder if the problem could be related to the VM the docker container is running on (ubuntu 20.04, has 4vCPU and 16GiB memory). Also worth noting im not using root user. I've set npm and cypress cache to custom directories - not sure if this is advisable / could be related to the problem, but any advice greatly appreciated!

@JacobMcSheffrey JacobMcSheffrey changed the title Cypress Failed to Start in Gitlab Pipeline Cypress Not Starting in Gitlab Pipeline Env Oct 16, 2023
@dusekmat
Copy link

dusekmat commented Oct 17, 2023

Hello, we are using a Docker image based on Cypress Factory, and we've encountered the same issue with our GitLab CI runs since this morning.

Console output:

[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] Command was killed with SIGTRAP (Debugger breakpoint): /../cache/12.4.0/Cypress/Cypress --no-sandbox --smoke-test --ping=396
[FAILED] 
[FAILED] ----------
[FAILED] 
[FAILED] Platform: linux-x64 (Debian - 11.6)
[FAILED] Cypress Version: 12.4.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.
----------
Command was killed with SIGTRAP (Debugger breakpoint): /.../cache/12.4.0/Cypress/Cypress --no-sandbox --smoke-test --ping=396

@MikeMcC399 MikeMcC399 added the bug label May 24, 2024
@MikeMcC399
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants