Skip to content

ci(smoke-test): boot smoke tests on native runner arch only#5

Merged
Headgent merged 1 commit into
developfrom
fix/ci-smoke-native-arch
Jun 14, 2026
Merged

ci(smoke-test): boot smoke tests on native runner arch only#5
Headgent merged 1 commit into
developfrom
fix/ci-smoke-native-arch

Conversation

@Headgent

Copy link
Copy Markdown
Contributor

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=amd64 an die CI-Smoke-Steps → es bootet nur die native Runner-Arch.

  • Der Multi-Arch-build-and-push-Step bleibt unverändert → ausgelieferte Images bleiben amd64 + arm64.
  • Die arm64-Build-Korrektheit wird weiterhin von diesem buildx-Push validiert (ein kaputter arm64-Build failt den Job).
  • Nur der instabile arm64-Boot unter Emulation entfällt aus dem CI.
  • Lokal bootet make test-all weiterhin beide Archs (Default).

Wirkung

CI wird zuverlässig und sinkt von ~1h auf ~10–15 min pro Lauf; der Aufhäng-Bug verschwindet.

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.
@Headgent Headgent merged commit 306bbcf into develop Jun 14, 2026
7 checks passed
@Headgent Headgent deleted the fix/ci-smoke-native-arch branch June 14, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant