Repository navigation
ci: stop the emulated ARM test jobs crashing - #220
Merged
Merged
Conversation
The aarch64 and armv7 binding tests ran Node under QEMU on x86 runners, and Node crashed there now and then with SIGSEGV, failing a job before any test ran. Each job installed QEMU with docker/setup-qemu-action and then re-registered the emulators from multiarch/qemu-user-static, which replaced them with that image's own qemu-*-static builds. Measured over ten runs per setup, the one crash came under that image's emulator; none came with setup-qemu-action's emulator or on a native runner. Run the two aarch64 jobs on ubuntu-24.04-arm, with no emulation; they also finish in under a minute instead of about four. armv7 has no native runner, so it stays emulated, without the re-registration.
wesnel
force-pushed
the
wgn/ci-arm-emulation
branch
from
November 12, 2026 01:29
13d1117 to
4dd9187
Compare
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the ARM smoke-test runner and emulator configuration changes.
No open issues 🎉
What changed in this PR
This PR updates ARM binding smoke-test jobs to avoid the QEMU configuration associated with intermittent Node crashes.
Changes:
- Move ARM64 GNU and musl tests to native
ubuntu-24.04-armrunners, removing QEMU setup and explicit container platform options. - Add Node setup before installing dependencies in both ARM64 jobs.
- Keep ARMv7 emulated, but remove the step that overwrote the emulators installed by
setup-qemu-action.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Use native ARM64 runners and simplify ARMv7 emulator setup. |
Review effort: Balanced
wesnel
marked this pull request as ready for review
November 13, 2026 01:32
wesnel
requested review from
andrew-harris-at-ngrok,
grant-higgins-0,
joshbottelberghe,
kevin-ngrok and
sajethm
November 13, 2026 01:33
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.
The aarch64 and armv7 binding tests ran Node under QEMU emulation on x86 runners, and Node crashed there now and then with SIGSEGV, failing a job before any test ran. On #215, "Test bindings on aarch64-unknown-linux-gnu" failed this way, and the same job passed on the same code in another run.
Each job installed QEMU with
docker/setup-qemu-action, then ranmultiarch/qemu-user-static --reset. That second step replaced the emulators the first had registered with the older image'sqemu-*-staticbuilds.ubuntu-24.04-armrunners, with no emulation. They also finish in under a minute instead of about four.setup-qemu-actioninstalls.Validation
A temporary workflow ran the smoke tests ten times per setup. It's gone from the branch, folded away when the commits are squashed.
ubuntu-24.04-armThe crash was
node -eexiting with code 139 under/usr/bin/qemu-aarch64-static, the re-registered emulator. Without the re-registration, the interpreter was/usr/bin/qemu-aarch64fromtonistiigi/binfmt.Weak spots, assumptions and decisions
ubuntu-24.04-armrunners stay available to this public repository at no cost.Reverting
Two-way door. Only CI configuration changes.