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

[Bug] Failing on Ubuntu 23+ #46

Open
AndreasPelzer opened this issue Jan 6, 2025 · 0 comments · Fixed by disaac/job-summary#1 · May be fixed by #47
Open

[Bug] Failing on Ubuntu 23+ #46

AndreasPelzer opened this issue Jan 6, 2025 · 0 comments · Fixed by disaac/job-summary#1 · May be fixed by #47
Assignees
Labels
bug Something isn't working

Comments

@AndreasPelzer
Copy link

What happened?

action runs successful on Ubuntu 22.* but fails on Ubuntu 24.* This is an issue as GitHub currently upgrades their action runners to Ubuntu 24.*.

Relevant log output

ListrError: Something went wrong
    at /opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/md-to-pdf/node_modules/listr/index.js:102:18
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async main (/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/md-to-pdf/dist/cli.js:120:5) {
  errors: [
    Error: Failed to launch the browser process!
    [2075:2075:0106/164102.276589:FATAL:zygote_host_impl_linux.cc(128)] No usable sandbox! If you are running on Ubuntu 23.10+ or another Linux distro that has disabled unprivileged user namespaces with AppArmor, see https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md. Otherwise see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the (older) SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
    [0106/164102.287071:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
    [0106/164102.287135:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

Contact Details

[email protected]

@AndreasPelzer AndreasPelzer added the bug Something isn't working label Jan 6, 2025
disaac added a commit to disaac/job-summary that referenced this issue Jan 8, 2025
* Updated args to md-to-pdf to include a --no-sandbox argument to puppeteer. See [simonhaenisch/md-to-pdf Issue austenstone#20](simonhaenisch/md-to-pdf#20) for details on argument.

Fixes: [Issue austenstone#46](austenstone#46)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants