Skip to content
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

Tests relying on Chromium do not pass on Ubuntu 24+ #1104

Open
frankieroberto opened this issue Jan 14, 2025 · 0 comments
Open

Tests relying on Chromium do not pass on Ubuntu 24+ #1104

frankieroberto opened this issue Jan 14, 2025 · 0 comments
Labels
🐛 bug Something isn't working the way it should (including incorrect wording in documentation)

Comments

@frankieroberto
Copy link
Contributor

The visual regression tests, and some of the unit tests, fail when being run by GitHub on the latest version (v24) of Ubuntu, with the following error:

Failed to launch the browser process!
[2459:2459:0114/164343.195445:FATAL:zygote_host_impl_linux.cc(126)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
[0114/164343.206985:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0114/164343.207179:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

TROUBLESHOOTING: https://pptr.dev/troubleshooting

at ChildProcess.onClose (node_modules/@puppeteer/browsers/src/launch.ts:436:11)

See https://github.com/nhsuk/nhsuk-frontend/actions/runs/12772313119/job/35601543879 for the full logs

@frankieroberto frankieroberto added the 🐛 bug Something isn't working the way it should (including incorrect wording in documentation) label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working the way it should (including incorrect wording in documentation)
Projects
None yet
Development

No branches or pull requests

1 participant