build01: building n5v24jwcww2kbv41xvsl2l2szsj51nr5-container-test-run-user-firewall-nftables.drv Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Initializing machine ID from random generator. Test will time out and terminate in 3600.0 seconds run the VM test script additionally exposed symbols: machine, router, vlan1, 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_ssh start all VMs machine: systemd-nspawn running (pid 52) router: systemd-nspawn running (pid 53) machine: Waiting for journal at /build/vm-state-machine/var/log/journal... router: Waiting for journal at /build/vm-state-router/var/log/journal... (finished: start all VMs, in 0.00 seconds) router: waiting for unit multi-user.target nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE nixos-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. nixos-nspawn(router): TAP vde-tap1 not found; container will be isolated from VDE nixos-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. Note: 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. Note: 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. ░ Spawning container router on /build/vm-state-router. ░ Spawning container machine on /build/vm-state-machine. router # [176113.502059] router systemd-journald[58]: Journal started router # [176113.502115] router systemd-journald[58]: Runtime Journal (/run/log/journal/229f68b53c694bc38db3fdbf4f30ce0a) is 8M, max 2.5G, 2.4G free. router # [176113.507778] router systemd[1]: Finished Apply Kernel Variables. router # [176113.520240] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully. router # [176113.560356] router systemd[1]: Starting Flush Journal to Persistent Storage... router # [176113.561202] router systemd[1]: Starting Network Name Resolution... router # [176113.561893] router systemd[1]: Starting Create Static Device Nodes in /dev... router # [176113.570727] router systemd-journald[58]: Time spent on flushing to /var/log/journal/229f68b53c694bc38db3fdbf4f30ce0a is 1.910ms for 7 entries. router # [176113.570727] router systemd-journald[58]: System Journal (/var/log/journal/229f68b53c694bc38db3fdbf4f30ce0a) is 8M, max 4G, 3.9G free. router # [176113.592131] router systemd[1]: Finished Flush Journal to Persistent Storage. router # [176113.592490] router systemd[1]: Finished Create Static Device Nodes in /dev. router # [176113.593544] router systemd[1]: Reached target Preparation for Local File Systems. router # [176113.593653] router systemd[1]: Reached target Local File Systems. router # [176113.594322] router systemd[1]: Listening on Boot Loader Control Service Socket. router # [176113.594372] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container router # [176113.595268] router systemd[1]: Starting Save Transient machine-id to Disk... router # [176113.595928] router systemd[1]: Starting Create System Files and Directories... router # [176113.595960] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys router # [176113.597165] router systemd[1]: Starting Network Management... router # [176113.615402] router systemd-tmpfiles[72]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted router # [176113.615649] router systemd-tmpfiles[72]: fchmod() of /var/log/journal failed: Operation not permitted router # [176113.615816] router systemd-tmpfiles[72]: fchmod() of /var/log/journal/229f68b53c694bc38db3fdbf4f30ce0a failed: Operation not permitted router # [176113.616111] router systemd-tmpfiles[72]: fchmod() of /run/log/journal failed: Operation not permitted router # [176113.617753] router systemd[1]: Finished Create System Files and Directories. router # [176113.618913] router systemd[1]: Starting Rebuild Journal Catalog... router # [176113.620040] router systemd[1]: Starting Record System Boot/Shutdown in UTMP... router # [176113.623030] router systemd[1]: Finished Save Transient machine-id to Disk. router # [176113.634133] router systemd[1]: Finished Record System Boot/Shutdown in UTMP. router # [176113.644377] router systemd[1]: Finished Rebuild Journal Catalog. router # [176113.645682] router systemd[1]: Starting Update is Completed... router # [176113.655928] router systemd[1]: Finished Update is Completed. machine # [176113.494919] machine systemd-journald[58]: Journal started machine # [176113.494974] machine systemd-journald[58]: Runtime Journal (/run/log/journal/1b908d3830c54277bae3c11662412fa2) is 8M, max 2.5G, 2.4G free. machine # [176113.499593] machine systemd[1]: Finished Apply Kernel Variables. machine # [176113.512852] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [176113.527046] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [176113.527986] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [176113.567400] machine systemd-journald[58]: Time spent on flushing to /var/log/journal/1b908d3830c54277bae3c11662412fa2 is 3.010ms for 6 entries. machine # [176113.567400] machine systemd-journald[58]: System Journal (/var/log/journal/1b908d3830c54277bae3c11662412fa2) is 8M, max 4G, 3.9G free. machine # [176113.574403] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [176113.574990] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [176113.575113] machine systemd[1]: Reached target Local File Systems. machine # [176113.575822] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [176113.575885] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [176113.576755] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [176113.576789] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [176113.579477] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [176113.580582] machine systemd[1]: Starting Create System Files and Directories... machine # [176113.599357] machine systemd-tmpfiles[70]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [176113.599614] machine systemd-tmpfiles[70]: fchmod() of /var/log/journal failed: Operation not permitted machine # [176113.599782] machine systemd-tmpfiles[70]: fchmod() of /var/log/journal/1b908d3830c54277bae3c11662412fa2 failed: Operation not permitted machine # [176113.600047] machine systemd-tmpfiles[70]: fchmod() of /run/log/journal failed: Operation not permitted machine # [176113.601741] machine systemd[1]: Finished Create System Files and Directories. machine # [176113.603270] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [176113.604538] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [176113.607006] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [176113.621200] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [176113.626758] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [176113.627908] machine systemd[1]: Starting Update is Completed... machine # [176113.640524] machine systemd[1]: Finished Update is Completed. machine # [176113.640739] machine systemd[1]: Reached target System Initialization. machine # [176113.640843] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [176113.640878] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [176113.640907] machine systemd[1]: Reached target Timer Units. machine # [176113.641051] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [176113.641207] machine systemd[1]: Listening on Nix Daemon Socket. machine # [176113.641354] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [176113.641387] machine systemd[1]: Reached target Socket Units. machine # [176113.641435] machine systemd[1]: Reached target Basic System. machine # [176113.642741] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [176113.643883] machine systemd[1]: Starting nftables firewall... machine # [176113.645021] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [176113.661214] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [176113.717839] machine systemd[1]: Finished nftables firewall. machine # [176113.718114] machine systemd[1]: Reached target Preparation for Network. machine # [176113.719501] machine systemd[1]: Starting Address configuration of eth1... machine # [176113.720960] machine systemd[1]: Starting Extra networking commands.... machine # [176113.722309] machine systemd[1]: Starting Setup wg0 dummy interface... machine # [176113.736831] machine network-addresses-eth1-start[96]: adding address 192.168.1.1/24... done machine # [176113.740279] machine network-addresses-eth1-start[96]: adding address 2001:db8:1::1/64... done machine # [176113.743417] machine systemd[1]: Finished Setup wg0 dummy interface. machine # [176113.744472] machine systemd[1]: Finished Address configuration of eth1. machine # [176113.788311] machine systemd[1]: nscd.service: Failed to read pids.max for control group /system.slice/nscd.service, ignoring: No data available machine # [176113.788342] machine systemd[1]: nscd.service: Deactivated successfully. machine # [176113.788506] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [176113.790490] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [176113.795832] machine systemd[1]: Finished Extra networking commands.. machine # [176113.796024] machine systemd[1]: Reached target Network. machine # [176113.797235] machine systemd[1]: Starting Nginx Web Server... machine # [176113.929905] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [176113.930622] machine nsncd[164]: Oct 28 10:05:15.305 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [176113.930017] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [176113.930110] machine systemd[1]: Reached target User and Group Name Lookups. machine # [176113.933509] machine systemd[1]: Starting User Login Management... machine # [176113.934702] machine systemd[1]: Starting Permit User Sessions... machine # [176113.944684] machine systemd[1]: Finished Permit User Sessions. machine # [176113.946402] machine systemd[1]: Started Console Getty. machine # [176113.946475] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [176113.946512] machine systemd[1]: Reached target Login Prompts. router # [176114.256248] router systemd-networkd[73]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted router # [176114.256338] router systemd-networkd[73]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted router # [176114.265281] router systemd-networkd[73]: lo: Link UP router # [176114.265285] router systemd-networkd[73]: lo: Gained carrier router # [176114.265469] router systemd-networkd[73]: eth1: Configuring with /etc/systemd/network/40-eth1.network. router # [176114.265895] router systemd-networkd[73]: eth1: Link UP router # [176114.266090] router systemd[1]: Started Network Management. router # [176114.266200] router systemd-networkd[73]: eth1: Gained carrier router # [176114.267808] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd... router # [176114.322369] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd. router # [176114.510199] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully. router # [176114.716337] router systemd-resolved[65]: Positive Trust Anchors: router # [176114.716350] router systemd-resolved[65]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d router # [176114.716354] router systemd-resolved[65]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 router # [176114.716386] router systemd-resolved[65]: 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 test router # [176114.717069] router systemd-resolved[65]: Using system hostname 'router'. router # [176114.718641] router systemd[1]: Started Network Name Resolution. router # [176114.718768] router systemd[1]: Reached target Network. router # [176114.718893] router systemd[1]: Reached target System Initialization. router # [176114.718987] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container router # [176114.719035] router systemd[1]: Started Daily Cleanup of Temporary Directories. router # [176114.719072] router systemd[1]: Reached target Timer Units. router # [176114.719294] router systemd[1]: Listening on D-Bus System Message Bus Socket. router # [176114.719500] router systemd[1]: Listening on Nix Daemon Socket. router # [176114.719720] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. router # [176114.719763] router systemd[1]: Reached target Socket Units. router # [176114.719837] router systemd[1]: Reached target Basic System. router # [176114.721530] router systemd[1]: Starting Import lastlog data into lastlog2 database... router # [176114.723067] router systemd[1]: Starting Nginx Web Server... router # [176114.724341] router systemd[1]: Starting Name Service Cache Daemon (nsncd)... router # [176114.756510] router systemd[1]: Starting D-Bus System Message Bus... machine # [176114.491268] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [176114.616813] machine nginx-pre-start[193]: nginx: the configuration file /nix/store/jxihwlg4q94hkzpynfa5rsqkhkzg39y4-nginx.conf syntax is ok machine # [176114.617459] machine nginx-pre-start[193]: nginx: configuration file /nix/store/jxihwlg4q94hkzpynfa5rsqkhkzg39y4-nginx.conf test is successful machine # [176114.636428] machine systemd[1]: Started Nginx Web Server. machine # [176114.642322] machine systemd-logind[183]: New seat seat0. machine # [176114.642961] machine systemd[1]: Started User Login Management. machine # [176114.644883] machine systemd[1]: Starting D-Bus System Message Bus... machine # [176114.646217] machine systemd[1]: Starting linger-users.service... machine # [176114.660957] machine systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available machine # [176114.661060] machine systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available machine # [176114.661120] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [176114.661509] machine systemd[1]: Finished linger-users.service. machine # [176114.661864] machine systemd[1]: Reached target Multi-User System. router # [176114.773956] router systemd[1]: Finished Import lastlog data into lastlog2 database. router # [176114.981241] router systemd[1]: Started Name Service Cache Daemon (nsncd). router # [176114.982411] router nsncd[88]: Oct 28 10:05:16.356 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" router # [176114.981314] router systemd[1]: Reached target Host and Network Name Lookups. router # [176114.981365] router systemd[1]: Reached target User and Group Name Lookups. router # [176114.996441] router systemd[1]: Starting User Login Management... router # [176114.997392] router systemd[1]: Starting Permit User Sessions... router # [176115.010113] router systemd[1]: Finished Permit User Sessions. router # [176115.011740] router systemd[1]: Started Console Getty. router # [176115.011819] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 router # [176115.011870] router systemd[1]: Reached target Login Prompts. machine # [176114.968471] machine dbus-broker-launch[196]: Looking up NSS user entry for 'systemd-timesync'... machine # [176114.969463] machine dbus-broker-launch[196]: NSS returned no entry for 'systemd-timesync' machine # [176114.969463] machine dbus-broker-launch[196]: Invalid user-name in /nix/store/0a5wbxljlma2z9j6q284nr2891m2fcph-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [176114.970149] machine systemd[1]: Started D-Bus System Message Bus. machine # [176114.970681] machine systemd[1]: Startup finished in 1.839s. machine # [176114.978494] machine dbus-broker-launch[196]: Ready router # [176115.093558] router dbus-broker-launch[89]: Looking up NSS user entry for 'systemd-timesync'... router # [176115.094358] router dbus-broker-launch[89]: NSS returned no entry for 'systemd-timesync' router # [176115.094358] router dbus-broker-launch[89]: Invalid user-name in /nix/store/31dzhml8a23784cwkfc674iw6v8cxf0n-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" router # [176115.095307] router systemd[1]: Started D-Bus System Message Bus. router # [176115.105426] router dbus-broker-launch[89]: Ready router: (finished: waiting for unit multi-user.target, in 3.16 seconds) router: waiting for TCP port 80 on localhost router # [176115.638151] router nginx-pre-start[118]: nginx: the configuration file /nix/store/jip4m686hbgqhlbd6lgp6j3wvy47p4ff-nginx.conf syntax is ok router # [176115.638767] router nginx-pre-start[118]: nginx: configuration file /nix/store/jip4m686hbgqhlbd6lgp6j3wvy47p4ff-nginx.conf test is successful router # [176115.645019] router systemd[1]: Started Nginx Web Server. router # [176115.676225] router systemd-networkd[73]: eth1: Gained IPv6LL router # [176115.712374] router systemd-logind[104]: New seat seat0. router # [176115.713027] router systemd[1]: Started User Login Management. router # [176115.715213] router systemd[1]: Starting linger-users.service... router # [176115.758404] router systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available router # [176115.758441] router systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available router # [176115.758469] router systemd[1]: linger-users.service: Deactivated successfully. router # [176115.758692] router systemd[1]: Finished linger-users.service. router # [176115.759082] router systemd[1]: Reached target Multi-User System. router # [176115.759326] router systemd[1]: Startup finished in 2.626s. Connection to localhost (::1) 80 port [tcp/http] succeeded! router: (finished: waiting for TCP port 80 on localhost, in 1.02 seconds) machine: waiting for unit multi-user.target machine: (finished: waiting for unit multi-user.target, in 0.02 seconds) machine: waiting for unit nginx.service machine: (finished: waiting for unit nginx.service, in 0.02 seconds) router: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' router: (finished: must succeed: ip -4 addr show eth1 | grep -oP '(?<=inet\s)\d+(\.\d+){3}', in 0.01 seconds) router: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1 router: (finished: must succeed: ip -6 addr show eth1 | grep -oP '(?<=inet6\s)[0-9a-f:]+' | grep -v '^fe80' | head -1, in 0.01 seconds) Router IPv4: 192.168.1.2 Router IPv6: 2001:db8:1::2 machine: must succeed: systemctl restart nftables machine: (finished: must succeed: systemctl restart nftables, in 0.23 seconds) machine: waiting for unit nftables.service machine: (finished: waiting for unit nftables.service, in 0.01 seconds) machine: must succeed: nft list table inet user-firewall >&2 table inet user-firewall { chain output { type filter hook output priority filter; policy accept; oifname "lo" counter packets 0 bytes 0 accept comment "allow lo" oifname "tun*" counter packets 0 bytes 0 accept comment "allow tun*" oifname "tap*" counter packets 0 bytes 0 accept comment "allow tap*" oifname "wg*" counter packets 0 bytes 0 accept comment "allow wg*" oifname "tailscale*" counter packets 0 bytes 0 accept comment "allow tailscale*" oifname "zt*" counter packets 0 bytes 0 accept comment "allow zt*" oifname "vpn*" counter packets 0 bytes 0 accept comment "allow vpn*" oifname "ipsec*" counter packets 0 bytes 0 accept comment "allow ipsec*" oifname "nebula*" counter packets 0 bytes 0 accept comment "allow nebula*" oifname "tinc*" counter packets 0 bytes 0 accept comment "allow tinc*" oifname "edge*" counter packets 0 bytes 0 accept comment "allow edge*" oifname "hyprspace" counter packets 0 bytes 0 accept comment "allow hyprspace" oifname "ham0" counter packets 0 bytes 0 accept comment "allow ham0" oifname "easytier" counter packets 0 bytes 0 accept comment "allow easytier" oifname "mycelium" counter packets 0 bytes 0 accept comment "allow mycelium" meta skuid 1002 counter packets 0 bytes 0 reject comment "blocked user bob" } } machine: (finished: must succeed: nft list table inet user-firewall >&2, in 0.01 seconds) machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080 machine # [176116.924598] machine systemd[1]: Stopping nftables firewall... machine # [176117.054175] machine systemd[1]: nftables.service: Failed to read pids.max for control group /system.slice/nftables.service, ignoring: No data available machine # [176117.054223] machine systemd[1]: nftables.service: Failed to read pids.max for control group /system.slice/nftables.service, ignoring: No data available machine # [176117.054256] machine systemd[1]: nftables.service: Deactivated successfully. machine # [176117.054508] machine systemd[1]: Stopped nftables firewall. machine # [176117.055930] machine systemd[1]: Starting nftables firewall... machine # [176117.139309] machine systemd[1]: Finished nftables firewall. machine # [176117.171818] machine runuser[308]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [176117.182170] machine runuser[308]: pam_unix(runuser:session): session closed for user alice machine: (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds) machine: must succeed: runuser -u alice -- curl -s http://192.168.1.2 machine: (finished: must succeed: runuser -u alice -- curl -s http://192.168.1.2, in 0.02 seconds) machine: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2] machine: (finished: must succeed: runuser -u alice -- curl -s http://[2001:db8:1::2], in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080 machine: (finished: must succeed: runuser -u bob -- curl -s http://127.0.0.1:8080, in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 2>&1 || echo 'EXIT_CODE='$? machine: (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) machine: must succeed: runuser -u bob -- curl -s --connect-timeout 2 http://[2001:db8:1::2] 2>&1 || echo 'EXIT_CODE='$? machine # [176117.192291] machine runuser[310]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [176117.202613] machine runuser[310]: pam_unix(runuser:session): session closed for user alice machine # [176117.211748] machine runuser[312]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [176117.222742] machine runuser[312]: pam_unix(runuser:session): session closed for user alice machine # [176117.231294] machine runuser[314]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [176117.239401] machine runuser[314]: pam_unix(runuser:session): session closed for user bob machine # [176117.248881] machine runuser[317]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [176117.256294] machine runuser[317]: pam_unix(runuser:session): session closed for user bob machine # [176117.266279] machine runuser[320]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine: (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) machine: must succeed: nft list table inet user-firewall machine: (finished: must succeed: nft list table inet user-firewall, in 0.01 seconds) machine: waiting for unit setup-wg0-interface.service machine: (finished: waiting for unit setup-wg0-interface.service, in 0.02 seconds) machine: waiting for unit nginx.service machine: (finished: waiting for unit nginx.service, in 0.01 seconds) machine: waiting for TCP port 8081 on 10.100.0.2 Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded! machine: (finished: waiting for TCP port 8081 on 10.100.0.2, in 0.01 seconds) machine: must succeed: ip link show wg0 machine: (finished: must succeed: ip link show wg0, in 0.01 seconds) machine: must succeed: ip addr show wg0 machine: (finished: must succeed: ip addr show wg0, in 0.01 seconds) machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/ machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds) machine: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/ machine: (finished: must succeed: runuser -u alice -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/ machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/, in 0.02 seconds) machine: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/ machine: (finished: must succeed: runuser -u bob -- curl -s --interface wg0 http://[fd00::2]:8081/, in 0.02 seconds) machine: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2 oifname "wg*" counter packets 1 bytes 56 accept comment "allow wg*" machine: (finished: must succeed: nft list table inet user-firewall | grep -E 'oifname.*wg' >&2, in 0.01 seconds) (finished: run the VM test script, in 5.81 seconds) machine # [176118.302264] machine runuser[320]: pam_unix(runuser:session): session closed for user bob machine # [176118.387756] machine runuser[328]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [176118.398645] machine runuser[328]: pam_unix(runuser:session): session closed for user alice machine # [176118.408803] machine runuser[330]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [176118.419550] machine runuser[330]: pam_unix(runuser:session): session closed for user alice machine # [176118.430612] machine runuser[332]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [176118.441618] machine runuser[332]: pam_unix(runuser:session): session closed for user bob machine # [176118.451663] machine runuser[334]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [176118.461852] machine runuser[334]: pam_unix(runuser:session): session closed for user bob test script finished in 6.09s cleanup kill NspawnMachine (pid 52) kill NspawnMachine (pid 53) Container machine terminated by signal KILL. (finished: cleanup, in 0.33 seconds) Container router terminated by signal KILL.