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(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. 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. 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. 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. ░ Spawning container admin1 on /build/vm-state-admin1. peer1 # [6695243.704263] peer1 systemd-journald[78]: Journal started peer1 # [6695243.704323] peer1 systemd-journald[78]: Runtime Journal (/run/log/journal/f66e924b91854fb6b43509454e9f067a) is 8M, max 2.5G, 2.4G free. peer1 # [6695243.710780] peer1 systemd[1]: Starting Flush Journal to Persistent Storage... peer1 # [6695243.711583] peer1 systemd[1]: Starting Network Name Resolution... peer1 # [6695243.712271] peer1 systemd[1]: Starting Create Static Device Nodes in /dev... peer1 # [6695243.718953] peer1 systemd-journald[78]: Time spent on flushing to /var/log/journal/f66e924b91854fb6b43509454e9f067a is 1.335ms for 5 entries. peer1 # [6695243.718953] peer1 systemd-journald[78]: System Journal (/var/log/journal/f66e924b91854fb6b43509454e9f067a) is 8M, max 4G, 3.9G free. peer1 # [6695243.734663] peer1 systemd[1]: Finished Flush Journal to Persistent Storage. peer1 # [6695243.772281] peer1 systemd[1]: Finished Create Static Device Nodes in /dev. peer1 # [6695243.772975] peer1 systemd[1]: Reached target Preparation for Local File Systems. peer1 # [6695243.773099] peer1 systemd[1]: Reached target Local File Systems. peer1 # [6695243.773896] peer1 systemd[1]: Listening on Boot Loader Control Service Socket. peer1 # [6695243.773939] peer1 systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container peer1 # [6695243.774795] peer1 systemd[1]: Starting Save Transient machine-id to Disk... peer1 # [6695243.775482] peer1 systemd[1]: Starting Create System Files and Directories... peer1 # [6695243.775577] peer1 systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys peer1 # [6695243.788814] peer1 systemd-tmpfiles[143]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted peer1 # [6695243.788982] peer1 systemd-tmpfiles[143]: fchmod() of /var/log/journal failed: Operation not permitted peer1 # [6695243.789092] peer1 systemd-tmpfiles[143]: fchmod() of /var/log/journal/f66e924b91854fb6b43509454e9f067a failed: Operation not permitted peer1 # [6695243.789262] peer1 systemd-tmpfiles[143]: fchmod() of /run/log/journal failed: Operation not permitted peer1 # [6695243.790779] peer1 systemd[1]: Finished Create System Files and Directories. peer1 # [6695243.791883] peer1 systemd[1]: Starting Rebuild Journal Catalog... peer1 # [6695243.792682] peer1 systemd[1]: Starting Record System Boot/Shutdown in UTMP... admin1 # [6695243.695052] admin1 systemd-journald[69]: Journal started admin1 # [6695243.695112] admin1 systemd-journald[69]: Runtime Journal (/run/log/journal/1fd4af61fbb94f99bfb83d54f87c669d) is 8M, max 2.5G, 2.4G free. admin1 # [6695243.699595] admin1 systemd[1]: Finished Create Static Device Nodes in /dev gracefully. admin1 # [6695243.708907] admin1 systemd[1]: Starting Flush Journal to Persistent Storage... admin1 # [6695243.709798] admin1 systemd[1]: Starting Network Name Resolution... admin1 # [6695243.710534] admin1 systemd[1]: Starting Create Static Device Nodes in /dev... admin1 # [6695243.718575] admin1 systemd-journald[69]: Time spent on flushing to /var/log/journal/1fd4af61fbb94f99bfb83d54f87c669d is 1.242ms for 6 entries. admin1 # [6695243.718575] admin1 systemd-journald[69]: System Journal (/var/log/journal/1fd4af61fbb94f99bfb83d54f87c669d) is 8M, max 4G, 3.9G free. admin1 # [6695243.723678] admin1 systemd[1]: Finished Create Static Device Nodes in /dev. admin1 # [6695243.723950] admin1 systemd[1]: Reached target Preparation for Local File Systems. admin1 # [6695243.724055] admin1 systemd[1]: Reached target Local File Systems. admin1 # [6695243.724842] admin1 systemd[1]: Listening on Boot Loader Control Service Socket. admin1 # [6695243.724886] admin1 systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container admin1 # [6695243.725815] admin1 systemd[1]: Starting Save Transient machine-id to Disk... admin1 # [6695243.725849] admin1 systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys admin1 # [6695243.733177] admin1 systemd[1]: Finished Flush Journal to Persistent Storage. admin1 # [6695243.734752] admin1 systemd[1]: Starting Create System Files and Directories... admin1 # [6695243.773847] admin1 systemd-tmpfiles[113]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted admin1 # [6695243.774019] admin1 systemd-tmpfiles[113]: fchmod() of /var/log/journal failed: Operation not permitted admin1 # [6695243.774132] admin1 systemd-tmpfiles[113]: fchmod() of /var/log/journal/1fd4af61fbb94f99bfb83d54f87c669d failed: Operation not permitted admin1 # [6695243.774303] admin1 systemd-tmpfiles[113]: fchmod() of /run/log/journal failed: Operation not permitted admin1 # [6695243.775640] admin1 systemd[1]: Finished Create System Files and Directories. admin1 # [6695243.776716] admin1 systemd[1]: Starting Rebuild Journal Catalog... admin1 # [6695243.777427] admin1 systemd[1]: Starting Record System Boot/Shutdown in UTMP... admin1 # [6695243.788162] admin1 systemd[1]: Finished Record System Boot/Shutdown in UTMP. admin1 # [6695243.794415] admin1 systemd[1]: Finished Rebuild Journal Catalog. admin1 # [6695243.795443] admin1 systemd[1]: Starting Update is Completed... admin1 # [6695243.805131] admin1 systemd[1]: Finished Update is Completed. admin1 # [6695243.839207] admin1 systemd[1]: Finished Firewall. admin1 # [6695243.839381] admin1 systemd[1]: Reached target Preparation for Network. admin1 # [6695243.839696] admin1 systemd[1]: Listening on Network Management Resolve Hook Socket. admin1 # [6695243.840908] admin1 systemd[1]: Starting Network Management... peer1 # [6695243.803933] peer1 systemd[1]: Finished Record System Boot/Shutdown in UTMP. peer1 # [6695243.812181] peer1 systemd[1]: Finished Rebuild Journal Catalog. peer1 # [6695243.813236] peer1 systemd[1]: Starting Update is Completed... peer1 # [6695243.823558] peer1 systemd[1]: Finished Update is Completed. peer1 # [6695243.847479] peer1 systemd[1]: Finished Firewall. peer1 # [6695243.847677] peer1 systemd[1]: Reached target Preparation for Network. peer1 # [6695243.847990] peer1 systemd[1]: Listening on Network Management Resolve Hook Socket. peer1 # [6695243.849370] peer1 systemd[1]: Starting Network Management... peer1 # [6695244.231306] peer1 systemd-networkd[191]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted peer1 # [6695244.231401] peer1 systemd-networkd[191]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted peer1 # [6695244.238111] peer1 systemd-networkd[191]: /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 # [6695244.238274] peer1 systemd-networkd[191]: /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 # [6695244.238433] peer1 systemd-networkd[191]: lo: Link UP peer1 # [6695244.238437] peer1 systemd-networkd[191]: lo: Gained carrier peer1 # [6695244.238619] peer1 systemd-networkd[191]: eth1: Configuring with /etc/systemd/network/40-eth1.network. peer1 # [6695244.239043] peer1 systemd[1]: Started Network Management. peer1 # [6695244.239282] peer1 systemd-networkd[191]: eth1: Link UP peer1 # [6695244.239463] peer1 systemd-networkd[191]: eth1: Gained carrier peer1 # [6695244.241069] peer1 systemd[1]: Starting Enable Persistent Storage in systemd-networkd... peer1 # [6695244.299541] peer1 systemd[1]: Finished Enable Persistent Storage in systemd-networkd. peer1 # [6695244.455653] peer1 systemd-resolved[101]: Positive Trust Anchors: peer1 # [6695244.455665] peer1 systemd-resolved[101]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d peer1 # [6695244.455668] peer1 systemd-resolved[101]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 peer1 # [6695244.455704] peer1 systemd-resolved[101]: 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 # [6695244.477770] peer1 systemd-resolved[101]: Using system hostname 'peer1'. peer1 # [6695244.479100] peer1 systemd[1]: Started Network Name Resolution. peer1 # [6695244.479179] peer1 systemd[1]: Reached target Network. peer1 # [6695244.479250] peer1 systemd[1]: Reached target System Initialization. peer1 # [6695244.479300] peer1 systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container peer1 # [6695244.479330] peer1 systemd[1]: Started Daily Cleanup of Temporary Directories. peer1 # [6695244.479348] peer1 systemd[1]: Reached target Timer Units. peer1 # [6695244.479471] peer1 systemd[1]: Listening on D-Bus System Message Bus Socket. peer1 # [6695244.479584] peer1 systemd[1]: Listening on Nix Daemon Socket. peer1 # [6695244.479687] peer1 systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. peer1 # [6695244.479707] peer1 systemd[1]: Reached target Socket Units. peer1 # [6695244.479742] peer1 systemd[1]: Reached target Basic System. peer1 # [6695244.480919] peer1 systemd[1]: Starting Import lastlog data into lastlog2 database... peer1 # [6695244.481786] peer1 systemd[1]: Starting Name Service Cache Daemon (nsncd)... admin1 # [6695244.267038] admin1 systemd-networkd[182]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted admin1 # [6695244.267128] admin1 systemd-networkd[182]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted admin1 # [6695244.277125] 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. admin1 # [6695244.277288] 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. admin1 # [6695244.277434] admin1 systemd-networkd[182]: lo: Link UP admin1 # [6695244.277437] admin1 systemd-networkd[182]: lo: Gained carrier admin1 # [6695244.277611] admin1 systemd-networkd[182]: eth1: Configuring with /etc/systemd/network/40-eth1.network. admin1 # [6695244.278016] admin1 systemd[1]: Started Network Management. admin1 # [6695244.292752] admin1 systemd-networkd[182]: eth1: Link UP admin1 # [6695244.292822] admin1 systemd[1]: Starting Enable Persistent Storage in systemd-networkd... admin1 # [6695244.292990] admin1 systemd-networkd[182]: eth1: Gained carrier admin1 # [6695244.330133] admin1 systemd[1]: Finished Enable Persistent Storage in systemd-networkd. admin1 # [6695244.471746] admin1 systemd-resolved[93]: Positive Trust Anchors: admin1 # [6695244.471758] admin1 systemd-resolved[93]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d admin1 # [6695244.471760] admin1 systemd-resolved[93]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 admin1 # [6695244.471796] 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 # [6695244.493914] admin1 systemd-resolved[93]: Using system hostname 'admin1'. admin1 # [6695244.495243] admin1 systemd[1]: Started Network Name Resolution. admin1 # [6695244.495317] admin1 systemd[1]: Reached target Network. admin1 # [6695244.495389] admin1 systemd[1]: Reached target System Initialization. admin1 # [6695244.495440] admin1 systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container admin1 # [6695244.495470] admin1 systemd[1]: Started Daily Cleanup of Temporary Directories. admin1 # [6695244.495486] admin1 systemd[1]: Reached target Timer Units. admin1 # [6695244.495609] admin1 systemd[1]: Listening on D-Bus System Message Bus Socket. admin1 # [6695244.495736] admin1 systemd[1]: Listening on Nix Daemon Socket. admin1 # [6695244.495848] admin1 systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. admin1 # [6695244.495872] admin1 systemd[1]: Reached target Socket Units. admin1 # [6695244.495906] admin1 systemd[1]: Reached target Basic System. peer1 # [6695244.483119] peer1 systemd[1]: Starting D-Bus System Message Bus... peer1 # [6695244.602847] peer1 systemd[1]: Finished Import lastlog data into lastlog2 database. peer1 # [6695244.704390] peer1 nsncd[197]: Aug 25 11:11:10.757 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" peer1 # [6695244.704545] peer1 systemd[1]: Started Name Service Cache Daemon (nsncd). peer1 # [6695244.704596] peer1 systemd[1]: Reached target Host and Network Name Lookups. peer1 # [6695244.704645] peer1 systemd[1]: Reached target User and Group Name Lookups. peer1 # [6695244.736481] peer1 systemd[1]: Starting User Login Management... admin1 # [6695244.588446] admin1 systemd[1]: Starting Import lastlog data into lastlog2 database... admin1 # [6695244.589572] admin1 systemd[1]: Starting Name Service Cache Daemon (nsncd)... admin1 # [6695244.590846] admin1 systemd[1]: Starting D-Bus System Message Bus... admin1 # [6695244.605749] admin1 systemd[1]: Finished Import lastlog data into lastlog2 database. admin1 # [6695244.695678] admin1 nsncd[188]: Aug 25 11:11:10.748 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" admin1 # [6695244.695775] admin1 systemd[1]: Started Name Service Cache Daemon (nsncd). admin1 # [6695244.695840] admin1 systemd[1]: Reached target Host and Network Name Lookups. admin1 # [6695244.695901] admin1 systemd[1]: Reached target User and Group Name Lookups. admin1 # [6695244.697456] admin1 systemd[1]: Starting User Login Management... admin1 # [6695244.698454] admin1 systemd[1]: Starting Permit User Sessions... admin1 # [6695244.743097] admin1 systemd[1]: Finished Permit User Sessions. admin1 # [6695244.744309] admin1 systemd[1]: Started Console Getty. admin1 # [6695244.744358] admin1 systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 admin1 # [6695244.744380] admin1 systemd[1]: Reached target Login Prompts. admin1 # [6695244.785214] admin1 dbus-broker-launch[189]: Looking up NSS user entry for 'systemd-timesync'... admin1 # [6695244.786305] admin1 dbus-broker-launch[189]: NSS returned no entry for 'systemd-timesync' admin1 # [6695244.786341] admin1 dbus-broker-launch[189]: Invalid user-name in /nix/store/v0qgwjqpmqxxvck906x1kby2gvvgwg6y-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" admin1 # [6695244.786896] admin1 systemd[1]: Started D-Bus System Message Bus. admin1 # [6695244.795404] admin1 dbus-broker-launch[189]: Ready peer1 # [6695244.738214] peer1 systemd[1]: Starting Permit User Sessions... peer1 # [6695244.748492] peer1 systemd[1]: Finished Permit User Sessions. peer1 # [6695244.750096] peer1 systemd[1]: Started Console Getty. peer1 # [6695244.750166] peer1 systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 peer1 # [6695244.750205] peer1 systemd[1]: Reached target Login Prompts. peer1 # [6695244.810903] peer1 dbus-broker-launch[198]: Looking up NSS user entry for 'systemd-timesync'... peer1 # [6695244.811928] peer1 dbus-broker-launch[198]: NSS returned no entry for 'systemd-timesync' peer1 # [6695244.811928] peer1 dbus-broker-launch[198]: Invalid user-name in /nix/store/v0qgwjqpmqxxvck906x1kby2gvvgwg6y-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" peer1 # [6695244.812455] peer1 systemd[1]: Started D-Bus System Message Bus. peer1 # [6695244.819862] peer1 dbus-broker-launch[198]: Ready admin1 # [6695245.227192] admin1 systemd-logind[204]: New seat seat0. admin1 # [6695245.227369] admin1 systemd[1]: Started User Login Management. peer1 # [6695245.227165] peer1 systemd-logind[213]: New seat seat0. peer1 # [6695245.227331] peer1 systemd[1]: Started User Login Management. peer1 # [6695245.228696] peer1 systemd[1]: Starting linger-users.service... peer1 # [6695245.285130] peer1 systemd[1]: linger-users.service: Deactivated successfully. admin1 # [6695245.229557] admin1 systemd[1]: Starting linger-users.service... peer1 # [6695245.285301] peer1 systemd[1]: Finished linger-users.service. admin1 # [6695245.287249] admin1 systemd[1]: linger-users.service: Deactivated successfully. peer1 # [6695245.285865] peer1 systemd[1]: Reached target Multi-User System. admin1 # [6695245.287325] admin1 systemd[1]: Finished linger-users.service. admin1 # [6695245.287712] admin1 systemd[1]: Reached target Multi-User System. peer1 # [6695246.080231] peer1 systemd-networkd[191]: eth1: Gained IPv6LL admin1 # [6695246.080252] admin1 systemd-networkd[182]: eth1: Gained IPv6LL admin1: (finished: waiting for unit multi-user.target, in 8.67 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) admin1 # [6695251.420274] admin1 systemd[1]: etc-machine\x2did.mount: Deactivated successfully. admin1 # [6695251.422534] admin1 systemd[1]: Finished Save Transient machine-id to Disk. admin1 # [6695251.440221] admin1 systemd[1]: Startup finished in 8.168s. peer1 # [6695251.419980] peer1 systemd[1]: etc-machine\x2did.mount: Deactivated successfully. peer1 # [6695251.422736] peer1 systemd[1]: Finished Save Transient machine-id to Disk. peer1 # [6695251.440251] peer1 systemd[1]: Startup finished in 8.159s. admin1 peer1 (finished: run the VM test script, in 14.50 seconds) test script finished in 15.83s cleanup kill NspawnMachine (pid 52) kill NspawnMachine (pid 53) Container admin1 terminated by signal KILL. (finished: cleanup, in 0.33 seconds) Container peer1 terminated by signal KILL.