Skip to content

Conversation

@smaye81
Copy link
Member

@smaye81 smaye81 commented Oct 24, 2024

From Puppeteer docs:

Ubuntu 23.10+ (or possibly other Linux distros in the future) ship an AppArmor profile that applies to Chrome stable binaries installed at /opt/google/chrome/chrome (the default installation path). This policy is stored at /etc/apparmor.d/chrome. This AppArmor policy prevents Chrome for Testing binaries downloaded by Puppeteer from using user namespaces resulting in the No usable sandbox! error when trying to launch the browser

We are currently seeing this error in CI due to our usage of ubuntu-latest in our CI Github Action images. It seems that Puppeteer has disabled this check as part of puppeteer/puppeteer#13196, but it doesn't look like this has been released yet. Once it has, we could potentially update to that latest version of Puppeteer and reinstate usage of ubuntu-latest. In the meantime, though, this pins our CI image to ubuntu-22.04 to get CI to pass.

@github-actions
Copy link

github-actions bot commented Oct 24, 2024

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 24, 2024, 2:55 PM

Steve Ayers added 2 commits October 24, 2024 10:54
Signed-off-by: Steve Ayers <[email protected]>
Signed-off-by: Steve Ayers <[email protected]>
@smaye81 smaye81 force-pushed the sayers/pin_to_ubuntu_2204 branch from 181b6c0 to 1164263 Compare October 24, 2024 14:54
Signed-off-by: Steve Ayers <[email protected]>
@smaye81 smaye81 requested a review from jhump October 24, 2024 15:09
Copy link
Member

@jhump jhump left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superb!

@smaye81 smaye81 merged commit dba56d5 into main Oct 24, 2024
@smaye81 smaye81 deleted the sayers/pin_to_ubuntu_2204 branch October 24, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants