container-test-run-localbackup
default.checks.aarch64-linux.localbackup
· build #369
· 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 # [5896933.714354] machine systemd-journald[69]: Journal started20machine # [5896933.714413] machine systemd-journald[69]: Runtime Journal (/run/log/journal/1dd768c17bdc491fbbb675353576f2a0) is 8M, max 2.5G, 2.4G free.21machine # [5896933.717242] machine systemd[1]: Starting Flush Journal to Persistent Storage...22machine # [5896933.727846] machine systemd-journald[69]: Time spent on flushing to /var/log/journal/1dd768c17bdc491fbbb675353576f2a0 is 1.391ms for 3 entries.23machine # [5896933.727846] machine systemd-journald[69]: System Journal (/var/log/journal/1dd768c17bdc491fbbb675353576f2a0) is 8M, max 4G, 3.9G free.24machine # [5896933.729629] machine systemd[1]: Finished Create Static Device Nodes in /dev.25machine # [5896933.729846] machine systemd[1]: Reached target Preparation for Local File Systems.26machine # [5896933.729922] machine systemd[1]: Reached target Local File Systems.27machine # [5896933.730622] machine systemd[1]: Listening on Boot Loader Control Service Socket.28machine # [5896933.730661] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container29machine # [5896933.731428] machine systemd[1]: Starting Save Transient machine-id to Disk...30machine # [5896933.731461] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys31machine # [5896933.751920] machine systemd[1]: Finished Flush Journal to Persistent Storage.32machine # [5896933.753283] machine systemd[1]: Starting Create System Files and Directories...33machine # [5896933.769411] machine systemd-tmpfiles[116]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted34machine # [5896933.769608] machine systemd-tmpfiles[116]: fchmod() of /var/log/journal failed: Operation not permitted35machine # [5896933.769734] machine systemd-tmpfiles[116]: fchmod() of /var/log/journal/1dd768c17bdc491fbbb675353576f2a0 failed: Operation not permitted36machine # [5896933.769929] machine systemd-tmpfiles[116]: fchmod() of /run/log/journal failed: Operation not permitted37machine # [5896933.771492] machine systemd[1]: Finished Create System Files and Directories.38machine # [5896933.772524] machine systemd[1]: Starting Rebuild Journal Catalog...39machine # [5896933.773229] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...40machine # [5896933.786670] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.41machine # [5896933.796277] machine systemd[1]: Finished Rebuild Journal Catalog.42machine # [5896933.797372] machine systemd[1]: Starting Update is Completed...43machine # [5896933.807807] machine systemd[1]: Finished Update is Completed.44machine # [5896933.849124] machine systemd[1]: Finished Firewall.45machine # [5896933.849274] machine systemd[1]: Reached target Preparation for Network.46machine # [5896933.849473] machine systemd[1]: Listening on Network Management Resolve Hook Socket.47machine # [5896933.851525] machine systemd[1]: Starting Network Management...48machine # [5896934.084344] machine systemd[1]: Finished Save Transient machine-id to Disk.49machine # [5896934.216210] machine systemd-networkd[182]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted50machine # [5896934.216300] machine systemd-networkd[182]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted51machine # [5896934.222498] machine systemd-networkd[182]: /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.52machine # [5896934.222658] machine systemd-networkd[182]: /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.53machine # [5896934.222793] machine systemd-networkd[182]: lo: Link UP54machine # [5896934.222797] machine systemd-networkd[182]: lo: Gained carrier55machine # [5896934.222968] machine systemd-networkd[182]: eth1: Configuring with /etc/systemd/network/40-eth1.network.56machine # [5896934.223408] machine systemd-networkd[182]: eth1: Link UP57machine # [5896934.223616] machine systemd[1]: Started Network Management.58machine # [5896934.223646] machine systemd-networkd[182]: eth1: Gained carrier59machine # [5896934.224672] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd...60machine # [5896934.266153] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd.61machine # [5896934.296169] machine systemd-resolved[85]: Positive Trust Anchors:62machine # [5896934.296181] machine systemd-resolved[85]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d63machine # [5896934.296185] machine systemd-resolved[85]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b1664machine # [5896934.296219] machine systemd-resolved[85]: 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 test65machine # [5896934.318068] machine systemd-resolved[85]: Using system hostname 'machine'.66machine # [5896934.353546] machine systemd[1]: Started Network Name Resolution.67machine # [5896934.353619] machine systemd[1]: Reached target Network.68machine # [5896934.353675] machine systemd[1]: Reached target System Initialization.69machine # [5896934.353715] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container70machine # [5896934.353740] machine systemd[1]: Started Daily Cleanup of Temporary Directories.71machine # [5896934.353757] machine systemd[1]: Reached target Timer Units.72machine # [5896934.353872] machine systemd[1]: Listening on D-Bus System Message Bus Socket.73machine # [5896934.353980] machine systemd[1]: Listening on Nix Daemon Socket.74machine # [5896934.354076] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.75machine # [5896934.354093] machine systemd[1]: Reached target Socket Units.76machine # [5896934.354124] machine systemd[1]: Reached target Basic System.77machine # [5896934.355319] machine systemd[1]: Starting Import lastlog data into lastlog2 database...78machine # [5896934.356177] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...79machine # [5896934.357378] machine systemd[1]: Starting D-Bus System Message Bus...80machine # [5896934.378658] machine systemd[1]: Finished Import lastlog data into lastlog2 database.81machine # [5896934.454473] machine nsncd[189]: Aug 16 05:26:00.507 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"82machine # [5896934.454561] machine systemd[1]: Started Name Service Cache Daemon (nsncd).83machine # [5896934.454624] machine systemd[1]: Reached target Host and Network Name Lookups.84machine # [5896934.454686] machine systemd[1]: Reached target User and Group Name Lookups.85machine # [5896934.456245] machine systemd[1]: Starting User Login Management...86machine # [5896934.457101] machine systemd[1]: Starting Permit User Sessions...87machine # [5896934.507547] machine systemd[1]: Finished Permit User Sessions.88machine # [5896934.509211] machine systemd[1]: Started Console Getty.89machine # [5896934.509281] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty090machine # [5896934.509321] machine systemd[1]: Reached target Login Prompts.91machine # [5896934.523759] machine dbus-broker-launch[190]: Looking up NSS user entry for 'systemd-timesync'...92machine # [5896934.524672] machine dbus-broker-launch[190]: NSS returned no entry for 'systemd-timesync'93machine # [5896934.524672] machine dbus-broker-launch[190]: Invalid user-name in /nix/store/29fpnnypamhr4wmk8vizksbar5zf14k3-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"94machine # [5896934.525273] machine systemd[1]: Started D-Bus System Message Bus.95machine # [5896934.532108] machine dbus-broker-launch[190]: Ready96machine # [5896934.703593] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.97machine # [5896934.887067] machine systemd-logind[205]: New seat seat0.98machine # [5896934.887271] machine systemd[1]: Started User Login Management.99machine # [5896934.888540] machine systemd[1]: Starting linger-users.service...100machine # [5896934.938249] machine systemd[1]: linger-users.service: Deactivated successfully.101machine # [5896934.938524] machine systemd[1]: Finished linger-users.service.102machine # [5896934.939316] machine systemd[1]: Reached target Multi-User System.103machine # [5896934.939723] machine systemd[1]: Startup finished in 1.603s.104machine # [5896935.042646] machine systemd[1]: Reached target Network is Online.105machine: waiting for unit network-online.target106machine: (finished: waiting for unit network-online.target, in 0.02 seconds)107machine: must succeed: mkdir -p /var/test-backups108machine: (finished: must succeed: mkdir -p /var/test-backups, in 0.01 seconds)109machine: must succeed: echo testing > /var/test-backups/somefile110machine: (finished: must succeed: echo testing > /var/test-backups/somefile, in 0.01 seconds)111machine: must succeed: localbackup-create >&2112Creating backup 'hdd'113Running pre-backup command for test-backups114Running post-backup command for test-backups115machine: (finished: must succeed: localbackup-create >&2, in 0.19 seconds)116machine: waiting for success: ! systemctl is-active localbackup-job-serverone >&2117inactive118machine: (finished: waiting for success: ! systemctl is-active localbackup-job-serverone >&2, in 0.01 seconds)119machine: must succeed: cat /run/prebackup && cat /run/postbackup120machine: (finished: must succeed: cat /run/prebackup && cat /run/postbackup, in 0.01 seconds)121machine: must fail: cat /run/backup-tmp122cat: /run/backup-tmp: No such file or directory123machine: (finished: must fail: cat /run/backup-tmp, in 0.01 seconds)124machine: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk125machine: (finished: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk, in 0.01 seconds)126machine: must succeed: rm /run/prebackup /run/postbackup /run/mount-external-disk /run/unmount-external-disk127machine: (finished: must succeed: rm /run/prebackup /run/postbackup /run/mount-external-disk /run/unmount-external-disk, in 0.01 seconds)128machine: must succeed: localbackup-list129machine: (finished: must succeed: localbackup-list, in 0.03 seconds)130machine: must succeed: rm -f /var/test-backups/somefile131machine: (finished: must succeed: rm -f /var/test-backups/somefile, in 0.01 seconds)132machine: must succeed: NAME=/mnt/external-disk/snapshot.0 FOLDERS=/var/test-backups /run/current-system/sw/bin/localbackup-restore >&2133machine # [5896935.209056] machine rsnapshot[234]: /nix/store/cg6100yz88iaa49zivsj8i65nx1a5y61-rsnapshot-1.5.1/bin/rsnapshot -c /nix/store/5x32ahqbkcyjw7kivkk3i6r185msd5q2-rsnapshot.conf sync: completed successfully134machine # [5896935.256580] machine rsnapshot[237]: /nix/store/cg6100yz88iaa49zivsj8i65nx1a5y61-rsnapshot-1.5.1/bin/rsnapshot -c /nix/store/5x32ahqbkcyjw7kivkk3i6r185msd5q2-rsnapshot.conf snapshot: completed successfully135machine: (finished: must succeed: NAME=/mnt/external-disk/snapshot.0 FOLDERS=/var/test-backups /run/current-system/sw/bin/localbackup-restore >&2, in 0.07 seconds)136machine: must succeed: cat /var/test-backups/somefile137machine: (finished: must succeed: cat /var/test-backups/somefile, in 0.01 seconds)138machine: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk139machine: (finished: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk, in 0.01 seconds)140(finished: run the VM test script, in 2.55 seconds)141test script finished in 2.70s142cleanup143kill NspawnMachine (pid 51)144Container machine terminated by signal KILL.145(finished: cleanup, in 0.21 seconds)