container-test-run-user-firewall-nftables
default.checks.aarch64-linux.nixos-test-user-firewall-nftables
· build #410
· 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)14router: Waiting for journal at /build/vm-state-router/var/log/journal...15machine: Waiting for journal at /build/vm-state-machine/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 # [6104576.919746] router systemd-journald[54]: Journal started27router # [6104576.919799] router systemd-journald[54]: Runtime Journal (/run/log/journal/7b00a8fa1c144aa984d1ca368b5c2eab) is 8M, max 2.5G, 2.4G free.28router # [6104576.921056] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully.29router # [6104576.930719] router systemd[1]: Starting Flush Journal to Persistent Storage...30router # [6104576.931677] router systemd[1]: Starting Network Name Resolution...31router # [6104576.932406] router systemd[1]: Starting Create Static Device Nodes in /dev...32router # [6104576.941139] router systemd-journald[54]: Time spent on flushing to /var/log/journal/7b00a8fa1c144aa984d1ca368b5c2eab is 1.225ms for 6 entries.33router # [6104576.941139] router systemd-journald[54]: System Journal (/var/log/journal/7b00a8fa1c144aa984d1ca368b5c2eab) is 8M, max 4G, 3.9G free.34router # [6104576.945939] router systemd[1]: Finished Create Static Device Nodes in /dev.35router # [6104576.946337] router systemd[1]: Reached target Preparation for Local File Systems.36router # [6104576.946453] router systemd[1]: Reached target Local File Systems.37router # [6104576.947365] router systemd[1]: Listening on Boot Loader Control Service Socket.38router # [6104576.947416] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container39router # [6104576.948553] router systemd[1]: Starting Save Transient machine-id to Disk...40router # [6104576.948606] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys41router # [6104576.949990] router systemd[1]: Starting Network Management...42router # [6104576.965855] router systemd[1]: Finished Flush Journal to Persistent Storage.43router # [6104576.966971] router systemd[1]: Starting Create System Files and Directories...44router # [6104576.984094] router systemd-tmpfiles[70]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted45router # [6104576.984316] router systemd-tmpfiles[70]: fchmod() of /var/log/journal failed: Operation not permitted46router # [6104576.984440] router systemd-tmpfiles[70]: fchmod() of /var/log/journal/7b00a8fa1c144aa984d1ca368b5c2eab failed: Operation not permitted47router # [6104576.984632] router systemd-tmpfiles[70]: fchmod() of /run/log/journal failed: Operation not permitted48machine # [6104576.913133] machine systemd-journald[54]: Journal started49router # [6104576.986663] router systemd[1]: Finished Create System Files and Directories.50machine # [6104576.913192] machine systemd-journald[54]: Runtime Journal (/run/log/journal/cc97e7ac9a264e9b891981ffbe2743e4) is 8M, max 2.5G, 2.4G free.51router # [6104576.992240] router systemd[1]: Starting Rebuild Journal Catalog...52machine # [6104576.914678] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.53router # [6104576.993359] router systemd[1]: Starting Record System Boot/Shutdown in UTMP...54machine # [6104576.923357] machine systemd[1]: Starting Flush Journal to Persistent Storage...55router # [6104577.009395] router systemd[1]: Finished Rebuild Journal Catalog.56machine # [6104576.924506] machine systemd[1]: Starting Create Static Device Nodes in /dev...57router # [6104577.009716] router systemd[1]: Finished Record System Boot/Shutdown in UTMP.58router # [6104577.013652] router systemd[1]: Starting Update is Completed...59machine # [6104576.933284] machine systemd-journald[54]: Time spent on flushing to /var/log/journal/cc97e7ac9a264e9b891981ffbe2743e4 is 1.632ms for 5 entries.60router # [6104577.024520] router systemd[1]: Finished Update is Completed.61machine # [6104576.933284] machine systemd-journald[54]: System Journal (/var/log/journal/cc97e7ac9a264e9b891981ffbe2743e4) is 8M, max 4G, 3.9G free.62machine # [6104576.937327] machine systemd[1]: Finished Create Static Device Nodes in /dev.63machine # [6104576.937617] machine systemd[1]: Reached target Preparation for Local File Systems.64machine # [6104576.937703] machine systemd[1]: Reached target Local File Systems.65machine # [6104576.938480] machine systemd[1]: Listening on Boot Loader Control Service Socket.66machine # [6104576.938526] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container67machine # [6104576.939560] machine systemd[1]: Starting Save Transient machine-id to Disk...68machine # [6104576.939600] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys69machine # [6104576.967419] machine systemd[1]: Finished Flush Journal to Persistent Storage.70machine # [6104576.968966] machine systemd[1]: Starting Create System Files and Directories...71machine # [6104576.984677] machine systemd-tmpfiles[66]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted72machine # [6104576.984902] machine systemd-tmpfiles[66]: fchmod() of /var/log/journal failed: Operation not permitted73machine # [6104576.985057] machine systemd-tmpfiles[66]: fchmod() of /var/log/journal/cc97e7ac9a264e9b891981ffbe2743e4 failed: Operation not permitted74machine # [6104576.985298] machine systemd-tmpfiles[66]: fchmod() of /run/log/journal failed: Operation not permitted75machine # [6104576.989435] machine systemd[1]: Finished Create System Files and Directories.76machine # [6104576.991688] machine systemd[1]: Starting Rebuild Journal Catalog...77machine # [6104576.993077] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...78machine # [6104577.007340] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.79machine # [6104577.019085] machine systemd[1]: Finished Rebuild Journal Catalog.80machine # [6104577.020905] machine systemd[1]: Starting Update is Completed...81machine # [6104577.033259] machine systemd[1]: Finished Update is Completed.82machine # [6104577.033894] machine systemd[1]: Reached target System Initialization.83machine # [6104577.034032] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container84machine # [6104577.034065] machine systemd[1]: Started Daily Cleanup of Temporary Directories.85machine # [6104577.034084] machine systemd[1]: Reached target Timer Units.86machine # [6104577.034232] machine systemd[1]: Listening on D-Bus System Message Bus Socket.87machine # [6104577.034371] machine systemd[1]: Listening on Nix Daemon Socket.88machine # [6104577.034485] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.89machine # [6104577.034507] machine systemd[1]: Reached target Socket Units.90machine # [6104577.035762] machine systemd[1]: Reached target Basic System.91router # [6104577.143676] router systemd[1]: Finished Save Transient machine-id to Disk.92machine # [6104577.037277] machine systemd[1]: Starting Import lastlog data into lastlog2 database...93machine # [6104577.038229] machine systemd[1]: Starting nftables firewall...94machine # [6104577.039357] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...95machine # [6104577.058702] machine systemd[1]: Finished Import lastlog data into lastlog2 database.96machine # [6104577.127854] machine systemd[1]: Finished nftables firewall.97machine # [6104577.129403] machine systemd[1]: Reached target Preparation for Network.98machine # [6104577.130674] machine systemd[1]: Starting Address configuration of eth1...99machine # [6104577.132053] machine systemd[1]: Starting Extra networking commands....100machine # [6104577.133004] machine systemd[1]: Starting Setup wg0 dummy interface...101machine # [6104577.135917] machine nsncd[76]: Aug 18 15:06:43.189 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"102machine # [6104577.136278] machine systemd[1]: Started Name Service Cache Daemon (nsncd).103machine # [6104577.136382] machine systemd[1]: Reached target Host and Network Name Lookups.104machine # [6104577.136459] machine systemd[1]: Reached target User and Group Name Lookups.105machine # [6104577.137846] machine systemd[1]: Starting User Login Management...106machine # [6104577.147014] machine systemd[1]: Finished Save Transient machine-id to Disk.107machine # [6104577.151438] machine network-addresses-eth1-start[91]: adding address 192.168.1.1/24... done108machine # [6104577.154008] machine network-addresses-eth1-start[91]: adding address 2001:db8:1::1/64... done109machine # [6104577.155010] machine systemd[1]: Finished Setup wg0 dummy interface.110machine # [6104577.158233] machine systemd[1]: Finished Address configuration of eth1.111machine # [6104577.194634] machine systemd[1]: Stopped target Host and Network Name Lookups.112machine # [6104577.194718] machine systemd[1]: Stopping Host and Network Name Lookups...113machine # [6104577.194757] machine systemd[1]: Stopped target User and Group Name Lookups.114machine # [6104577.194780] machine systemd[1]: Stopping User and Group Name Lookups...115machine # [6104577.194976] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)...116machine # [6104577.203701] machine systemd[1]: nscd.service: Deactivated successfully.117machine # [6104577.203894] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).118machine # [6104577.206355] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...119machine # [6104577.252387] machine systemd[1]: Finished Extra networking commands..120machine # [6104577.252706] machine systemd[1]: Reached target Network.121machine # [6104577.254036] machine systemd[1]: Starting Nginx Web Server...122machine # [6104577.508196] machine nsncd[178]: Aug 18 15:06:43.561 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"123machine # [6104577.508690] machine systemd[1]: Started Name Service Cache Daemon (nsncd).124machine # [6104577.508772] machine systemd[1]: Reached target Host and Network Name Lookups.125machine # [6104577.508858] machine systemd[1]: Reached target User and Group Name Lookups.126machine # [6104577.510606] machine systemd[1]: Starting Permit User Sessions...127machine # [6104577.522692] machine systemd[1]: Finished Permit User Sessions.128machine # [6104577.524999] machine systemd[1]: Started Console Getty.129machine # [6104577.525069] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0130machine # [6104577.525091] machine systemd[1]: Reached target Login Prompts.131router # [6104578.007756] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully.132router # [6104578.082536] router systemd-networkd[66]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted133router # [6104578.082649] router systemd-networkd[66]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted134router # [6104578.090114] router systemd-networkd[66]: lo: Link UP135router # [6104578.090122] router systemd-networkd[66]: lo: Gained carrier136router # [6104578.090416] router systemd-networkd[66]: eth1: Configuring with /etc/systemd/network/40-eth1.network.137router # [6104578.090926] router systemd[1]: Started Network Management.138router # [6104578.091081] router systemd-networkd[66]: eth1: Link UP139router # [6104578.091361] router systemd-networkd[66]: eth1: Gained carrier140router # [6104578.092642] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd...141router # [6104578.130847] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd.142machine # [6104578.019847] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.143machine # [6104578.952544] machine systemd-logind[104]: New seat seat0.144machine # [6104578.953803] machine systemd[1]: Starting D-Bus System Message Bus...145machine # [6104578.954075] machine systemd[1]: Started User Login Management.146machine # [6104578.955279] machine systemd[1]: Starting linger-users.service...147machine # [6104578.967438] machine systemd[1]: linger-users.service: Deactivated successfully.148machine # [6104578.967631] machine systemd[1]: Finished linger-users.service.149machine # [6104579.124801] machine nginx-pre-start[203]: nginx: the configuration file /nix/store/f6bz7fb6kqyk1j719hra7mgz5f5dynlv-nginx.conf syntax is ok150machine # [6104579.125465] machine nginx-pre-start[203]: nginx: configuration file /nix/store/f6bz7fb6kqyk1j719hra7mgz5f5dynlv-nginx.conf test is successful151machine # [6104579.131165] machine systemd[1]: Started Nginx Web Server.152machine # [6104579.131547] machine systemd[1]: Reached target Multi-User System.153router # [6104579.108178] router systemd-networkd[66]: eth1: Gained IPv6LL154router # [6104579.118762] router systemd-resolved[61]: Positive Trust Anchors:155router # [6104579.118775] router systemd-resolved[61]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d156router # [6104579.118778] router systemd-resolved[61]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16157router # [6104579.118814] 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 test158router # [6104579.142643] router systemd-resolved[61]: Using system hostname 'router'.159router # [6104579.144368] router systemd[1]: Started Network Name Resolution.160router # [6104579.144469] router systemd[1]: Reached target Network.161router # [6104579.144541] router systemd[1]: Reached target System Initialization.162router # [6104579.144591] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container163router # [6104579.144617] router systemd[1]: Started Daily Cleanup of Temporary Directories.164router # [6104579.144634] router systemd[1]: Reached target Timer Units.165router # [6104579.144798] router systemd[1]: Listening on D-Bus System Message Bus Socket.166router # [6104579.144935] router systemd[1]: Listening on Nix Daemon Socket.167router # [6104579.145034] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.168router # [6104579.145054] router systemd[1]: Reached target Socket Units.169router # [6104579.145097] router systemd[1]: Reached target Basic System.170router # [6104579.173000] router systemd[1]: Starting Import lastlog data into lastlog2 database...171router # [6104579.174077] router systemd[1]: Starting Nginx Web Server...172router # [6104579.175024] router systemd[1]: Starting Name Service Cache Daemon (nsncd)...173router # [6104579.177172] router systemd[1]: Starting D-Bus System Message Bus...174router # [6104579.193045] router systemd[1]: Finished Import lastlog data into lastlog2 database.175router # [6104579.450436] router systemd[1]: Started Name Service Cache Daemon (nsncd).176router # [6104579.450517] router systemd[1]: Reached target Host and Network Name Lookups.177router # [6104579.450654] router nsncd[84]: Aug 18 15:06:45.503 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"178router # [6104579.450588] router systemd[1]: Reached target User and Group Name Lookups.179router # [6104579.451913] router systemd[1]: Starting User Login Management...180router # [6104579.452963] router systemd[1]: Starting Permit User Sessions...181router # [6104579.464304] router systemd[1]: Finished Permit User Sessions.182router # [6104579.466175] router systemd[1]: Started Console Getty.183router # [6104579.466231] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0184router # [6104579.466257] router systemd[1]: Reached target Login Prompts.185machine # [6104579.478712] machine dbus-broker-launch[199]: Looking up NSS user entry for 'systemd-timesync'...186machine # [6104579.479408] machine dbus-broker-launch[199]: NSS returned no entry for 'systemd-timesync'187machine # [6104579.479408] machine dbus-broker-launch[199]: Invalid user-name in /nix/store/alkzwsb9lhg0q4zxzk8b9qrndryk8a8j-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"188machine # [6104579.479792] machine systemd[1]: Started D-Bus System Message Bus.189machine # [6104579.486983] machine dbus-broker-launch[199]: Ready190machine # [6104579.488083] machine systemd[1]: Startup finished in 3.029s.191router # [6104579.709439] router dbus-broker-launch[85]: Looking up NSS user entry for 'systemd-timesync'...192router # [6104579.715153] router dbus-broker-launch[85]: NSS returned no entry for 'systemd-timesync'193router # [6104579.715153] router dbus-broker-launch[85]: Invalid user-name in /nix/store/qbjb8vm0xv0shfqbwybkm43nrw113k0d-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"194router # [6104579.715106] router systemd[1]: Started D-Bus System Message Bus.195router # [6104579.723111] router dbus-broker-launch[85]: Ready196router # [6104580.153670] router nginx-pre-start[114]: nginx: the configuration file /nix/store/qrsah5s67snpprkgwckqjvb52f8z9ciz-nginx.conf syntax is ok197router # [6104580.154030] router nginx-pre-start[114]: nginx: configuration file /nix/store/qrsah5s67snpprkgwckqjvb52f8z9ciz-nginx.conf test is successful198router # [6104580.160560] router systemd[1]: Started Nginx Web Server.199router # [6104580.234390] router systemd-logind[103]: New seat seat0.200router # [6104580.234753] router systemd[1]: Started User Login Management.201router # [6104580.236286] router systemd[1]: Starting linger-users.service...202router # [6104580.251573] router systemd[1]: linger-users.service: Deactivated successfully.203router # [6104580.251787] router systemd[1]: Finished linger-users.service.204router # [6104580.252230] router systemd[1]: Reached target Multi-User System.205router # [6104580.252559] router systemd[1]: Startup finished in 3.776s.206router: (finished: waiting for unit multi-user.target, in 4.66 seconds)207router: waiting for TCP port 80 on localhost208Connection 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 # [6104581.759643] machine systemd[1]: Stopping nftables firewall...222machine # [6104581.974332] machine systemd[1]: nftables.service: Deactivated successfully.223machine # [6104581.974533] machine systemd[1]: Stopped nftables firewall.224machine # [6104581.975962] machine systemd[1]: Starting nftables firewall...225machine: (finished: must succeed: systemctl restart nftables, in 0.36 seconds)226machine: waiting for unit nftables.service227machine: (finished: waiting for unit nftables.service, in 0.01 seconds)228machine: must succeed: nft list table inet user-firewall >&2229table inet user-firewall {230 chain output {231 type filter hook output priority filter; policy accept;232 oifname "lo" counter packets 0 bytes 0 accept comment "allow lo"233 oifname "tun*" counter packets 0 bytes 0 accept comment "allow tun*"234 oifname "tap*" counter packets 0 bytes 0 accept comment "allow tap*"235 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"236 oifname "tailscale*" counter packets 0 bytes 0 accept comment "allow tailscale*"237 oifname "zt*" counter packets 0 bytes 0 accept comment "allow zt*"238 oifname "vpn*" counter packets 0 bytes 0 accept comment "allow vpn*"239 oifname "ipsec*" counter packets 0 bytes 0 accept comment "allow ipsec*"240 oifname "nebula*" counter packets 0 bytes 0 accept comment "allow nebula*"241 oifname "tinc*" counter packets 0 bytes 0 accept comment "allow tinc*"242 oifname "edge*" counter packets 0 bytes 0 accept comment "allow edge*"243 oifname "hyprspace" counter packets 0 bytes 0 accept comment "allow hyprspace"244 oifname "ham0" counter packets 0 bytes 0 accept comment "allow ham0"245 oifname "easytier" counter packets 0 bytes 0 accept comment "allow easytier"246 oifname "mycelium" counter packets 0 bytes 0 accept comment "allow mycelium"247 meta skuid 1002 counter packets 0 bytes 0 reject comment "blocked user bob"248 }249}250machine: (finished: must succeed: nft list table inet user-firewall >&2, in 0.01 seconds)251machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080252machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds)253machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2254machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds)255machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2]256machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.02 seconds)257machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080258machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.02 seconds)259machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$?260machine: (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)261machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?262machine # [6104582.107048] machine systemd[1]: Finished nftables firewall.263machine # [6104582.134754] machine runuser[235]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)264machine # [6104582.143302] machine runuser[235]: pam_unix(runuser:session): session closed for user alice265machine # [6104582.151226] machine runuser[237]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)266machine # [6104582.160292] machine runuser[237]: pam_unix(runuser:session): session closed for user alice267machine # [6104582.167879] machine runuser[239]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)268machine # [6104582.176414] machine runuser[239]: pam_unix(runuser:session): session closed for user alice269machine # [6104582.184149] machine runuser[241]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)270machine # [6104582.192583] machine runuser[241]: pam_unix(runuser:session): session closed for user bob271machine # [6104582.200539] machine runuser[244]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)272machine # [6104582.210592] machine runuser[244]: pam_unix(runuser:session): session closed for user bob273machine # [6104582.218584] 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.03 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.02 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.02 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.02 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 7.36 seconds)300machine # [6104583.238169] machine runuser[247]: pam_unix(runuser:session): session closed for user bob301machine # [6104583.308960] machine runuser[255]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)302machine # [6104583.318632] machine runuser[255]: pam_unix(runuser:session): session closed for user alice303machine # [6104583.327478] machine runuser[257]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)304machine # [6104583.342002] machine runuser[257]: pam_unix(runuser:session): session closed for user alice305machine # [6104583.350752] machine runuser[259]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)306machine # [6104583.359893] machine runuser[259]: pam_unix(runuser:session): session closed for user bob307machine # [6104583.368456] machine runuser[261]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)308machine # [6104583.377104] machine runuser[261]: pam_unix(runuser:session): session closed for user bob309test script finished in 13.11s310cleanup311kill NspawnMachine (pid 52)312kill NspawnMachine (pid 53)313Container machine terminated by signal KILL.314(finished: cleanup, in 0.58 seconds)315Container router terminated by signal KILL.