Run tests on ARM targets #251
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#251
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
We built invalid ARM binaries (dynamically linked instead of statically) and did not notice it. Then I built an invalid i386 binary but directly noticed it because we run integration tests against it. Running these tests on ARM would give us better confidence on our binaries.
How
It is possible to run our ARM binaries with qemu in user mode.
This method is quite fast as the native kernel is used, only the binary is emulated.
It is very also easy for us to implement it as our binary is statically compiled and does not require any rootfs.
For example, from Nix, it is as simple as: