ci: build e2e image on ubuntu-22.04 to match runtime glibc#935
Conversation
The e2e build job ran on ubuntu-latest (24.04, glibc 2.39), so the binary linked GLIBC_2.39, which the debian:12-slim runtime image (glibc 2.36) can't satisfy: oura: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found Pin the build to ubuntu-22.04 (glibc 2.35), matching docker.yml's build runner, so the binary is compatible with the runtime image. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 1 minute and 22 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Problem
The e2e run failed in every test leg with:
Not a missing library — a glibc version mismatch. #934 switched e2e to a native build, but its
buildjob ran onubuntu-latest(now Ubuntu 24.04, glibc 2.39). The.github/image/Dockerfileruntime isdebian:12-slim(glibc 2.36), which can't satisfy aGLIBC_2.39symbol. Thebuildstep passed; the failure only surfaced at runtime in thetestlegs.Fix
Pin the e2e
buildjob toubuntu-22.04(glibc 2.35) — the same runnerdocker.ymlalready uses — so the binary's glibc floor is compatible with the debian:12 runtime. One line.The production
docker.ymlimage was never affected (it already builds onubuntu-22.04). Thetestjob stays onubuntu-latestsince it runs the image inside a container, where the host glibc is irrelevant.Verification
Re-dispatch the
e2eworkflow on this branch and confirm the test legs get past image startup.🤖 Generated with Claude Code