Skip to content

Conversation

@lquixada
Copy link
Owner

@lquixada lquixada commented Apr 12, 2025

This PR fixes the following error when running mocha-headless-chrome on browser tests.

Error: Failed to launch the browser process!
[0412/132242.907137:FATAL:zygote_host_impl_linux.cc(117)] 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.
#0 0x555f91c40b89 base::debug::CollectStackTrace()
#1 0x555f91ba5433 base::debug::StackTrace::StackTrace()
#2 0x555f91bb8330 logging::LogMessage::~LogMessage()
#3 0x555f8fb9d99b content::ZygoteHostImpl::Init()
#4 0x555f9174e372 content::ContentMainRunnerImpl::Initialize()
#5 0x555f9174c439 content::RunContentProcess()
#6 0x555f9174c58e content::ContentMain()
#7 0x555f917a7d7a headless::(anonymous namespace)::RunContentMain()
#8 0x555f917a7a85 headless::HeadlessShellMain()
#9 0x555f8e20b3e8 ChromeMain
#10 0x7f8ddac2a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9)
#11 0x7f8ddac2a28b __libc_start_main
#12 0x555f8e20b22a _start

@lquixada lquixada force-pushed the puppeteer-fix branch 2 times, most recently from 9b81e9a to a998008 Compare April 12, 2025 13:27
@lquixada lquixada merged commit 875de44 into v4.x Apr 12, 2025
12 checks passed
@lquixada lquixada deleted the puppeteer-fix branch April 12, 2025 13:33
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.

2 participants