-
Notifications
You must be signed in to change notification settings - Fork 652
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
gitlab ci blocks during run #1031
Comments
I also got this. Any solution? |
Has the npm package been compromised?
|
no 😞 |
I have the same issue with the following CI config: lighthouse:
stage: .pre
image: cypress/browsers:node16.17.0-chrome106
script:
- npm install -g @lhci/[email protected]
- lhci autorun --upload.target=temporary-public-storage --collect.settings.chromeFlags="--no-sandbox" --collect.staticDistDir="wiki/pages" --collect.numberOfRuns=1 || echo "LHCI failed!" |
I found a solution. I executed this download-chrome.sh to install Chrome, and then set the environment variable |
Any news on this? I am also facing this kind of issue |
here |
How does it work? The script already checks for |
Manage to "Fix" this by using Node 22 and setting the following flag:
|
Turns out that was only for one pipeline. It's happening again. Have opened #1070 to figure out whats going on. Not giving up on this one! |
With debugging turned on looks like it's blocking connecting to Chrome:
Just sits there waiting at that. Debugging continues. |
Ok - I don't know why but this is related to the version of Chrome used. I downgraded from 128 to 127 and everything started working fine again. |
We faced the same issue, we fixed it by using a newer version of the container, it has updates of node and Chrome, so we don't know the root cause. This never ends: docker run --rm -it cypress/browsers:node-20.5.0-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1 \
bash -c 'yarn global add @lhci/[email protected] ; lhci collect --url https://www.google.com \
--collect.settings.chromeFlags="--no-sandbox"' This works: docker run --rm -it cypress/browsers:node-20.17.0-chrome-128.0.6613.119-1-ff-130.0-edge-128.0.2739.63-1 \
bash -c 'yarn global add @lhci/[email protected] ; lhci collect --url https://www.google.com \
--collect.settings.chromeFlags="--no-sandbox"' |
This has also happened to me all of a sudden without any recent changes, my lighthouse CI in github actions took forever until it passed the time limit. And I managed to fix the issue. For my case, I'm using the chrome version from [email protected] package that we're using to authenticate the LHCI request. I believe that is still using older chrome version than the latest version now. I tried to update puppeteer to version But I wonder is there any flag command like |
lighthouserc.js
.gitlab-ci.yml
The text was updated successfully, but these errors were encountered: