container-test-run-user-firewall-nftables
checks.aarch64-linux.nixos-test-user-firewall-nftables
· build #835
· raw
1build01: building 4q604fv1kzqg0kj66dxmwjnz8hivg6q0-container-test-run-user-firewall-nftables.drv2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.00 seconds)56Test will time out and terminate in 3600.0 seconds7run the VM test script8additionally exposed symbols:9 machine, router,10 vlan1,11 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_ssh12start all VMs13machine: systemd-nspawn running (pid 52)14router: systemd-nspawn running (pid 53)15machine: Waiting for journal at /build/vm-state-machine/var/log/journal...16router: Waiting for journal at /build/vm-state-router/var/log/journal...17(finished: start all VMs, in 0.00 seconds)18router: waiting for unit multi-user.target19nixos-nspawn(router): TAP vde-tap1 not found; container will be isolated from VDE20nixos-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.21nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE22nixos-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.23Note: 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.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.26░ Spawning container machine on /build/vm-state-machine.27machine # [2465829.445084] machine systemd-journald[57]: Journal started28machine # [2465829.445142] machine systemd-journald[57]: Runtime Journal (/run/log/journal/1a08b9301701458f9fa65d835010b499) is 8M, max 2.5G, 2.4G free.29machine # [2465829.448914] machine systemd[1]: Finished Apply Kernel Variables.30machine # [2465829.461461] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.31machine # [2465829.474709] machine systemd[1]: Starting Flush Journal to Persistent Storage...32machine # [2465829.475485] machine systemd[1]: Starting Create Static Device Nodes in /dev...33machine # [2465829.486427] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/1a08b9301701458f9fa65d835010b499 is 2.439ms for 6 entries.34machine # [2465829.486427] machine systemd-journald[57]: System Journal (/var/log/journal/1a08b9301701458f9fa65d835010b499) is 8M, max 4G, 3.9G free.35machine # [2465829.493537] machine systemd[1]: Finished Create Static Device Nodes in /dev.36machine # [2465829.494170] machine systemd[1]: Reached target Preparation for Local File Systems.37machine # [2465829.494289] machine systemd[1]: Reached target Local File Systems.38machine # [2465829.495141] machine systemd[1]: Listening on Boot Loader Control Service Socket.39machine # [2465829.495196] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container40machine # [2465829.495989] machine systemd[1]: Starting Save Transient machine-id to Disk...41machine # [2465829.496039] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys42machine # [2465829.496553] machine systemd[1]: Finished Flush Journal to Persistent Storage.43machine # [2465829.497953] machine systemd[1]: Starting Create System Files and Directories...44machine # [2465829.517637] machine systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45machine # [2465829.517862] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted46machine # [2465829.518015] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal/1a08b9301701458f9fa65d835010b499 failed: Operation not permitted47machine # [2465829.518248] machine systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [2465829.519624] machine systemd[1]: Finished Save Transient machine-id to Disk.49machine # [2465829.520015] machine systemd[1]: Finished Create System Files and Directories.50machine # [2465829.521541] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [2465829.522207] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52router # [2465829.434245] router systemd-journald[57]: Journal started53router # [2465829.434305] router systemd-journald[57]: Runtime Journal (/run/log/journal/a53f8e719d6f4a75be0cefa6959c1023) is 8M, max 2.5G, 2.4G free.54router # [2465829.435849] router systemd[1]: Finished Apply Kernel Variables.55router # [2465829.446775] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully.56router # [2465829.459236] router systemd[1]: Starting Flush Journal to Persistent Storage...57router # [2465829.460531] router systemd[1]: Starting Network Name Resolution...58router # [2465829.461298] router systemd[1]: Starting Create Static Device Nodes in /dev...59router # [2465829.468679] router systemd-journald[57]: Time spent on flushing to /var/log/journal/a53f8e719d6f4a75be0cefa6959c1023 is 1.549ms for 7 entries.60router # [2465829.468679] router systemd-journald[57]: System Journal (/var/log/journal/a53f8e719d6f4a75be0cefa6959c1023) is 8M, max 4G, 3.9G free.61router # [2465829.478997] router systemd[1]: Finished Create Static Device Nodes in /dev.62router # [2465829.479551] router systemd[1]: Reached target Preparation for Local File Systems.63router # [2465829.479667] router systemd[1]: Reached target Local File Systems.64router # [2465829.480634] router systemd[1]: Listening on Boot Loader Control Service Socket.65router # [2465829.480687] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container66router # [2465829.481684] router systemd[1]: Starting Save Transient machine-id to Disk...67router # [2465829.481720] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys68router # [2465829.482871] router systemd[1]: Starting Network Management...69router # [2465829.485951] router systemd[1]: Finished Flush Journal to Persistent Storage.70router # [2465829.487061] router systemd[1]: Starting Create System Files and Directories...71router # [2465829.504563] router systemd-tmpfiles[72]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted72router # [2465829.504763] router systemd-tmpfiles[72]: fchmod() of /var/log/journal failed: Operation not permitted73router # [2465829.504899] router systemd-tmpfiles[72]: fchmod() of /var/log/journal/a53f8e719d6f4a75be0cefa6959c1023 failed: Operation not permitted74router # [2465829.505109] router systemd-tmpfiles[72]: fchmod() of /run/log/journal failed: Operation not permitted75router # [2465829.506603] router systemd[1]: Finished Create System Files and Directories.76router # [2465829.507671] router systemd[1]: Starting Rebuild Journal Catalog...77router # [2465829.508469] router systemd[1]: Starting Record System Boot/Shutdown in UTMP...78router # [2465829.521210] router systemd[1]: Finished Save Transient machine-id to Disk.79router # [2465829.523190] router systemd[1]: Finished Record System Boot/Shutdown in UTMP.80machine # [2465829.535151] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.81machine # [2465829.545719] machine systemd[1]: Finished Rebuild Journal Catalog.82machine # [2465829.546832] machine systemd[1]: Starting Update is Completed...83machine # [2465829.557293] machine systemd[1]: Finished Update is Completed.84machine # [2465829.557474] machine systemd[1]: Reached target System Initialization.85machine # [2465829.557559] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container86machine # [2465829.557589] machine systemd[1]: Started Daily Cleanup of Temporary Directories.87machine # [2465829.557607] machine systemd[1]: Reached target Timer Units.88machine # [2465829.557721] machine systemd[1]: Listening on D-Bus System Message Bus Socket.89machine # [2465829.557841] machine systemd[1]: Listening on Nix Daemon Socket.90machine # [2465829.557948] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.91machine # [2465829.557975] machine systemd[1]: Reached target Socket Units.92machine # [2465829.558019] machine systemd[1]: Reached target Basic System.93machine # [2465829.559222] machine systemd[1]: Starting Import lastlog data into lastlog2 database...94machine # [2465829.560014] machine systemd[1]: Starting nftables firewall...95machine # [2465829.560895] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...96machine # [2465829.581872] machine systemd[1]: Finished Import lastlog data into lastlog2 database.97machine # [2465829.682603] machine systemd[1]: Finished nftables firewall.98machine # [2465829.682900] machine systemd[1]: Reached target Preparation for Network.99machine # [2465829.684430] machine systemd[1]: Starting Address configuration of eth1...100machine # [2465829.685998] machine systemd[1]: Starting Extra networking commands....101machine # [2465829.687967] machine systemd[1]: Starting Setup wg0 dummy interface...102machine # [2465829.693845] machine systemd[1]: Started Name Service Cache Daemon (nsncd).103machine # [2465829.693946] machine systemd[1]: Reached target Host and Network Name Lookups.104machine # [2465829.694046] machine systemd[1]: Reached target User and Group Name Lookups.105machine # [2465829.694103] machine nsncd[80]: Oct 02 20:24:09.679 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"106machine # [2465829.696269] machine systemd[1]: Starting User Login Management...107machine # [2465829.707183] machine network-addresses-eth1-start[95]: adding address 192.168.1.1/24... done108machine # [2465829.708141] machine systemd[1]: Finished Setup wg0 dummy interface.109machine # [2465829.710654] machine network-addresses-eth1-start[95]: adding address 2001:db8:1::1/64... done110machine # [2465829.716637] machine systemd[1]: Finished Address configuration of eth1.111machine # [2465829.752637] machine systemd[1]: Stopped target Host and Network Name Lookups.112machine # [2465829.752703] machine systemd[1]: Stopping Host and Network Name Lookups...113machine # [2465829.752760] machine systemd[1]: Stopped target User and Group Name Lookups.114machine # [2465829.752791] machine systemd[1]: Stopping User and Group Name Lookups...115machine # [2465829.752988] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)...116router # [2465829.530698] router systemd[1]: Finished Rebuild Journal Catalog.117router # [2465829.531808] router systemd[1]: Starting Update is Completed...118router # [2465829.542894] router systemd[1]: Finished Update is Completed.119machine # [2465829.757808] machine systemd[1]: nscd.service: Deactivated successfully.120machine # [2465829.758015] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).121machine # [2465829.760597] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...122machine # [2465829.768714] machine systemd[1]: Finished Extra networking commands..123machine # [2465829.769009] machine systemd[1]: Reached target Network.124machine # [2465829.770758] machine systemd[1]: Starting Nginx Web Server...125machine # [2465829.903685] machine nsncd[177]: Oct 02 20:24:09.889 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"126machine # [2465829.903699] machine systemd[1]: Started Name Service Cache Daemon (nsncd).127machine # [2465829.903752] machine systemd[1]: Reached target Host and Network Name Lookups.128machine # [2465829.903809] machine systemd[1]: Reached target User and Group Name Lookups.129machine # [2465829.904870] machine systemd[1]: Starting Permit User Sessions...130machine # [2465829.948365] machine systemd[1]: Finished Permit User Sessions.131machine # [2465829.950111] machine systemd[1]: Started Console Getty.132machine # [2465829.950185] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0133machine # [2465829.950225] machine systemd[1]: Reached target Login Prompts.134router # [2465830.182171] router systemd-networkd[70]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted135router # [2465830.182258] router systemd-networkd[70]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted136router # [2465830.191366] router systemd-networkd[70]: lo: Link UP137router # [2465830.191370] router systemd-networkd[70]: lo: Gained carrier138router # [2465830.191548] router systemd-networkd[70]: eth1: Configuring with /etc/systemd/network/40-eth1.network.139router # [2465830.191987] router systemd[1]: Started Network Management.140router # [2465830.192034] router systemd-networkd[70]: eth1: Link UP141router # [2465830.192319] router systemd-networkd[70]: eth1: Gained carrier142router # [2465830.193775] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd...143router # [2465830.229863] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd.144router # [2465830.441860] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully.145router # [2465830.613810] router systemd-resolved[64]: Positive Trust Anchors:146router # [2465830.613822] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d147router # [2465830.613827] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16148router # [2465830.613859] 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 test149router # [2465830.634583] router systemd-resolved[64]: Using system hostname 'router'.150router # [2465830.635947] router systemd[1]: Started Network Name Resolution.151router # [2465830.636105] router systemd[1]: Reached target Network.152router # [2465830.636236] router systemd[1]: Reached target System Initialization.153router # [2465830.636336] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container154router # [2465830.636384] router systemd[1]: Started Daily Cleanup of Temporary Directories.155router # [2465830.636424] router systemd[1]: Reached target Timer Units.156router # [2465830.636653] router systemd[1]: Listening on D-Bus System Message Bus Socket.157router # [2465830.636859] router systemd[1]: Listening on Nix Daemon Socket.158router # [2465830.637612] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.159router # [2465830.637659] router systemd[1]: Reached target Socket Units.160router # [2465830.637755] router systemd[1]: Reached target Basic System.161router # [2465830.640541] router systemd[1]: Starting Import lastlog data into lastlog2 database...162router # [2465830.642055] router systemd[1]: Starting Nginx Web Server...163router # [2465830.643460] router systemd[1]: Starting Name Service Cache Daemon (nsncd)...164router # [2465830.676733] router systemd[1]: Starting D-Bus System Message Bus...165machine # [2465830.453438] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.166machine # [2465830.483100] machine systemd-logind[108]: New seat seat0.167machine # [2465830.483320] machine systemd[1]: Started User Login Management.168machine # [2465830.484942] machine systemd[1]: Starting D-Bus System Message Bus...169machine # [2465830.486203] machine systemd[1]: Starting linger-users.service...170machine # [2465830.527573] machine systemd[1]: linger-users.service: Deactivated successfully.171machine # [2465830.527871] machine systemd[1]: Finished linger-users.service.172machine # [2465830.635198] machine nginx-pre-start[206]: nginx: the configuration file /nix/store/k98l9198k3b6wqm2fc6lskq00yq6j6rd-nginx.conf syntax is ok173machine # [2465830.635546] machine nginx-pre-start[206]: nginx: configuration file /nix/store/k98l9198k3b6wqm2fc6lskq00yq6j6rd-nginx.conf test is successful174machine # [2465830.642301] machine systemd[1]: Started Nginx Web Server.175machine # [2465830.642636] machine systemd[1]: Reached target Multi-User System.176router # [2465830.694203] router systemd[1]: Finished Import lastlog data into lastlog2 database.177router # [2465830.868148] router systemd[1]: Started Name Service Cache Daemon (nsncd).178router # [2465830.868263] router systemd[1]: Reached target Host and Network Name Lookups.179router # [2465830.868377] router systemd[1]: Reached target User and Group Name Lookups.180router # [2465830.868497] router nsncd[87]: Oct 02 20:24:10.854 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"181router # [2465830.870597] router systemd[1]: Starting User Login Management...182router # [2465830.871944] router systemd[1]: Starting Permit User Sessions...183router # [2465830.883977] router systemd[1]: Finished Permit User Sessions.184router # [2465830.885580] router systemd[1]: Started Console Getty.185router # [2465830.885658] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0186router # [2465830.885700] router systemd[1]: Reached target Login Prompts.187machine # [2465830.818445] machine dbus-broker-launch[202]: Looking up NSS user entry for 'systemd-timesync'...188machine # [2465830.819128] machine dbus-broker-launch[202]: NSS returned no entry for 'systemd-timesync'189machine # [2465830.819128] machine dbus-broker-launch[202]: Invalid user-name in /nix/store/z7z8ivn1mbh0ira1dssnm0kblhd0vw47-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"190machine # [2465830.819680] machine systemd[1]: Started D-Bus System Message Bus.191machine # [2465830.820149] machine systemd[1]: Startup finished in 1.830s.192machine # [2465830.828505] machine dbus-broker-launch[202]: Ready193router # [2465830.991930] router dbus-broker-launch[88]: Looking up NSS user entry for 'systemd-timesync'...194router # [2465830.993266] router dbus-broker-launch[88]: NSS returned no entry for 'systemd-timesync'195router # [2465830.993266] router dbus-broker-launch[88]: Invalid user-name in /nix/store/0mhvcnvnqbzw2q66rbvvvxcl4bcgwxxg-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"196router # [2465830.993746] router systemd[1]: Started D-Bus System Message Bus.197router # [2465831.002449] router dbus-broker-launch[88]: Ready198router: (finished: waiting for unit multi-user.target, in 3.16 seconds)199router: waiting for TCP port 80 on localhost200router # [2465831.533688] router nginx-pre-start[117]: nginx: the configuration file /nix/store/qj8f6s24d8k4cy8m269y2iz33pyvi9yc-nginx.conf syntax is ok201router # [2465831.534314] router nginx-pre-start[117]: nginx: configuration file /nix/store/qj8f6s24d8k4cy8m269y2iz33pyvi9yc-nginx.conf test is successful202router # [2465831.539123] router systemd[1]: Started Nginx Web Server.203router # [2465831.591014] router systemd-logind[106]: New seat seat0.204router # [2465831.591236] router systemd[1]: Started User Login Management.205router # [2465831.593650] router systemd[1]: Starting linger-users.service...206router # [2465831.608183] router systemd[1]: linger-users.service: Deactivated successfully.207router # [2465831.608520] router systemd[1]: Finished linger-users.service.208router # [2465831.609353] router systemd[1]: Reached target Multi-User System.209router # [2465831.609710] router systemd[1]: Startup finished in 2.644s.210router # [2465831.924535] router systemd-networkd[70]: eth1: Gained IPv6LL211Connection to localhost (::1) 80 port [tcp/http] succeeded!212router: (finished: waiting for TCP port 80 on localhost, in 1.02 seconds)213machine: waiting for unit multi-user.target214machine: (finished: waiting for unit multi-user.target, in 0.02 seconds)215machine: waiting for unit nginx.service216machine: (finished: waiting for unit nginx.service, in 0.02 seconds)217router: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'218router: (finished: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}', in 0.01 seconds)219router: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1220router: (finished: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1, in 0.01 seconds)221Router IPv4: 192.168.1.2222Router IPv6: 2001:db8:1::2223machine: must succeed: systemctl restart nftables224machine: (finished: must succeed: systemctl restart nftables, in 0.20 seconds)225machine: waiting for unit nftables.service226machine: (finished: waiting for unit nftables.service, in 0.02 seconds)227machine: must succeed: nft list table inet user-firewall >&2228table inet user-firewall {229 chain output {230 type filter hook output priority filter; policy accept;231 oifname "lo" counter packets 0 bytes 0 accept comment "allow lo"232 oifname "tun*" counter packets 0 bytes 0 accept comment "allow tun*"233 oifname "tap*" counter packets 0 bytes 0 accept comment "allow tap*"234 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"235 oifname "tailscale*" counter packets 0 bytes 0 accept comment "allow tailscale*"236 oifname "zt*" counter packets 0 bytes 0 accept comment "allow zt*"237 oifname "vpn*" counter packets 0 bytes 0 accept comment "allow vpn*"238 oifname "ipsec*" counter packets 0 bytes 0 accept comment "allow ipsec*"239 oifname "nebula*" counter packets 0 bytes 0 accept comment "allow nebula*"240 oifname "tinc*" counter packets 0 bytes 0 accept comment "allow tinc*"241 oifname "edge*" counter packets 0 bytes 0 accept comment "allow edge*"242 oifname "hyprspace" counter packets 0 bytes 0 accept comment "allow hyprspace"243 oifname "ham0" counter packets 0 bytes 0 accept comment "allow ham0"244 oifname "easytier" counter packets 0 bytes 0 accept comment "allow easytier"245 oifname "mycelium" counter packets 0 bytes 0 accept comment "allow mycelium"246 meta skuid 1002 counter packets 0 bytes 0 reject comment "blocked user bob"247 }248}249machine: (finished: must succeed: nft list table inet user-firewall >&2, in 0.01 seconds)250machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080251machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds)252machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2253machine # [2465832.778391] machine systemd[1]: Stopping nftables firewall...254machine # [2465832.880713] machine systemd[1]: nftables.service: Deactivated successfully.255machine # [2465832.881087] machine systemd[1]: Stopped nftables firewall.256machine # [2465832.883599] machine systemd[1]: Starting nftables firewall...257machine # [2465832.959684] machine systemd[1]: Finished nftables firewall.258machine # [2465833.002834] machine runuser[238]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)259machine # [2465833.014114] machine runuser[238]: pam_unix(runuser:session): session closed for user alice260machine # [2465833.025122] machine runuser[240]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)261machine # [2465833.036786] machine runuser[240]: pam_unix(runuser:session): session closed for user alice262machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds)263machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2]264machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.02 seconds)265machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080266machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.02 seconds)267machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$?268machine: (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)269machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?270machine # [2465833.047214] machine runuser[242]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)271machine # [2465833.057553] machine runuser[242]: pam_unix(runuser:session): session closed for user alice272machine # [2465833.064998] machine runuser[244]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)273machine # [2465833.075341] machine runuser[244]: pam_unix(runuser:session): session closed for user bob274machine # [2465833.085119] machine runuser[247]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)275machine # [2465833.095181] machine runuser[247]: pam_unix(runuser:session): session closed for user bob276machine # [2465833.105600] machine runuser[250]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)277machine: (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)278machine: must succeed: nft list table inet user-firewall279machine: (finished: must succeed: nft list table inet user-firewall, in 0.01 seconds)280machine: waiting for unit setup-wg0-interface.service281machine: (finished: waiting for unit setup-wg0-interface.service, in 0.02 seconds)282machine: waiting for unit nginx.service283machine: (finished: waiting for unit nginx.service, in 0.02 seconds)284machine: waiting for TCP port 8081 on 10.100.0.2285Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded!286machine: (finished: waiting for TCP port 8081 on 10.100.0.2, in 0.01 seconds)287machine: must succeed: ip link show wg0288machine: (finished: must succeed: ip link show wg0, in 0.01 seconds)289machine: must succeed: ip addr show wg0290machine: (finished: must succeed: ip addr show wg0, in 0.01 seconds)291machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/292machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)293machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/294machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)295machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/296machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)297machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/298machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)299machine: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2300 oifname "wg*" counter packets 1 bytes 56 accept comment "allow wg*"301machine: (finished: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2, in 0.01 seconds)302(finished: run the VM test script, in 5.80 seconds)303test script finished in 5.83s304cleanup305kill NspawnMachine (pid 52)306machine # [2465834.146615] machine runuser[250]: pam_unix(runuser:session): session closed for user bob307kill NspawnMachine (pid 53)308Container machine terminated by signal KILL.309(finished: cleanup, in 0.33 seconds)310Container router terminated by signal KILL.