loki
loki copied to clipboard
Gitlabs CI timeout on debugger
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"
}
}
}
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.
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
Any progress on that one @nowells?
Not yet, I'll pick it back up tonight and see what I can do. Sorry for the delay!
Hi, Is there any update on this? Thanks
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