nixbot

builds

succeeded container-test-run-user-firewall-nftables checks.aarch64-linux.nixos-test-user-firewall-nftables · build #775 · raw

1build01: building kjbdqhy2zbgy1isrmmn452l8j9d3v0n6-container-test-run-user-firewall-nftables.drv2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.00 seconds)56Test will time out and terminate in 3600.0 seconds7run the VM test script8additionally exposed symbols:9 machine, router,10 vlan1,11 start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh12start all VMs13machine: systemd-nspawn running (pid 52)14router: systemd-nspawn running (pid 53)15machine: Waiting for journal at /build/vm-state-machine/var/log/journal...16router: Waiting for journal at /build/vm-state-router/var/log/journal...17(finished: start all VMs, in 0.00 seconds)18router: waiting for unit multi-user.target19nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE20nixos-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.21nixos-nspawn(router): TAP vde-tap1 not found; container will be isolated from VDE22nixos-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.23Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file.24Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file.25░ Spawning container machine on /build/vm-state-machine.26░ Spawning container router on /build/vm-state-router.27router # [1874278.630090] router systemd-journald[57]: Journal started28router # [1874278.630149] router systemd-journald[57]: Runtime Journal (/run/log/journal/f3ef3d1450564ec4914762cbc2802d11) is 8M, max 2.5G, 2.4G free.29router # [1874278.638221] router systemd[1]: Finished Apply Kernel Variables.30router # [1874278.652339] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully.31router # [1874278.666938] router systemd[1]: Starting Flush Journal to Persistent Storage...32router # [1874278.667773] router systemd[1]: Starting Network Name Resolution...33router # [1874278.668619] router systemd[1]: Starting Create Static Device Nodes in /dev...34router # [1874278.707691] router systemd-journald[57]: Time spent on flushing to /var/log/journal/f3ef3d1450564ec4914762cbc2802d11 is 2.162ms for 7 entries.35router # [1874278.707691] router systemd-journald[57]: System Journal (/var/log/journal/f3ef3d1450564ec4914762cbc2802d11) is 8M, max 4G, 3.9G free.36router # [1874278.718844] router systemd[1]: Finished Create Static Device Nodes in /dev.37router # [1874278.719500] router systemd[1]: Reached target Preparation for Local File Systems.38router # [1874278.719623] router systemd[1]: Reached target Local File Systems.39router # [1874278.720488] router systemd[1]: Listening on Boot Loader Control Service Socket.40router # [1874278.720541] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41router # [1874278.721406] router systemd[1]: Starting Save Transient machine-id to Disk...42router # [1874278.721444] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys43router # [1874278.722499] router systemd[1]: Starting Network Management...44router # [1874278.726348] router systemd[1]: Finished Flush Journal to Persistent Storage.45router # [1874278.727163] router systemd[1]: Starting Create System Files and Directories...46router # [1874278.744434] router systemd-tmpfiles[72]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted47router # [1874278.744649] router systemd-tmpfiles[72]: fchmod() of /var/log/journal failed: Operation not permitted48router # [1874278.744797] router systemd-tmpfiles[72]: fchmod() of /var/log/journal/f3ef3d1450564ec4914762cbc2802d11 failed: Operation not permitted49router # [1874278.745014] router systemd-tmpfiles[72]: fchmod() of /run/log/journal failed: Operation not permitted50router # [1874278.746690] router systemd[1]: Finished Create System Files and Directories.51router # [1874278.748034] router systemd[1]: Starting Rebuild Journal Catalog...52router # [1874278.748821] router systemd[1]: Starting Record System Boot/Shutdown in UTMP...53router # [1874278.764554] router systemd[1]: Finished Record System Boot/Shutdown in UTMP.54router # [1874278.766931] router systemd[1]: Finished Save Transient machine-id to Disk.55router # [1874278.772703] router systemd[1]: Finished Rebuild Journal Catalog.56router # [1874278.774009] router systemd[1]: Starting Update is Completed...57router # [1874278.785677] router systemd[1]: Finished Update is Completed.58machine # [1874278.646150] machine systemd-journald[57]: Journal started59machine # [1874278.646203] machine systemd-journald[57]: Runtime Journal (/run/log/journal/125e82b3b5c4470bbe7c905dd4649ff2) is 8M, max 2.5G, 2.4G free.60machine # [1874278.647450] machine systemd[1]: Finished Apply Kernel Variables.61machine # [1874278.658519] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.62machine # [1874278.671528] machine systemd[1]: Starting Flush Journal to Persistent Storage...63machine # [1874278.700413] machine systemd[1]: Starting Create Static Device Nodes in /dev...64machine # [1874278.707846] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/125e82b3b5c4470bbe7c905dd4649ff2 is 2.037ms for 6 entries.65machine # [1874278.707846] machine systemd-journald[57]: System Journal (/var/log/journal/125e82b3b5c4470bbe7c905dd4649ff2) is 8M, max 4G, 3.9G free.66machine # [1874278.721869] machine systemd[1]: Finished Flush Journal to Persistent Storage.67machine # [1874278.722174] machine systemd[1]: Finished Create Static Device Nodes in /dev.68machine # [1874278.723153] machine systemd[1]: Reached target Preparation for Local File Systems.69machine # [1874278.723269] machine systemd[1]: Reached target Local File Systems.70machine # [1874278.724171] machine systemd[1]: Listening on Boot Loader Control Service Socket.71machine # [1874278.724226] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container72machine # [1874278.724998] machine systemd[1]: Starting Save Transient machine-id to Disk...73machine # [1874278.725690] machine systemd[1]: Starting Create System Files and Directories...74machine # [1874278.725719] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys75machine # [1874278.744454] machine systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted76machine # [1874278.744671] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted77machine # [1874278.744817] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal/125e82b3b5c4470bbe7c905dd4649ff2 failed: Operation not permitted78machine # [1874278.745035] machine systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted79machine # [1874278.746635] machine systemd[1]: Finished Create System Files and Directories.80machine # [1874278.747837] machine systemd[1]: Starting Rebuild Journal Catalog...81machine # [1874278.748618] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...82machine # [1874278.762958] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.83machine # [1874278.766784] machine systemd[1]: Finished Save Transient machine-id to Disk.84machine # [1874278.772455] machine systemd[1]: Finished Rebuild Journal Catalog.85machine # [1874278.774227] machine systemd[1]: Starting Update is Completed...86machine # [1874278.786004] machine systemd[1]: Finished Update is Completed.87machine # [1874278.786216] machine systemd[1]: Reached target System Initialization.88machine # [1874278.786323] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container89machine # [1874278.786358] machine systemd[1]: Started Daily Cleanup of Temporary Directories.90machine # [1874278.786388] machine systemd[1]: Reached target Timer Units.91machine # [1874278.786528] machine systemd[1]: Listening on D-Bus System Message Bus Socket.92machine # [1874278.786698] machine systemd[1]: Listening on Nix Daemon Socket.93machine # [1874278.786840] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.94machine # [1874278.786868] machine systemd[1]: Reached target Socket Units.95machine # [1874278.786916] machine systemd[1]: Reached target Basic System.96machine # [1874278.788209] machine systemd[1]: Starting Import lastlog data into lastlog2 database...97machine # [1874278.789191] machine systemd[1]: Starting nftables firewall...98machine # [1874278.790357] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...99machine # [1874278.809970] machine systemd[1]: Finished Import lastlog data into lastlog2 database.100machine # [1874278.878085] machine systemd[1]: Finished nftables firewall.101machine # [1874278.878391] machine systemd[1]: Reached target Preparation for Network.102machine # [1874278.879791] machine systemd[1]: Starting Address configuration of eth1...103machine # [1874278.881230] machine systemd[1]: Starting Extra networking commands....104machine # [1874278.882537] machine systemd[1]: Starting Setup wg0 dummy interface...105machine # [1874278.900772] machine network-addresses-eth1-start[95]: adding address 192.168.1.1/24... done106machine # [1874278.903772] machine network-addresses-eth1-start[95]: adding address 2001:db8:1::1/64... done107machine # [1874278.905604] machine systemd[1]: Finished Setup wg0 dummy interface.108machine # [1874278.909259] machine systemd[1]: Finished Address configuration of eth1.109machine # [1874278.959702] machine systemd[1]: nscd.service: Deactivated successfully.110machine # [1874278.959892] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).111machine # [1874278.962314] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...112machine # [1874278.964186] machine systemd[1]: Finished Extra networking commands..113machine # [1874278.964377] machine systemd[1]: Reached target Network.114machine # [1874278.965521] machine systemd[1]: Starting Nginx Web Server...115machine # [1874279.111143] machine nsncd[165]: Sep 26 00:04:59.096 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"116machine # [1874279.111200] machine systemd[1]: Started Name Service Cache Daemon (nsncd).117machine # [1874279.111274] machine systemd[1]: Reached target Host and Network Name Lookups.118machine # [1874279.111344] machine systemd[1]: Reached target User and Group Name Lookups.119machine # [1874279.112657] machine systemd[1]: Starting User Login Management...120machine # [1874279.113504] machine systemd[1]: Starting Permit User Sessions...121machine # [1874279.125701] machine systemd[1]: Finished Permit User Sessions.122machine # [1874279.127338] machine systemd[1]: Started Console Getty.123machine # [1874279.127414] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0124machine # [1874279.127456] machine systemd[1]: Reached target Login Prompts.125router # [1874279.472685] router systemd-networkd[70]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted126router # [1874279.472780] router systemd-networkd[70]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted127router # [1874279.481927] router systemd-networkd[70]: lo: Link UP128router # [1874279.481933] router systemd-networkd[70]: lo: Gained carrier129router # [1874279.482102] router systemd-networkd[70]: eth1: Configuring with /etc/systemd/network/40-eth1.network.130router # [1874279.482472] router systemd[1]: Started Network Management.131router # [1874279.482571] router systemd-networkd[70]: eth1: Link UP132router # [1874279.482900] router systemd-networkd[70]: eth1: Gained carrier133router # [1874279.483588] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd...134router # [1874279.538549] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd.135router # [1874279.620331] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully.136machine # [1874279.646998] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.137machine # [1874279.840702] machine nginx-pre-start[192]: nginx: the configuration file /nix/store/34c4pcfa1gn1gxandndpgp3k6768ja1y-nginx.conf syntax is ok138machine # [1874279.841339] machine nginx-pre-start[192]: nginx: configuration file /nix/store/34c4pcfa1gn1gxandndpgp3k6768ja1y-nginx.conf test is successful139machine # [1874279.849117] machine systemd[1]: Started Nginx Web Server.140machine # [1874279.881108] machine systemd-logind[182]: New seat seat0.141machine # [1874279.881358] machine systemd[1]: Started User Login Management.142machine # [1874279.883837] machine systemd[1]: Starting D-Bus System Message Bus...143machine # [1874279.885177] machine systemd[1]: Starting linger-users.service...144router # [1874279.924380] router systemd-resolved[64]: Positive Trust Anchors:145router # [1874279.924391] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d146router # [1874279.924394] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16147router # [1874279.924428] router systemd-resolved[64]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa corp home internal intranet lan local private test148router # [1874279.946159] router systemd-resolved[64]: Using system hostname 'router'.149router # [1874279.947554] router systemd[1]: Started Network Name Resolution.150router # [1874279.947689] router systemd[1]: Reached target Network.151router # [1874279.947799] router systemd[1]: Reached target System Initialization.152router # [1874279.947901] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container153router # [1874279.947960] router systemd[1]: Started Daily Cleanup of Temporary Directories.154router # [1874279.948016] router systemd[1]: Reached target Timer Units.155router # [1874279.948263] router systemd[1]: Listening on D-Bus System Message Bus Socket.156router # [1874279.948483] router systemd[1]: Listening on Nix Daemon Socket.157router # [1874279.948694] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.158router # [1874279.948739] router systemd[1]: Reached target Socket Units.159router # [1874279.948813] router systemd[1]: Reached target Basic System.160router # [1874279.951152] router systemd[1]: Starting Import lastlog data into lastlog2 database...161router # [1874279.952516] router systemd[1]: Starting Nginx Web Server...162router # [1874279.954927] router systemd[1]: Starting Name Service Cache Daemon (nsncd)...163router # [1874279.957010] router systemd[1]: Starting D-Bus System Message Bus...164router # [1874279.973049] router systemd[1]: Finished Import lastlog data into lastlog2 database.165router # [1874280.119665] router systemd[1]: Started Name Service Cache Daemon (nsncd).166router # [1874280.119923] router nsncd[87]: Sep 26 00:05:00.105 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"167router # [1874280.119784] router systemd[1]: Reached target Host and Network Name Lookups.168router # [1874280.119882] router systemd[1]: Reached target User and Group Name Lookups.169router # [1874280.121991] router systemd[1]: Starting User Login Management...170router # [1874280.123200] router systemd[1]: Starting Permit User Sessions...171router # [1874280.179775] router systemd[1]: Finished Permit User Sessions.172machine # [1874279.899694] machine systemd[1]: linger-users.service: Deactivated successfully.173machine # [1874279.900032] machine systemd[1]: Finished linger-users.service.174machine # [1874279.900407] machine systemd[1]: Reached target Multi-User System.175machine # [1874280.200916] machine dbus-broker-launch[198]: Looking up NSS user entry for 'systemd-timesync'...176machine # [1874280.201946] machine dbus-broker-launch[198]: NSS returned no entry for 'systemd-timesync'177machine # [1874280.201946] machine dbus-broker-launch[198]: Invalid user-name in /nix/store/rq1265iyy5fxx7ms81579qn63pmi5w1j-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"178machine # [1874280.202377] machine systemd[1]: Started D-Bus System Message Bus.179machine # [1874280.202650] machine systemd[1]: Startup finished in 1.995s.180machine # [1874280.209885] machine dbus-broker-launch[198]: Ready181router # [1874280.181395] router systemd[1]: Started Console Getty.182router # [1874280.181473] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0183router # [1874280.181512] router systemd[1]: Reached target Login Prompts.184router # [1874280.300534] router dbus-broker-launch[88]: Looking up NSS user entry for 'systemd-timesync'...185router # [1874280.302128] router dbus-broker-launch[88]: NSS returned no entry for 'systemd-timesync'186router # [1874280.302128] router dbus-broker-launch[88]: Invalid user-name in /nix/store/0qv5k8wki47ysq7dys57wlzvid4ahsz5-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"187router # [1874280.302610] router systemd[1]: Started D-Bus System Message Bus.188router # [1874280.309636] router dbus-broker-launch[88]: Ready189router # [1874280.832129] router systemd-networkd[70]: eth1: Gained IPv6LL190router # [1874280.853811] router nginx-pre-start[117]: nginx: the configuration file /nix/store/jwxsakg3002pzdpq2m37wm0h8z9cmkmj-nginx.conf syntax is ok191router # [1874280.854384] router nginx-pre-start[117]: nginx: configuration file /nix/store/jwxsakg3002pzdpq2m37wm0h8z9cmkmj-nginx.conf test is successful192router # [1874280.859138] router systemd[1]: Started Nginx Web Server.193router # [1874280.964287] router systemd-logind[106]: New seat seat0.194router # [1874280.964551] router systemd[1]: Started User Login Management.195router # [1874280.966053] router systemd[1]: Starting linger-users.service...196router # [1874280.980442] router systemd[1]: linger-users.service: Deactivated successfully.197router # [1874280.980743] router systemd[1]: Finished linger-users.service.198router # [1874280.981547] router systemd[1]: Reached target Multi-User System.199router # [1874280.981864] router systemd[1]: Startup finished in 2.779s.200router: (finished: waiting for unit multi-user.target, in 3.66 seconds)201router: waiting for TCP port 80 on localhost202Connection to localhost (::1) 80 port [tcp/http] succeeded!203router: (finished: waiting for TCP port 80 on localhost, in 1.02 seconds)204machine: waiting for unit multi-user.target205machine: (finished: waiting for unit multi-user.target, in 0.01 seconds)206machine: waiting for unit nginx.service207machine: (finished: waiting for unit nginx.service, in 0.02 seconds)208router: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'209router: (finished: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}', in 0.01 seconds)210router: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1211router: (finished: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1, in 0.01 seconds)212Router IPv4: 192.168.1.2213Router IPv6: 2001:db8:1::2214machine: must succeed: systemctl restart nftables215machine # [1874282.543021] machine systemd[1]: Stopping nftables firewall...216machine # [1874282.719809] machine systemd[1]: nftables.service: Deactivated successfully.217machine # [1874282.720122] machine systemd[1]: Stopped nftables firewall.218machine # [1874282.721901] machine systemd[1]: Starting nftables firewall...219machine: (finished: must succeed: systemctl restart nftables, in 0.34 seconds)220machine: waiting for unit nftables.service221machine: (finished: waiting for unit nftables.service, in 0.01 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: (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)255machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?256machine # [1874282.867302] machine systemd[1]: Finished nftables firewall.257machine # [1874282.897873] machine runuser[228]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)258machine # [1874282.906398] machine runuser[228]: pam_unix(runuser:session): session closed for user alice259machine # [1874282.914403] machine runuser[230]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)260machine # [1874282.922995] machine runuser[230]: pam_unix(runuser:session): session closed for user alice261machine # [1874282.931469] machine runuser[232]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)262machine # [1874282.941066] machine runuser[232]: pam_unix(runuser:session): session closed for user alice263machine # [1874282.948750] machine runuser[234]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)264machine # [1874282.957374] machine runuser[234]: pam_unix(runuser:session): session closed for user bob265machine # [1874282.966729] machine runuser[237]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)266machine # [1874282.975152] machine runuser[237]: pam_unix(runuser:session): session closed for user bob267machine # [1874282.983404] machine runuser[240]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)268machine: (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)269machine: must succeed: nft list table inet user-firewall270machine: (finished: must succeed: nft list table inet user-firewall, in 0.01 seconds)271machine: waiting for unit setup-wg0-interface.service272machine: (finished: waiting for unit setup-wg0-interface.service, in 0.01 seconds)273machine: waiting for unit nginx.service274machine: (finished: waiting for unit nginx.service, in 0.01 seconds)275machine: waiting for TCP port 8081 on 10.100.0.2276Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded!277machine: (finished: waiting for TCP port 8081 on 10.100.0.2, in 0.01 seconds)278machine: must succeed: ip link show wg0279machine: (finished: must succeed: ip link show wg0, in 0.01 seconds)280machine: must succeed: ip addr show wg0281machine: (finished: must succeed: ip addr show wg0, in 0.01 seconds)282machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/283machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)284machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/285machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)286machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/287machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)288machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/289machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)290machine: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2291 oifname "wg*" counter packets 1 bytes 56 accept comment "allow wg*"292machine: (finished: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2, in 0.01 seconds)293(finished: run the VM test script, in 6.35 seconds)294machine # [1874284.001565] machine runuser[240]: pam_unix(runuser:session): session closed for user bob295machine # [1874284.065074] machine runuser[248]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)296machine # [1874284.073839] machine runuser[248]: pam_unix(runuser:session): session closed for user alice297machine # [1874284.082171] machine runuser[250]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)298machine # [1874284.092318] machine runuser[250]: pam_unix(runuser:session): session closed for user alice299machine # [1874284.100945] machine runuser[252]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)300machine # [1874284.109966] machine runuser[252]: pam_unix(runuser:session): session closed for user bob301machine # [1874284.118574] machine runuser[254]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)302machine # [1874284.126920] machine runuser[254]: pam_unix(runuser:session): session closed for user bob303test script finished in 7.29s304cleanup305kill NspawnMachine (pid 52)306kill NspawnMachine (pid 53)307Container machine terminated by signal KILL.308Container router terminated by signal KILL.309(finished: cleanup, in 0.33 seconds)