container-test-run-user-firewall-nftables
checks.aarch64-linux.nixos-test-user-firewall-nftables
· build #756
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)45Test will time out and terminate in 3600.0 seconds6run the VM test script7additionally exposed symbols:8 machine, router,9 vlan1,10 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_ssh11start all VMs12machine: systemd-nspawn running (pid 52)13router: systemd-nspawn running (pid 53)14machine: Waiting for journal at /build/vm-state-machine/var/log/journal...15router: Waiting for journal at /build/vm-state-router/var/log/journal...16(finished: start all VMs, in 0.00 seconds)17router: waiting for unit multi-user.target18nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE19nixos-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.20nixos-nspawn(router): TAP vde-tap1 not found; container will be isolated from VDE21nixos-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.22Note: 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.23░ Spawning container machine on /build/vm-state-machine.24Note: 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.25░ Spawning container router on /build/vm-state-router.26router # [1582783.331532] router systemd-journald[57]: Journal started27router # [1582783.331586] router systemd-journald[57]: Runtime Journal (/run/log/journal/06586cf4b5ca468f9aa30d182a434933) is 8M, max 2.5G, 2.4G free.28router # [1582783.340791] router systemd[1]: Finished Apply Kernel Variables.29router # [1582783.352828] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully.30router # [1582783.366838] router systemd[1]: Starting Flush Journal to Persistent Storage...31router # [1582783.367746] router systemd[1]: Starting Network Name Resolution...32router # [1582783.368440] router systemd[1]: Starting Create Static Device Nodes in /dev...33machine # [1582783.341092] machine systemd-journald[57]: Journal started34router # [1582783.424009] router systemd-journald[57]: Time spent on flushing to /var/log/journal/06586cf4b5ca468f9aa30d182a434933 is 1.561ms for 7 entries.35machine # [1582783.341145] machine systemd-journald[57]: Runtime Journal (/run/log/journal/c2482752bb874be3b08b8aded2f14db1) is 8M, max 2.5G, 2.4G free.36router # [1582783.424009] router systemd-journald[57]: System Journal (/var/log/journal/06586cf4b5ca468f9aa30d182a434933) is 8M, max 4G, 3.9G free.37machine # [1582783.350158] machine systemd[1]: Finished Apply Kernel Variables.38router # [1582783.439993] router systemd[1]: Finished Create Static Device Nodes in /dev.39router # [1582783.440224] router systemd[1]: Finished Flush Journal to Persistent Storage.40router # [1582783.441673] router systemd[1]: Reached target Preparation for Local File Systems.41router # [1582783.441777] router systemd[1]: Reached target Local File Systems.42router # [1582783.442647] router systemd[1]: Listening on Boot Loader Control Service Socket.43router # [1582783.442703] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container44router # [1582783.443644] router systemd[1]: Starting Save Transient machine-id to Disk...45router # [1582783.444666] router systemd[1]: Starting Create System Files and Directories...46router # [1582783.444702] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys47router # [1582783.445723] router systemd[1]: Starting Network Management...48router # [1582783.460743] router systemd-tmpfiles[71]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted49router # [1582783.460964] router systemd-tmpfiles[71]: fchmod() of /var/log/journal failed: Operation not permitted50router # [1582783.461113] router systemd-tmpfiles[71]: fchmod() of /var/log/journal/06586cf4b5ca468f9aa30d182a434933 failed: Operation not permitted51router # [1582783.461337] router systemd-tmpfiles[71]: fchmod() of /run/log/journal failed: Operation not permitted52router # [1582783.463181] router systemd[1]: Finished Create System Files and Directories.53router # [1582783.464439] router systemd[1]: Starting Rebuild Journal Catalog...54router # [1582783.465363] router systemd[1]: Starting Record System Boot/Shutdown in UTMP...55router # [1582783.480046] router systemd[1]: Finished Record System Boot/Shutdown in UTMP.56router # [1582783.485708] router systemd[1]: Finished Rebuild Journal Catalog.57router # [1582783.487039] router systemd[1]: Starting Update is Completed...58machine # [1582783.362125] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.59machine # [1582783.416638] machine systemd[1]: Starting Flush Journal to Persistent Storage...60machine # [1582783.417592] machine systemd[1]: Starting Create Static Device Nodes in /dev...61machine # [1582783.426693] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/c2482752bb874be3b08b8aded2f14db1 is 1.392ms for 6 entries.62machine # [1582783.426693] machine systemd-journald[57]: System Journal (/var/log/journal/c2482752bb874be3b08b8aded2f14db1) is 8M, max 4G, 3.9G free.63machine # [1582783.441016] machine systemd[1]: Finished Flush Journal to Persistent Storage.64machine # [1582783.441617] machine systemd[1]: Finished Create Static Device Nodes in /dev.65machine # [1582783.442856] machine systemd[1]: Reached target Preparation for Local File Systems.66machine # [1582783.442959] machine systemd[1]: Reached target Local File Systems.67machine # [1582783.443793] machine systemd[1]: Listening on Boot Loader Control Service Socket.68machine # [1582783.443845] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container69machine # [1582783.445189] machine systemd[1]: Starting Save Transient machine-id to Disk...70machine # [1582783.445998] machine systemd[1]: Starting Create System Files and Directories...71machine # [1582783.446027] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys72machine # [1582783.460712] machine systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted73machine # [1582783.460935] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted74machine # [1582783.461084] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal/c2482752bb874be3b08b8aded2f14db1 failed: Operation not permitted75machine # [1582783.461312] machine systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted76machine # [1582783.463106] machine systemd[1]: Finished Create System Files and Directories.77machine # [1582783.464440] machine systemd[1]: Starting Rebuild Journal Catalog...78machine # [1582783.465375] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...79machine # [1582783.478453] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.80machine # [1582783.488556] machine systemd[1]: Finished Rebuild Journal Catalog.81machine # [1582783.490189] machine systemd[1]: Starting Update is Completed...82machine # [1582783.501524] machine systemd[1]: Finished Update is Completed.83machine # [1582783.501702] machine systemd[1]: Reached target System Initialization.84machine # [1582783.501804] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container85machine # [1582783.501841] machine systemd[1]: Started Daily Cleanup of Temporary Directories.86machine # [1582783.501861] machine systemd[1]: Reached target Timer Units.87machine # [1582783.501987] machine systemd[1]: Listening on D-Bus System Message Bus Socket.88machine # [1582783.502130] machine systemd[1]: Listening on Nix Daemon Socket.89machine # [1582783.502248] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.90machine # [1582783.502281] machine systemd[1]: Reached target Socket Units.91machine # [1582783.502316] machine systemd[1]: Reached target Basic System.92machine # [1582783.503749] machine systemd[1]: Starting Import lastlog data into lastlog2 database...93machine # [1582783.504641] machine systemd[1]: Starting nftables firewall...94machine # [1582783.505643] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...95machine # [1582783.526883] machine systemd[1]: Finished Import lastlog data into lastlog2 database.96machine # [1582783.599679] machine systemd[1]: Finished nftables firewall.97machine # [1582783.599844] machine systemd[1]: Reached target Preparation for Network.98machine # [1582783.600910] machine systemd[1]: Starting Address configuration of eth1...99machine # [1582783.601740] machine systemd[1]: Starting Extra networking commands....100machine # [1582783.602452] machine systemd[1]: Starting Setup wg0 dummy interface...101machine # [1582783.621312] machine systemd[1]: Finished Save Transient machine-id to Disk.102machine # [1582783.622482] machine systemd[1]: Finished Setup wg0 dummy interface.103machine # [1582783.622862] machine network-addresses-eth1-start[94]: adding address 192.168.1.1/24... done104machine # [1582783.625516] machine network-addresses-eth1-start[94]: adding address 2001:db8:1::1/64... done105machine # [1582783.629904] machine systemd[1]: Finished Address configuration of eth1.106machine # [1582783.671701] machine systemd[1]: nscd.service: Deactivated successfully.107router # [1582783.499199] router systemd[1]: Finished Update is Completed.108router # [1582783.621490] router systemd[1]: Finished Save Transient machine-id to Disk.109machine # [1582783.686282] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).110machine # [1582783.687882] machine systemd[1]: Finished Extra networking commands..111machine # [1582783.688755] machine systemd[1]: Reached target Network.112machine # [1582783.690016] machine systemd[1]: Starting Nginx Web Server...113machine # [1582783.690915] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...114machine # [1582783.867637] machine nsncd[167]: Sep 22 15:06:43.853 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"115machine # [1582783.867846] machine systemd[1]: Started Name Service Cache Daemon (nsncd).116machine # [1582783.867907] machine systemd[1]: Reached target Host and Network Name Lookups.117machine # [1582783.867966] machine systemd[1]: Reached target User and Group Name Lookups.118machine # [1582783.869679] machine systemd[1]: Starting User Login Management...119machine # [1582783.870973] machine systemd[1]: Starting Permit User Sessions...120machine # [1582783.884048] machine systemd[1]: Finished Permit User Sessions.121machine # [1582783.885321] machine systemd[1]: Started Console Getty.122machine # [1582783.885367] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0123machine # [1582783.885390] machine systemd[1]: Reached target Login Prompts.124machine # [1582784.347786] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.125router # [1582784.341770] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully.126router # [1582784.441791] router systemd-networkd[72]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted127router # [1582784.441902] router systemd-networkd[72]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted128router # [1582784.454462] router systemd-networkd[72]: lo: Link UP129router # [1582784.454470] router systemd-networkd[72]: lo: Gained carrier130router # [1582784.454696] router systemd-networkd[72]: eth1: Configuring with /etc/systemd/network/40-eth1.network.131router # [1582784.455239] router systemd-networkd[72]: eth1: Link UP132router # [1582784.455277] router systemd[1]: Started Network Management.133router # [1582784.455478] router systemd-networkd[72]: eth1: Gained carrier134router # [1582784.458266] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd...135router # [1582784.532893] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd.136machine # [1582784.911318] machine systemd-logind[182]: New seat seat0.137machine # [1582784.911555] machine systemd[1]: Started User Login Management.138machine # [1582784.912682] machine nginx-pre-start[192]: nginx: the configuration file /nix/store/34c4pcfa1gn1gxandndpgp3k6768ja1y-nginx.conf syntax is ok139machine # [1582784.912682] machine nginx-pre-start[192]: nginx: configuration file /nix/store/34c4pcfa1gn1gxandndpgp3k6768ja1y-nginx.conf test is successful140machine # [1582784.913184] machine systemd[1]: Starting D-Bus System Message Bus...141machine # [1582784.914736] machine systemd[1]: Starting linger-users.service...142machine # [1582784.948581] machine systemd[1]: Started Nginx Web Server.143machine # [1582784.967104] machine systemd[1]: linger-users.service: Deactivated successfully.144machine # [1582784.967805] machine systemd[1]: Finished linger-users.service.145machine # [1582784.969070] machine systemd[1]: Reached target Multi-User System.146router # [1582785.016985] router systemd-resolved[64]: Positive Trust Anchors:147router # [1582785.016998] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d148router # [1582785.017001] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16149router # [1582785.017036] 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 test150router # [1582785.040250] router systemd-resolved[64]: Using system hostname 'router'.151router # [1582785.041852] router systemd[1]: Started Network Name Resolution.152router # [1582785.042098] router systemd[1]: Reached target Network.153router # [1582785.042253] router systemd[1]: Reached target System Initialization.154router # [1582785.042405] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container155router # [1582785.042502] router systemd[1]: Started Daily Cleanup of Temporary Directories.156router # [1582785.042559] router systemd[1]: Reached target Timer Units.157router # [1582785.042892] router systemd[1]: Listening on D-Bus System Message Bus Socket.158router # [1582785.043302] router systemd[1]: Listening on Nix Daemon Socket.159router # [1582785.043660] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.160router # [1582785.043724] router systemd[1]: Reached target Socket Units.161router # [1582785.043822] router systemd[1]: Reached target Basic System.162router # [1582785.046308] router systemd[1]: Starting Import lastlog data into lastlog2 database...163router # [1582785.048323] router systemd[1]: Starting Nginx Web Server...164router # [1582785.050210] router systemd[1]: Starting Name Service Cache Daemon (nsncd)...165router # [1582785.053254] router systemd[1]: Starting D-Bus System Message Bus...166router # [1582785.110142] router systemd[1]: Finished Import lastlog data into lastlog2 database.167machine # [1582785.334169] machine dbus-broker-launch[193]: Looking up NSS user entry for 'systemd-timesync'...168machine # [1582785.335511] machine dbus-broker-launch[193]: NSS returned no entry for 'systemd-timesync'169machine # [1582785.335511] machine dbus-broker-launch[193]: Invalid user-name in /nix/store/rq1265iyy5fxx7ms81579qn63pmi5w1j-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"170machine # [1582785.337894] machine systemd[1]: Started D-Bus System Message Bus.171machine # [1582785.345873] machine dbus-broker-launch[193]: Ready172machine # [1582785.355035] machine systemd[1]: Startup finished in 2.344s.173router # [1582785.297811] router nsncd[87]: Sep 22 15:06:45.283 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"174router # [1582785.297831] router systemd[1]: Started Name Service Cache Daemon (nsncd).175router # [1582785.297998] router systemd[1]: Reached target Host and Network Name Lookups.176router # [1582785.298133] router systemd[1]: Reached target User and Group Name Lookups.177router # [1582785.300692] router systemd[1]: Starting User Login Management...178router # [1582785.302137] router systemd[1]: Starting Permit User Sessions...179router # [1582785.313771] router systemd[1]: Finished Permit User Sessions.180router # [1582785.315157] router systemd[1]: Started Console Getty.181router # [1582785.315222] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0182router # [1582785.315238] router systemd[1]: Reached target Login Prompts.183router # [1582785.526111] router dbus-broker-launch[88]: Looking up NSS user entry for 'systemd-timesync'...184router # [1582785.527774] router dbus-broker-launch[88]: NSS returned no entry for 'systemd-timesync'185router # [1582785.527774] 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"186router # [1582785.530724] router systemd[1]: Started D-Bus System Message Bus.187router # [1582785.538278] router dbus-broker-launch[88]: Ready188router # [1582786.240213] router systemd-networkd[72]: eth1: Gained IPv6LL189router # [1582786.311267] router nginx-pre-start[117]: nginx: the configuration file /nix/store/jwxsakg3002pzdpq2m37wm0h8z9cmkmj-nginx.conf syntax is ok190router # [1582786.311927] router nginx-pre-start[117]: nginx: configuration file /nix/store/jwxsakg3002pzdpq2m37wm0h8z9cmkmj-nginx.conf test is successful191router # [1582786.318390] router systemd[1]: Started Nginx Web Server.192router # [1582786.347533] router systemd-logind[106]: New seat seat0.193router # [1582786.347808] router systemd[1]: Started User Login Management.194router # [1582786.377857] router systemd[1]: Starting linger-users.service...195router # [1582786.393497] router systemd[1]: linger-users.service: Deactivated successfully.196router # [1582786.393846] router systemd[1]: Finished linger-users.service.197router # [1582786.394699] router systemd[1]: Reached target Multi-User System.198router # [1582786.397596] router systemd[1]: Startup finished in 3.407s.199router: (finished: waiting for unit multi-user.target, in 4.16 seconds)200router: waiting for TCP port 80 on localhost201Connection to localhost (::1) 80 port [tcp/http] succeeded!202router: (finished: waiting for TCP port 80 on localhost, in 1.02 seconds)203machine: waiting for unit multi-user.target204machine: (finished: waiting for unit multi-user.target, in 0.01 seconds)205machine: waiting for unit nginx.service206machine: (finished: waiting for unit nginx.service, in 0.02 seconds)207router: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'208router: (finished: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}', in 0.01 seconds)209router: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1210router: (finished: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1, in 0.01 seconds)211Router IPv4: 192.168.1.2212Router IPv6: 2001:db8:1::2213machine: must succeed: systemctl restart nftables214machine # [1582787.729470] machine systemd[1]: Stopping nftables firewall...215machine # [1582787.886385] machine systemd[1]: nftables.service: Deactivated successfully.216machine # [1582787.886825] machine systemd[1]: Stopped nftables firewall.217machine # [1582787.888575] machine systemd[1]: Starting nftables firewall...218machine: (finished: must succeed: systemctl restart nftables, in 0.28 seconds)219machine: waiting for unit nftables.service220machine: (finished: waiting for unit nftables.service, in 0.01 seconds)221machine: must succeed: nft list table inet user-firewall >&2222table inet user-firewall {223 chain output {224 type filter hook output priority filter; policy accept;225 oifname "lo" counter packets 0 bytes 0 accept comment "allow lo"226 oifname "tun*" counter packets 0 bytes 0 accept comment "allow tun*"227 oifname "tap*" counter packets 0 bytes 0 accept comment "allow tap*"228 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"229 oifname "tailscale*" counter packets 0 bytes 0 accept comment "allow tailscale*"230 oifname "zt*" counter packets 0 bytes 0 accept comment "allow zt*"231 oifname "vpn*" counter packets 0 bytes 0 accept comment "allow vpn*"232 oifname "ipsec*" counter packets 0 bytes 0 accept comment "allow ipsec*"233 oifname "nebula*" counter packets 0 bytes 0 accept comment "allow nebula*"234 oifname "tinc*" counter packets 0 bytes 0 accept comment "allow tinc*"235 oifname "edge*" counter packets 0 bytes 0 accept comment "allow edge*"236 oifname "hyprspace" counter packets 0 bytes 0 accept comment "allow hyprspace"237 oifname "ham0" counter packets 0 bytes 0 accept comment "allow ham0"238 oifname "easytier" counter packets 0 bytes 0 accept comment "allow easytier"239 oifname "mycelium" counter packets 0 bytes 0 accept comment "allow mycelium"240 meta skuid 1002 counter packets 0 bytes 0 reject comment "blocked user bob"241 }242}243machine: (finished: must succeed: nft list table inet user-firewall >&2, in 0.01 seconds)244machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080245machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds)246machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2247machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds)248machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2]249machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.02 seconds)250machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080251machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.02 seconds)252machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$?253machine: (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)254machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?255machine # [1582787.993658] machine systemd[1]: Finished nftables firewall.256machine # [1582788.024776] machine runuser[228]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)257machine # [1582788.034694] machine runuser[228]: pam_unix(runuser:session): session closed for user alice258machine # [1582788.043633] machine runuser[230]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)259machine # [1582788.053262] machine runuser[230]: pam_unix(runuser:session): session closed for user alice260machine # [1582788.061690] machine runuser[232]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)261machine # [1582788.071008] machine runuser[232]: pam_unix(runuser:session): session closed for user alice262machine # [1582788.079324] machine runuser[234]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)263machine # [1582788.088077] machine runuser[234]: pam_unix(runuser:session): session closed for user bob264machine # [1582788.096608] machine runuser[237]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)265machine # [1582788.107856] machine runuser[237]: pam_unix(runuser:session): session closed for user bob266machine # [1582788.117112] machine runuser[240]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)267machine: (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)268machine: must succeed: nft list table inet user-firewall269machine: (finished: must succeed: nft list table inet user-firewall, in 0.01 seconds)270machine: waiting for unit setup-wg0-interface.service271machine: (finished: waiting for unit setup-wg0-interface.service, in 0.02 seconds)272machine: waiting for unit nginx.service273machine: (finished: waiting for unit nginx.service, in 0.02 seconds)274machine: waiting for TCP port 8081 on 10.100.0.2275Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded!276machine: (finished: waiting for TCP port 8081 on 10.100.0.2, in 0.01 seconds)277machine: must succeed: ip link show wg0278machine: (finished: must succeed: ip link show wg0, in 0.01 seconds)279machine: must succeed: ip addr show wg0280machine: (finished: must succeed: ip addr show wg0, in 0.01 seconds)281machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/282machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)283machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/284machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)285machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/286machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)287machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/288machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)289machine: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2290 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"291machine: (finished: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2, in 0.01 seconds)292(finished: run the VM test script, in 6.84 seconds)293test script finished in 6.86s294cleanup295kill NspawnMachine (pid 52)296kill NspawnMachine (pid 53)297Container machine terminated by signal KILL.298Container router terminated by signal KILL.299(finished: cleanup, in 0.38 seconds)