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

Loki + Gitlab CI + target.chorme: EHOSTUNREACH #522

Open
tqlucitvn opened this issue Jul 1, 2024 · 0 comments
Open

Loki + Gitlab CI + target.chorme: EHOSTUNREACH #522

tqlucitvn opened this issue Jul 1, 2024 · 0 comments

Comments

@tqlucitvn
Copy link

I'm facing an error with chrome.target running on Gitlab CI,
Here is my CI config:

"storybook:test:vr:update": "concurrently --kill-others --raw --success first 'loki --requireReference --reactUri file:./storybook-static --chromeDockerImage=yukinying/chrome-headless-browser-stable:118.0.5993.117 --chromeFlags='--headless --disable-gpu --hide-scrollbars'' 'deelay'"
  image: docker:dind
  allow_failure: true
  extends: .retry-job-on-failure
  stage: 'test'
  before_script:
    - apk add --update nodejs npm
    - export NODE_ENV=developmentsss
    - echo "NODE_ENV is set $NODE_ENV"
    - echo "Target branch is $TARGET_BRANCH"
    - echo "Current branch is $CURRENT_BRANCH"
  script:
    - npm run storybook:test:vr:update
    - npm run storybook:test:vr:test
  timeout: 30 minutes
  artifacts:
    untracked: true
    paths:
      - .loki/difference/
      - .loki/reference/
      - .loki/current/
      - storybook.log
      - storybook-static/
    expire_in: 7 days
  only:
    - merge_requests
    - develop
    - main

And CI log:

loki test v0.35.0
(node:118) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
PASS chrome.docker/PREPARE
Waiting for 172.18.0.2:24633.FAIL chrome.docker/START: connect EHOSTUNREACH 172.18.0.2:24633
FAIL chrome.docker: Some tasks failed to run
Some visual tests failed to run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant