container-test-run-user-firewall-iptables
checks.aarch64-linux.nixos-test-user-firewall-iptables
· build #1009
· raw
1build01: building mp22n44jg22frs05mxamc0f8390a9fr5-container-test-run-user-firewall-iptables.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 VMs13router: systemd-nspawn running (pid 53)14machine: systemd-nspawn running (pid 52)15router: Waiting for journal at /build/vm-state-router/var/log/journal...16machine: Waiting for journal at /build/vm-state-machine/var/log/journal...17(finished: start all VMs, in 0.00 seconds)18router: waiting for unit multi-user.target19nixos-nspawn(router): TAP vde-tap1 not found; container will be isolated from VDE20nixos-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.21nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE22nixos-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.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 # [38512.606836] router systemd-journald[57]: Journal started28router # [38512.606901] router systemd-journald[57]: Runtime Journal (/run/log/journal/97a6072d190f44aaa8dc6d357658b217) is 8M, max 2.5G, 2.4G free.29router # [38512.610613] router systemd[1]: Finished Apply Kernel Variables.30router # [38512.622500] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully.31router # [38512.635903] router systemd[1]: Starting Flush Journal to Persistent Storage...32router # [38512.636737] router systemd[1]: Starting Network Name Resolution...33router # [38512.637378] router systemd[1]: Starting Create Static Device Nodes in /dev...34router # [38512.646997] router systemd-journald[57]: Time spent on flushing to /var/log/journal/97a6072d190f44aaa8dc6d357658b217 is 1.545ms for 7 entries.35router # [38512.646997] router systemd-journald[57]: System Journal (/var/log/journal/97a6072d190f44aaa8dc6d357658b217) is 8M, max 4G, 3.9G free.36router # [38512.654297] router systemd[1]: Finished Create Static Device Nodes in /dev.37router # [38512.654956] router systemd[1]: Reached target Preparation for Local File Systems.38router # [38512.655084] router systemd[1]: Reached target Local File Systems.39router # [38512.655970] router systemd[1]: Listening on Boot Loader Control Service Socket.40router # [38512.656039] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container41router # [38512.656854] router systemd[1]: Starting Save Transient machine-id to Disk...42router # [38512.656893] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys43router # [38512.657929] router systemd[1]: Starting Network Management...44router # [38512.672359] router systemd[1]: Finished Flush Journal to Persistent Storage.45router # [38512.673969] router systemd[1]: Starting Create System Files and Directories...46router # [38512.688795] router systemd[1]: Finished Save Transient machine-id to Disk.47router # [38512.696484] router systemd-tmpfiles[73]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted48router # [38512.696685] router systemd-tmpfiles[73]: fchmod() of /var/log/journal failed: Operation not permitted49router # [38512.696824] router systemd-tmpfiles[73]: fchmod() of /var/log/journal/97a6072d190f44aaa8dc6d357658b217 failed: Operation not permitted50router # [38512.697025] router systemd-tmpfiles[73]: fchmod() of /run/log/journal failed: Operation not permitted51router # [38512.698997] router systemd[1]: Finished Create System Files and Directories.52router # [38512.700032] router systemd[1]: Starting Rebuild Journal Catalog...53router # [38512.700711] router systemd[1]: Starting Record System Boot/Shutdown in UTMP...54router # [38512.712680] router systemd[1]: Finished Record System Boot/Shutdown in UTMP.55router # [38512.721761] router systemd[1]: Finished Rebuild Journal Catalog.56router # [38512.722942] router systemd[1]: Starting Update is Completed...57router # [38512.733596] router systemd[1]: Finished Update is Completed.58machine # [38512.606940] machine systemd-journald[57]: Journal started59machine # [38512.607001] machine systemd-journald[57]: Runtime Journal (/run/log/journal/039be9c9c3e74bb6a0f2fc3427dec7eb) is 8M, max 2.5G, 2.4G free.60machine # [38512.612265] machine systemd[1]: Finished Apply Kernel Variables.61machine # [38512.623252] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.62machine # [38512.635605] machine systemd[1]: Starting Flush Journal to Persistent Storage...63machine # [38512.636324] machine systemd[1]: Starting Create Static Device Nodes in /dev...64machine # [38512.645233] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/039be9c9c3e74bb6a0f2fc3427dec7eb is 1.423ms for 6 entries.65machine # [38512.645233] machine systemd-journald[57]: System Journal (/var/log/journal/039be9c9c3e74bb6a0f2fc3427dec7eb) is 8M, max 4G, 3.9G free.66machine # [38512.654161] machine systemd[1]: Finished Create Static Device Nodes in /dev.67machine # [38512.654824] machine systemd[1]: Reached target Preparation for Local File Systems.68machine # [38512.654950] machine systemd[1]: Reached target Local File Systems.69machine # [38512.655810] machine systemd[1]: Listening on Boot Loader Control Service Socket.70machine # [38512.655859] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container71machine # [38512.656763] machine systemd[1]: Starting Save Transient machine-id to Disk...72machine # [38512.656806] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys73machine # [38512.672057] machine systemd[1]: Finished Flush Journal to Persistent Storage.74machine # [38512.673548] machine systemd[1]: Starting Create System Files and Directories...75machine # [38512.688745] machine systemd[1]: Finished Save Transient machine-id to Disk.76machine # [38512.691603] machine systemd-tmpfiles[111]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted77machine # [38512.691800] machine systemd-tmpfiles[111]: fchmod() of /var/log/journal failed: Operation not permitted78machine # [38512.691934] machine systemd-tmpfiles[111]: fchmod() of /var/log/journal/039be9c9c3e74bb6a0f2fc3427dec7eb failed: Operation not permitted79machine # [38512.692308] machine systemd-tmpfiles[111]: fchmod() of /run/log/journal failed: Operation not permitted80machine # [38512.693631] machine systemd[1]: Finished Create System Files and Directories.81machine # [38512.694720] machine systemd[1]: Starting Rebuild Journal Catalog...82machine # [38512.695451] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...83machine # [38512.709346] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.84machine # [38512.716249] machine systemd[1]: Finished Rebuild Journal Catalog.85machine # [38512.717422] machine systemd[1]: Starting Update is Completed...86machine # [38512.729014] machine systemd[1]: Finished Update is Completed.87machine # [38512.729190] machine systemd[1]: Reached target System Initialization.88machine # [38512.729283] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container89machine # [38512.729315] machine systemd[1]: Started Daily Cleanup of Temporary Directories.90machine # [38512.729338] machine systemd[1]: Reached target Timer Units.91machine # [38512.729461] machine systemd[1]: Listening on D-Bus System Message Bus Socket.92machine # [38512.729575] machine systemd[1]: Listening on Nix Daemon Socket.93machine # [38512.729677] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.94machine # [38512.729704] machine systemd[1]: Reached target Socket Units.95machine # [38512.729747] machine systemd[1]: Reached target Basic System.96machine # [38512.730867] machine systemd[1]: Starting Import lastlog data into lastlog2 database...97machine # [38512.731805] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...98machine # [38512.750619] machine systemd[1]: Finished Import lastlog data into lastlog2 database.99machine # [38512.850500] machine systemd[1]: Finished Firewall.100machine # [38512.850856] machine systemd[1]: Reached target Preparation for Network.101machine # [38512.851931] machine systemd[1]: Starting Address configuration of eth1...102machine # [38512.852765] machine systemd[1]: Starting Extra networking commands....103machine # [38512.853565] machine systemd[1]: Starting Setup wg0 dummy interface...104machine # [38512.856519] machine systemd[1]: Started Name Service Cache Daemon (nsncd).105machine # [38512.857038] machine nsncd[149]: Oct 16 20:05:17.828 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"106machine # [38512.856593] machine systemd[1]: Reached target Host and Network Name Lookups.107machine # [38512.856645] machine systemd[1]: Reached target User and Group Name Lookups.108machine # [38512.893204] machine systemd[1]: Starting User Login Management...109machine # [38512.909694] machine network-addresses-eth1-start[215]: adding address 192.168.1.1/24... done110machine # [38512.910408] machine systemd[1]: Finished Setup wg0 dummy interface.111machine # [38512.913769] machine network-addresses-eth1-start[215]: adding address 2001:db8:1::1/64... done112machine # [38512.918214] machine systemd[1]: Finished Address configuration of eth1.113machine # [38512.955317] machine systemd[1]: Stopped target Host and Network Name Lookups.114machine # [38512.955382] machine systemd[1]: Stopping Host and Network Name Lookups...115machine # [38512.955431] machine systemd[1]: Stopped target User and Group Name Lookups.116machine # [38512.955457] machine systemd[1]: Stopping User and Group Name Lookups...117machine # [38512.955667] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)...118machine # [38512.961401] machine systemd[1]: nscd.service: Deactivated successfully.119machine # [38512.961597] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd).120machine # [38512.963769] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...121machine # [38512.970831] machine systemd[1]: Finished Extra networking commands..122machine # [38512.971049] machine systemd[1]: Reached target Network.123machine # [38512.972370] machine systemd[1]: Starting Nginx Web Server...124machine # [38513.096376] machine systemd[1]: Started Name Service Cache Daemon (nsncd).125machine # [38513.096499] machine systemd[1]: Reached target Host and Network Name Lookups.126machine # [38513.096595] machine systemd[1]: Reached target User and Group Name Lookups.127machine # [38513.097264] machine nsncd[298]: Oct 16 20:05:18.069 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"128machine # [38513.098114] machine systemd[1]: Starting Permit User Sessions...129machine # [38513.145044] machine systemd[1]: Finished Permit User Sessions.130machine # [38513.146849] machine systemd[1]: Started Console Getty.131machine # [38513.146917] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0132machine # [38513.146956] machine systemd[1]: Reached target Login Prompts.133router # [38513.309239] router systemd-networkd[69]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted134router # [38513.309329] router systemd-networkd[69]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted135router # [38513.317916] router systemd-networkd[69]: lo: Link UP136router # [38513.317923] router systemd-networkd[69]: lo: Gained carrier137router # [38513.318123] router systemd-networkd[69]: eth1: Configuring with /etc/systemd/network/40-eth1.network.138router # [38513.318490] router systemd[1]: Started Network Management.139router # [38513.318558] router systemd-networkd[69]: eth1: Link UP140router # [38513.318814] router systemd-networkd[69]: eth1: Gained carrier141router # [38513.319866] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd...142router # [38513.361738] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd.143router # [38513.602067] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully.144router # [38513.763988] router systemd-resolved[64]: Positive Trust Anchors:145router # [38513.764000] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d146router # [38513.764017] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16147router # [38513.764050] 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 # [38513.784209] router systemd-resolved[64]: Using system hostname 'router'.149router # [38513.785556] router systemd[1]: Started Network Name Resolution.150router # [38513.785699] router systemd[1]: Reached target Network.151router # [38513.785809] router systemd[1]: Reached target System Initialization.152router # [38513.785907] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container153router # [38513.785966] router systemd[1]: Started Daily Cleanup of Temporary Directories.154router # [38513.786000] router systemd[1]: Reached target Timer Units.155router # [38513.786226] router systemd[1]: Listening on D-Bus System Message Bus Socket.156router # [38513.786464] router systemd[1]: Listening on Nix Daemon Socket.157router # [38513.786709] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.158router # [38513.786748] router systemd[1]: Reached target Socket Units.159router # [38513.786823] router systemd[1]: Reached target Basic System.160router # [38513.788671] router systemd[1]: Starting Import lastlog data into lastlog2 database...161router # [38513.790402] router systemd[1]: Starting Nginx Web Server...162router # [38513.791714] router systemd[1]: Starting Name Service Cache Daemon (nsncd)...163router # [38513.840628] router systemd[1]: Starting D-Bus System Message Bus...164machine # [38513.600708] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.165machine # [38513.653817] machine systemd-logind[228]: New seat seat0.166machine # [38513.654100] machine systemd[1]: Started User Login Management.167machine # [38513.655778] machine systemd[1]: Starting D-Bus System Message Bus...168machine # [38513.657152] machine systemd[1]: Starting linger-users.service...169machine # [38513.723447] machine systemd[1]: linger-users.service: Deactivated successfully.170machine # [38513.723655] machine systemd[1]: Finished linger-users.service.171machine # [38513.814922] machine nginx-pre-start[326]: nginx: the configuration file /nix/store/igv3h4h68mplhnch7x33xlb9lx7l9lrd-nginx.conf syntax is ok172machine # [38513.815500] machine nginx-pre-start[326]: nginx: configuration file /nix/store/igv3h4h68mplhnch7x33xlb9lx7l9lrd-nginx.conf test is successful173machine # [38513.840554] machine systemd[1]: Started Nginx Web Server.174machine # [38513.840895] machine systemd[1]: Reached target Multi-User System.175router # [38513.858903] router systemd[1]: Finished Import lastlog data into lastlog2 database.176router # [38513.997281] router systemd[1]: Started Name Service Cache Daemon (nsncd).177router # [38513.997419] router systemd[1]: Reached target Host and Network Name Lookups.178router # [38513.997537] router systemd[1]: Reached target User and Group Name Lookups.179router # [38513.997732] router nsncd[87]: Oct 16 20:05:18.969 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"180router # [38514.012475] router systemd[1]: Starting User Login Management...181router # [38514.013881] router systemd[1]: Starting Permit User Sessions...182router # [38514.024321] router systemd[1]: Finished Permit User Sessions.183router # [38514.025473] router systemd[1]: Started Console Getty.184router # [38514.025526] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0185router # [38514.025548] router systemd[1]: Reached target Login Prompts.186machine # [38513.985109] machine dbus-broker-launch[322]: Looking up NSS user entry for 'systemd-timesync'...187machine # [38513.986152] machine dbus-broker-launch[322]: NSS returned no entry for 'systemd-timesync'188machine # [38513.986152] machine dbus-broker-launch[322]: Invalid user-name in /nix/store/qr0a92nrq0h1m55yyf0yqp5jhfahwa1g-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"189machine # [38513.986664] machine systemd[1]: Started D-Bus System Message Bus.190machine # [38513.987153] machine systemd[1]: Startup finished in 1.795s.191machine # [38513.993416] machine dbus-broker-launch[322]: Ready192router # [38514.161131] router dbus-broker-launch[88]: Looking up NSS user entry for 'systemd-timesync'...193router # [38514.162436] router dbus-broker-launch[88]: NSS returned no entry for 'systemd-timesync'194router # [38514.162436] router dbus-broker-launch[88]: Invalid user-name in /nix/store/a79fa80l9qik8lpm82dzcwhfm748vl75-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"195router # [38514.162916] router systemd[1]: Started D-Bus System Message Bus.196router # [38514.171580] router dbus-broker-launch[88]: Ready197router: (finished: waiting for unit multi-user.target, in 3.16 seconds)198router: waiting for unit nginx.service199router: (finished: waiting for unit nginx.service, in 0.02 seconds)200machine: waiting for unit multi-user.target201machine: (finished: waiting for unit multi-user.target, in 0.02 seconds)202machine: waiting for unit nginx.service203machine: (finished: waiting for unit nginx.service, in 0.02 seconds)204router: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'205router: (finished: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}', in 0.01 seconds)206router: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1207router: (finished: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1, in 0.01 seconds)208Router IPv4: 192.168.1.2209Router IPv6: 2001:db8:1::2210machine: must succeed: systemctl restart firewall211router # [38514.726209] router nginx-pre-start[117]: nginx: the configuration file /nix/store/2g0hvsm6n3kgv0hla49sznf8i564sipb-nginx.conf syntax is ok212router # [38514.726625] router nginx-pre-start[117]: nginx: configuration file /nix/store/2g0hvsm6n3kgv0hla49sznf8i564sipb-nginx.conf test is successful213router # [38514.731849] router systemd[1]: Started Nginx Web Server.214router # [38514.746166] router systemd-logind[106]: New seat seat0.215router # [38514.746351] router systemd[1]: Started User Login Management.216router # [38514.768889] router systemd[1]: Starting linger-users.service...217router # [38514.782553] router systemd[1]: linger-users.service: Deactivated successfully.218router # [38514.782927] router systemd[1]: Finished linger-users.service.219router # [38514.784416] router systemd[1]: Reached target Multi-User System.220router # [38514.785763] router systemd[1]: Startup finished in 2.593s.221router # [38514.944132] router systemd-networkd[69]: eth1: Gained IPv6LL222machine # [38515.033476] machine systemd[1]: Stopping Firewall...223machine # [38515.489484] machine systemd[1]: firewall.service: Deactivated successfully.224machine # [38515.489719] machine systemd[1]: Stopped Firewall.225machine # [38515.491101] machine systemd[1]: Starting Firewall...226machine: (finished: must succeed: systemctl restart firewall, in 1.49 seconds)227machine: waiting for unit firewall.service228machine: (finished: waiting for unit firewall.service, in 0.02 seconds)229machine: must succeed: iptables -L user-firewall-output >&2230Chain user-firewall-output (1 references)231target prot opt source destination 232RETURN all -- anywhere anywhere 233RETURN all -- anywhere anywhere 234RETURN all -- anywhere anywhere 235RETURN all -- anywhere anywhere 236RETURN all -- anywhere anywhere 237RETURN all -- anywhere anywhere 238RETURN all -- anywhere anywhere 239RETURN all -- anywhere anywhere 240RETURN all -- anywhere anywhere 241RETURN all -- anywhere anywhere 242RETURN all -- anywhere anywhere 243RETURN all -- anywhere anywhere 244RETURN all -- anywhere anywhere 245RETURN all -- anywhere anywhere 246RETURN all -- anywhere anywhere 247REJECT all -- anywhere anywhere owner UID match bob reject-with icmp-port-unreachable248RETURN all -- anywhere anywhere 249machine: (finished: must succeed: iptables -L user-firewall-output >&2, in 0.01 seconds)250machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080251machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds)252machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2253machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds)254machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2]255machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.01 seconds)256machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080257machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.01 seconds)258machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$?259machine: (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)260machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$?261machine # [38516.507600] machine systemd[1]: Finished Firewall.262machine # [38516.542632] machine runuser[485]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)263machine # [38516.550558] machine runuser[485]: pam_unix(runuser:session): session closed for user alice264machine # [38516.558345] machine runuser[487]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)265machine # [38516.566014] machine runuser[487]: pam_unix(runuser:session): session closed for user alice266machine # [38516.573498] machine runuser[489]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0)267machine # [38516.580909] machine runuser[489]: pam_unix(runuser:session): session closed for user alice268machine # [38516.588106] machine runuser[491]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)269machine # [38516.595712] machine runuser[491]: pam_unix(runuser:session): session closed for user bob270machine # [38516.603814] machine runuser[494]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)271machine # [38516.611136] machine runuser[494]: pam_unix(runuser:session): session closed for user bob272machine # [38516.621141] machine runuser[497]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0)273machine: (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)274machine: must succeed: iptables -L user-firewall-output -n -v275machine: (finished: must succeed: iptables -L user-firewall-output -n -v, in 0.01 seconds)276machine: must succeed: ip6tables -L user-firewall-output -n -v277machine: (finished: must succeed: ip6tables -L user-firewall-output -n -v, in 0.01 seconds)278machine: waiting for unit setup-wg0-interface.service279machine: (finished: waiting for unit setup-wg0-interface.service, in 0.02 seconds)280machine: waiting for unit nginx.service281machine: (finished: waiting for unit nginx.service, in 0.01 seconds)282machine: waiting for TCP port 8081 on 10.100.0.2283Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded!284machine: (finished: waiting for TCP port 8081 on 10.100.0.2, in 0.01 seconds)285machine: must succeed: ip link show wg0286machine: (finished: must succeed: ip link show wg0, in 0.01 seconds)287machine: must succeed: ip addr show wg0288machine: (finished: must succeed: ip addr show wg0, in 0.01 seconds)289machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/290machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)291machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/292machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)293machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/294machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds)295machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/296machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds)297machine: must succeed: iptables -L user-firewall-output -n -v | grep -E 'wg0|wg\+' >&2298 0 0 RETURN all -- * wg+ 0.0.0.0/0 0.0.0.0/0 299machine: (finished: must succeed: iptables -L user-firewall-output -n -v | grep -E 'wg0|wg\+' >&2, in 0.01 seconds)300(finished: run the VM test script, in 6.03 seconds)301test script finished in 6.09s302cleanup303kill NspawnMachine (pid 52)304machine # [38517.662404] machine runuser[497]: pam_unix(runuser:session): session closed for user bob305kill NspawnMachine (pid 53)306Container machine terminated by signal KILL.307(finished: cleanup, in 0.33 seconds)308Container router terminated by signal KILL.