cli icon indicating copy to clipboard operation
cli copied to clipboard

Flaky Lighthouse plugin - `Unable to connect to Chrome`

Open Tlacenka opened this issue 1 year ago • 9 comments

What happened?

Sometimes running the Code PushUp fails for the Lighthouse plugin due to a refused connection to Chrome.

What would you expect to happen?

The pipelines are stable.

What steps did you take?

I opened a PR which executed the CI pipeline along with the Code PushUp step.

Code PushUp package version

0.25.2

What operation system are you on?

Linux

Node version

18.18.2

Relevant log output

Pipeline run here.

Tlacenka avatar Mar 05 '24 15:03 Tlacenka

related to #549

vmasek avatar Mar 25 '24 13:03 vmasek

@BioPhoton Happened 3 times in a row for me just now 😞 https://github.com/code-pushup/cli/actions/runs/8440023209/job/23116293386

matejchalk avatar Mar 26 '24 17:03 matejchalk

I added a trouble shooting guide to the lighthouse plugin. This should enable to fix it.

BioPhoton avatar Mar 28 '24 02:03 BioPhoton

I would close this one for now as a time increase and reduction of audits made it pretty stable

BioPhoton avatar Jul 11 '24 16:07 BioPhoton

Related to "unable to connect to Chrome" error, will reopen on re-occurrence in future

vmasek avatar Jul 18 '24 12:07 vmasek

@BioPhoton It reocurred for our latest commit 😅 https://github.com/code-pushup/cli/actions/runs/9959791924/job/27517455858#step:6:580 So definitely not solved, re-opening 🐞

matejchalk avatar Jul 21 '24 09:07 matejchalk

2 more occurrences today (both on Windows, both passed after retry):

  • https://github.com/code-pushup/cli/actions/runs/10040070408/job/27745333948?pr=755#step:6:573
  • https://github.com/code-pushup/cli/actions/runs/10040069547/job/27745331001?pr=755#step:6:562

matejchalk avatar Jul 22 '24 12:07 matejchalk

2 more occurrences today, both in Windows, seems to be a strong pattern:

  • https://github.com/code-pushup/cli/actions/runs/10078500367/job/27863548992?pr=749#step:6:587
  • https://github.com/code-pushup/cli/actions/runs/10078667121/job/27864107893?pr=765#step:6:572

matejchalk avatar Jul 24 '24 14:07 matejchalk

Happened again today, this time on Ubuntu (passed after retry):

  • https://github.com/code-pushup/cli/actions/runs/10386171919/job/28756870988#step:6:706

matejchalk avatar Aug 14 '24 11:08 matejchalk