build01: building i1ss48j5iq48c3x1k11a5f9iwy891xgi-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) router: Waiting for journal at /build/vm-state-router/var/log/journal... machine: Waiting for journal at /build/vm-state-machine/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. 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. ░ Spawning container router on /build/vm-state-router. machine # [1910177.837790] machine systemd-journald[57]: Journal started machine # [1910177.837847] machine systemd-journald[57]: Runtime Journal (/run/log/journal/0497d938552f42049dd85aee7be599e3) is 8M, max 2.5G, 2.4G free. machine # [1910177.844492] machine systemd[1]: Finished Apply Kernel Variables. machine # [1910177.856596] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [1910177.870864] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [1910177.871811] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [1910177.881213] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/0497d938552f42049dd85aee7be599e3 is 1.760ms for 6 entries. machine # [1910177.881213] machine systemd-journald[57]: System Journal (/var/log/journal/0497d938552f42049dd85aee7be599e3) is 8M, max 4G, 3.9G free. machine # [1910177.892462] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [1910177.892782] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [1910177.893693] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [1910177.893816] machine systemd[1]: Reached target Local File Systems. machine # [1910177.894782] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [1910177.894837] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [1910177.895718] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [1910177.896362] machine systemd[1]: Starting Create System Files and Directories... machine # [1910177.896395] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [1910177.914896] machine systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [1910177.915112] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted machine # [1910177.915270] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal/0497d938552f42049dd85aee7be599e3 failed: Operation not permitted machine # [1910177.915495] machine systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted machine # [1910177.916446] machine systemd[1]: Finished Create System Files and Directories. router # [1910177.837948] router systemd-journald[57]: Journal started router # [1910177.838000] router systemd-journald[57]: Runtime Journal (/run/log/journal/682f62fa638642cf9b5f5d3c901320c6) is 8M, max 2.5G, 2.4G free. router # [1910177.843217] router systemd[1]: Finished Apply Kernel Variables. router # [1910177.854682] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully. router # [1910177.867197] router systemd[1]: Starting Flush Journal to Persistent Storage... router # [1910177.868101] router systemd[1]: Starting Network Name Resolution... router # [1910177.868740] router systemd[1]: Starting Create Static Device Nodes in /dev... router # [1910177.878904] router systemd-journald[57]: Time spent on flushing to /var/log/journal/682f62fa638642cf9b5f5d3c901320c6 is 1.732ms for 7 entries. router # [1910177.878904] router systemd-journald[57]: System Journal (/var/log/journal/682f62fa638642cf9b5f5d3c901320c6) is 8M, max 4G, 3.9G free. router # [1910177.884877] router systemd[1]: Finished Create Static Device Nodes in /dev. router # [1910177.885458] router systemd[1]: Reached target Preparation for Local File Systems. router # [1910177.885596] router systemd[1]: Reached target Local File Systems. router # [1910177.886404] router systemd[1]: Listening on Boot Loader Control Service Socket. router # [1910177.886453] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container router # [1910177.887358] router systemd[1]: Starting Save Transient machine-id to Disk... router # [1910177.887396] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys router # [1910177.888337] router systemd[1]: Starting Network Management... router # [1910177.891963] router systemd[1]: Finished Flush Journal to Persistent Storage. router # [1910177.892998] router systemd[1]: Starting Create System Files and Directories... router # [1910177.913412] router systemd-tmpfiles[72]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted router # [1910177.913634] router systemd-tmpfiles[72]: fchmod() of /var/log/journal failed: Operation not permitted router # [1910177.913785] router systemd-tmpfiles[72]: fchmod() of /var/log/journal/682f62fa638642cf9b5f5d3c901320c6 failed: Operation not permitted router # [1910177.914003] router systemd-tmpfiles[72]: fchmod() of /run/log/journal failed: Operation not permitted router # [1910177.915417] router systemd[1]: Finished Create System Files and Directories. router # [1910177.916497] router systemd[1]: Starting Rebuild Journal Catalog... router # [1910177.917217] router systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [1910177.918327] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [1910177.919175] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [1910177.934029] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [1910177.942996] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [1910177.944323] machine systemd[1]: Starting Update is Completed... machine # [1910177.950188] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [1910177.955726] machine systemd[1]: Finished Update is Completed. machine # [1910177.955857] machine systemd[1]: Reached target System Initialization. machine # [1910177.955951] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [1910177.955986] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [1910177.956014] machine systemd[1]: Reached target Timer Units. machine # [1910177.956139] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [1910177.956266] machine systemd[1]: Listening on Nix Daemon Socket. machine # [1910177.956381] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [1910177.956407] machine systemd[1]: Reached target Socket Units. machine # [1910177.956450] machine systemd[1]: Reached target Basic System. machine # [1910177.957499] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [1910177.958336] machine systemd[1]: Starting nftables firewall... machine # [1910177.959166] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1910177.977867] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [1910178.071308] machine nsncd[80]: Sep 26 10:03:18.057 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1910178.071375] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1910178.071503] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1910178.071613] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1910178.109789] machine systemd[1]: Starting User Login Management... machine # [1910178.119106] machine systemd[1]: Finished nftables firewall. machine # [1910178.119246] machine systemd[1]: Reached target Preparation for Network. machine # [1910178.120387] machine systemd[1]: Starting Address configuration of eth1... machine # [1910178.121383] machine systemd[1]: Starting Extra networking commands.... machine # [1910178.122355] machine systemd[1]: Starting Setup wg0 dummy interface... router # [1910177.932721] router systemd[1]: Finished Record System Boot/Shutdown in UTMP. router # [1910177.939454] router systemd[1]: Finished Rebuild Journal Catalog. router # [1910177.940980] router systemd[1]: Starting Update is Completed... router # [1910177.950576] router systemd[1]: Finished Save Transient machine-id to Disk. router # [1910177.953293] router systemd[1]: Finished Update is Completed. machine # [1910178.141824] machine network-addresses-eth1-start[112]: adding address 192.168.1.1/24... done machine # [1910178.144068] machine systemd[1]: Finished Setup wg0 dummy interface. machine # [1910178.144388] machine network-addresses-eth1-start[112]: adding address 2001:db8:1::1/64... done machine # [1910178.149060] machine systemd[1]: Finished Address configuration of eth1. machine # [1910178.183233] machine systemd[1]: Stopped target Host and Network Name Lookups. machine # [1910178.183290] machine systemd[1]: Stopping Host and Network Name Lookups... machine # [1910178.183334] machine systemd[1]: Stopped target User and Group Name Lookups. machine # [1910178.183359] machine systemd[1]: Stopping User and Group Name Lookups... machine # [1910178.183511] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)... machine # [1910178.188914] machine systemd[1]: nscd.service: Deactivated successfully. machine # [1910178.189080] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [1910178.191174] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1910178.199835] machine systemd[1]: Finished Extra networking commands.. machine # [1910178.200047] machine systemd[1]: Reached target Network. machine # [1910178.201208] machine systemd[1]: Starting Nginx Web Server... machine # [1910178.313300] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1910178.313367] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1910178.313565] machine nsncd[178]: Sep 26 10:03:18.299 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1910178.313441] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1910178.314787] machine systemd[1]: Starting Permit User Sessions... machine # [1910178.364479] machine systemd[1]: Finished Permit User Sessions. machine # [1910178.366258] machine systemd[1]: Started Console Getty. machine # [1910178.366342] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [1910178.366385] machine systemd[1]: Reached target Login Prompts. router # [1910178.516464] router systemd-networkd[69]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted router # [1910178.516553] router systemd-networkd[69]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted router # [1910178.525580] router systemd-networkd[69]: lo: Link UP router # [1910178.525586] router systemd-networkd[69]: lo: Gained carrier router # [1910178.525780] router systemd-networkd[69]: eth1: Configuring with /etc/systemd/network/40-eth1.network. router # [1910178.526195] router systemd[1]: Started Network Management. router # [1910178.526241] router systemd-networkd[69]: eth1: Link UP router # [1910178.526561] router systemd-networkd[69]: eth1: Gained carrier router # [1910178.528042] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd... router # [1910178.582665] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd. router # [1910178.845064] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully. router # [1910178.930181] router systemd-resolved[64]: Positive Trust Anchors: router # [1910178.930193] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d router # [1910178.930197] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 router # [1910178.930230] 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 # [1910178.952270] router systemd-resolved[64]: Using system hostname 'router'. router # [1910178.953646] router systemd[1]: Started Network Name Resolution. router # [1910178.953775] router systemd[1]: Reached target Network. router # [1910178.953892] router systemd[1]: Reached target System Initialization. router # [1910178.953993] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container router # [1910178.954047] router systemd[1]: Started Daily Cleanup of Temporary Directories. router # [1910178.954089] router systemd[1]: Reached target Timer Units. router # [1910178.954308] router systemd[1]: Listening on D-Bus System Message Bus Socket. router # [1910178.954517] router systemd[1]: Listening on Nix Daemon Socket. router # [1910178.954730] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. router # [1910178.954779] router systemd[1]: Reached target Socket Units. router # [1910178.954858] router systemd[1]: Reached target Basic System. router # [1910178.957176] router systemd[1]: Starting Import lastlog data into lastlog2 database... router # [1910178.958517] router systemd[1]: Starting Nginx Web Server... router # [1910178.959838] router systemd[1]: Starting Name Service Cache Daemon (nsncd)... router # [1910179.008438] router systemd[1]: Starting D-Bus System Message Bus... router # [1910179.025622] router systemd[1]: Finished Import lastlog data into lastlog2 database. router # [1910179.161167] router systemd[1]: Started Name Service Cache Daemon (nsncd). router # [1910179.161895] router nsncd[87]: Sep 26 10:03:19.147 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" router # [1910179.161251] router systemd[1]: Reached target Host and Network Name Lookups. router # [1910179.161325] router systemd[1]: Reached target User and Group Name Lookups. machine # [1910178.816052] machine systemd-logind[103]: New seat seat0. machine # [1910178.844472] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [1910178.845762] machine systemd[1]: Started User Login Management. machine # [1910178.848230] machine systemd[1]: Starting D-Bus System Message Bus... machine # [1910178.849561] machine systemd[1]: Starting linger-users.service... machine # [1910178.890905] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [1910178.891204] machine systemd[1]: Finished linger-users.service. machine # [1910179.007362] machine nginx-pre-start[206]: nginx: the configuration file /nix/store/34c4pcfa1gn1gxandndpgp3k6768ja1y-nginx.conf syntax is ok machine # [1910179.008031] machine nginx-pre-start[206]: nginx: configuration file /nix/store/34c4pcfa1gn1gxandndpgp3k6768ja1y-nginx.conf test is successful machine # [1910179.013360] machine systemd[1]: Started Nginx Web Server. machine # [1910179.013546] machine systemd[1]: Reached target Multi-User System. machine # [1910179.183432] machine dbus-broker-launch[202]: Looking up NSS user entry for 'systemd-timesync'... router # [1910179.162940] router systemd[1]: Starting User Login Management... router # [1910179.163917] router systemd[1]: Starting Permit User Sessions... router # [1910179.212794] router systemd[1]: Finished Permit User Sessions. router # [1910179.214518] router systemd[1]: Started Console Getty. router # [1910179.214592] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 router # [1910179.214632] router systemd[1]: Reached target Login Prompts. router # [1910179.302894] router dbus-broker-launch[88]: Looking up NSS user entry for 'systemd-timesync'... router # [1910179.304704] router dbus-broker-launch[88]: NSS returned no entry for 'systemd-timesync' router # [1910179.304704] router dbus-broker-launch[88]: Invalid user-name in /nix/store/0qv5k8wki47ysq7dys57wlzvid4ahsz5-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" router # [1910179.305335] router systemd[1]: Started D-Bus System Message Bus. router # [1910179.312285] router dbus-broker-launch[88]: Ready machine # [1910179.184488] machine dbus-broker-launch[202]: NSS returned no entry for 'systemd-timesync' machine # [1910179.184488] machine dbus-broker-launch[202]: Invalid user-name in /nix/store/rq1265iyy5fxx7ms81579qn63pmi5w1j-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [1910179.185459] machine systemd[1]: Started D-Bus System Message Bus. machine # [1910179.185947] machine systemd[1]: Startup finished in 1.793s. machine # [1910179.193689] machine dbus-broker-launch[202]: Ready router # [1910179.712098] router systemd-networkd[69]: eth1: Gained IPv6LL router # [1910179.845930] router nginx-pre-start[117]: nginx: the configuration file /nix/store/jwxsakg3002pzdpq2m37wm0h8z9cmkmj-nginx.conf syntax is ok router # [1910179.846442] router nginx-pre-start[117]: nginx: configuration file /nix/store/jwxsakg3002pzdpq2m37wm0h8z9cmkmj-nginx.conf test is successful router # [1910179.852138] router systemd[1]: Started Nginx Web Server. router: (finished: waiting for unit multi-user.target, in 3.15 seconds) router: waiting for TCP port 80 on localhost router # [1910179.971275] router systemd-logind[106]: New seat seat0. router # [1910179.971634] router systemd[1]: Started User Login Management. router # [1910179.973025] router systemd[1]: Starting linger-users.service... router # [1910180.025152] router systemd[1]: linger-users.service: Deactivated successfully. router # [1910180.025498] router systemd[1]: Finished linger-users.service. router # [1910180.026306] router systemd[1]: Reached target Multi-User System. router # [1910180.027146] router systemd[1]: Startup finished in 2.639s. Connection to localhost (::1) 80 port [tcp/http] succeeded! router: (finished: waiting for TCP port 80 on localhost, in 1.02 seconds) machine: waiting for unit multi-user.target machine: (finished: waiting for unit multi-user.target, in 0.01 seconds) machine: waiting for unit nginx.service machine: (finished: waiting for unit nginx.service, in 0.01 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 # [1910181.138378] machine systemd[1]: Stopping nftables firewall... machine # [1910181.329018] machine systemd[1]: nftables.service: Deactivated successfully. machine # [1910181.329377] machine systemd[1]: Stopped nftables firewall. machine # [1910181.331844] machine systemd[1]: Starting nftables firewall... machine: (finished: must succeed: systemctl restart nftables, in 0.30 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: (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 # [1910181.426135] machine systemd[1]: Finished nftables firewall. machine # [1910181.465440] machine runuser[238]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [1910181.476523] machine runuser[238]: pam_unix(runuser:session): session closed for user alice machine # [1910181.486976] machine runuser[240]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [1910181.497907] machine runuser[240]: pam_unix(runuser:session): session closed for user alice machine # [1910181.507986] machine runuser[242]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [1910181.518530] machine runuser[242]: pam_unix(runuser:session): session closed for user alice machine # [1910181.527521] machine runuser[244]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [1910181.537096] machine runuser[244]: pam_unix(runuser:session): session closed for user bob machine # [1910181.546629] machine runuser[247]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [1910181.556476] machine runuser[247]: pam_unix(runuser:session): session closed for user bob machine # [1910181.567075] 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.04 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 1 bytes 56 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 5.85 seconds) test script finished in 5.91s cleanup kill NspawnMachine (pid 52) kill NspawnMachine (pid 53) Container machine terminated by signal KILL. (finished: cleanup, in 0.33 seconds) Container router terminated by signal KILL.