-
Notifications
You must be signed in to change notification settings - Fork 94
... Exec format error while running tests #584
Copy link
Copy link
Open
Description
I have been noticing this issue while trying to run tests on darwin system:
# nixpkgs-review pr -p valkey.passthru.tests 486588
...
machine # [ 4.947314] (s-server)[800]: redis.service: Failed to execute /nix/store/mm3ki4xxh3x6vbvv4494i6i96q2d2hkn-redis-8.2.3/bin/redis-server: Exec format error
machine # [ 4.948803] (s-server)[800]: redis.service: Failed at step EXEC spawning /nix/store/mm3ki4xxh3x6vbvv4494i6i96q2d2hkn-redis-8.2.3/bin/redis-server: Exec format error
machine # [ 4.949812] (s-server)[798]: redis-test.service: Failed to execute /nix/store/mm3ki4xxh3x6vbvv4494i6i96q2d2hkn-redis-8.2.3/bin/redis-server: Exec format error
machine # [ 4.950495] (s-server)[798]: redis-test.service: Failed at step EXEC spawning /nix/store/mm3ki4xxh3x6vbvv4494i6i96q2d2hkn-redis-8.2.3/bin/redis-server: Exec format error
...
From what I gather, tests themselves are run inside of a qemu vm, so it should be copying aarch64-linux related binaries. But seems its using the host system binaries.
I end up having to run most, if not all, tests in NixOS VM (aarch64-linux). It's probably a macOS issue, but wonder if there's a fix.
nix-shell -p nix-info --run "nix-info -m"
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
- system: `"aarch64-darwin"`
- host os: `Darwin 24.6.0, macOS 15.7.3`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.31.3`
- nixpkgs: `/nix/store/i88d8nffxs0n79mzgzrpnkiri3yi4isr-source`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels