build01: building 7116xgwh0kdcxyvxp39fx0g6hyfx3mdm-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.11 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 54) 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(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. 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. 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 machine on /build/vm-state-machine. 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. router # No journal files were found. router # No journal boot entry found for the specified boot (+0). machine # No journal files were found. machine # No journal boot entry found for the specified boot (+0). router # [361284.664556] router systemd-journald[57]: Journal started router # [361284.664622] router systemd-journald[57]: Runtime Journal (/run/log/journal/9775e7621ecc474781b158ea5cb33da0) is 8M, max 2.5G, 2.4G free. router # [361284.671977] router systemd[1]: Finished Apply Kernel Variables. router # [361284.683849] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully. router # [361284.696947] router systemd[1]: Starting Flush Journal to Persistent Storage... router # [361284.697809] router systemd[1]: Starting Network Name Resolution... router # [361284.698782] router systemd[1]: Starting Create Static Device Nodes in /dev... router # [361284.709122] router systemd-journald[57]: Time spent on flushing to /var/log/journal/9775e7621ecc474781b158ea5cb33da0 is 1.168ms for 7 entries. router # [361284.709122] router systemd-journald[57]: System Journal (/var/log/journal/9775e7621ecc474781b158ea5cb33da0) is 8M, max 4G, 3.9G free. router # [361284.726078] router systemd[1]: Finished Create Static Device Nodes in /dev. router # [361284.726746] router systemd[1]: Reached target Preparation for Local File Systems. router # [361284.726854] router systemd[1]: Reached target Local File Systems. router # [361284.727711] router systemd[1]: Listening on Boot Loader Control Service Socket. router # [361284.727766] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container router # [361284.728669] router systemd[1]: Starting Save Transient machine-id to Disk... router # [361284.728709] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys router # [361284.729690] router systemd[1]: Starting Network Management... router # [361284.784962] router systemd[1]: Finished Flush Journal to Persistent Storage. router # [361284.786655] router systemd[1]: Starting Create System Files and Directories... router # [361284.803497] router systemd-tmpfiles[73]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted router # [361284.803715] router systemd-tmpfiles[73]: fchmod() of /var/log/journal failed: Operation not permitted router # [361284.803863] router systemd-tmpfiles[73]: fchmod() of /var/log/journal/9775e7621ecc474781b158ea5cb33da0 failed: Operation not permitted router # [361284.804218] router systemd-tmpfiles[73]: fchmod() of /run/log/journal failed: Operation not permitted router # [361284.805670] router systemd[1]: Finished Create System Files and Directories. router # [361284.806720] router systemd[1]: Starting Rebuild Journal Catalog... router # [361284.807459] router systemd[1]: Starting Record System Boot/Shutdown in UTMP... router # [361284.820311] router systemd[1]: Finished Record System Boot/Shutdown in UTMP. router # [361284.826095] router systemd[1]: Finished Rebuild Journal Catalog. router # [361284.827169] router systemd[1]: Starting Update is Completed... router # [361284.837805] router systemd[1]: Finished Update is Completed. router # [361285.413238] router systemd-networkd[69]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted router # [361285.413338] router systemd-networkd[69]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted router # [361285.422603] router systemd-networkd[69]: lo: Link UP router # [361285.422611] router systemd-networkd[69]: lo: Gained carrier router # [361285.422812] router systemd-networkd[69]: eth1: Configuring with /etc/systemd/network/40-eth1.network. router # [361285.423159] router systemd[1]: Started Network Management. router # [361285.423297] router systemd-networkd[69]: eth1: Link UP router # [361285.423632] router systemd-networkd[69]: eth1: Gained carrier router # [361285.424270] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd... router # [361285.490155] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd. machine # [361284.674471] machine systemd-journald[57]: Journal started machine # [361284.674534] machine systemd-journald[57]: Runtime Journal (/run/log/journal/8450fc8e147e4eacb9f014e94d88e215) is 8M, max 2.5G, 2.4G free. machine # [361284.682873] machine systemd[1]: Finished Apply Kernel Variables. machine # [361284.696491] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [361284.716990] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [361284.717760] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [361284.726439] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/8450fc8e147e4eacb9f014e94d88e215 is 1.217ms for 6 entries. machine # [361284.726439] machine systemd-journald[57]: System Journal (/var/log/journal/8450fc8e147e4eacb9f014e94d88e215) is 8M, max 4G, 3.9G free. machine # [361284.735935] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [361284.736640] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [361284.736756] machine systemd[1]: Reached target Local File Systems. machine # [361284.737626] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [361284.737675] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [361284.738711] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [361284.738751] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [361284.797200] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [361284.800118] machine systemd[1]: Starting Create System Files and Directories... machine # [361284.818280] machine systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [361284.818499] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted machine # [361284.818648] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal/8450fc8e147e4eacb9f014e94d88e215 failed: Operation not permitted machine # [361284.818870] machine systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted machine # [361284.820299] machine systemd[1]: Finished Create System Files and Directories. machine # [361284.821390] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [361284.822194] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [361284.837549] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [361284.845547] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [361284.847348] machine systemd[1]: Starting Update is Completed... machine # [361284.857752] machine systemd[1]: Finished Update is Completed. machine # [361284.857919] machine systemd[1]: Reached target System Initialization. machine # [361284.858007] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [361284.858045] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [361284.858064] machine systemd[1]: Reached target Timer Units. machine # [361284.858176] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [361284.858296] machine systemd[1]: Listening on Nix Daemon Socket. machine # [361284.858395] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [361284.858420] machine systemd[1]: Reached target Socket Units. machine # [361284.858450] machine systemd[1]: Reached target Basic System. machine # [361284.859530] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [361284.860299] machine systemd[1]: Starting nftables firewall... machine # [361284.861153] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [361284.879958] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [361284.997811] machine nsncd[79]: Oct 13 15:26:27.955 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [361284.997812] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [361284.997892] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [361284.997954] machine systemd[1]: Reached target User and Group Name Lookups. machine # [361284.999290] machine systemd[1]: Starting User Login Management... machine # [361285.002139] machine systemd[1]: Finished nftables firewall. machine # [361285.002313] machine systemd[1]: Reached target Preparation for Network. machine # [361285.003278] machine systemd[1]: Starting Address configuration of eth1... machine # [361285.004374] machine systemd[1]: Starting Extra networking commands.... machine # [361285.005148] machine systemd[1]: Starting Setup wg0 dummy interface... machine # [361285.019919] machine network-addresses-eth1-start[105]: adding address 192.168.1.1/24... done machine # [361285.022455] machine network-addresses-eth1-start[105]: adding address 2001:db8:1::1/64... done machine # [361285.024067] machine systemd[1]: Finished Setup wg0 dummy interface. machine # [361285.026467] machine systemd[1]: Finished Address configuration of eth1. machine # [361285.061645] machine systemd[1]: Stopped target Host and Network Name Lookups. machine # [361285.061708] machine systemd[1]: Stopping Host and Network Name Lookups... machine # [361285.061748] machine systemd[1]: Stopped target User and Group Name Lookups. machine # [361285.061771] machine systemd[1]: Stopping User and Group Name Lookups... machine # [361285.061955] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)... machine # [361285.068184] machine systemd[1]: nscd.service: Deactivated successfully. machine # [361285.068386] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [361285.070714] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [361285.112224] machine systemd[1]: Finished Extra networking commands.. machine # [361285.112503] machine systemd[1]: Reached target Network. machine # [361285.113648] machine systemd[1]: Starting Nginx Web Server... machine # [361285.270939] machine nsncd[179]: Oct 13 15:26:28.228 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [361285.270887] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [361285.270956] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [361285.271026] machine systemd[1]: Reached target User and Group Name Lookups. machine # [361285.272314] machine systemd[1]: Starting Permit User Sessions... machine # [361285.339426] machine systemd[1]: Finished Permit User Sessions. machine # [361285.341134] machine systemd[1]: Started Console Getty. machine # [361285.341202] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [361285.341240] machine systemd[1]: Reached target Login Prompts. machine # [361285.823647] machine systemd-logind[102]: New seat seat0. machine # [361285.824533] machine systemd[1]: Starting D-Bus System Message Bus... machine # [361285.824647] machine systemd[1]: Started User Login Management. machine # [361285.825461] machine systemd[1]: Starting linger-users.service... machine # [361285.889463] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [361285.889819] machine systemd[1]: Finished linger-users.service. machine # [361286.030044] machine nginx-pre-start[205]: nginx: the configuration file /nix/store/rbrd4r9lh3iq8rkq3ciiriyvjx160fh7-nginx.conf syntax is ok machine # [361286.030443] machine nginx-pre-start[205]: nginx: configuration file /nix/store/rbrd4r9lh3iq8rkq3ciiriyvjx160fh7-nginx.conf test is successful machine # [361286.035804] machine systemd[1]: Started Nginx Web Server. machine # [361286.035997] machine systemd[1]: Reached target Multi-User System. router # [361285.884951] router systemd-resolved[64]: Positive Trust Anchors: router # [361285.884964] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d router # [361285.884968] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 router # [361285.885003] 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 # [361285.906087] router systemd-resolved[64]: Using system hostname 'router'. router # [361285.907495] router systemd[1]: Started Network Name Resolution. router # [361285.907593] router systemd[1]: Reached target Network. router # [361285.907678] router systemd[1]: Reached target System Initialization. router # [361285.907733] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container router # [361285.907763] router systemd[1]: Started Daily Cleanup of Temporary Directories. router # [361285.907790] router systemd[1]: Reached target Timer Units. router # [361285.907946] router systemd[1]: Listening on D-Bus System Message Bus Socket. router # [361285.908121] router systemd[1]: Listening on Nix Daemon Socket. router # [361285.908256] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. router # [361285.908284] router systemd[1]: Reached target Socket Units. router # [361285.908338] router systemd[1]: Reached target Basic System. router # [361285.909613] router systemd[1]: Starting Import lastlog data into lastlog2 database... router # [361285.910563] router systemd[1]: Starting Nginx Web Server... router # [361285.911443] router systemd[1]: Starting Name Service Cache Daemon (nsncd)... router # [361285.912753] router systemd[1]: Starting D-Bus System Message Bus... router # [361285.930455] router systemd[1]: Finished Import lastlog data into lastlog2 database. router # [361286.068300] router systemd[1]: Started Name Service Cache Daemon (nsncd). router # [361286.068373] router systemd[1]: Reached target Host and Network Name Lookups. router # [361286.068535] router nsncd[86]: Oct 13 15:26:29.025 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" router # [361286.068451] router systemd[1]: Reached target User and Group Name Lookups. router # [361286.080418] router systemd[1]: Starting User Login Management... router # [361286.081814] router systemd[1]: Starting Permit User Sessions... router # [361286.097385] router systemd[1]: Finished Permit User Sessions. router # [361286.098528] router systemd[1]: Started Console Getty. router # [361286.098574] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 router # [361286.098601] router systemd[1]: Reached target Login Prompts. machine # [361286.176785] machine dbus-broker-launch[201]: Looking up NSS user entry for 'systemd-timesync'... machine # [361286.177818] machine dbus-broker-launch[201]: NSS returned no entry for 'systemd-timesync' machine # [361286.177818] machine dbus-broker-launch[201]: Invalid user-name in /nix/store/z04n9h3rwfqyffnc886glf57frs8idgk-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [361286.178342] machine systemd[1]: Started D-Bus System Message Bus. machine # [361286.186479] machine dbus-broker-launch[201]: Ready router # [361286.227943] router dbus-broker-launch[87]: Looking up NSS user entry for 'systemd-timesync'... router # [361286.228868] router dbus-broker-launch[87]: NSS returned no entry for 'systemd-timesync' router # [361286.228868] router dbus-broker-launch[87]: Invalid user-name in /nix/store/99ngr5ck174ncqg45shbgx0crbkdsn94-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" router # [361286.231732] router systemd[1]: Started D-Bus System Message Bus. router # [361286.238308] router dbus-broker-launch[87]: Ready router # [361286.816200] router systemd-networkd[69]: eth1: Gained IPv6LL router # [361286.878840] router nginx-pre-start[116]: nginx: the configuration file /nix/store/c6kyqxh5q3bfawa27n0rqih6f6fa1paj-nginx.conf syntax is ok router # [361286.879227] router nginx-pre-start[116]: nginx: configuration file /nix/store/c6kyqxh5q3bfawa27n0rqih6f6fa1paj-nginx.conf test is successful router # [361286.891050] router systemd[1]: Started Nginx Web Server. router # [361287.066388] router systemd-logind[105]: New seat seat0. router # [361287.066541] router systemd[1]: Started User Login Management. router # [361287.067961] router systemd[1]: Starting linger-users.service... router # [361287.129661] router systemd[1]: linger-users.service: Deactivated successfully. router # [361287.129900] router systemd[1]: Finished linger-users.service. router # [361287.130372] router systemd[1]: Reached target Multi-User System. router: still waiting for container 'router' to reach ready state... router: still waiting for container 'router' to reach ready state... router: still waiting for container 'router' to reach ready state... router: still waiting for container 'router' to reach ready state... router: still waiting for container 'router' to reach ready state... router # [361333.901703] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully. router # [361333.902890] router systemd[1]: Finished Save Transient machine-id to Disk. router # [361333.903099] router systemd[1]: Startup finished in 49.793s. router: (finished: waiting for unit multi-user.target, in 50.67 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 0.01 seconds) machine: waiting for unit multi-user.target machine: (finished: waiting for unit multi-user.target, in 0.02 seconds) machine: waiting for unit nginx.service machine: (finished: waiting for unit nginx.service, in 0.02 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 machine # [361333.919961] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [361333.921729] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [361333.922219] machine systemd[1]: Startup finished in 49.811s. 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.24 seconds) machine: waiting for unit nftables.service machine: (finished: waiting for unit nftables.service, in 0.02 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 # [361334.409099] machine systemd[1]: Stopping nftables firewall... machine # [361334.552466] machine systemd[1]: nftables.service: Deactivated successfully. machine # [361334.552820] machine systemd[1]: Stopped nftables firewall. machine # [361334.555129] machine systemd[1]: Starting nftables firewall... machine # [361334.637065] machine systemd[1]: Finished nftables firewall. 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: (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 # [361334.676281] machine runuser[238]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [361334.687476] machine runuser[238]: pam_unix(runuser:session): session closed for user alice machine # [361334.696933] machine runuser[240]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [361334.706469] machine runuser[240]: pam_unix(runuser:session): session closed for user alice machine # [361334.715371] machine runuser[242]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [361334.724917] machine runuser[242]: pam_unix(runuser:session): session closed for user alice machine # [361334.733063] machine runuser[244]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [361334.741629] machine runuser[244]: pam_unix(runuser:session): session closed for user bob machine # [361334.751357] machine runuser[247]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [361334.761449] machine runuser[247]: pam_unix(runuser:session): session closed for user bob machine # [361334.771213] machine runuser[250]: 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.05 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.02 seconds) machine: waiting for unit nginx.service machine: (finished: waiting for unit nginx.service, in 0.02 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 52.33 seconds) machine # [361335.810061] machine runuser[250]: pam_unix(runuser:session): session closed for user bob machine # [361335.894913] machine runuser[258]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [361335.904304] machine runuser[258]: pam_unix(runuser:session): session closed for user alice machine # [361335.914273] machine runuser[260]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [361335.924826] machine runuser[260]: pam_unix(runuser:session): session closed for user alice machine # [361335.934825] machine runuser[262]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [361335.944806] machine runuser[262]: pam_unix(runuser:session): session closed for user bob machine # [361335.953909] machine runuser[264]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [361335.964527] machine runuser[264]: pam_unix(runuser:session): session closed for user bob test script finished in 52.73s cleanup kill NspawnMachine (pid 52) kill NspawnMachine (pid 54) Container machine terminated by signal KILL. (finished: cleanup, in 0.33 seconds) Container router terminated by signal KILL.