ci: fix headless raylib jobs on default GitHub runners - #38503
Closed
mpurnell1 wants to merge 1 commit into
Closed
Conversation
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.
Contributor
Process replay diff reportReplays driving segments through this PR and compares the behavior to master. ✅ 0 changed, 66 passed, 0 errors |
Contributor
|
already fixed in #38435 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
While working on #38502, I noticed the
Create UI Reportjob fails for every PR opened from a fork, and has since #38298. That PR replaced xvfb with the headless raylib backend, which links againstlibGLESv2.so.2/libEGL.so.1instead of desktop OpenGL. PRs from forks run on the stockubuntu-24.04runners (theruns-onfallback), which don't ship the GLES/EGL stack, sounit testsandCreate UI Reportboth die at import: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