container-test-run-user-firewall-nftables
default.checks.aarch64-linux.nixos-test-user-firewall-nftables
· build #299
· 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 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.26machine # [5416108.390857] machine systemd-journald[54]: Journal started27router # [5416108.390411] router systemd-journald[54]: Journal started28machine # [5416108.390913] machine systemd-journald[54]: Runtime Journal (/run/log/journal/9f53c123cab24cb89b43e51d90708de5) is 8M, max 2.5G, 2.4G free.29router # [5416108.390461] router systemd-journald[54]: Runtime Journal (/run/log/journal/9edc483bf1db48af86d0eda255a82c69) is 8M, max 2.5G, 2.4G free.30machine # [5416108.393230] machine systemd[1]: Starting Flush Journal to Persistent Storage...31router # [5416108.392487] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully.32machine # [5416108.400513] machine systemd-journald[54]: Time spent on flushing to /var/log/journal/9f53c123cab24cb89b43e51d90708de5 is 1.112ms for 3 entries.33router # [5416108.400067] router systemd[1]: Starting Flush Journal to Persistent Storage...34machine # [5416108.400513] machine systemd-journald[54]: System Journal (/var/log/journal/9f53c123cab24cb89b43e51d90708de5) is 8M, max 4G, 3.9G free.35router # [5416108.400849] router systemd[1]: Starting Network Name Resolution...36machine # [5416108.403528] machine systemd[1]: Finished Create Static Device Nodes in /dev.37router # [5416108.401439] router systemd[1]: Starting Create Static Device Nodes in /dev...38machine # [5416108.403758] machine systemd[1]: Reached target Preparation for Local File Systems.39router # [5416108.409550] router systemd-journald[54]: Time spent on flushing to /var/log/journal/9edc483bf1db48af86d0eda255a82c69 is 1.116ms for 6 entries.40machine # [5416108.403837] machine systemd[1]: Reached target Local File Systems.41router # [5416108.409550] router systemd-journald[54]: System Journal (/var/log/journal/9edc483bf1db48af86d0eda255a82c69) is 8M, max 4G, 3.9G free.42machine # [5416108.404598] machine systemd[1]: Listening on Boot Loader Control Service Socket.43router # [5416108.417168] router systemd[1]: Finished Create Static Device Nodes in /dev.44machine # [5416108.404639] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container45router # [5416108.417412] router systemd[1]: Reached target Preparation for Local File Systems.46machine # [5416108.405457] machine systemd[1]: Starting Save Transient machine-id to Disk...47router # [5416108.417497] router systemd[1]: Reached target Local File Systems.48machine # [5416108.405490] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys49router # [5416108.418211] router systemd[1]: Listening on Boot Loader Control Service Socket.50machine # [5416108.422063] machine systemd[1]: Finished Flush Journal to Persistent Storage.51router # [5416108.418252] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container52machine # [5416108.423413] machine systemd[1]: Starting Create System Files and Directories...53router # [5416108.419140] router systemd[1]: Starting Save Transient machine-id to Disk...54machine # [5416108.443489] machine systemd-tmpfiles[66]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted55router # [5416108.419171] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys56machine # [5416108.443686] machine systemd-tmpfiles[66]: fchmod() of /var/log/journal failed: Operation not permitted57router # [5416108.420229] router systemd[1]: Starting Network Management...58machine # [5416108.443820] machine systemd-tmpfiles[66]: fchmod() of /var/log/journal/9f53c123cab24cb89b43e51d90708de5 failed: Operation not permitted59router # [5416108.420661] router systemd[1]: Finished Flush Journal to Persistent Storage.60machine # [5416108.444056] machine systemd-tmpfiles[66]: fchmod() of /run/log/journal failed: Operation not permitted61router # [5416108.421968] router systemd[1]: Starting Create System Files and Directories...62machine # [5416108.445459] machine systemd[1]: Finished Create System Files and Directories.63router # [5416108.436969] router systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted64machine # [5416108.446666] machine systemd[1]: Starting Rebuild Journal Catalog...65router # [5416108.437275] router systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted66machine # [5416108.447418] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...67router # [5416108.437394] router systemd-tmpfiles[69]: fchmod() of /var/log/journal/9edc483bf1db48af86d0eda255a82c69 failed: Operation not permitted68machine # [5416108.459371] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.69router # [5416108.437570] router systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted70machine # [5416108.470635] machine systemd[1]: Finished Rebuild Journal Catalog.71router # [5416108.440712] router systemd[1]: Finished Create System Files and Directories.72machine # [5416108.471631] machine systemd[1]: Starting Update is Completed...73router # [5416108.442233] router systemd[1]: Starting Rebuild Journal Catalog...74machine # [5416108.480879] machine systemd[1]: Finished Update is Completed.75router # [5416108.442976] router systemd[1]: Starting Record System Boot/Shutdown in UTMP...76machine # [5416108.481039] machine systemd[1]: Reached target System Initialization.77router # [5416108.454762] router systemd[1]: Finished Record System Boot/Shutdown in UTMP.78machine # [5416108.481123] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container79router # [5416108.460861] router systemd[1]: Finished Rebuild Journal Catalog.80machine # [5416108.481151] machine systemd[1]: Started Daily Cleanup of Temporary Directories.81router # [5416108.461959] router systemd[1]: Starting Update is Completed...82machine # [5416108.481168] machine systemd[1]: Reached target Timer Units.83router # [5416108.472089] router systemd[1]: Finished Update is Completed.84machine # [5416108.481274] machine systemd[1]: Listening on D-Bus System Message Bus Socket.85machine # [5416108.481399] machine systemd[1]: Listening on Nix Daemon Socket.86machine # [5416108.481504] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.87machine # [5416108.481526] machine systemd[1]: Reached target Socket Units.88machine # [5416108.481557] machine systemd[1]: Reached target Basic System.89machine # [5416108.482734] machine systemd[1]: Starting Import lastlog data into lastlog2 database...90machine # [5416108.483484] machine systemd[1]: Starting nftables firewall...91machine # [5416108.484338] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...92machine # [5416108.501758] machine systemd[1]: Finished Import lastlog data into lastlog2 database.93machine # [5416108.551330] machine systemd[1]: Finished nftables firewall.94machine # [5416108.551543] machine systemd[1]: Reached target Preparation for Network.95machine # [5416108.553032] machine systemd[1]: Starting Address configuration of eth1...96machine # [5416108.554262] machine systemd[1]: Starting Extra networking commands....97machine # [5416108.555393] machine systemd[1]: Starting Setup wg0 dummy interface...98machine # [5416108.557017] machine nsncd[76]: Aug 10 15:52:14.610 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"99machine # [5416108.557121] machine systemd[1]: Started Name Service Cache Daemon (nsncd).100machine # [5416108.557187] machine systemd[1]: Reached target Host and Network Name Lookups.101machine # [5416108.557234] machine systemd[1]: Reached target User and Group Name Lookups.102machine # [5416108.558318] machine systemd[1]: Starting User Login Management...103machine # [5416108.569943] machine network-addresses-eth1-start[91]: adding address 192.168.1.1/24... done104machine # [5416108.572586] machine network-addresses-eth1-start[91]: adding address 2001:db8:1::1/64... done105machine # [5416108.575250] machine systemd[1]: Finished Setup wg0 dummy interface.106machine # [5416108.576336] machine systemd[1]: Finished Address configuration of eth1.107machine # [5416108.606191] machine systemd[1]: Stopped target Host and Network Name Lookups.108machine # [5416108.606249] machine systemd[1]: Stopping Host and Network Name Lookups...109machine # [5416108.606289] machine systemd[1]: Stopped target User and Group Name Lookups.110machine # [5416108.606311] machine systemd[1]: Stopping User and Group Name Lookups...111machine # [5416108.606785] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)...112machine # [5416108.610873] machine systemd[1]: nscd.service: Deactivated successfully.113machine # [5416108.611039] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).114machine # [5416108.613234] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...115machine # [5416108.656328] machine systemd[1]: Finished Extra networking commands..116machine # [5416108.656532] machine systemd[1]: Reached target Network.117machine # [5416108.657902] machine systemd[1]: Starting Nginx Web Server...118machine # [5416108.735514] machine systemd[1]: Started Name Service Cache Daemon (nsncd).119machine # [5416108.735578] machine systemd[1]: Reached target Host and Network Name Lookups.120machine # [5416108.735628] machine systemd[1]: Reached target User and Group Name Lookups.121machine # [5416108.735936] machine nsncd[173]: Aug 10 15:52:14.789 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"122machine # [5416108.736573] machine systemd[1]: Starting Permit User Sessions...123machine # [5416108.778729] machine systemd[1]: Finished Permit User Sessions.124machine # [5416108.780034] machine systemd[1]: Started Console Getty.125machine # [5416108.780084] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0126machine # [5416108.780116] machine systemd[1]: Reached target Login Prompts.127router # [5416108.850963] router systemd-networkd[67]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted128router # [5416108.851061] router systemd-networkd[67]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted129router # [5416108.857336] router systemd-networkd[67]: lo: Link UP130router # [5416108.857343] router systemd-networkd[67]: lo: Gained carrier131router # [5416108.857547] router systemd-networkd[67]: eth1: Configuring with /etc/systemd/network/40-eth1.network.132router # [5416108.857907] router systemd[1]: Started Network Management.133router # [5416108.858002] router systemd-networkd[67]: eth1: Link UP134router # [5416108.858299] router systemd-networkd[67]: eth1: Gained carrier135router # [5416108.858928] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd...136router # [5416108.957099] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd.137machine # [5416109.035110] machine systemd-logind[98]: New seat seat0.138machine # [5416109.035424] machine systemd[1]: Started User Login Management.139machine # [5416109.037043] machine systemd[1]: Starting D-Bus System Message Bus...140machine # [5416109.038278] machine systemd[1]: Starting linger-users.service...141machine # [5416109.107396] machine systemd[1]: linger-users.service: Deactivated successfully.142machine # [5416109.107598] machine systemd[1]: Finished linger-users.service.143machine # [5416109.186509] machine nginx-pre-start[202]: nginx: the configuration file /nix/store/8g0mfy6d1hibq5i5bsrkqlwhhgzxs8i8-nginx.conf syntax is ok144machine # [5416109.186858] machine nginx-pre-start[202]: nginx: configuration file /nix/store/8g0mfy6d1hibq5i5bsrkqlwhhgzxs8i8-nginx.conf test is successful145machine # [5416109.190963] machine systemd[1]: Started Nginx Web Server.146machine # [5416109.191171] machine systemd[1]: Reached target Multi-User System.147router # [5416109.165376] router systemd-resolved[61]: Positive Trust Anchors:148router # [5416109.165389] router systemd-resolved[61]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d149router # [5416109.165392] router systemd-resolved[61]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16150router # [5416109.165428] 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 test151router # [5416109.187029] router systemd-resolved[61]: Using system hostname 'router'.152router # [5416109.188798] router systemd[1]: Started Network Name Resolution.153router # [5416109.188888] router systemd[1]: Reached target Network.154router # [5416109.188961] router systemd[1]: Reached target System Initialization.155router # [5416109.189010] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container156router # [5416109.189037] router systemd[1]: Started Daily Cleanup of Temporary Directories.157router # [5416109.189053] router systemd[1]: Reached target Timer Units.158router # [5416109.189174] router systemd[1]: Listening on D-Bus System Message Bus Socket.159router # [5416109.189295] router systemd[1]: Listening on Nix Daemon Socket.160router # [5416109.189417] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.161router # [5416109.189441] router systemd[1]: Reached target Socket Units.162router # [5416109.189483] router systemd[1]: Reached target Basic System.163router # [5416109.191345] router systemd[1]: Starting Import lastlog data into lastlog2 database...164router # [5416109.192706] router systemd[1]: Starting Nginx Web Server...165router # [5416109.193997] router systemd[1]: Starting Name Service Cache Daemon (nsncd)...166router # [5416109.224476] router systemd[1]: Starting D-Bus System Message Bus...167router # [5416109.243478] router systemd[1]: Finished Import lastlog data into lastlog2 database.168router # [5416109.341519] router systemd[1]: Started Name Service Cache Daemon (nsncd).169router # [5416109.341788] router nsncd[83]: Aug 10 15:52:15.394 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"170router # [5416109.341592] router systemd[1]: Reached target Host and Network Name Lookups.171router # [5416109.341662] router systemd[1]: Reached target User and Group Name Lookups.172router # [5416109.342950] router systemd[1]: Starting User Login Management...173router # [5416109.343796] router systemd[1]: Starting Permit User Sessions...174router # [5416109.372603] router systemd[1]: Finished Save Transient machine-id to Disk.175router # [5416109.395058] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully.176router # [5416109.396335] router systemd[1]: Finished Permit User Sessions.177router # [5416109.397942] router systemd[1]: Started Console Getty.178router # [5416109.397989] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0179router # [5416109.398010] router systemd[1]: Reached target Login Prompts.180router # [5416109.446610] router dbus-broker-launch[84]: Looking up NSS user entry for 'systemd-timesync'...181machine # [5416109.298847] machine dbus-broker-launch[198]: Looking up NSS user entry for 'systemd-timesync'...182machine # [5416109.299152] machine dbus-broker-launch[198]: NSS returned no entry for 'systemd-timesync'183machine # [5416109.299152] machine dbus-broker-launch[198]: Invalid user-name in /nix/store/7mn4xnn4z81pvvf72zbsbn7hbwwzxc5v-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"184machine # [5416109.299508] machine systemd[1]: Started D-Bus System Message Bus.185machine # [5416109.306493] machine dbus-broker-launch[198]: Ready186machine # [5416109.372610] machine systemd[1]: Finished Save Transient machine-id to Disk.187machine # [5416109.372972] machine systemd[1]: Startup finished in 1.500s.188machine # [5416109.389604] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.189router # [5416109.447384] router dbus-broker-launch[84]: NSS returned no entry for 'systemd-timesync'190router # [5416109.447384] router dbus-broker-launch[84]: Invalid user-name in /nix/store/hrmc316w3z152kbllif0bpldn00kq13d-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"191router # [5416109.447933] router systemd[1]: Started D-Bus System Message Bus.192router # [5416109.455119] router dbus-broker-launch[84]: Ready193router: (finished: waiting for unit multi-user.target, in 2.65 seconds)194router: waiting for TCP port 80 on localhost195router # [5416109.781814] router nginx-pre-start[114]: nginx: the configuration file /nix/store/iz7h0yc7cv7kpl3yhr40waw4mrc0snwk-nginx.conf syntax is ok196router # [5416109.782441] router nginx-pre-start[114]: nginx: configuration file /nix/store/iz7h0yc7cv7kpl3yhr40waw4mrc0snwk-nginx.conf test is successful197router # [5416109.787961] router systemd[1]: Started Nginx Web Server.198router # [5416109.857527] router systemd-logind[102]: New seat seat0.199router # [5416109.857692] router systemd[1]: Started User Login Management.200router # [5416109.859218] router systemd[1]: Starting linger-users.service...201router # [5416109.913137] router systemd[1]: linger-users.service: Deactivated successfully.202router # [5416109.913348] router systemd[1]: Finished linger-users.service.203router # [5416109.913718] router systemd[1]: Reached target Multi-User System.204router # [5416109.913866] router systemd[1]: Startup finished in 2.055s.205router # [5416110.660142] router systemd-networkd[67]: eth1: Gained IPv6LL206Connection to localhost (::1) 80 port [tcp/http] succeeded!207router: (finished: waiting for TCP port 80 on localhost, in 1.02 seconds)208machine: waiting for unit multi-user.target209machine: (finished: waiting for unit multi-user.target, in 0.02 seconds)210machine: waiting for unit nginx.service211machine: (finished: waiting for unit nginx.service, in 0.02 seconds)212router: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'213router: (finished: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}', in 0.01 seconds)214router: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1215router: (finished: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1, in 0.01 seconds)216Router IPv4: 192.168.1.2217Router IPv6: 2001:db8:1::2218machine: must succeed: systemctl restart nftables219machine: (finished: must succeed: systemctl restart nftables, in 0.16 seconds)220machine: waiting for unit nftables.service221machine: (finished: waiting for unit nftables.service, in 0.02 seconds)222machine: must succeed: nft list table inet user-firewall >&2223table inet user-firewall {224 chain output {225 type filter hook output priority filter; policy accept;226 oifname "lo" counter packets 0 bytes 0 accept comment "allow lo"227 oifname "tun*" counter packets 0 bytes 0 accept comment "allow tun*"228 oifname "tap*" counter packets 0 bytes 0 accept comment "allow tap*"229 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"230 oifname "tailscale*" counter packets 0 bytes 0 accept comment "allow tailscale*"231 oifname "zt*" counter packets 0 bytes 0 accept comment "allow zt*"232 oifname "vpn*" counter packets 0 bytes 0 accept comment "allow vpn*"233 oifname "ipsec*" counter packets 0 bytes 0 accept comment "allow ipsec*"234 oifname "nebula*" counter packets 0 bytes 0 accept comment "allow nebula*"235 oifname "tinc*" counter packets 0 bytes 0 accept comment "allow tinc*"236 oifname "edge*" counter packets 0 bytes 0 accept comment "allow edge*"237 oifname "hyprspace" counter packets 0 bytes 0 accept comment "allow hyprspace"238 oifname "ham0" counter packets 0 bytes 0 accept comment "allow ham0"239 oifname "easytier" counter packets 0 bytes 0 accept comment "allow easytier"240 oifname "mycelium" counter packets 0 bytes 0 accept comment "allow mycelium"241 meta skuid 1002 counter packets 0 bytes 0 reject comment "blocked user bob"242 }243}244machine: (finished: must succeed: nft list table inet user-firewall >&2, in 0.01 seconds)245machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080246machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds)247machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2248machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds)249machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2]250machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.02 seconds)251machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080252machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.02 seconds)253machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$?254machine # [5416111.212727] machine systemd[1]: Stopping nftables firewall...255machine # [5416111.270475] machine systemd[1]: nftables.service: Deactivated successfully.256machine # [5416111.270701] machine systemd[1]: Stopped nftables firewall.257machine # [5416111.272186] machine systemd[1]: Starting nftables firewall...258machine # [5416111.356825] machine systemd[1]: Finished nftables firewall.259machine # [5416111.391983] machine runuser[235]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)260machine # [5416111.401303] machine runuser[235]: pam_unix(runuser:session): session closed for user alice261machine # [5416111.409405] machine runuser[237]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)262machine # [5416111.417202] machine runuser[237]: pam_unix(runuser:session): session closed for user alice263machine # [5416111.425738] machine runuser[239]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)264machine # [5416111.433592] machine runuser[239]: pam_unix(runuser:session): session closed for user alice265machine # [5416111.441911] machine runuser[241]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)266machine # [5416111.451327] machine runuser[241]: pam_unix(runuser:session): session closed for user bob267machine # [5416111.459534] machine runuser[244]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)268machine # [5416111.466348] machine runuser[244]: pam_unix(runuser:session): session closed for user bob269machine: (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)270machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?271machine # [5416111.474856] machine runuser[247]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)272machine: (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)273machine: must succeed: nft list table inet user-firewall274machine: (finished: must succeed: nft list table inet user-firewall, in 0.01 seconds)275machine: waiting for unit setup-wg0-interface.service276machine: (finished: waiting for unit setup-wg0-interface.service, in 0.02 seconds)277machine: waiting for unit nginx.service278machine: (finished: waiting for unit nginx.service, in 0.01 seconds)279machine: waiting for TCP port 8081 on 10.100.0.2280Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded!281machine: (finished: waiting for TCP port 8081 on 10.100.0.2, in 0.01 seconds)282machine: must succeed: ip link show wg0283machine: (finished: must succeed: ip link show wg0, in 0.01 seconds)284machine: must succeed: ip addr show wg0285machine: (finished: must succeed: ip addr show wg0, in 0.01 seconds)286machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/287machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)288machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/289machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)290machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/291machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)292machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/293machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)294machine: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2295 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"296machine: (finished: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2, in 0.01 seconds)297(finished: run the VM test script, in 5.17 seconds)298machine # [5416112.513640] machine runuser[247]: pam_unix(runuser:session): session closed for user bob299machine # [5416112.582641] machine runuser[255]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)300machine # [5416112.590739] machine runuser[255]: pam_unix(runuser:session): session closed for user alice301machine # [5416112.600217] machine runuser[257]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)302machine # [5416112.609175] machine runuser[257]: pam_unix(runuser:session): session closed for user alice303machine # [5416112.618309] machine runuser[259]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)304machine # [5416112.626901] machine runuser[259]: pam_unix(runuser:session): session closed for user bob305machine # [5416112.635282] machine runuser[261]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)306machine # [5416112.642958] machine runuser[261]: pam_unix(runuser:session): session closed for user bob307test script finished in 6.88s308cleanup309kill NspawnMachine (pid 52)310kill NspawnMachine (pid 53)311Container machine terminated by signal KILL.312(finished: cleanup, in 0.38 seconds)313Container router terminated by signal KILL.