container-test-run-localbackup
default.checks.aarch64-linux.localbackup
· build #416
· raw
1additionally exposed symbols:2 machine,3 start_all, machines, driver, Machine, wait_for_signal4Starting machine567<<< NixOS Stage 2 >>>89booting system configuration /nix/store/23pl27y3mx4wz4m61bww01h40qwr8mdm-nixos-system-machine-test10running activation script...11setting up /etc...122: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100013 link/ether 0e:74:26:22:81:c2 brd ff:ff:ff:ff:ff:ff link-netnsid 014setting up age secrets...15starting systemd...16systemd 260.2 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE)17Detected virtualization systemd-nspawn.18Detected architecture arm64.19Detected first boot.20Initializing machine ID from container UUID.21Applying preset policy.22Populated /etc with preset unit settings.23Queued start job for default target Multi-User System.24252627<<< Welcome to NixOS test (aarch64) - console >>>28+ systemd-run /bin/sh -c '/nix/store/hlc4nqfx0l06f6p7z7lmd77qcwszi7wc-coreutils-9.11/bin/sleep 999999999 && echo f114e3ed-8c4c-4ce8-8b99-58dac7bf5661'29Running as unit: run-p304-i96442150.service; invocation ID: 1551fb2d53384ba28f74dc5dcce0612c30To attach to container machine run on the same machine that runs the test:31 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*f114e3ed-8c4c-4ce8-8b99-58dac7bf5661') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3233To inject external network and continue test, run:34sudo /nix/store/d6kq2phq0zy5invmkfgg8h35zxaf13s9-python3-3.13.15/bin/python3.13 /nix/store/hvjpsqwpzj163wzy0fhlnf8iwgcwfzr9-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py f114e3ed-8c4c-4ce8-8b99-58dac7bf566135+ systemctl start network-online.target36+ systemctl --no-pager show network-online.target37+ mkdir -p /var/test-backups38+ echo testing39+ localbackup-create40Creating backup 'hdd'41Running pre-backup command for test-backups42Running post-backup command for test-backups43machine: waiting for success: ! systemctl is-active localbackup-job-serverone >&244+ systemctl is-active localbackup-job-serverone45inactive46(finished: waiting for success: ! systemctl is-active localbackup-job-serverone >&2, in 0.01 seconds)47+ cat /run/prebackup48+ cat /run/postbackup49+ cat /run/backup-tmp50cat: /run/backup-tmp: No such file or directory51+ cat /run/mount-external-disk52+ cat /run/unmount-external-disk53+ rm /run/prebackup /run/postbackup /run/mount-external-disk /run/unmount-external-disk54+ localbackup-list55+ rm -f /var/test-backups/somefile56+ NAME=/mnt/external-disk/snapshot.057+ FOLDERS=/var/test-backups58+ /run/current-system/sw/bin/localbackup-restore59+ cat /var/test-backups/somefile60+ cat /run/mount-external-disk61+ cat /run/unmount-external-disk62