build01: building inqbf8jh9svkf2mrbrrnrjwqys84nvfn-container-test-run-user-firewall-nftables.drv 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: machine, router, 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 machine: systemd-nspawn running (pid 52) router: systemd-nspawn running (pid 53) machine: Waiting for journal at /build/vm-state-machine/var/log/journal... router: Waiting for journal at /build/vm-state-router/var/log/journal... (finished: start all VMs, in 0.00 seconds) router: waiting for unit multi-user.target nixos-nspawn(router): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(router): 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(machine): TAP vde-tap1 not found; container will be isolated from VDE nixos-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. 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 router on /build/vm-state-router. ░ Spawning container machine on /build/vm-state-machine. machine # No journal boot entry found for the specified boot (+0). router # No journal boot entry found for the specified boot (+0). machine # [533170.023427] machine systemd-journald[57]: Journal started machine # [533170.023501] machine systemd-journald[57]: Runtime Journal (/run/log/journal/0739e91ba51c4e78b2207cd57f7ce898) is 8M, max 2.5G, 2.4G free. machine # [533170.051728] machine systemd[1]: Finished Apply Kernel Variables. machine # [533170.099059] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [533170.160888] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [533170.161703] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [533170.169446] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/0739e91ba51c4e78b2207cd57f7ce898 is 1.637ms for 6 entries. machine # [533170.169446] machine systemd-journald[57]: System Journal (/var/log/journal/0739e91ba51c4e78b2207cd57f7ce898) is 8M, max 4G, 3.9G free. machine # [533170.200253] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [533170.200914] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [533170.201029] machine systemd[1]: Reached target Local File Systems. machine # [533170.201877] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [533170.201927] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [533170.202744] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [533170.202782] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [533170.240347] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [533170.241823] machine systemd[1]: Starting Create System Files and Directories... machine # [533170.257112] machine systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [533170.257292] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted machine # [533170.257410] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal/0739e91ba51c4e78b2207cd57f7ce898 failed: Operation not permitted machine # [533170.257585] machine systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted machine # [533170.260306] machine systemd[1]: Finished Create System Files and Directories. machine # [533170.261356] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [533170.262815] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [533170.275062] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [533170.280916] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [533170.281973] machine systemd[1]: Starting Update is Completed... machine # [533170.293193] machine systemd[1]: Finished Update is Completed. machine # [533170.293389] machine systemd[1]: Reached target System Initialization. machine # [533170.293487] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [533170.293528] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [533170.293547] machine systemd[1]: Reached target Timer Units. machine # [533170.293676] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [533170.294531] machine systemd[1]: Listening on Nix Daemon Socket. machine # [533170.294675] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [533170.294701] machine systemd[1]: Reached target Socket Units. machine # [533170.294742] machine systemd[1]: Reached target Basic System. machine # [533170.297070] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [533170.298032] machine systemd[1]: Starting nftables firewall... machine # [533170.299050] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [533170.317603] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [533170.342650] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [533170.383304] machine systemd[1]: Finished nftables firewall. machine # [533170.383488] machine systemd[1]: Reached target Preparation for Network. machine # [533170.384495] machine systemd[1]: Starting Address configuration of eth1... machine # [533170.385368] machine systemd[1]: Starting Extra networking commands.... machine # [533170.386121] machine systemd[1]: Starting Setup wg0 dummy interface... machine # [533170.401740] machine network-addresses-eth1-start[95]: adding address 192.168.1.1/24... done machine # [533170.403448] machine systemd[1]: Finished Setup wg0 dummy interface. machine # [533170.404226] machine network-addresses-eth1-start[95]: adding address 2001:db8:1::1/64... done machine # [533170.408168] machine systemd[1]: Finished Address configuration of eth1. machine # [533170.447065] machine systemd[1]: nscd.service: Deactivated successfully. machine # [533170.447261] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [533170.449443] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [533170.452795] machine systemd[1]: Finished Extra networking commands.. machine # [533170.452952] machine systemd[1]: Reached target Network. machine # [533170.454028] machine systemd[1]: Starting Nginx Web Server... machine # [533170.656245] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [533170.656534] machine nsncd[164]: Oct 15 15:11:13.613 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [533170.656320] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [533170.656380] machine systemd[1]: Reached target User and Group Name Lookups. machine # [533170.657675] machine systemd[1]: Starting User Login Management... router # [533170.026617] router systemd-journald[57]: Journal started machine # [533170.658474] machine systemd[1]: Starting Permit User Sessions... router # [533170.026679] router systemd-journald[57]: Runtime Journal (/run/log/journal/052f642000464550a6b05c63cf76f020) is 8M, max 2.5G, 2.4G free. machine # [533170.708072] machine systemd[1]: Finished Permit User Sessions. router # [533170.059696] router systemd[1]: Finished Apply Kernel Variables. machine # [533170.709278] machine systemd[1]: Started Console Getty. router # [533170.100447] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [533170.709327] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 router # [533170.160951] router systemd[1]: Starting Flush Journal to Persistent Storage... machine # [533170.709343] machine systemd[1]: Reached target Login Prompts. router # [533170.162051] router systemd[1]: Starting Network Name Resolution... machine # [533171.058887] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. router # [533170.162742] router systemd[1]: Starting Create Static Device Nodes in /dev... router # [533170.169611] router systemd-journald[57]: Time spent on flushing to /var/log/journal/052f642000464550a6b05c63cf76f020 is 1.699ms for 7 entries. router # [533170.169611] router systemd-journald[57]: System Journal (/var/log/journal/052f642000464550a6b05c63cf76f020) is 8M, max 4G, 3.9G free. router # [533170.200237] router systemd[1]: Finished Create Static Device Nodes in /dev. router # [533170.200899] router systemd[1]: Reached target Preparation for Local File Systems. router # [533170.201004] router systemd[1]: Reached target Local File Systems. router # [533170.201839] router systemd[1]: Listening on Boot Loader Control Service Socket. router # [533170.201888] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container router # [533170.202765] router systemd[1]: Starting Save Transient machine-id to Disk... router # [533170.202801] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys router # [533170.203790] router systemd[1]: Starting Network Management... router # [533170.257274] router systemd[1]: Finished Flush Journal to Persistent Storage. router # [533170.258221] router systemd[1]: Starting Create System Files and Directories... router # [533170.277874] router systemd-tmpfiles[73]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted router # [533170.278107] router systemd-tmpfiles[73]: fchmod() of /var/log/journal failed: Operation not permitted router # [533170.278262] router systemd-tmpfiles[73]: fchmod() of /var/log/journal/052f642000464550a6b05c63cf76f020 failed: Operation not permitted router # [533170.278488] router systemd-tmpfiles[73]: fchmod() of /run/log/journal failed: Operation not permitted router # [533170.280210] router systemd[1]: Finished Create System Files and Directories. router # [533170.281077] router systemd[1]: systemd-journal-catalog-update.service: Failed to spawn executor: No such file or directory router # [533170.281102] router systemd[1]: systemd-journal-catalog-update.service: Failed to spawn 'start' task: No such file or directory router # [533170.281133] router systemd[1]: systemd-journal-catalog-update.service: Failed with result 'resources'. router # [533170.281182] router systemd[1]: Failed to start Rebuild Journal Catalog. router # [533170.281966] router systemd[1]: Starting Update is Completed... router # [533170.283042] router systemd[1]: Starting Record System Boot/Shutdown in UTMP... router # [533170.294157] router systemd[1]: Finished Update is Completed. router # [533170.297280] router systemd[1]: Finished Record System Boot/Shutdown in UTMP. router # [533170.339520] router systemd[1]: Finished Save Transient machine-id to Disk. router # [533171.026903] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully. router # [533171.710045] router systemd-networkd[69]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted router # [533171.710200] router systemd-networkd[69]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted router # [533171.723346] router systemd-networkd[69]: lo: Link UP router # [533171.723353] router systemd-networkd[69]: lo: Gained carrier router # [533171.723565] router systemd-networkd[69]: eth1: Configuring with /etc/systemd/network/40-eth1.network. router # [533171.724187] router systemd[1]: Started Network Management. router # [533171.724279] router systemd-networkd[69]: eth1: Link UP router # [533171.724565] router systemd-networkd[69]: eth1: Gained carrier router # [533171.725499] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd... router # [533171.774638] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd. machine # [533172.119889] machine nginx-pre-start[192]: nginx: the configuration file /nix/store/rbrd4r9lh3iq8rkq3ciiriyvjx160fh7-nginx.conf syntax is ok machine # [533172.120616] machine nginx-pre-start[192]: nginx: configuration file /nix/store/rbrd4r9lh3iq8rkq3ciiriyvjx160fh7-nginx.conf test is successful machine # [533172.127568] machine systemd-logind[182]: New seat seat0. machine # [533172.128207] machine systemd[1]: Started User Login Management. machine # [533172.129423] machine systemd[1]: Started Nginx Web Server. machine # [533172.131791] machine systemd[1]: Starting D-Bus System Message Bus... machine # [533172.133099] machine systemd[1]: Starting linger-users.service... machine # [533172.165902] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [533172.166131] machine systemd[1]: Finished linger-users.service. machine # [533172.166365] machine systemd[1]: Reached target Multi-User System. router # [533172.402359] router systemd-resolved[64]: Positive Trust Anchors: router # [533172.402373] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d router # [533172.402376] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 router # [533172.402410] router systemd-resolved[64]: 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 router # [533172.435880] router systemd-resolved[64]: Using system hostname 'router'. router # [533172.437536] router systemd[1]: Started Network Name Resolution. router # [533172.437678] router systemd[1]: Reached target Network. router # [533172.437766] router systemd[1]: Reached target System Initialization. router # [533172.437825] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container router # [533172.437854] router systemd[1]: Started Daily Cleanup of Temporary Directories. router # [533172.437880] router systemd[1]: Reached target Timer Units. router # [533172.438155] router systemd[1]: Listening on D-Bus System Message Bus Socket. router # [533172.438318] router systemd[1]: Listening on Nix Daemon Socket. router # [533172.438444] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. router # [533172.438467] router systemd[1]: Reached target Socket Units. router # [533172.438510] router systemd[1]: Reached target Basic System. router # [533172.440029] router systemd[1]: Starting Import lastlog data into lastlog2 database... router # [533172.442774] router systemd[1]: Starting Nginx Web Server... router # [533172.444253] router systemd[1]: Starting Name Service Cache Daemon (nsncd)... router # [533172.446095] router systemd[1]: Starting D-Bus System Message Bus... router # [533172.469463] router systemd[1]: Finished Import lastlog data into lastlog2 database. router # [533172.864236] router systemd-networkd[69]: eth1: Gained IPv6LL router # [533173.942470] router systemd[1]: Started Name Service Cache Daemon (nsncd). router # [533173.942544] router systemd[1]: Reached target Host and Network Name Lookups. router # [533173.942601] router systemd[1]: Reached target User and Group Name Lookups. router # [533173.944772] router systemd[1]: Starting User Login Management... router # [533173.946825] router systemd[1]: Starting Permit User Sessions... router # [533173.998198] router systemd[1]: Finished Permit User Sessions. router # [533173.999520] router systemd[1]: Started Console Getty. router # [533173.999581] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 router # [533173.999606] router systemd[1]: Reached target Login Prompts. router # [533174.071139] router nsncd[85]: Oct 15 15:11:17.028 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [533174.475764] machine dbus-broker-launch[195]: Looking up NSS user entry for 'systemd-timesync'... machine # [533174.476631] machine dbus-broker-launch[195]: NSS returned no entry for 'systemd-timesync' machine # [533174.476631] machine dbus-broker-launch[195]: Invalid user-name in /nix/store/agj4md1jicy41md8k4i6vdxknzpy9w2y-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [533174.477764] machine systemd[1]: Started D-Bus System Message Bus. machine # [533174.478166] machine systemd[1]: Startup finished in 4.849s. machine # [533174.486200] machine dbus-broker-launch[195]: Ready router # [533174.654215] router dbus-broker-launch[86]: Looking up NSS user entry for 'systemd-timesync'... router # [533174.655625] router dbus-broker-launch[86]: NSS returned no entry for 'systemd-timesync' router # [533174.655625] router dbus-broker-launch[86]: Invalid user-name in /nix/store/hhr36vyh3qvfapvbr8x96sgxj47l0fa0-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" router # [533174.655633] router systemd[1]: Started D-Bus System Message Bus. router # [533174.662778] router dbus-broker-launch[86]: Ready router # [533175.724878] router nginx-pre-start[115]: nginx: the configuration file /nix/store/c6kyqxh5q3bfawa27n0rqih6f6fa1paj-nginx.conf syntax is ok router # [533175.725319] router nginx-pre-start[115]: nginx: configuration file /nix/store/c6kyqxh5q3bfawa27n0rqih6f6fa1paj-nginx.conf test is successful router # [533175.732260] router systemd[1]: Started Nginx Web Server. router # [533175.828739] router systemd-logind[98]: New seat seat0. router # [533175.828947] router systemd[1]: Started User Login Management. router # [533175.833577] router systemd[1]: Starting linger-users.service... router # [533175.859704] router systemd[1]: linger-users.service: Deactivated successfully. router # [533175.859935] router systemd[1]: Finished linger-users.service. router # [533175.860495] router systemd[1]: Reached target Multi-User System. router # [533175.860714] router systemd[1]: Startup finished in 6.239s. router: (finished: waiting for unit multi-user.target, in 7.19 seconds) router: waiting for TCP port 80 on localhost Connection to localhost (::1) 80 port [tcp/http] succeeded! router: (finished: waiting for TCP port 80 on localhost, in 2.08 seconds) machine: waiting for unit multi-user.target machine: (finished: waiting for unit multi-user.target, in 0.06 seconds) machine: waiting for unit nginx.service machine: (finished: waiting for unit nginx.service, in 0.05 seconds) router: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' router: (finished: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}', in 0.01 seconds) router: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1 router: (finished: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1, in 0.01 seconds) Router IPv4: 192.168.1.2 Router IPv6: 2001:db8:1::2 machine: must succeed: systemctl restart nftables machine: (finished: must succeed: systemctl restart nftables, in 0.17 seconds) machine: waiting for unit nftables.service machine: (finished: waiting for unit nftables.service, in 0.01 seconds) machine: must succeed: nft list table inet user-firewall >&2 table inet user-firewall { chain output { type filter hook output priority filter; policy accept; oifname "lo" counter packets 0 bytes 0 accept comment "allow lo" oifname "tun*" counter packets 0 bytes 0 accept comment "allow tun*" oifname "tap*" counter packets 0 bytes 0 accept comment "allow tap*" oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*" oifname "tailscale*" counter packets 0 bytes 0 accept comment "allow tailscale*" oifname "zt*" counter packets 0 bytes 0 accept comment "allow zt*" oifname "vpn*" counter packets 0 bytes 0 accept comment "allow vpn*" oifname "ipsec*" counter packets 0 bytes 0 accept comment "allow ipsec*" oifname "nebula*" counter packets 0 bytes 0 accept comment "allow nebula*" oifname "tinc*" counter packets 0 bytes 0 accept comment "allow tinc*" oifname "edge*" counter packets 0 bytes 0 accept comment "allow edge*" oifname "hyprspace" counter packets 0 bytes 0 accept comment "allow hyprspace" oifname "ham0" counter packets 0 bytes 0 accept comment "allow ham0" oifname "easytier" counter packets 0 bytes 0 accept comment "allow easytier" oifname "mycelium" counter packets 0 bytes 0 accept comment "allow mycelium" meta skuid 1002 counter packets 0 bytes 0 reject comment "blocked user bob" } } machine: (finished: must succeed: nft list table inet user-firewall >&2, in 0.01 seconds) machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080 machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds) machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2 machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds) machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2] machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080 machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$? machine # [533178.578899] machine systemd[1]: Stopping nftables firewall... machine # [533178.650881] machine systemd[1]: nftables.service: Deactivated successfully. machine # [533178.651135] machine systemd[1]: Stopped nftables firewall. machine # [533178.652602] machine systemd[1]: Starting nftables firewall... machine # [533178.733163] machine systemd[1]: Finished nftables firewall. machine # [533178.764772] machine runuser[228]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [533178.773875] machine runuser[228]: pam_unix(runuser:session): session closed for user alice machine # [533178.782853] machine runuser[230]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [533178.791848] machine runuser[230]: pam_unix(runuser:session): session closed for user alice machine # [533178.800880] machine runuser[232]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [533178.809831] machine runuser[232]: pam_unix(runuser:session): session closed for user alice machine # [533178.817817] machine runuser[234]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [533178.828588] machine runuser[234]: pam_unix(runuser:session): session closed for user bob machine: (finished: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$?, in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$? machine # [533178.838069] machine runuser[237]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [533178.846908] machine runuser[237]: pam_unix(runuser:session): session closed for user bob machine # [533178.858292] machine runuser[240]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine: (finished: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?, in 1.02 seconds) machine: must succeed: nft list table inet user-firewall machine: (finished: must succeed: nft list table inet user-firewall, in 0.01 seconds) machine: waiting for unit setup-wg0-interface.service machine: (finished: waiting for unit setup-wg0-interface.service, in 0.01 seconds) machine: waiting for unit nginx.service machine: (finished: waiting for unit nginx.service, in 0.01 seconds) machine: waiting for TCP port 8081 on 10.100.0.2 Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded! machine: (finished: waiting for TCP port 8081 on 10.100.0.2, in 0.01 seconds) machine: must succeed: ip link show wg0 machine: (finished: must succeed: ip link show wg0, in 0.01 seconds) machine: must succeed: ip addr show wg0 machine: (finished: must succeed: ip addr show wg0, in 0.01 seconds) machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/ machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds) machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/ machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/ machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/ machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds) machine: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*" machine: (finished: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2, in 0.01 seconds) (finished: run the VM test script, in 10.84 seconds) test script finished in 10.94s cleanup kill NspawnMachine (pid 52) machine # [533179.869992] machine runuser[240]: pam_unix(runuser:session): session closed for user bob machine # [533179.936140] machine runuser[248]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [533179.945107] machine runuser[248]: pam_unix(runuser:session): session closed for user alice machine # [533179.953017] machine runuser[250]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [533179.961902] machine runuser[250]: pam_unix(runuser:session): session closed for user alice machine # [533179.971304] machine runuser[252]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [533179.979722] machine runuser[252]: pam_unix(runuser:session): session closed for user bob machine # [533179.988267] machine runuser[254]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [533179.996299] machine runuser[254]: pam_unix(runuser:session): session closed for user bob kill NspawnMachine (pid 53) Container machine terminated by signal KILL. (finished: cleanup, in 0.43 seconds) Container router terminated by signal KILL.