New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/borgbackup: add test #33315
nixos/borgbackup: add test #33315
Conversation
@GrahamcOfBorg test borgbackup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: x86_64-linux
building path(s) ‘/nix/store/rf0mrp2hrp2pzikqhzdqxpq483d9qpkw-append-initrd-secrets’
fetching path ‘/nix/store/b0gdv17dgjz20dnk6sxvxj8jai63zv7a-btrfs-progs-4.14’...
*** Downloading ‘https://nix-cache.s3.amazonaws.com/nar/0pna9z9zg8qjdrxpvi6d6vwzy4ibl6l5d6i21izsns9aqa36l5ky.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/b0gdv17dgjz20dnk6sxvxj8jai63zv7a-btrfs-progs-4.14’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 725k 100 725k 0 0 725k 0 0:00:01 --:--:-- 0:00:01 4096k
building path(s) ‘/nix/store/ak91ifdh7dj5l1414icds7a6y11qbjlb-append-initrd-secrets’
error: a ‘aarch64-linux’ is required to build ‘/nix/store/rbg3lfysljzj8nmaszm56dg03lv6lxg7-append-initrd-secrets.drv’, but I am a ‘x86_64-linux’
@grahamc do you have insights on this error? I assume it tried to run aarch64 nixos tests on a x86_64 machine? |
We had problems to get borg's own test suite running. This test is intended to perform a quick smoke test to see whether we have missed not any important dependency necessary to create backups with borg. tested with: $ nix-build nixos/release.nix -A tests.borgbackup.x86_64-linux
@GrahamcOfBorg test borgbackup.x86_64-linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure on x86_64-linux (full log)
Partial log (click to expand)
error: attribute ‘x86_64-linux’ in selection path ‘tests.borgbackup.x86_64-linux.x86_64-linux’ not found
@GrahamcOfBorg test borgbackup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success on x86_64-linux (full log)
Partial log (click to expand)
machine: exit status 1
syncing
machine: running command: sync
machine: exit status 0
test script finished in 15.57s
cleaning up
killing machine (pid 593)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/tmp/nix-build-vm-test-run-borgbackup.drv-0/vde1.ctl': Directory not empty
/nix/store/2rkqy6w47i0rrlc5r8wdn1dgi6snjipk-vm-test-run-borgbackup
We had problems to get borg's own test suite running.
This test is intended to perform a quick smoke test to see whether we
have missed not any important dependency necessary to create backups
with borg.
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)