cypress-io / cypress-docker-images

Docker images with Cypress dependencies and browsers

Home Page:https://on.cypress.io/continuous-integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cypress/Browser Docker image is not working

varshanharshank opened this issue · comments

e. I have Successfully pulled the below images but getting the below error.

node18.12.0-chrome103-ff107
node18.12.0-chrome106-ff106
node18.12.0-chrome107
node18.6.0-chrome105-ff104

image

image

commented

Hello @varshanharshank , are these cypress containers? Can you please describe in more detail exactly what you are doing and what steps you are taking? Please also share any debugging steps you have tried.

Hello @varshanharshank , are these cypress containers? Can you please describe in more detail exactly what you are doing and what steps you are taking? Please also share any debugging steps you have tried.

The below docker image is used for executing the cypress scripts via Jenkins. I have successfully pulled this image in Jenkins but it is showing that container is not running

cypress/browsers:node18.12.0-chrome103-ff107
cypress/browsers:node18.12.0-chrome106-ff106
cypress/browsers:node18.12.0-chrome107
cypress/browsers:node18.6.0-chrome105-ff104

image

image

Getting the following error "The Cypress App could not be unzipped" while using the below image in Jenkins

cypress/browsers:node16.18.0-chrome107-ff106-edge
cypress/browsers:node16.16.0-chrome107-ff107-edge

image

Example repo cypress-io/cypress-example-kitchensink uses the Docker image

cypress/browsers:node18.12.0-chrome107

in .github/workflows/chrome-docker.yml
and runs successfully with it, as the log for job 8873770843 shows. So it seems there is nothing wrong with the Docker images themselves.

@varshanharshank I would look into the error message itself "Target directory is expected to be absolute"

I found a similar error and comment that appears to solve it here: cypress-io/cypress#2691 (comment)

A lot might have changed in 5 years but it seems your solution would be to provide an absolute path in some similar way to this. Let me know if this works for you.

I'm going to close this one for now until we have some more information that there is definitely a problem. Please comment back here if there is more to do from the Cypress side.