container-test-run-localbackup
default.checks.aarch64-linux.localbackup
· build #393
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)45Test will time out and terminate in 3600.0 seconds6run the VM test script7additionally exposed symbols:8 machine,9 vlan1,10 start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh11start all VMs12machine: systemd-nspawn running (pid 51)13machine: Waiting for journal at /build/vm-state-machine/var/log/journal...14(finished: start all VMs, in 0.00 seconds)15nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE16nixos-nspawn(machine): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths.17Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file.18░ Spawning container machine on /build/vm-state-machine.19machine # [6018410.627264] machine systemd-journald[69]: Journal started20machine # [6018410.627320] machine systemd-journald[69]: Runtime Journal (/run/log/journal/7448208fde0f4c248aeb5f6ba663ed3d) is 8M, max 2.5G, 2.4G free.21machine # [6018410.630263] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22machine # [6018410.639689] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [6018410.640701] machine systemd[1]: Starting Network Name Resolution...24machine # [6018410.641446] machine systemd[1]: Starting Create Static Device Nodes in /dev...25machine # [6018410.651091] machine systemd-journald[69]: Time spent on flushing to /var/log/journal/7448208fde0f4c248aeb5f6ba663ed3d is 1.370ms for 6 entries.26machine # [6018410.651091] machine systemd-journald[69]: System Journal (/var/log/journal/7448208fde0f4c248aeb5f6ba663ed3d) is 8M, max 4G, 3.9G free.27machine # [6018410.656036] machine systemd[1]: Finished Create Static Device Nodes in /dev.28machine # [6018410.656678] machine systemd[1]: Reached target Preparation for Local File Systems.29machine # [6018410.656786] machine systemd[1]: Reached target Local File Systems.30machine # [6018410.657616] machine systemd[1]: Listening on Boot Loader Control Service Socket.31machine # [6018410.657665] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container32machine # [6018410.658622] machine systemd[1]: Starting Save Transient machine-id to Disk...33machine # [6018410.658663] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys34machine # [6018410.747165] machine systemd[1]: Finished Flush Journal to Persistent Storage.35machine # [6018410.749030] machine systemd[1]: Starting Create System Files and Directories...36machine # [6018410.801151] machine systemd[1]: Finished Firewall.37machine # [6018410.801404] machine systemd[1]: Reached target Preparation for Network.38machine # [6018410.801619] machine systemd[1]: Listening on Network Management Resolve Hook Socket.39machine # [6018410.802725] machine systemd[1]: Starting Network Management...40machine # [6018410.812329] machine systemd-tmpfiles[163]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted41machine # [6018410.812536] machine systemd-tmpfiles[163]: fchmod() of /var/log/journal failed: Operation not permitted42machine # [6018410.812678] machine systemd-tmpfiles[163]: fchmod() of /var/log/journal/7448208fde0f4c248aeb5f6ba663ed3d failed: Operation not permitted43machine # [6018410.812886] machine systemd-tmpfiles[163]: fchmod() of /run/log/journal failed: Operation not permitted44machine # [6018410.814658] machine systemd[1]: Finished Create System Files and Directories.45machine # [6018410.815921] machine systemd[1]: Starting Rebuild Journal Catalog...46machine # [6018410.816771] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...47machine # [6018410.829125] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.48machine # [6018410.835037] machine systemd[1]: Finished Rebuild Journal Catalog.49machine # [6018410.836867] machine systemd[1]: Starting Update is Completed...50machine # [6018410.848073] machine systemd[1]: Finished Update is Completed.51machine # [6018411.146563] machine systemd[1]: Finished Save Transient machine-id to Disk.52machine # [6018411.190848] machine systemd-networkd[175]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted53machine # [6018411.190941] machine systemd-networkd[175]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted54machine # [6018411.197631] machine systemd-networkd[175]: /etc/systemd/network/99-ethernet-default-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section.55machine # [6018411.197798] machine systemd-networkd[175]: /etc/systemd/network/99-wireless-client-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section.56machine # [6018411.197971] machine systemd-networkd[175]: lo: Link UP57machine # [6018411.197974] machine systemd-networkd[175]: lo: Gained carrier58machine # [6018411.198175] machine systemd-networkd[175]: eth1: Configuring with /etc/systemd/network/40-eth1.network.59machine # [6018411.198547] machine systemd[1]: Started Network Management.60machine # [6018411.198648] machine systemd-networkd[175]: eth1: Link UP61machine # [6018411.198927] machine systemd-networkd[175]: eth1: Gained carrier62machine # [6018411.199857] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd...63machine # [6018411.234163] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd.64machine # [6018411.332950] machine systemd-resolved[91]: Positive Trust Anchors:65machine # [6018411.332965] machine systemd-resolved[91]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d66machine # [6018411.332968] machine systemd-resolved[91]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b1667machine # [6018411.333004] machine systemd-resolved[91]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa corp home internal intranet lan local private test68machine # [6018411.355756] machine systemd-resolved[91]: Using system hostname 'machine'.69machine # [6018411.357260] machine systemd[1]: Started Network Name Resolution.70machine # [6018411.357390] machine systemd[1]: Reached target Network.71machine # [6018411.357495] machine systemd[1]: Reached target System Initialization.72machine # [6018411.357579] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container73machine # [6018411.357627] machine systemd[1]: Started Daily Cleanup of Temporary Directories.74machine # [6018411.357663] machine systemd[1]: Reached target Timer Units.75machine # [6018411.358001] machine systemd[1]: Listening on D-Bus System Message Bus Socket.76machine # [6018411.358231] machine systemd[1]: Listening on Nix Daemon Socket.77machine # [6018411.358442] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.78machine # [6018411.358484] machine systemd[1]: Reached target Socket Units.79machine # [6018411.358554] machine systemd[1]: Reached target Basic System.80machine # [6018411.360255] machine systemd[1]: Starting Import lastlog data into lastlog2 database...81machine # [6018411.361584] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...82machine # [6018411.363576] machine systemd[1]: Starting D-Bus System Message Bus...83machine # [6018411.382446] machine systemd[1]: Finished Import lastlog data into lastlog2 database.84machine # [6018411.464681] machine nsncd[189]: Aug 17 15:10:37.517 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"85machine # [6018411.464754] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [6018411.464830] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [6018411.464892] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [6018411.466194] machine systemd[1]: Starting User Login Management...89machine # [6018411.467036] machine systemd[1]: Starting Permit User Sessions...90machine # [6018411.552084] machine systemd[1]: Finished Permit User Sessions.91machine # [6018411.552199] machine dbus-broker-launch[190]: Looking up NSS user entry for 'systemd-timesync'...92machine # [6018411.553124] machine systemd[1]: Started Console Getty.93machine # [6018411.553164] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [6018411.553179] machine systemd[1]: Reached target Login Prompts.95machine # [6018411.553606] machine dbus-broker-launch[190]: NSS returned no entry for 'systemd-timesync'96machine # [6018411.553606] machine dbus-broker-launch[190]: Invalid user-name in /nix/store/rasqiwwy5qq67xdc0qcfs1hmiv4bm99m-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"97machine # [6018411.554214] machine systemd[1]: Started D-Bus System Message Bus.98machine # [6018411.561273] machine dbus-broker-launch[190]: Ready99machine # [6018411.614052] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.100machine # [6018412.009332] machine systemd-logind[205]: New seat seat0.101machine # [6018412.009536] machine systemd[1]: Started User Login Management.102machine # [6018412.011177] machine systemd[1]: Starting linger-users.service...103machine # [6018412.021620] machine systemd[1]: linger-users.service: Deactivated successfully.104machine # [6018412.021801] machine systemd[1]: Finished linger-users.service.105machine # [6018412.022202] machine systemd[1]: Reached target Multi-User System.106machine # [6018412.022643] machine systemd[1]: Startup finished in 1.860s.107machine: waiting for unit network-online.target108machine: (finished: waiting for unit network-online.target, in 0.02 seconds)109machine: must succeed: mkdir -p /var/test-backups110machine: (finished: must succeed: mkdir -p /var/test-backups, in 0.01 seconds)111machine: must succeed: echo testing > /var/test-backups/somefile112machine: (finished: must succeed: echo testing > /var/test-backups/somefile, in 0.00 seconds)113machine: must succeed: localbackup-create >&2114Creating backup 'hdd'115Running pre-backup command for test-backups116machine # [6018412.324073] machine systemd-networkd[175]: eth1: Gained IPv6LL117machine # [6018412.388295] machine systemd[1]: Reached target Network is Online.118machine # [6018412.530511] machine rsnapshot[234]: /nix/store/cg6100yz88iaa49zivsj8i65nx1a5y61-rsnapshot-1.5.1/bin/rsnapshot -c /nix/store/5x32ahqbkcyjw7kivkk3i6r185msd5q2-rsnapshot.conf sync: completed successfully119Running post-backup command for test-backups120machine: (finished: must succeed: localbackup-create >&2, in 0.17 seconds)121machine: waiting for success: ! systemctl is-active localbackup-job-serverone >&2122inactive123machine: (finished: waiting for success: ! systemctl is-active localbackup-job-serverone >&2, in 0.01 seconds)124machine: must succeed: cat /run/prebackup && cat /run/postbackup125machine: (finished: must succeed: cat /run/prebackup && cat /run/postbackup, in 0.01 seconds)126machine: must fail: cat /run/backup-tmp127cat: /run/backup-tmp: No such file or directory128machine: (finished: must fail: cat /run/backup-tmp, in 0.01 seconds)129machine: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk130machine: (finished: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk, in 0.01 seconds)131machine: must succeed: rm /run/prebackup /run/postbackup /run/mount-external-disk /run/unmount-external-disk132machine: (finished: must succeed: rm /run/prebackup /run/postbackup /run/mount-external-disk /run/unmount-external-disk, in 0.01 seconds)133machine: must succeed: localbackup-list134machine: (finished: must succeed: localbackup-list, in 0.02 seconds)135machine: must succeed: rm -f /var/test-backups/somefile136machine: (finished: must succeed: rm -f /var/test-backups/somefile, in 0.01 seconds)137machine: must succeed: NAME=/mnt/external-disk/snapshot.0 FOLDERS=/var/test-backups /run/current-system/sw/bin/localbackup-restore >&2138machine: (finished: must succeed: NAME=/mnt/external-disk/snapshot.0 FOLDERS=/var/test-backups /run/current-system/sw/bin/localbackup-restore >&2, in 0.06 seconds)139machine: must succeed: cat /var/test-backups/somefile140machine: (finished: must succeed: cat /var/test-backups/somefile, in 0.01 seconds)141machine: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk142machine: (finished: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk, in 0.01 seconds)143(finished: run the VM test script, in 3.00 seconds)144test script finished in 3.19s145cleanup146kill NspawnMachine (pid 51)147machine # [6018412.578363] machine rsnapshot[237]: /nix/store/cg6100yz88iaa49zivsj8i65nx1a5y61-rsnapshot-1.5.1/bin/rsnapshot -c /nix/store/5x32ahqbkcyjw7kivkk3i6r185msd5q2-rsnapshot.conf snapshot: completed successfully148(finished: cleanup, in 0.21 seconds)149Container machine terminated by signal KILL.