CircleCI-Public / cimg-ruby

The CircleCI Ruby Docker Convenience Image.
https://circleci.com/developer/images/image/cimg/ruby
MIT License
32 stars 39 forks source link

Bug Report: google-chrome-stable: command not found #178

Closed bmorrall closed 2 months ago

bmorrall commented 2 months ago

Describe the bug The "Install Google Chrome" step fails with the following error:

Google Chrome 124.0.6367.78 is currently installed; replacing it
^@^@Preparing Chrome installation for Debian-based systems
https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_116.0.5845.96-1_amd64.deb:
2024-07-18 23:04:23 ERROR 404: Not Found.
/bin/bash: line 130: google-chrome-stable: command not found
Google Chrome v116.0.5845.96 (stable) failed to install.

Exited with code exit status 1

To Reproduce Run a workflow, with:

image: cimg/ruby:3.2-browsers

Expected behavior The step passes, and my feature specs run.

Workarounds Custom install of Google Chrome without the browsers branch (nasty)

Screenshots and Build Links Can't share full details of our build, but this is what I can:

Screenshot 2024-07-19 at 9 08 39 AM Screenshot 2024-07-19 at 9 09 21 AM

Additional context It broke yesterday morning ~11AM +1000, would've hoped it was temporary blip and would either fix itself, or be fixed.

bmorrall commented 2 months ago

I just noted by browser-tools was out of date... giving it a bump.

It's too early in the morning for this ☕

bmorrall commented 2 months ago

Closing this and reporting it to browser-tools.

bmorrall commented 2 months ago

For future clarity, to myself and others. We had an older version of chrome locked in as the target version.

The older version was locked in to get around a bug related to Google changing how it handles Chromedriver versions (which broke our build in 2023).

Replacing the version lock (with latest) fixed the build pipeline.