ci(smoke-test): boot smoke tests on native runner arch only#5
Merged
Conversation
The smoke tests boot the freshly built image to prove php-fpm starts, all extensions load, OPcache+JIT are on, and the nginx vhost renders. On the amd64 GitHub runner, booting the arm64 image runs under QEMU emulation, which is both very slow (~1h/job) and intermittently hangs forever on the buildx --load step (no timeout) — three jobs hung 100+ min in the F2 rollout. Pass TEST_PLATFORMS=amd64 to the CI smoke-test steps so they boot only the native arch. The multi-arch build-and-push step is unchanged, so the shipped images still cover amd64 + arm64, and arm64 compile correctness is still validated by that buildx push (a broken arm64 build fails the job). Only the flaky arm64 *boot* under emulation is dropped from CI. Local `make test-all` still defaults to both arches.
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.
Problem
Die in #3 eingeführten Smoke-Tests booten das frisch gebaute Image. Auf dem amd64-GitHub-Runner läuft der arm64-Boot unter QEMU-Emulation — extrem langsam (~1h/Job) und intermittierend unbegrenzt hängend auf dem
buildx --load-Step (kein Timeout). Im F2-Rollout hingen drei Jobs jeweils >100 min und mussten manuell gecancelt werden.Fix
TEST_PLATFORMS=amd64an die CI-Smoke-Steps → es bootet nur die native Runner-Arch.build-and-push-Step bleibt unverändert → ausgelieferte Images bleiben amd64 + arm64.make test-allweiterhin beide Archs (Default).Wirkung
CI wird zuverlässig und sinkt von ~1h auf ~10–15 min pro Lauf; der Aufhäng-Bug verschwindet.