Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Test will time out and terminate in 3600.0 seconds run the VM test script additionally exposed symbols: admin1, peer1, vlan1, 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_ssh start all VMs admin1: systemd-nspawn running (pid 52) peer1: systemd-nspawn running (pid 53) admin1: Waiting for journal at /build/vm-state-admin1/var/log/journal... peer1: Waiting for journal at /build/vm-state-peer1/var/log/journal... (finished: start all VMs, in 0.00 seconds) admin1: waiting for unit multi-user.target nixos-nspawn(admin1): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(admin1): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. nixos-nspawn(peer1): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(peer1): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. Note: 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. ░ Spawning container admin1 on /build/vm-state-admin1. Note: 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. ░ Spawning container peer1 on /build/vm-state-peer1. admin1 # [7364429.047323] admin1 systemd-journald[69]: Journal started peer1 # [7364429.047652] peer1 systemd-journald[79]: Journal started admin1 # [7364429.047379] admin1 systemd-journald[69]: Runtime Journal (/run/log/journal/52fc98ea4f184670a43dc25aae26ea21) is 8M, max 2.5G, 2.4G free. peer1 # [7364429.047700] peer1 systemd-journald[79]: Runtime Journal (/run/log/journal/bd7954e698ff424e985391a417854372) is 8M, max 2.5G, 2.4G free. peer1 # [7364429.052641] peer1 systemd[1]: Finished Create Static Device Nodes in /dev gracefully. admin1 # [7364429.052694] admin1 systemd[1]: Finished Create Static Device Nodes in /dev gracefully. peer1 # [7364429.061291] peer1 systemd[1]: Starting Flush Journal to Persistent Storage... admin1 # [7364429.061385] admin1 systemd[1]: Starting Flush Journal to Persistent Storage... peer1 # [7364429.062133] peer1 systemd[1]: Starting Network Name Resolution... admin1 # [7364429.062145] admin1 systemd[1]: Starting Network Name Resolution... peer1 # [7364429.062801] peer1 systemd[1]: Starting Create Static Device Nodes in /dev... admin1 # [7364429.062821] admin1 systemd[1]: Starting Create Static Device Nodes in /dev... peer1 # [7364429.070246] peer1 systemd-journald[79]: Time spent on flushing to /var/log/journal/bd7954e698ff424e985391a417854372 is 1.007ms for 6 entries. admin1 # [7364429.070251] admin1 systemd-journald[69]: Time spent on flushing to /var/log/journal/52fc98ea4f184670a43dc25aae26ea21 is 1.046ms for 6 entries. peer1 # [7364429.070246] peer1 systemd-journald[79]: System Journal (/var/log/journal/bd7954e698ff424e985391a417854372) is 8M, max 4G, 3.9G free. admin1 # [7364429.070251] admin1 systemd-journald[69]: System Journal (/var/log/journal/52fc98ea4f184670a43dc25aae26ea21) is 8M, max 4G, 3.9G free. peer1 # [7364429.077704] peer1 systemd[1]: Finished Flush Journal to Persistent Storage. admin1 # [7364429.076752] admin1 systemd[1]: Finished Create Static Device Nodes in /dev. peer1 # [7364429.078205] peer1 systemd[1]: Finished Create Static Device Nodes in /dev. admin1 # [7364429.077035] admin1 systemd[1]: Reached target Preparation for Local File Systems. peer1 # [7364429.078858] peer1 systemd[1]: Reached target Preparation for Local File Systems. admin1 # [7364429.077122] admin1 systemd[1]: Reached target Local File Systems. peer1 # [7364429.078979] peer1 systemd[1]: Reached target Local File Systems. admin1 # [7364429.077844] admin1 systemd[1]: Listening on Boot Loader Control Service Socket. peer1 # [7364429.079751] peer1 systemd[1]: Listening on Boot Loader Control Service Socket. admin1 # [7364429.077885] admin1 systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container peer1 # [7364429.079794] peer1 systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container admin1 # [7364429.078722] admin1 systemd[1]: Starting Save Transient machine-id to Disk... peer1 # [7364429.080631] peer1 systemd[1]: Starting Save Transient machine-id to Disk... admin1 # [7364429.078755] admin1 systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys peer1 # [7364429.081482] peer1 systemd[1]: Starting Create System Files and Directories... admin1 # [7364429.081632] admin1 systemd[1]: Finished Flush Journal to Persistent Storage. peer1 # [7364429.081517] peer1 systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys admin1 # [7364429.082435] admin1 systemd[1]: Starting Create System Files and Directories... peer1 # [7364429.128625] peer1 systemd-tmpfiles[122]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted peer1 # [7364429.128824] peer1 systemd-tmpfiles[122]: fchmod() of /var/log/journal failed: Operation not permitted peer1 # [7364429.128961] peer1 systemd-tmpfiles[122]: fchmod() of /var/log/journal/bd7954e698ff424e985391a417854372 failed: Operation not permitted peer1 # [7364429.129167] peer1 systemd-tmpfiles[122]: fchmod() of /run/log/journal failed: Operation not permitted admin1 # [7364429.128466] admin1 systemd-tmpfiles[112]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted admin1 # [7364429.128646] admin1 systemd-tmpfiles[112]: fchmod() of /var/log/journal failed: Operation not permitted admin1 # [7364429.128773] admin1 systemd-tmpfiles[112]: fchmod() of /var/log/journal/52fc98ea4f184670a43dc25aae26ea21 failed: Operation not permitted peer1 # [7364429.130447] peer1 systemd[1]: Finished Create System Files and Directories. admin1 # [7364429.128979] admin1 systemd-tmpfiles[112]: fchmod() of /run/log/journal failed: Operation not permitted peer1 # [7364429.131511] peer1 systemd[1]: Starting Rebuild Journal Catalog... admin1 # [7364429.130355] admin1 systemd[1]: Finished Create System Files and Directories. peer1 # [7364429.132298] peer1 systemd[1]: Starting Record System Boot/Shutdown in UTMP... admin1 # [7364429.132241] admin1 systemd[1]: Starting Rebuild Journal Catalog... peer1 # [7364429.143884] peer1 systemd[1]: Finished Record System Boot/Shutdown in UTMP. admin1 # [7364429.133115] admin1 systemd[1]: Starting Record System Boot/Shutdown in UTMP... peer1 # [7364429.151630] peer1 systemd[1]: Finished Rebuild Journal Catalog. admin1 # [7364429.143824] admin1 systemd[1]: Finished Record System Boot/Shutdown in UTMP. peer1 # [7364429.152607] peer1 systemd[1]: Starting Update is Completed... admin1 # [7364429.151463] admin1 systemd[1]: Finished Rebuild Journal Catalog. admin1 # [7364429.152582] admin1 systemd[1]: Starting Update is Completed... peer1 # [7364429.162651] peer1 systemd[1]: Finished Update is Completed. peer1 # [7364429.179498] peer1 systemd[1]: Finished Firewall. peer1 # [7364429.179654] peer1 systemd[1]: Reached target Preparation for Network. peer1 # [7364429.179876] peer1 systemd[1]: Listening on Network Management Resolve Hook Socket. peer1 # [7364429.180933] peer1 systemd[1]: Starting Network Management... admin1 # [7364429.162635] admin1 systemd[1]: Finished Update is Completed. admin1 # [7364429.182121] admin1 systemd[1]: Finished Firewall. admin1 # [7364429.182262] admin1 systemd[1]: Reached target Preparation for Network. admin1 # [7364429.182476] admin1 systemd[1]: Listening on Network Management Resolve Hook Socket. admin1 # [7364429.183453] admin1 systemd[1]: Starting Network Management... admin1 # [7364429.570641] admin1 systemd-networkd[182]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted peer1 # [7364429.570641] peer1 systemd-networkd[192]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted admin1 # [7364429.570739] admin1 systemd-networkd[182]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted peer1 # [7364429.570751] peer1 systemd-networkd[192]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted admin1 # [7364429.578290] admin1 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. peer1 # [7364429.578295] peer1 systemd-networkd[192]: /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. admin1 # [7364429.578454] admin1 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. peer1 # [7364429.578460] peer1 systemd-networkd[192]: /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. admin1 # [7364429.578639] admin1 systemd-networkd[182]: lo: Link UP peer1 # [7364429.578675] peer1 systemd-networkd[192]: lo: Link UP admin1 # [7364429.578643] admin1 systemd-networkd[182]: lo: Gained carrier peer1 # [7364429.578683] peer1 systemd-networkd[192]: lo: Gained carrier admin1 # [7364429.578857] admin1 systemd-networkd[182]: eth1: Configuring with /etc/systemd/network/40-eth1.network. peer1 # [7364429.578863] peer1 systemd-networkd[192]: eth1: Configuring with /etc/systemd/network/40-eth1.network. peer1 # [7364429.579238] peer1 systemd[1]: Started Network Management. peer1 # [7364429.579329] peer1 systemd-networkd[192]: eth1: Link UP peer1 # [7364429.579601] peer1 systemd-networkd[192]: eth1: Gained carrier peer1 # [7364429.580378] peer1 systemd[1]: Starting Enable Persistent Storage in systemd-networkd... peer1 # [7364429.709054] peer1 systemd[1]: Finished Enable Persistent Storage in systemd-networkd. admin1 # [7364429.579298] admin1 systemd[1]: Started Network Management. admin1 # [7364429.579392] admin1 systemd-networkd[182]: eth1: Link UP admin1 # [7364429.579689] admin1 systemd-networkd[182]: eth1: Gained carrier admin1 # [7364429.580874] admin1 systemd[1]: Starting Enable Persistent Storage in systemd-networkd... admin1 # [7364429.709089] admin1 systemd[1]: Finished Enable Persistent Storage in systemd-networkd. admin1 # [7364429.854857] admin1 systemd-resolved[93]: Positive Trust Anchors: admin1 # [7364429.854870] admin1 systemd-resolved[93]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d admin1 # [7364429.854874] admin1 systemd-resolved[93]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 admin1 # [7364429.854908] admin1 systemd-resolved[93]: 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 test admin1 # [7364429.877955] admin1 systemd-resolved[93]: Using system hostname 'admin1'. admin1 # [7364429.879541] admin1 systemd[1]: Started Network Name Resolution. admin1 # [7364429.879625] admin1 systemd[1]: Reached target Network. admin1 # [7364429.879694] admin1 systemd[1]: Reached target System Initialization. admin1 # [7364429.879751] admin1 systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container admin1 # [7364429.879783] admin1 systemd[1]: Started Daily Cleanup of Temporary Directories. admin1 # [7364429.879803] admin1 systemd[1]: Reached target Timer Units. admin1 # [7364429.879971] admin1 systemd[1]: Listening on D-Bus System Message Bus Socket. admin1 # [7364429.880142] admin1 systemd[1]: Listening on Nix Daemon Socket. admin1 # [7364429.880301] admin1 systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. admin1 # [7364429.880323] admin1 systemd[1]: Reached target Socket Units. admin1 # [7364429.880373] admin1 systemd[1]: Reached target Basic System. admin1 # [7364429.881500] admin1 systemd[1]: Starting Import lastlog data into lastlog2 database... admin1 # [7364429.882323] admin1 systemd[1]: Starting Name Service Cache Daemon (nsncd)... admin1 # [7364429.883539] admin1 systemd[1]: Starting D-Bus System Message Bus... admin1 # [7364429.935674] admin1 systemd[1]: Finished Import lastlog data into lastlog2 database. peer1 # [7364429.998635] peer1 systemd-resolved[104]: Positive Trust Anchors: peer1 # [7364429.998650] peer1 systemd-resolved[104]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d peer1 # [7364429.998654] peer1 systemd-resolved[104]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 peer1 # [7364429.998687] peer1 systemd-resolved[104]: 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 test peer1 # [7364430.021544] peer1 systemd-resolved[104]: Using system hostname 'peer1'. peer1 # [7364430.023791] peer1 systemd[1]: Started Network Name Resolution. peer1 # [7364430.023934] peer1 systemd[1]: Reached target Network. peer1 # [7364430.024074] peer1 systemd[1]: Reached target System Initialization. peer1 # [7364430.024187] peer1 systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container peer1 # [7364430.024243] peer1 systemd[1]: Started Daily Cleanup of Temporary Directories. peer1 # [7364430.024278] peer1 systemd[1]: Reached target Timer Units. peer1 # [7364430.024512] peer1 systemd[1]: Listening on D-Bus System Message Bus Socket. peer1 # [7364430.024736] peer1 systemd[1]: Listening on Nix Daemon Socket. peer1 # [7364430.024952] peer1 systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. peer1 # [7364430.025006] peer1 systemd[1]: Reached target Socket Units. peer1 # [7364430.025082] peer1 systemd[1]: Reached target Basic System. peer1 # [7364430.026913] peer1 systemd[1]: Starting Import lastlog data into lastlog2 database... peer1 # [7364430.028305] peer1 systemd[1]: Starting Name Service Cache Daemon (nsncd)... peer1 # [7364430.030461] peer1 systemd[1]: Starting D-Bus System Message Bus... peer1 # [7364430.141853] peer1 systemd[1]: Finished Import lastlog data into lastlog2 database. peer1 # [7364430.614433] peer1 nsncd[198]: Sep 02 05:04:16.667 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" peer1 # [7364430.614542] peer1 systemd[1]: Started Name Service Cache Daemon (nsncd). peer1 # [7364430.614614] peer1 systemd[1]: Reached target Host and Network Name Lookups. peer1 # [7364430.614667] peer1 systemd[1]: Reached target User and Group Name Lookups. peer1 # [7364430.622390] peer1 systemd[1]: Starting User Login Management... peer1 # [7364430.623374] peer1 systemd[1]: Starting Permit User Sessions... peer1 # [7364430.633595] peer1 systemd[1]: Finished Permit User Sessions. peer1 # [7364430.635698] peer1 systemd[1]: Started Console Getty. peer1 # [7364430.635755] peer1 systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 peer1 # [7364430.635778] peer1 systemd[1]: Reached target Login Prompts. peer1 # [7364430.728805] peer1 dbus-broker-launch[199]: Looking up NSS user entry for 'systemd-timesync'... peer1 # [7364430.729506] peer1 dbus-broker-launch[199]: NSS returned no entry for 'systemd-timesync' peer1 # [7364430.729506] peer1 dbus-broker-launch[199]: Invalid user-name in /nix/store/4vgxxm5pm041xfw8cndff8xyj1921rvv-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" peer1 # [7364430.729927] peer1 systemd[1]: Started D-Bus System Message Bus. peer1 # [7364430.737196] peer1 dbus-broker-launch[199]: Ready admin1 # [7364430.572780] admin1 nsncd[188]: Sep 02 05:04:16.625 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" admin1 # [7364430.573207] admin1 systemd[1]: Started Name Service Cache Daemon (nsncd). admin1 # [7364430.573277] admin1 systemd[1]: Reached target Host and Network Name Lookups. admin1 # [7364430.573338] admin1 systemd[1]: Reached target User and Group Name Lookups. admin1 # [7364430.574818] admin1 systemd[1]: Starting User Login Management... admin1 # [7364430.575775] admin1 systemd[1]: Starting Permit User Sessions... admin1 # [7364430.628440] admin1 systemd[1]: Finished Permit User Sessions. admin1 # [7364430.629974] admin1 systemd[1]: Started Console Getty. admin1 # [7364430.630021] admin1 systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 admin1 # [7364430.630043] admin1 systemd[1]: Reached target Login Prompts. admin1 # [7364430.701809] admin1 dbus-broker-launch[189]: Looking up NSS user entry for 'systemd-timesync'... admin1 # [7364430.702887] admin1 dbus-broker-launch[189]: NSS returned no entry for 'systemd-timesync' admin1 # [7364430.702887] admin1 dbus-broker-launch[189]: Invalid user-name in /nix/store/4vgxxm5pm041xfw8cndff8xyj1921rvv-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" admin1 # [7364430.703313] admin1 systemd[1]: Started D-Bus System Message Bus. admin1 # [7364430.710487] admin1 dbus-broker-launch[189]: Ready admin1 # [7364430.756143] admin1 systemd-networkd[182]: eth1: Gained IPv6LL peer1 # [7364431.133171] peer1 systemd-logind[214]: New seat seat0. peer1 # [7364431.133367] peer1 systemd[1]: Started User Login Management. peer1 # [7364431.134592] peer1 systemd[1]: Starting linger-users.service... peer1 # [7364431.233067] peer1 systemd[1]: linger-users.service: Deactivated successfully. peer1 # [7364431.233178] peer1 systemd[1]: Finished linger-users.service. peer1 # [7364431.233572] peer1 systemd[1]: Reached target Multi-User System. admin1 # [7364431.133177] admin1 systemd-logind[200]: New seat seat0. admin1 # [7364431.133379] admin1 systemd[1]: Started User Login Management. admin1 # [7364431.134713] admin1 systemd[1]: Starting linger-users.service... admin1 # [7364431.232119] admin1 systemd[1]: linger-users.service: Deactivated successfully. admin1 # [7364431.232255] admin1 systemd[1]: Finished linger-users.service. admin1 # [7364431.232801] admin1 systemd[1]: Reached target Multi-User System. peer1 # [7364431.460128] peer1 systemd-networkd[192]: eth1: Gained IPv6LL admin1: (finished: waiting for unit multi-user.target, in 8.15 seconds) peer1: waiting for unit multi-user.target peer1: (finished: waiting for unit multi-user.target, in 0.02 seconds) peer1: must succeed: cat /nix/store/z61c0lalzvfahapklpif5sc0cd4x5g4b-per-machine-peer1-new-service_not-a-secret peer1: (finished: must succeed: cat /nix/store/z61c0lalzvfahapklpif5sc0cd4x5g4b-per-machine-peer1-new-service_not-a-secret, in 0.01 seconds) peer1: must succeed: ls -la /run/secrets/per-machine/peer1/new-service/a-secret peer1: (finished: must succeed: ls -la /run/secrets/per-machine/peer1/new-service/a-secret, in 0.01 seconds) peer1 # [7364436.150339] peer1 systemd[1]: etc-machine\x2did.mount: Deactivated successfully. peer1 # [7364436.152691] peer1 systemd[1]: Finished Save Transient machine-id to Disk. peer1 # [7364436.153103] peer1 systemd[1]: Startup finished in 7.532s. admin1 # [7364436.137134] admin1 systemd[1]: etc-machine\x2did.mount: Deactivated successfully. admin1 # [7364436.138365] admin1 systemd[1]: Finished Save Transient machine-id to Disk. admin1 # [7364436.138599] admin1 systemd[1]: Startup finished in 7.524s. admin1 peer1 (finished: run the VM test script, in 14.04 seconds) test script finished in 15.23s cleanup kill NspawnMachine (pid 52) kill NspawnMachine (pid 53) Container admin1 terminated by signal KILL. (finished: cleanup, in 0.38 seconds) Container peer1 terminated by signal KILL.