loki icon indicating copy to clipboard operation
loki copied to clipboard

Gitlabs CI timeout on debugger

Open geraintf opened this issue 6 years ago • 5 comments

I am getting a timeout error when trying to run loki in gitlabs CI.

Timed out waiting for Chrome Debugger to appear on 172.x.x.x:42676

Using this version of Loki: https://github.com/oblador/loki/pull/90

.gitlab-ci.yml

visual-regression-test:
  <<: *apply_runner_tags
  <<: *skip_on_tags
  stage: test
  image: an-internal- (this image installs node 8.x and installs docker via apk add --update --no-cache docker)
  script:
    - cd packages/ui-components
    - docker info
    - npm run vr:ci-test (build-storybook && loki --requireReference --reactUri file:./storybook-static)

loki config

  "loki": {
    "storiesFilter": "^(?:(?!(Spinner)|(Carousel)|(Scenes)).)*$",
    "configurations": {
      "chrome.laptop": {
        "target": "chrome.docker",
        "width": 1200,
        "height": 768
      },
      "chrome.iphone7": {
        "target": "chrome.docker",
        "preset": "iPhone 7"
      }
    }
  }

screen shot 2018-07-20 at 16 55 21

I believe it comes from this line https://github.com/oblador/loki/pull/90/files#diff-b75c1e1e6b0fa125e76a9f03fe7716c5R171, it seems that maybe to it thinks its found docker (or maybe it has) but the ip/port is wrong.

geraintf avatar Jul 20 '18 16:07 geraintf

After debugging it seems it is due to docker sibling being broken as part of #90 - I guess I'll have to wait until its fixed as part of this

geraintf avatar Jul 24 '18 13:07 geraintf

Any progress on that one @nowells?

oblador avatar Jul 24 '18 13:07 oblador

Not yet, I'll pick it back up tonight and see what I can do. Sorry for the delay!

nowells avatar Jul 24 '18 14:07 nowells

Hi, Is there any update on this? Thanks

geraintf avatar Aug 06 '18 12:08 geraintf

I'm still having trouble using loki as part of gitlabs until this gets resolved (and this means that we don't get much value from it until then). I would offer to assist with the PR but docker isn't really my forte

geraintf avatar Jan 03 '19 15:01 geraintf