Skip to content

ci: fix headless raylib jobs on default GitHub runners - #38503

Closed
mpurnell1 wants to merge 1 commit into
commaai:masterfrom
mpurnell1:fix-ui-report-gl-deps
Closed

ci: fix headless raylib jobs on default GitHub runners#38503
mpurnell1 wants to merge 1 commit into
commaai:masterfrom
mpurnell1:fix-ui-report-gl-deps

Conversation

@mpurnell1

@mpurnell1 mpurnell1 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Description
While working on #38502, I noticed the Create UI Report job fails for every PR opened from a fork, and has since #38298. That PR replaced xvfb with the headless raylib backend, which links against libGLESv2.so.2/libEGL.so.1 instead of desktop OpenGL. PRs from forks run on the stock ubuntu-24.04 runners (the runs-on fallback), which don't ship the GLES/EGL stack, so unit tests and Create UI Report both die at import:

ImportError: libGLESv2.so.2: cannot open shared object file: No such file or directory
ImportError: failed to load raylib headless backend extension _raylib_cffi_headless

Runs on the namespace runners have these libraries in the image, which is why master is green while fork PRs fail. This installs the GLES/EGL runtime (glvnd dispatchers plus mesa's EGL implementation and software rasterizer) in the two jobs that render with the headless backend.

Verification
Failing CI runs:
#38497 UI Report
#38497 unit tests
#38501 UI Report

Passing CI run on this branch:
https://github.com/commaai/openpilot/actions/runs/30608815549

The headless raylib backend links against libGLESv2/libEGL, which the
stock ubuntu-24.04 runners used for fork PRs don't have installed, so
unit tests and Create UI Report fail at import for every external PR.
@github-actions

Copy link
Copy Markdown
Contributor

Process replay diff report

Replays driving segments through this PR and compares the behavior to master.
Please review any changes carefully to ensure they are expected.

✅ 0 changed, 66 passed, 0 errors

@therepanic

Copy link
Copy Markdown
Contributor

already fixed in #38435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants