container-test-run-localbackup
checks.aarch64-linux.localbackup
· build #756
· 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 # No journal boot entry found for the specified boot (+0).20machine # [1582670.557771] machine systemd-journald[72]: Journal started21machine # [1582670.557828] machine systemd-journald[72]: Runtime Journal (/run/log/journal/fffbc5ec5a1246fcb582a463a88a9f37) is 8M, max 2.5G, 2.4G free.22machine # [1582670.564158] machine systemd[1]: Finished Apply Kernel Variables.23machine # [1582670.575345] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [1582670.588573] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [1582670.589951] machine systemd[1]: Starting Network Name Resolution...26machine # [1582670.590809] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1582670.631432] machine systemd-journald[72]: Time spent on flushing to /var/log/journal/fffbc5ec5a1246fcb582a463a88a9f37 is 2.055ms for 7 entries.28machine # [1582670.631432] machine systemd-journald[72]: System Journal (/var/log/journal/fffbc5ec5a1246fcb582a463a88a9f37) is 8M, max 4G, 3.9G free.29machine # [1582670.637932] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [1582670.638607] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [1582670.638729] machine systemd[1]: Reached target Local File Systems.32machine # [1582670.639590] machine systemd[1]: Listening on Boot Loader Control Service Socket.33machine # [1582670.639637] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container34machine # [1582670.640492] machine systemd[1]: Starting Save Transient machine-id to Disk...35machine # [1582670.640528] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [1582670.660812] machine systemd[1]: Finished Flush Journal to Persistent Storage.37machine # [1582670.662445] machine systemd[1]: Starting Create System Files and Directories...38machine # [1582670.681015] machine systemd-tmpfiles[147]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39machine # [1582670.681209] machine systemd-tmpfiles[147]: fchmod() of /var/log/journal failed: Operation not permitted40machine # [1582670.681342] machine systemd-tmpfiles[147]: fchmod() of /var/log/journal/fffbc5ec5a1246fcb582a463a88a9f37 failed: Operation not permitted41machine # [1582670.681537] machine systemd-tmpfiles[147]: fchmod() of /run/log/journal failed: Operation not permitted42machine # [1582670.682967] machine systemd[1]: Finished Create System Files and Directories.43machine # [1582670.684169] machine systemd[1]: Starting Rebuild Journal Catalog...44machine # [1582670.684842] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...45machine # [1582670.698498] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.46machine # [1582670.706006] machine systemd[1]: Finished Rebuild Journal Catalog.47machine # [1582670.707175] machine systemd[1]: Starting Update is Completed...48machine # [1582670.717433] machine systemd[1]: Finished Update is Completed.49machine # [1582670.717789] machine systemd[1]: Finished Firewall.50machine # [1582670.718410] machine systemd[1]: Reached target Preparation for Network.51machine # [1582670.718749] machine systemd[1]: Listening on Network Management Resolve Hook Socket.52machine # [1582670.719967] machine systemd[1]: Starting Network Management...53machine # [1582671.432065] machine systemd-networkd[185]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted54machine # [1582671.432161] machine systemd-networkd[185]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted55machine # [1582671.441859] machine systemd-networkd[185]: /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.56machine # [1582671.442027] machine systemd-networkd[185]: /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.57machine # [1582671.442202] machine systemd-networkd[185]: lo: Link UP58machine # [1582671.442207] machine systemd-networkd[185]: lo: Gained carrier59machine # [1582671.442406] machine systemd-networkd[185]: eth1: Configuring with /etc/systemd/network/40-eth1.network.60machine # [1582671.442831] machine systemd[1]: Started Network Management.61machine # [1582671.442874] machine systemd-networkd[185]: eth1: Link UP62machine # [1582671.443351] machine systemd-networkd[185]: eth1: Gained carrier63machine # [1582671.444878] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd...64machine # [1582671.506306] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd.65machine # [1582671.955545] machine systemd-resolved[106]: Positive Trust Anchors:66machine # [1582671.955561] machine systemd-resolved[106]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d67machine # [1582671.955565] machine systemd-resolved[106]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b1668machine # [1582671.955601] machine systemd-resolved[106]: 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 test69machine # [1582671.979896] machine systemd-resolved[106]: Using system hostname 'machine'.70machine # [1582671.981825] machine systemd[1]: Started Network Name Resolution.71machine # [1582671.981931] machine systemd[1]: Reached target Network.72machine # [1582671.982004] machine systemd[1]: Reached target System Initialization.73machine # [1582671.982053] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container74machine # [1582671.982086] machine systemd[1]: Started Daily Cleanup of Temporary Directories.75machine # [1582671.982108] machine systemd[1]: Reached target Timer Units.76machine # [1582671.982240] machine systemd[1]: Listening on D-Bus System Message Bus Socket.77machine # [1582671.982373] machine systemd[1]: Listening on Nix Daemon Socket.78machine # [1582671.982480] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.79machine # [1582671.982502] machine systemd[1]: Reached target Socket Units.80machine # [1582671.982539] machine systemd[1]: Reached target Basic System.81machine # [1582671.985565] machine systemd[1]: Starting Import lastlog data into lastlog2 database...82machine # [1582671.986961] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...83machine # [1582671.988721] machine systemd[1]: Starting D-Bus System Message Bus...84machine # [1582672.055823] machine systemd[1]: Finished Import lastlog data into lastlog2 database.85machine # [1582672.217592] machine systemd[1]: Started Name Service Cache Daemon (nsncd).86machine # [1582672.217665] machine systemd[1]: Reached target Host and Network Name Lookups.87machine # [1582672.217717] machine systemd[1]: Reached target User and Group Name Lookups.88machine # [1582672.219092] machine systemd[1]: Starting User Login Management...89machine # [1582672.219747] machine nsncd[191]: Sep 22 15:04:52.205 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [1582672.220068] machine systemd[1]: Starting Permit User Sessions...91machine # [1582672.236809] machine systemd[1]: Finished Permit User Sessions.92machine # [1582672.239178] machine systemd[1]: Started Console Getty.93machine # [1582672.239252] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty094machine # [1582672.239289] machine systemd[1]: Reached target Login Prompts.95machine # [1582672.412898] machine dbus-broker-launch[192]: Looking up NSS user entry for 'systemd-timesync'...96machine # [1582672.414794] machine dbus-broker-launch[192]: NSS returned no entry for 'systemd-timesync'97machine # [1582672.414794] machine dbus-broker-launch[192]: Invalid user-name in /nix/store/mrrif1xpa1qbf6vm2l5inhvf7gr2dj6h-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"98machine # [1582672.435015] machine systemd[1]: Started D-Bus System Message Bus.99machine # [1582672.444054] machine dbus-broker-launch[192]: Ready100machine # [1582672.695056] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.101machine # [1582672.697726] machine systemd[1]: Finished Save Transient machine-id to Disk.102machine: waiting for unit network-online.target103machine: (finished: waiting for unit network-online.target, in 0.02 seconds)104machine: must succeed: mkdir -p /var/test-backups105machine: (finished: must succeed: mkdir -p /var/test-backups, in 0.01 seconds)106machine: must succeed: echo testing > /var/test-backups/somefile107machine: (finished: must succeed: echo testing > /var/test-backups/somefile, in 0.01 seconds)108machine: must succeed: localbackup-create >&2109Creating backup 'hdd'110Running pre-backup command for test-backups111machine # [1582673.174643] machine systemd-logind[198]: New seat seat0.112machine # [1582673.174933] machine systemd[1]: Started User Login Management.113machine # [1582673.177178] machine systemd[1]: Starting linger-users.service...114machine # [1582673.233173] machine systemd[1]: linger-users.service: Deactivated successfully.115machine # [1582673.233380] machine systemd[1]: Finished linger-users.service.116machine # [1582673.233800] machine systemd[1]: Reached target Multi-User System.117machine # [1582673.234004] machine systemd[1]: Startup finished in 3.073s.118machine # [1582673.279385] machine systemd[1]: Reached target Network is Online.119machine # [1582673.348194] machine systemd-networkd[185]: eth1: Gained IPv6LL120machine # [1582673.451130] machine rsnapshot[237]: /nix/store/02zvpr877ms94ggnzjgih6paf08f5lgq-rsnapshot-1.5.1/bin/rsnapshot -c /nix/store/654j04zphzfg4xj3p0mm2vb3zh97zdcg-rsnapshot.conf sync: completed successfully121Running post-backup command for test-backups122machine: (finished: must succeed: localbackup-create >&2, in 0.20 seconds)123machine: waiting for success: ! systemctl is-active localbackup-job-serverone >&2124inactive125machine: (finished: waiting for success: ! systemctl is-active localbackup-job-serverone >&2, in 0.01 seconds)126machine: must succeed: cat /run/prebackup && cat /run/postbackup127machine: (finished: must succeed: cat /run/prebackup && cat /run/postbackup, in 0.01 seconds)128machine: must fail: cat /run/backup-tmp129cat: /run/backup-tmp: No such file or directory130machine: (finished: must fail: cat /run/backup-tmp, in 0.01 seconds)131machine: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk132machine: (finished: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk, in 0.01 seconds)133machine: must succeed: rm /run/prebackup /run/postbackup /run/mount-external-disk /run/unmount-external-disk134machine: (finished: must succeed: rm /run/prebackup /run/postbackup /run/mount-external-disk /run/unmount-external-disk, in 0.01 seconds)135machine: must succeed: localbackup-list136machine: (finished: must succeed: localbackup-list, in 0.02 seconds)137machine: must succeed: rm -f /var/test-backups/somefile138machine: (finished: must succeed: rm -f /var/test-backups/somefile, in 0.01 seconds)139machine: must succeed: NAME=/mnt/external-disk/snapshot.0 FOLDERS=/var/test-backups /run/current-system/sw/bin/localbackup-restore >&2140machine: (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)141machine: must succeed: cat /var/test-backups/somefile142machine: (finished: must succeed: cat /var/test-backups/somefile, in 0.01 seconds)143machine: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk144machine: (finished: must succeed: cat /run/mount-external-disk && cat /run/unmount-external-disk, in 0.02 seconds)145(finished: run the VM test script, in 4.07 seconds)146machine # [1582673.500391] machine rsnapshot[240]: /nix/store/02zvpr877ms94ggnzjgih6paf08f5lgq-rsnapshot-1.5.1/bin/rsnapshot -c /nix/store/654j04zphzfg4xj3p0mm2vb3zh97zdcg-rsnapshot.conf snapshot: completed successfully147test script finished in 4.19s148cleanup149kill NspawnMachine (pid 51)150Container machine terminated by signal KILL.151(finished: cleanup, in 0.27 seconds)