container-test-run-user-firewall-nftables
checks.aarch64-linux.nixos-test-user-firewall-nftables
· build #529
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)45Test will time out and terminate in 3600.0 seconds6run the VM test script7additionally exposed symbols:8 machine, router,9 vlan1,10 start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh11start all VMs12machine: systemd-nspawn running (pid 52)13router: systemd-nspawn running (pid 53)14machine: Waiting for journal at /build/vm-state-machine/var/log/journal...15router: Waiting for journal at /build/vm-state-router/var/log/journal...16(finished: start all VMs, in 0.00 seconds)17router: waiting for unit multi-user.target18nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE19nixos-nspawn(machine): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths.20nixos-nspawn(router): TAP vde-tap1 not found; container will be isolated from VDE21nixos-nspawn(router): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths.22Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file.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 machine on /build/vm-state-machine.25░ Spawning container router on /build/vm-state-router.26machine # No journal files were found.27machine # No journal boot entry found for the specified boot (+0).28router # No journal files were found.29router # No journal boot entry found for the specified boot (+0).30machine # [7073086.856479] machine systemd-journald[54]: Journal started31machine # [7073086.856537] machine systemd-journald[54]: Runtime Journal (/run/log/journal/28b8d11f6b0e49de864ee9ae0aa212b1) is 8M, max 2.5G, 2.4G free.32machine # [7073086.859827] machine systemd[1]: Starting Flush Journal to Persistent Storage...33machine # [7073086.860550] machine systemd[1]: Starting Create Static Device Nodes in /dev...34machine # [7073086.870333] machine systemd-journald[54]: Time spent on flushing to /var/log/journal/28b8d11f6b0e49de864ee9ae0aa212b1 is 1.329ms for 4 entries.35machine # [7073086.870333] machine systemd-journald[54]: System Journal (/var/log/journal/28b8d11f6b0e49de864ee9ae0aa212b1) is 8M, max 4G, 3.9G free.36machine # [7073086.872783] machine systemd[1]: Finished Create Static Device Nodes in /dev.37machine # [7073086.872961] machine systemd[1]: Reached target Preparation for Local File Systems.38machine # [7073086.873047] machine systemd[1]: Reached target Local File Systems.39machine # [7073086.873819] machine systemd[1]: Listening on Boot Loader Control Service Socket.40machine # [7073086.873865] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41machine # [7073086.874814] machine systemd[1]: Starting Save Transient machine-id to Disk...42machine # [7073086.874847] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys43machine # [7073086.896310] machine systemd[1]: Finished Flush Journal to Persistent Storage.44machine # [7073086.897725] machine systemd[1]: Starting Create System Files and Directories...45machine # [7073086.918113] machine systemd-tmpfiles[66]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted46machine # [7073086.918724] machine systemd-tmpfiles[66]: fchmod() of /var/log/journal failed: Operation not permitted47machine # [7073086.919044] machine systemd-tmpfiles[66]: fchmod() of /var/log/journal/28b8d11f6b0e49de864ee9ae0aa212b1 failed: Operation not permitted48machine # [7073086.919272] machine systemd-tmpfiles[66]: fchmod() of /run/log/journal failed: Operation not permitted49machine # [7073086.921972] machine systemd[1]: Finished Create System Files and Directories.50machine # [7073086.923374] machine systemd[1]: Starting Rebuild Journal Catalog...51machine # [7073086.924183] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...52machine # [7073086.937494] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.53machine # [7073086.946767] machine systemd[1]: Finished Rebuild Journal Catalog.54router # [7073086.867336] router systemd-journald[54]: Journal started55machine # [7073086.947833] machine systemd[1]: Starting Update is Completed...56router # [7073086.867394] router systemd-journald[54]: Runtime Journal (/run/log/journal/11bdd4a0a3ff4526bdcebadb9e0e9018) is 8M, max 2.5G, 2.4G free.57router # [7073086.873337] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully.58router # [7073086.885646] router systemd[1]: Starting Flush Journal to Persistent Storage...59router # [7073086.886711] router systemd[1]: Starting Network Name Resolution...60machine # [7073086.958997] machine systemd[1]: Finished Update is Completed.61machine # [7073086.959156] machine systemd[1]: Reached target System Initialization.62machine # [7073086.959233] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container63machine # [7073086.959264] machine systemd[1]: Started Daily Cleanup of Temporary Directories.64machine # [7073086.959281] machine systemd[1]: Reached target Timer Units.65machine # [7073086.959383] machine systemd[1]: Listening on D-Bus System Message Bus Socket.66machine # [7073086.960198] machine systemd[1]: Listening on Nix Daemon Socket.67machine # [7073086.960331] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.68machine # [7073086.960350] machine systemd[1]: Reached target Socket Units.69machine # [7073086.960391] machine systemd[1]: Reached target Basic System.70machine # [7073086.961431] machine systemd[1]: Starting Import lastlog data into lastlog2 database...71machine # [7073086.962128] machine systemd[1]: Starting nftables firewall...72machine # [7073086.962918] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...73machine # [7073086.979433] machine systemd[1]: Finished Import lastlog data into lastlog2 database.74machine # [7073086.998337] machine systemd[1]: Finished Save Transient machine-id to Disk.75machine # [7073087.040546] machine systemd[1]: Finished nftables firewall.76machine # [7073087.041288] machine systemd[1]: Reached target Preparation for Network.77machine # [7073087.042582] machine systemd[1]: Starting Address configuration of eth1...78machine # [7073087.043548] machine systemd[1]: Starting Extra networking commands....79machine # [7073087.044392] machine systemd[1]: Starting Setup wg0 dummy interface...80machine # [7073087.046991] machine systemd[1]: Started Name Service Cache Daemon (nsncd).81machine # [7073087.047773] machine nsncd[76]: Aug 29 20:08:33.100 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"82machine # [7073087.047225] machine systemd[1]: Reached target Host and Network Name Lookups.83machine # [7073087.047285] machine systemd[1]: Reached target User and Group Name Lookups.84router # [7073086.887738] router systemd[1]: Starting Create Static Device Nodes in /dev...85machine # [7073087.049499] machine systemd[1]: Starting User Login Management...86router # [7073086.895804] router systemd-journald[54]: Time spent on flushing to /var/log/journal/11bdd4a0a3ff4526bdcebadb9e0e9018 is 1.296ms for 6 entries.87router # [7073086.895804] router systemd-journald[54]: System Journal (/var/log/journal/11bdd4a0a3ff4526bdcebadb9e0e9018) is 8M, max 4G, 3.9G free.88machine # [7073087.062872] machine network-addresses-eth1-start[92]: adding address 192.168.1.1/24... done89router # [7073086.904863] router systemd[1]: Finished Create Static Device Nodes in /dev.90machine # [7073087.064467] machine systemd[1]: Finished Setup wg0 dummy interface.91router # [7073086.905625] router systemd[1]: Reached target Preparation for Local File Systems.92machine # [7073087.065707] machine network-addresses-eth1-start[92]: adding address 2001:db8:1::1/64... done93router # [7073086.905808] router systemd[1]: Reached target Local File Systems.94machine # [7073087.070062] machine systemd[1]: Finished Address configuration of eth1.95router # [7073086.907136] router systemd[1]: Listening on Boot Loader Control Service Socket.96machine # [7073087.103775] machine systemd[1]: Stopped target Host and Network Name Lookups.97router # [7073086.907199] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container98machine # [7073087.103854] machine systemd[1]: Stopping Host and Network Name Lookups...99router # [7073086.908256] router systemd[1]: Starting Save Transient machine-id to Disk...100machine # [7073087.104066] machine systemd[1]: Stopped target User and Group Name Lookups.101router # [7073086.908306] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys102machine # [7073087.104111] machine systemd[1]: Stopping User and Group Name Lookups...103router # [7073086.910082] router systemd[1]: Starting Network Management...104machine # [7073087.104291] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)...105router # [7073086.919478] router systemd[1]: Finished Flush Journal to Persistent Storage.106machine # [7073087.108501] machine systemd[1]: nscd.service: Deactivated successfully.107router # [7073086.921438] router systemd[1]: Starting Create System Files and Directories...108machine # [7073087.108695] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).109router # [7073086.938878] router systemd-tmpfiles[70]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted110machine # [7073087.111445] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...111router # [7073086.939083] router systemd-tmpfiles[70]: fchmod() of /var/log/journal failed: Operation not permitted112machine # [7073087.119658] machine systemd[1]: Finished Extra networking commands..113router # [7073086.939222] router systemd-tmpfiles[70]: fchmod() of /var/log/journal/11bdd4a0a3ff4526bdcebadb9e0e9018 failed: Operation not permitted114machine # [7073087.119811] machine systemd[1]: Reached target Network.115router # [7073086.939431] router systemd-tmpfiles[70]: fchmod() of /run/log/journal failed: Operation not permitted116machine # [7073087.120897] machine systemd[1]: Starting Nginx Web Server...117router # [7073086.940866] router systemd[1]: Finished Create System Files and Directories.118machine # [7073087.223443] machine nsncd[174]: Aug 29 20:08:33.276 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"119router # [7073086.941923] router systemd[1]: Starting Rebuild Journal Catalog...120machine # [7073087.223424] machine systemd[1]: Started Name Service Cache Daemon (nsncd).121router # [7073086.942654] router systemd[1]: Starting Record System Boot/Shutdown in UTMP...122machine # [7073087.223543] machine systemd[1]: Reached target Host and Network Name Lookups.123router # [7073086.955919] router systemd[1]: Finished Record System Boot/Shutdown in UTMP.124machine # [7073087.223699] machine systemd[1]: Reached target User and Group Name Lookups.125router # [7073086.964278] router systemd[1]: Finished Rebuild Journal Catalog.126machine # [7073087.225586] machine systemd[1]: Starting Permit User Sessions...127machine # [7073087.260467] machine systemd[1]: Finished Permit User Sessions.128machine # [7073087.263843] machine systemd[1]: Started Console Getty.129router # [7073086.965838] router systemd[1]: Starting Update is Completed...130router # [7073086.978488] router systemd[1]: Finished Update is Completed.131router # [7073086.998319] router systemd[1]: Finished Save Transient machine-id to Disk.132router # [7073087.312689] router systemd-networkd[67]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted133router # [7073087.312779] router systemd-networkd[67]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted134router # [7073087.319383] router systemd-networkd[67]: lo: Link UP135router # [7073087.319390] router systemd-networkd[67]: lo: Gained carrier136router # [7073087.319569] router systemd-networkd[67]: eth1: Configuring with /etc/systemd/network/40-eth1.network.137router # [7073087.320043] router systemd-networkd[67]: eth1: Link UP138router # [7073087.320068] router systemd[1]: Started Network Management.139router # [7073087.320346] router systemd-networkd[67]: eth1: Gained carrier140router # [7073087.322184] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd...141router # [7073087.379161] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd.142router # [7073087.551049] router systemd-resolved[61]: Positive Trust Anchors:143router # [7073087.551059] router systemd-resolved[61]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d144router # [7073087.551063] router systemd-resolved[61]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16145router # [7073087.551097] 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 test146router # [7073087.573344] router systemd-resolved[61]: Using system hostname 'router'.147router # [7073087.574756] router systemd[1]: Started Network Name Resolution.148router # [7073087.574904] router systemd[1]: Reached target Network.149router # [7073087.575016] router systemd[1]: Reached target System Initialization.150router # [7073087.575126] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container151router # [7073087.575186] router systemd[1]: Started Daily Cleanup of Temporary Directories.152router # [7073087.575229] router systemd[1]: Reached target Timer Units.153router # [7073087.575499] router systemd[1]: Listening on D-Bus System Message Bus Socket.154router # [7073087.575735] router systemd[1]: Listening on Nix Daemon Socket.155router # [7073087.575953] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.156router # [7073087.576020] router systemd[1]: Reached target Socket Units.157router # [7073087.576133] router systemd[1]: Reached target Basic System.158router # [7073087.578028] router systemd[1]: Starting Import lastlog data into lastlog2 database...159router # [7073087.579544] router systemd[1]: Starting Nginx Web Server...160router # [7073087.580914] router systemd[1]: Starting Name Service Cache Daemon (nsncd)...161router # [7073087.656474] router systemd[1]: Starting D-Bus System Message Bus...162router # [7073087.675410] router systemd[1]: Finished Import lastlog data into lastlog2 database.163router # [7073087.774353] router systemd[1]: Started Name Service Cache Daemon (nsncd).164router # [7073087.774446] router systemd[1]: Reached target Host and Network Name Lookups.165router # [7073087.774547] router nsncd[84]: Aug 29 20:08:33.827 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"166router # [7073087.774530] router systemd[1]: Reached target User and Group Name Lookups.167router # [7073087.776045] router systemd[1]: Starting User Login Management...168router # [7073087.777380] router systemd[1]: Starting Permit User Sessions...169router # [7073087.823929] router systemd[1]: Finished Permit User Sessions.170router # [7073087.825138] router systemd[1]: Started Console Getty.171router # [7073087.825197] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0172router # [7073087.825229] router systemd[1]: Reached target Login Prompts.173router # [7073087.847656] router dbus-broker-launch[85]: Looking up NSS user entry for 'systemd-timesync'...174router # [7073087.852889] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully.175router # [7073087.854370] router dbus-broker-launch[85]: NSS returned no entry for 'systemd-timesync'176router # [7073087.854370] 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"177router # [7073087.854887] router systemd[1]: Started D-Bus System Message Bus.178machine # [7073087.263952] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0179machine # [7073087.264023] machine systemd[1]: Reached target Login Prompts.180machine # [7073087.475817] machine systemd-logind[105]: New seat seat0.181machine # [7073087.476917] machine systemd[1]: Started User Login Management.182machine # [7073087.478823] machine systemd[1]: Starting D-Bus System Message Bus...183machine # [7073087.480380] machine systemd[1]: Starting linger-users.service...184machine # [7073087.496738] machine systemd[1]: linger-users.service: Deactivated successfully.185machine # [7073087.497121] machine systemd[1]: Finished linger-users.service.186machine # [7073087.586350] machine nginx-pre-start[203]: nginx: the configuration file /nix/store/k3fsd7xlz9r475vf5wyag01m85wq9f9n-nginx.conf syntax is ok187machine # [7073087.586913] machine nginx-pre-start[203]: nginx: configuration file /nix/store/k3fsd7xlz9r475vf5wyag01m85wq9f9n-nginx.conf test is successful188machine # [7073087.656844] machine systemd[1]: Started Nginx Web Server.189machine # [7073087.657191] machine dbus-broker-launch[199]: Looking up NSS user entry for 'systemd-timesync'...190machine # [7073087.657348] machine systemd[1]: Reached target Multi-User System.191machine # [7073087.658951] machine dbus-broker-launch[199]: NSS returned no entry for 'systemd-timesync'192machine # [7073087.658951] 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"193machine # [7073087.659490] machine systemd[1]: Started D-Bus System Message Bus.194machine # [7073087.660184] machine systemd[1]: Startup finished in 1.357s.195machine # [7073087.668230] machine dbus-broker-launch[199]: Ready196machine # [7073087.853977] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.197router # [7073087.863255] router dbus-broker-launch[85]: Ready198router: (finished: waiting for unit multi-user.target, in 2.66 seconds)199router: waiting for TCP port 80 on localhost200router # [7073088.243675] router nginx-pre-start[114]: nginx: the configuration file /nix/store/bnfb0i5zsp4i9a3sr93z1n4f5j1hrwir-nginx.conf syntax is ok201router # [7073088.244338] router nginx-pre-start[114]: nginx: configuration file /nix/store/bnfb0i5zsp4i9a3sr93z1n4f5j1hrwir-nginx.conf test is successful202router # [7073088.250360] router systemd[1]: Started Nginx Web Server.203router # [7073088.303189] router systemd-logind[103]: New seat seat0.204router # [7073088.303416] router systemd[1]: Started User Login Management.205router # [7073088.365458] router systemd[1]: Starting linger-users.service...206router # [7073088.380467] router systemd[1]: linger-users.service: Deactivated successfully.207router # [7073088.380672] router systemd[1]: Finished linger-users.service.208router # [7073088.381177] router systemd[1]: Reached target Multi-User System.209router # [7073088.381460] router systemd[1]: Startup finished in 2.077s.210router # [7073088.576189] router systemd-networkd[67]: 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 # [7073089.594306] machine systemd[1]: Stopping nftables firewall...225machine # [7073089.767368] machine systemd[1]: nftables.service: Deactivated successfully.226machine # [7073089.767705] machine systemd[1]: Stopped nftables firewall.227machine # [7073089.769402] machine systemd[1]: Starting nftables firewall...228machine: (finished: must succeed: systemctl restart nftables, in 0.28 seconds)229machine: waiting for unit nftables.service230machine: (finished: waiting for unit nftables.service, in 0.02 seconds)231machine: must succeed: nft list table inet user-firewall >&2232table inet user-firewall {233 chain output {234 type filter hook output priority filter; policy accept;235 oifname "lo" counter packets 0 bytes 0 accept comment "allow lo"236 oifname "tun*" counter packets 0 bytes 0 accept comment "allow tun*"237 oifname "tap*" counter packets 0 bytes 0 accept comment "allow tap*"238 oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*"239 oifname "tailscale*" counter packets 0 bytes 0 accept comment "allow tailscale*"240 oifname "zt*" counter packets 0 bytes 0 accept comment "allow zt*"241 oifname "vpn*" counter packets 0 bytes 0 accept comment "allow vpn*"242 oifname "ipsec*" counter packets 0 bytes 0 accept comment "allow ipsec*"243 oifname "nebula*" counter packets 0 bytes 0 accept comment "allow nebula*"244 oifname "tinc*" counter packets 0 bytes 0 accept comment "allow tinc*"245 oifname "edge*" counter packets 0 bytes 0 accept comment "allow edge*"246 oifname "hyprspace" counter packets 0 bytes 0 accept comment "allow hyprspace"247 oifname "ham0" counter packets 0 bytes 0 accept comment "allow ham0"248 oifname "easytier" counter packets 0 bytes 0 accept comment "allow easytier"249 oifname "mycelium" counter packets 0 bytes 0 accept comment "allow mycelium"250 meta skuid 1002 counter packets 0 bytes 0 reject comment "blocked user bob"251 }252}253machine: (finished: must succeed: nft list table inet user-firewall >&2, in 0.01 seconds)254machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080255machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds)256machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2257machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds)258machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2]259machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.02 seconds)260machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080261machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.02 seconds)262machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$?263machine: (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)264machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?265machine # [7073089.857729] machine systemd[1]: Finished nftables firewall.266machine # [7073089.899073] machine runuser[235]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)267machine # [7073089.910942] machine runuser[235]: pam_unix(runuser:session): session closed for user alice268machine # [7073089.920637] machine runuser[237]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)269machine # [7073089.930747] machine runuser[237]: pam_unix(runuser:session): session closed for user alice270machine # [7073089.940266] machine runuser[239]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)271machine # [7073089.950096] machine runuser[239]: pam_unix(runuser:session): session closed for user alice272machine # [7073089.960376] machine runuser[241]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)273machine # [7073089.971219] machine runuser[241]: pam_unix(runuser:session): session closed for user bob274machine # [7073089.980890] machine runuser[244]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)275machine # [7073089.990345] machine runuser[244]: pam_unix(runuser:session): session closed for user bob276machine # [7073090.000022] machine runuser[247]: 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.02 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.01 seconds)282machine: waiting for unit nginx.service283machine: (finished: waiting for unit nginx.service, in 0.01 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.31 seconds)303test script finished in 5.38s304cleanup305kill NspawnMachine (pid 52)306machine # [7073091.009613] machine runuser[247]: pam_unix(runuser:session): session closed for user bob307machine # [7073091.075205] machine runuser[255]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)308machine # [7073091.083951] machine runuser[255]: pam_unix(runuser:session): session closed for user alice309machine # [7073091.093308] machine runuser[257]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)310machine # [7073091.103669] machine runuser[257]: pam_unix(runuser:session): session closed for user alice311machine # [7073091.113794] machine runuser[259]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)312machine # [7073091.124471] machine runuser[259]: pam_unix(runuser:session): session closed for user bob313machine # [7073091.133140] machine runuser[261]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)314machine # [7073091.142098] machine runuser[261]: pam_unix(runuser:session): session closed for user bob315kill NspawnMachine (pid 53)316Container machine terminated by signal KILL.317(finished: cleanup, in 0.33 seconds)318Container router terminated by signal KILL.