Run tests on ARM targets #251
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#251
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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: