container-test-run-user-firewall-nftables
checks.aarch64-linux.nixos-test-user-firewall-nftables
· build #568
· 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(router): TAP vde-tap1 not found; container will be isolated from VDE19nixos-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.20nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE21nixos-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.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.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.24░ Spawning container router on /build/vm-state-router.25░ Spawning container machine on /build/vm-state-machine.26router # [7451163.871330] router systemd-journald[54]: Journal started27router # [7451163.871380] router systemd-journald[54]: Runtime Journal (/run/log/journal/78dde21e587d424b87b7523733cb10dc) is 8M, max 2.5G, 2.4G free.28router # [7451163.875561] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully.29router # [7451163.883679] router systemd[1]: Starting Flush Journal to Persistent Storage...30router # [7451163.884512] router systemd[1]: Starting Network Name Resolution...31router # [7451163.885177] router systemd[1]: Starting Create Static Device Nodes in /dev...32router # [7451163.892831] router systemd-journald[54]: Time spent on flushing to /var/log/journal/78dde21e587d424b87b7523733cb10dc is 1.525ms for 6 entries.33router # [7451163.892831] router systemd-journald[54]: System Journal (/var/log/journal/78dde21e587d424b87b7523733cb10dc) is 8M, max 4G, 3.9G free.34router # [7451163.908547] router systemd[1]: Finished Create Static Device Nodes in /dev.35router # [7451163.909274] router systemd[1]: Reached target Preparation for Local File Systems.36router # [7451163.909394] router systemd[1]: Reached target Local File Systems.37router # [7451163.910230] router systemd[1]: Listening on Boot Loader Control Service Socket.38router # [7451163.910293] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39router # [7451163.911281] router systemd[1]: Starting Save Transient machine-id to Disk...40router # [7451163.911322] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys41router # [7451163.912440] router systemd[1]: Starting Network Management...42router # [7451163.913045] router systemd[1]: Finished Flush Journal to Persistent Storage.43router # [7451163.914574] router systemd[1]: Starting Create System Files and Directories...44router # [7451163.928911] router systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45router # [7451163.929088] router systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted46router # [7451163.929202] router systemd-tmpfiles[69]: fchmod() of /var/log/journal/78dde21e587d424b87b7523733cb10dc failed: Operation not permitted47router # [7451163.929375] router systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted48router # [7451163.933803] router systemd[1]: Finished Create System Files and Directories.49router # [7451163.934869] router systemd[1]: Starting Rebuild Journal Catalog...50router # [7451163.935580] router systemd[1]: Starting Record System Boot/Shutdown in UTMP...51router # [7451163.947125] router systemd[1]: Finished Record System Boot/Shutdown in UTMP.52router # [7451163.953753] router systemd[1]: Finished Rebuild Journal Catalog.53router # [7451163.954752] router systemd[1]: Starting Update is Completed...54router # [7451163.962318] router systemd[1]: Finished Save Transient machine-id to Disk.55router # [7451163.964486] router systemd[1]: Finished Update is Completed.56machine # [7451163.852362] machine systemd-journald[54]: Journal started57machine # [7451163.852417] machine systemd-journald[54]: Runtime Journal (/run/log/journal/94c6dc54325b4b8d83845edb1dcf074e) is 8M, max 2.5G, 2.4G free.58machine # [7451163.861037] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.59machine # [7451163.868966] machine systemd[1]: Starting Flush Journal to Persistent Storage...60machine # [7451163.869687] machine systemd[1]: Starting Create Static Device Nodes in /dev...61machine # [7451163.878484] machine systemd-journald[54]: Time spent on flushing to /var/log/journal/94c6dc54325b4b8d83845edb1dcf074e is 1.601ms for 5 entries.62machine # [7451163.878484] machine systemd-journald[54]: System Journal (/var/log/journal/94c6dc54325b4b8d83845edb1dcf074e) is 8M, max 4G, 3.9G free.63machine # [7451163.881575] machine systemd[1]: Finished Create Static Device Nodes in /dev.64machine # [7451163.882213] machine systemd[1]: Reached target Preparation for Local File Systems.65machine # [7451163.882342] machine systemd[1]: Reached target Local File Systems.66machine # [7451163.883132] machine systemd[1]: Listening on Boot Loader Control Service Socket.67machine # [7451163.883176] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container68machine # [7451163.884024] machine systemd[1]: Starting Save Transient machine-id to Disk...69machine # [7451163.884062] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys70machine # [7451163.904951] machine systemd[1]: Finished Flush Journal to Persistent Storage.71machine # [7451163.906436] machine systemd[1]: Starting Create System Files and Directories...72machine # [7451163.921949] machine systemd-tmpfiles[66]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted73machine # [7451163.922128] machine systemd-tmpfiles[66]: fchmod() of /var/log/journal failed: Operation not permitted74machine # [7451163.922248] machine systemd-tmpfiles[66]: fchmod() of /var/log/journal/94c6dc54325b4b8d83845edb1dcf074e failed: Operation not permitted75machine # [7451163.922428] machine systemd-tmpfiles[66]: fchmod() of /run/log/journal failed: Operation not permitted76machine # [7451163.925448] machine systemd[1]: Finished Create System Files and Directories.77machine # [7451163.926667] machine systemd[1]: Starting Rebuild Journal Catalog...78machine # [7451163.927433] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...79machine # [7451163.939790] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.80machine # [7451163.950757] machine systemd[1]: Finished Rebuild Journal Catalog.81machine # [7451163.951850] machine systemd[1]: Starting Update is Completed...82machine # [7451163.962423] machine systemd[1]: Finished Update is Completed.83machine # [7451163.963000] machine systemd[1]: Reached target System Initialization.84machine # [7451163.963126] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container85machine # [7451163.963314] machine systemd[1]: Started Daily Cleanup of Temporary Directories.86machine # [7451163.963334] machine systemd[1]: Reached target Timer Units.87machine # [7451163.963468] machine systemd[1]: Listening on D-Bus System Message Bus Socket.88machine # [7451163.963584] machine systemd[1]: Listening on Nix Daemon Socket.89machine # [7451163.963685] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.90machine # [7451163.963705] machine systemd[1]: Reached target Socket Units.91machine # [7451163.963738] machine systemd[1]: Reached target Basic System.92machine # [7451163.964788] machine systemd[1]: Starting Import lastlog data into lastlog2 database...93machine # [7451163.965497] machine systemd[1]: Starting nftables firewall...94machine # [7451163.966258] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...95machine # [7451163.966537] machine systemd[1]: Finished Save Transient machine-id to Disk.96machine # [7451163.986356] machine systemd[1]: Finished Import lastlog data into lastlog2 database.97machine # [7451164.059547] machine nsncd[76]: Sep 03 05:09:50.112 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"98machine # [7451164.059675] machine systemd[1]: Started Name Service Cache Daemon (nsncd).99machine # [7451164.059745] machine systemd[1]: Reached target Host and Network Name Lookups.100machine # [7451164.059799] machine systemd[1]: Reached target User and Group Name Lookups.101machine # [7451164.093930] machine systemd[1]: Starting User Login Management...102machine # [7451164.101892] machine systemd[1]: Finished nftables firewall.103machine # [7451164.102048] machine systemd[1]: Reached target Preparation for Network.104machine # [7451164.102956] machine systemd[1]: Starting Address configuration of eth1...105machine # [7451164.103798] machine systemd[1]: Starting Extra networking commands....106machine # [7451164.104706] machine systemd[1]: Starting Setup wg0 dummy interface...107machine # [7451164.121141] machine network-addresses-eth1-start[109]: adding address 192.168.1.1/24... done108machine # [7451164.123310] machine systemd[1]: Finished Setup wg0 dummy interface.109machine # [7451164.123432] machine network-addresses-eth1-start[109]: adding address 2001:db8:1::1/64... done110machine # [7451164.127428] machine systemd[1]: Finished Address configuration of eth1.111machine # [7451164.157843] machine systemd[1]: Stopped target Host and Network Name Lookups.112machine # [7451164.157905] machine systemd[1]: Stopping Host and Network Name Lookups...113machine # [7451164.157944] machine systemd[1]: Stopped target User and Group Name Lookups.114machine # [7451164.157968] machine systemd[1]: Stopping User and Group Name Lookups...115machine # [7451164.158125] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)...116machine # [7451164.161532] machine systemd[1]: nscd.service: Deactivated successfully.117machine # [7451164.161795] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).118machine # [7451164.163825] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...119machine # [7451164.171670] machine systemd[1]: Finished Extra networking commands..120machine # [7451164.171836] machine systemd[1]: Reached target Network.121machine # [7451164.172925] machine systemd[1]: Starting Nginx Web Server...122machine # [7451164.401384] machine nsncd[174]: Sep 03 05:09:50.454 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"123machine # [7451164.401505] machine systemd[1]: Started Name Service Cache Daemon (nsncd).124machine # [7451164.401584] machine systemd[1]: Reached target Host and Network Name Lookups.125machine # [7451164.401640] machine systemd[1]: Reached target User and Group Name Lookups.126machine # [7451164.402612] machine systemd[1]: Starting Permit User Sessions...127machine # [7451164.413167] machine systemd[1]: Finished Permit User Sessions.128machine # [7451164.414431] machine systemd[1]: Started Console Getty.129machine # [7451164.414482] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0130machine # [7451164.414502] machine systemd[1]: Reached target Login Prompts.131router # [7451164.700482] router systemd-networkd[67]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted132router # [7451164.700582] router systemd-networkd[67]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted133router # [7451164.707429] router systemd-networkd[67]: lo: Link UP134router # [7451164.707436] router systemd-networkd[67]: lo: Gained carrier135router # [7451164.707626] router systemd-networkd[67]: eth1: Configuring with /etc/systemd/network/40-eth1.network.136router # [7451164.708124] router systemd[1]: Started Network Management.137router # [7451164.724480] router systemd-networkd[67]: eth1: Link UP138router # [7451164.724728] router systemd-networkd[67]: eth1: Gained carrier139router # [7451164.725005] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd...140router # [7451164.766192] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd.141router # [7451164.853053] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully.142machine # [7451164.841917] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.143machine # [7451164.872536] machine systemd-logind[100]: New seat seat0.144machine # [7451164.872753] machine systemd[1]: Started User Login Management.145machine # [7451164.874279] machine systemd[1]: Starting D-Bus System Message Bus...146machine # [7451164.875125] machine systemd[1]: Starting linger-users.service...147machine # [7451164.885510] machine systemd[1]: linger-users.service: Deactivated successfully.148machine # [7451164.885704] machine systemd[1]: Finished linger-users.service.149machine # [7451164.973226] machine nginx-pre-start[203]: nginx: the configuration file /nix/store/3j90525w07app6y97h71z8gzyxq70s3s-nginx.conf syntax is ok150machine # [7451164.973556] machine nginx-pre-start[203]: nginx: configuration file /nix/store/3j90525w07app6y97h71z8gzyxq70s3s-nginx.conf test is successful151machine # [7451164.978727] machine systemd[1]: Started Nginx Web Server.152machine # [7451164.978929] machine systemd[1]: Reached target Multi-User System.153router # [7451164.974967] router systemd-resolved[61]: Positive Trust Anchors:154router # [7451164.974976] router systemd-resolved[61]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d155router # [7451164.974980] router systemd-resolved[61]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16156router # [7451164.975016] router systemd-resolved[61]: 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 test157router # [7451164.997634] router systemd-resolved[61]: Using system hostname 'router'.158router # [7451164.999042] router systemd[1]: Started Network Name Resolution.159router # [7451164.999119] router systemd[1]: Reached target Network.160router # [7451164.999184] router systemd[1]: Reached target System Initialization.161router # [7451164.999224] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container162router # [7451164.999249] router systemd[1]: Started Daily Cleanup of Temporary Directories.163router # [7451164.999268] router systemd[1]: Reached target Timer Units.164router # [7451164.999384] router systemd[1]: Listening on D-Bus System Message Bus Socket.165router # [7451164.999494] router systemd[1]: Listening on Nix Daemon Socket.166router # [7451164.999591] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.167router # [7451164.999612] router systemd[1]: Reached target Socket Units.168router # [7451164.999646] router systemd[1]: Reached target Basic System.169router # [7451165.001424] router systemd[1]: Starting Import lastlog data into lastlog2 database...170router # [7451165.002236] router systemd[1]: Starting Nginx Web Server...171router # [7451165.003035] router systemd[1]: Starting Name Service Cache Daemon (nsncd)...172router # [7451165.004199] router systemd[1]: Starting D-Bus System Message Bus...173router # [7451165.020858] router systemd[1]: Finished Import lastlog data into lastlog2 database.174router # [7451165.165402] router nsncd[84]: Sep 03 05:09:51.218 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"175router # [7451165.165578] router systemd[1]: Started Name Service Cache Daemon (nsncd).176router # [7451165.165683] router systemd[1]: Reached target Host and Network Name Lookups.177router # [7451165.165787] router systemd[1]: Reached target User and Group Name Lookups.178router # [7451165.167598] router systemd[1]: Starting User Login Management...179router # [7451165.168849] router systemd[1]: Starting Permit User Sessions...180router # [7451165.178344] router systemd[1]: Finished Permit User Sessions.181router # [7451165.179420] router systemd[1]: Started Console Getty.182router # [7451165.179460] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0183router # [7451165.179478] router systemd[1]: Reached target Login Prompts.184router # [7451165.291443] router dbus-broker-launch[85]: Looking up NSS user entry for 'systemd-timesync'...185router # [7451165.292121] router dbus-broker-launch[85]: NSS returned no entry for 'systemd-timesync'186router # [7451165.292121] router dbus-broker-launch[85]: Invalid user-name in /nix/store/f73slv9pnkmws66lfg05gw2qqpi48m0l-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"187router # [7451165.292493] router systemd[1]: Started D-Bus System Message Bus.188machine # [7451165.125657] machine dbus-broker-launch[199]: Looking up NSS user entry for 'systemd-timesync'...189machine # [7451165.127349] machine dbus-broker-launch[199]: NSS returned no entry for 'systemd-timesync'190machine # [7451165.127349] machine dbus-broker-launch[199]: Invalid user-name in /nix/store/qb7df74hw4z1ifzj707psb0822z691b0-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"191machine # [7451165.127287] machine systemd[1]: Started D-Bus System Message Bus.192machine # [7451165.127879] machine systemd[1]: Startup finished in 1.669s.193machine # [7451165.134939] machine dbus-broker-launch[199]: Ready194router # [7451165.299954] router dbus-broker-launch[85]: Ready195router # [7451165.696033] router nginx-pre-start[114]: nginx: the configuration file /nix/store/7yhiwkgp65sf3lcmchgbyplj3qkscspp-nginx.conf syntax is ok196router # [7451165.696396] router nginx-pre-start[114]: nginx: configuration file /nix/store/7yhiwkgp65sf3lcmchgbyplj3qkscspp-nginx.conf test is successful197router # [7451165.724487] router systemd[1]: Started Nginx Web Server.198router # [7451165.759047] router systemd-logind[103]: New seat seat0.199router # [7451165.759293] router systemd[1]: Started User Login Management.200router # [7451165.760743] router systemd[1]: Starting linger-users.service...201router # [7451165.776080] router systemd[1]: linger-users.service: Deactivated successfully.202router # [7451165.776309] router systemd[1]: Finished linger-users.service.203router # [7451165.776735] router systemd[1]: Reached target Multi-User System.204router # [7451165.776974] router systemd[1]: Startup finished in 2.331s.205router: (finished: waiting for unit multi-user.target, in 3.15 seconds)206router: waiting for TCP port 80 on localhost207router # [7451166.148192] router systemd-networkd[67]: eth1: Gained IPv6LL208Connection to localhost (::1) 80 port [tcp/http] succeeded!209router: (finished: waiting for TCP port 80 on localhost, in 1.02 seconds)210machine: waiting for unit multi-user.target211machine: (finished: waiting for unit multi-user.target, in 0.01 seconds)212machine: waiting for unit nginx.service213machine: (finished: waiting for unit nginx.service, in 0.01 seconds)214router: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'215router: (finished: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}', in 0.01 seconds)216router: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1217router: (finished: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1, in 0.01 seconds)218Router IPv4: 192.168.1.2219Router IPv6: 2001:db8:1::2220machine: must succeed: systemctl restart nftables221machine: (finished: must succeed: systemctl restart nftables, in 0.16 seconds)222machine: waiting for unit nftables.service223machine: (finished: waiting for unit nftables.service, in 0.01 seconds)224machine: must succeed: nft list table inet user-firewall >&2225table inet user-firewall {226 chain output {227 type filter hook output priority filter; policy accept;228 oifname "lo" counter packets 0 bytes 0 accept comment "allow lo"229 oifname "tun*" counter packets 0 bytes 0 accept comment "allow tun*"230 oifname "tap*" counter packets 0 bytes 0 accept comment "allow tap*"231 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"232 oifname "tailscale*" counter packets 0 bytes 0 accept comment "allow tailscale*"233 oifname "zt*" counter packets 0 bytes 0 accept comment "allow zt*"234 oifname "vpn*" counter packets 0 bytes 0 accept comment "allow vpn*"235 oifname "ipsec*" counter packets 0 bytes 0 accept comment "allow ipsec*"236 oifname "nebula*" counter packets 0 bytes 0 accept comment "allow nebula*"237 oifname "tinc*" counter packets 0 bytes 0 accept comment "allow tinc*"238 oifname "edge*" counter packets 0 bytes 0 accept comment "allow edge*"239 oifname "hyprspace" counter packets 0 bytes 0 accept comment "allow hyprspace"240 oifname "ham0" counter packets 0 bytes 0 accept comment "allow ham0"241 oifname "easytier" counter packets 0 bytes 0 accept comment "allow easytier"242 oifname "mycelium" counter packets 0 bytes 0 accept comment "allow mycelium"243 meta skuid 1002 counter packets 0 bytes 0 reject comment "blocked user bob"244 }245}246machine: (finished: must succeed: nft list table inet user-firewall >&2, in 0.01 seconds)247machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080248machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds)249machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2250machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds)251machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2]252machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.02 seconds)253machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080254machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.02 seconds)255machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$?256machine # [7451167.214232] machine systemd[1]: Stopping nftables firewall...257machine # [7451167.285368] machine systemd[1]: nftables.service: Deactivated successfully.258machine # [7451167.285559] machine systemd[1]: Stopped nftables firewall.259machine # [7451167.286845] machine systemd[1]: Starting nftables firewall...260machine # [7451167.362572] machine systemd[1]: Finished nftables firewall.261machine # [7451167.392897] machine runuser[235]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)262machine # [7451167.401805] machine runuser[235]: pam_unix(runuser:session): session closed for user alice263machine # [7451167.409491] machine runuser[237]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)264machine # [7451167.419307] machine runuser[237]: pam_unix(runuser:session): session closed for user alice265machine # [7451167.427184] machine runuser[239]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)266machine # [7451167.435831] machine runuser[239]: pam_unix(runuser:session): session closed for user alice267machine # [7451167.444797] machine runuser[241]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)268machine # [7451167.453033] machine runuser[241]: pam_unix(runuser:session): session closed for user bob269machine # [7451167.461139] machine runuser[244]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)270machine # [7451167.468890] machine runuser[244]: pam_unix(runuser:session): session closed for user bob271machine: (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)272machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?273machine # [7451167.477658] machine runuser[247]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)274machine: (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)275machine: must succeed: nft list table inet user-firewall276machine: (finished: must succeed: nft list table inet user-firewall, in 0.01 seconds)277machine: waiting for unit setup-wg0-interface.service278machine: (finished: waiting for unit setup-wg0-interface.service, in 0.01 seconds)279machine: waiting for unit nginx.service280machine: (finished: waiting for unit nginx.service, in 0.01 seconds)281machine: waiting for TCP port 8081 on 10.100.0.2282Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded!283machine: (finished: waiting for TCP port 8081 on 10.100.0.2, in 0.01 seconds)284machine: must succeed: ip link show wg0285machine: (finished: must succeed: ip link show wg0, in 0.01 seconds)286machine: must succeed: ip addr show wg0287machine: (finished: must succeed: ip addr show wg0, in 0.01 seconds)288machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/289machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)290machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/291machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)292machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/293machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.03 seconds)294machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/295machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.03 seconds)296machine: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2297 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"298machine: (finished: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2, in 0.01 seconds)299(finished: run the VM test script, in 5.68 seconds)300machine # [7451168.517695] machine runuser[247]: pam_unix(runuser:session): session closed for user bob301machine # [7451168.578531] machine runuser[255]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)302machine # [7451168.590318] machine runuser[255]: pam_unix(runuser:session): session closed for user alice303machine # [7451168.600854] machine runuser[257]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)304machine # [7451168.610242] machine runuser[257]: pam_unix(runuser:session): session closed for user alice305machine # [7451168.619896] machine runuser[259]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)306machine # [7451168.634874] machine runuser[259]: pam_unix(runuser:session): session closed for user bob307machine # [7451168.653959] machine runuser[261]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)308machine # [7451168.665962] machine runuser[261]: pam_unix(runuser:session): session closed for user bob309test script finished in 5.82s310cleanup311kill NspawnMachine (pid 52)312kill NspawnMachine (pid 53)313Container machine terminated by signal KILL.314(finished: cleanup, in 0.43 seconds)315Container router terminated by signal KILL.