build01: building 5ds0mbvk5d15zs05cahg48rv8c6vs5zf-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) 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(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. 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. 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 machine on /build/vm-state-machine. ░ Spawning container router on /build/vm-state-router. machine # [1892155.427270] machine systemd-journald[57]: Journal started machine # [1892155.427326] machine systemd-journald[57]: Runtime Journal (/run/log/journal/942ee7bcbcf04a2f9993945c9a392f8c) is 8M, max 2.5G, 2.4G free. machine # [1892155.428999] machine systemd[1]: Finished Apply Kernel Variables. machine # [1892155.440048] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [1892155.453060] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [1892155.453799] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [1892155.463845] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/942ee7bcbcf04a2f9993945c9a392f8c is 1.421ms for 6 entries. machine # [1892155.463845] machine systemd-journald[57]: System Journal (/var/log/journal/942ee7bcbcf04a2f9993945c9a392f8c) is 8M, max 4G, 3.9G free. machine # [1892155.476352] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [1892155.476632] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [1892155.477583] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [1892155.477701] machine systemd[1]: Reached target Local File Systems. machine # [1892155.478575] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [1892155.478624] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [1892155.479491] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [1892155.480155] machine systemd[1]: Starting Create System Files and Directories... machine # [1892155.480189] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [1892155.498622] machine systemd-tmpfiles[69]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [1892155.498836] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal failed: Operation not permitted machine # [1892155.499050] machine systemd-tmpfiles[69]: fchmod() of /var/log/journal/942ee7bcbcf04a2f9993945c9a392f8c failed: Operation not permitted machine # [1892155.499272] machine systemd-tmpfiles[69]: fchmod() of /run/log/journal failed: Operation not permitted machine # [1892155.501697] machine systemd[1]: Finished Create System Files and Directories. machine # [1892155.502740] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [1892155.503388] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [1892155.510185] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [1892155.519674] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [1892155.526233] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [1892155.527237] machine systemd[1]: Starting Update is Completed... machine # [1892155.538693] machine systemd[1]: Finished Update is Completed. machine # [1892155.538822] machine systemd[1]: Reached target System Initialization. machine # [1892155.538914] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [1892155.538945] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [1892155.538965] machine systemd[1]: Reached target Timer Units. machine # [1892155.539077] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [1892155.539198] machine systemd[1]: Listening on Nix Daemon Socket. machine # [1892155.539299] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [1892155.539318] machine systemd[1]: Reached target Socket Units. machine # [1892155.539351] machine systemd[1]: Reached target Basic System. machine # [1892155.540313] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [1892155.541121] machine systemd[1]: Starting nftables firewall... machine # [1892155.541900] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1892155.560800] machine systemd[1]: Finished Import lastlog data into lastlog2 database. router # [1892155.417804] router systemd-journald[57]: Journal started router # [1892155.417861] router systemd-journald[57]: Runtime Journal (/run/log/journal/a12f23f4192c420c97b329be17259105) is 8M, max 2.5G, 2.4G free. router # [1892155.422592] router systemd[1]: Finished Apply Kernel Variables. router # [1892155.434449] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully. router # [1892155.447752] router systemd[1]: Starting Flush Journal to Persistent Storage... router # [1892155.448733] router systemd[1]: Starting Network Name Resolution... router # [1892155.449502] router systemd[1]: Starting Create Static Device Nodes in /dev... router # [1892155.458351] router systemd-journald[57]: Time spent on flushing to /var/log/journal/a12f23f4192c420c97b329be17259105 is 1.338ms for 7 entries. router # [1892155.458351] router systemd-journald[57]: System Journal (/var/log/journal/a12f23f4192c420c97b329be17259105) is 8M, max 4G, 3.9G free. router # [1892155.472225] router systemd[1]: Finished Flush Journal to Persistent Storage. router # [1892155.472574] router systemd[1]: Finished Create Static Device Nodes in /dev. router # [1892155.473552] router systemd[1]: Reached target Preparation for Local File Systems. router # [1892155.473667] router systemd[1]: Reached target Local File Systems. router # [1892155.474461] router systemd[1]: Listening on Boot Loader Control Service Socket. router # [1892155.474508] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container router # [1892155.475380] router systemd[1]: Starting Save Transient machine-id to Disk... router # [1892155.476204] router systemd[1]: Starting Create System Files and Directories... router # [1892155.476234] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys router # [1892155.477139] router systemd[1]: Starting Network Management... router # [1892155.494329] router systemd-tmpfiles[71]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted router # [1892155.494557] router systemd-tmpfiles[71]: fchmod() of /var/log/journal failed: Operation not permitted router # [1892155.494709] router systemd-tmpfiles[71]: fchmod() of /var/log/journal/a12f23f4192c420c97b329be17259105 failed: Operation not permitted router # [1892155.494940] router systemd-tmpfiles[71]: fchmod() of /run/log/journal failed: Operation not permitted router # [1892155.496387] router systemd[1]: Finished Create System Files and Directories. router # [1892155.497490] router systemd[1]: Starting Rebuild Journal Catalog... router # [1892155.498147] router systemd[1]: Starting Record System Boot/Shutdown in UTMP... router # [1892155.510711] router systemd[1]: Finished Save Transient machine-id to Disk. router # [1892155.513085] router systemd[1]: Finished Record System Boot/Shutdown in UTMP. router # [1892155.522251] router systemd[1]: Finished Rebuild Journal Catalog. router # [1892155.523205] router systemd[1]: Starting Update is Completed... router # [1892155.534377] router systemd[1]: Finished Update is Completed. machine # [1892155.624940] machine systemd[1]: Finished nftables firewall. machine # [1892155.625391] machine systemd[1]: Reached target Preparation for Network. machine # [1892155.626582] machine systemd[1]: Starting Address configuration of eth1... machine # [1892155.627562] machine systemd[1]: Starting Extra networking commands.... machine # [1892155.628365] machine systemd[1]: Starting Setup wg0 dummy interface... machine # [1892155.645354] machine network-addresses-eth1-start[95]: adding address 192.168.1.1/24... done machine # [1892155.647949] machine systemd[1]: Finished Setup wg0 dummy interface. machine # [1892155.648450] machine network-addresses-eth1-start[95]: adding address 2001:db8:1::1/64... done machine # [1892155.653328] machine systemd[1]: Finished Address configuration of eth1. machine # [1892155.664414] machine nsncd[80]: Sep 26 05:02:55.650 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1892155.664511] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1892155.664570] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1892155.664625] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1892155.665907] machine systemd[1]: Starting User Login Management... machine # [1892155.693997] machine systemd[1]: Stopped target Host and Network Name Lookups. machine # [1892155.694061] machine systemd[1]: Stopping Host and Network Name Lookups... machine # [1892155.694274] machine systemd[1]: Stopped target User and Group Name Lookups. machine # [1892155.694317] machine systemd[1]: Stopping User and Group Name Lookups... machine # [1892155.694494] machine systemd[1]: Stopping Name Service Cache Daemon (nsncd)... machine # [1892155.699470] machine systemd[1]: nscd.service: Deactivated successfully. machine # [1892155.699656] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [1892155.702166] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [1892155.709186] machine systemd[1]: Finished Extra networking commands.. machine # [1892155.709611] machine systemd[1]: Reached target Network. machine # [1892155.711222] machine systemd[1]: Starting Nginx Web Server... machine # [1892155.845258] machine nsncd[178]: Sep 26 05:02:55.831 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [1892155.845365] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [1892155.845467] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [1892155.845564] machine systemd[1]: Reached target User and Group Name Lookups. machine # [1892155.846922] machine systemd[1]: Starting Permit User Sessions... machine # [1892155.887254] machine systemd[1]: Finished Permit User Sessions. machine # [1892155.888403] machine systemd[1]: Started Console Getty. machine # [1892155.888449] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [1892155.888469] machine systemd[1]: Reached target Login Prompts. router # [1892156.181445] router systemd-networkd[72]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted router # [1892156.181540] router systemd-networkd[72]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted router # [1892156.190690] router systemd-networkd[72]: lo: Link UP router # [1892156.190697] router systemd-networkd[72]: lo: Gained carrier router # [1892156.190896] router systemd-networkd[72]: eth1: Configuring with /etc/systemd/network/40-eth1.network. router # [1892156.191321] router systemd[1]: Started Network Management. router # [1892156.191381] router systemd-networkd[72]: eth1: Link UP router # [1892156.191707] router systemd-networkd[72]: eth1: Gained carrier router # [1892156.193133] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd... router # [1892156.238101] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd. router # [1892156.412210] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [1892156.434711] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [1892156.455410] machine systemd-logind[138]: New seat seat0. machine # [1892156.455606] machine systemd[1]: Started User Login Management. machine # [1892156.457571] machine systemd[1]: Starting D-Bus System Message Bus... machine # [1892156.458832] machine systemd[1]: Starting linger-users.service... machine # [1892156.508342] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [1892156.508648] machine systemd[1]: Finished linger-users.service. machine # [1892156.567997] machine nginx-pre-start[206]: nginx: the configuration file /nix/store/34c4pcfa1gn1gxandndpgp3k6768ja1y-nginx.conf syntax is ok machine # [1892156.568433] machine nginx-pre-start[206]: nginx: configuration file /nix/store/34c4pcfa1gn1gxandndpgp3k6768ja1y-nginx.conf test is successful machine # [1892156.574595] machine systemd[1]: Started Nginx Web Server. machine # [1892156.574923] machine systemd[1]: Reached target Multi-User System. router # [1892156.624304] router systemd-resolved[64]: Positive Trust Anchors: router # [1892156.624316] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d router # [1892156.624319] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 router # [1892156.624353] 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 test router # [1892156.645813] router systemd-resolved[64]: Using system hostname 'router'. router # [1892156.647173] router systemd[1]: Started Network Name Resolution. router # [1892156.647294] router systemd[1]: Reached target Network. router # [1892156.647413] router systemd[1]: Reached target System Initialization. router # [1892156.647500] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container router # [1892156.647556] router systemd[1]: Started Daily Cleanup of Temporary Directories. router # [1892156.647594] router systemd[1]: Reached target Timer Units. router # [1892156.647813] router systemd[1]: Listening on D-Bus System Message Bus Socket. router # [1892156.648047] router systemd[1]: Listening on Nix Daemon Socket. router # [1892156.648279] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. router # [1892156.648329] router systemd[1]: Reached target Socket Units. router # [1892156.648411] router systemd[1]: Reached target Basic System. router # [1892156.650708] router systemd[1]: Starting Import lastlog data into lastlog2 database... router # [1892156.652275] router systemd[1]: Starting Nginx Web Server... router # [1892156.653705] router systemd[1]: Starting Name Service Cache Daemon (nsncd)... router # [1892156.684505] router systemd[1]: Starting D-Bus System Message Bus... router # [1892156.702770] router systemd[1]: Finished Import lastlog data into lastlog2 database. router # [1892156.880354] router systemd[1]: Started Name Service Cache Daemon (nsncd). router # [1892156.880484] router systemd[1]: Reached target Host and Network Name Lookups. router # [1892156.880736] router nsncd[87]: Sep 26 05:02:56.866 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" router # [1892156.880586] router systemd[1]: Reached target User and Group Name Lookups. machine # [1892156.810005] machine dbus-broker-launch[202]: Looking up NSS user entry for 'systemd-timesync'... machine # [1892156.811077] machine dbus-broker-launch[202]: NSS returned no entry for 'systemd-timesync' machine # [1892156.811077] machine dbus-broker-launch[202]: Invalid user-name in /nix/store/rq1265iyy5fxx7ms81579qn63pmi5w1j-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [1892156.811538] machine systemd[1]: Started D-Bus System Message Bus. machine # [1892156.812123] machine systemd[1]: Startup finished in 1.810s. machine # [1892156.819013] machine dbus-broker-launch[202]: Ready router # [1892156.882638] router systemd[1]: Starting User Login Management... router # [1892156.883977] router systemd[1]: Starting Permit User Sessions... router # [1892156.895709] router systemd[1]: Finished Permit User Sessions. router # [1892156.896877] router systemd[1]: Started Console Getty. router # [1892156.896933] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 router # [1892156.896956] router systemd[1]: Reached target Login Prompts. router # [1892157.006147] router dbus-broker-launch[88]: Looking up NSS user entry for 'systemd-timesync'... router # [1892157.007696] router dbus-broker-launch[88]: NSS returned no entry for 'systemd-timesync' router # [1892157.007696] 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" router # [1892157.008194] router systemd[1]: Started D-Bus System Message Bus. router # [1892157.016935] router dbus-broker-launch[88]: Ready router: (finished: waiting for unit multi-user.target, in 3.17 seconds) router: waiting for TCP port 80 on localhost router # [1892157.440183] router systemd-networkd[72]: eth1: Gained IPv6LL router # [1892157.551586] router nginx-pre-start[117]: nginx: the configuration file /nix/store/jwxsakg3002pzdpq2m37wm0h8z9cmkmj-nginx.conf syntax is ok router # [1892157.552188] router nginx-pre-start[117]: nginx: configuration file /nix/store/jwxsakg3002pzdpq2m37wm0h8z9cmkmj-nginx.conf test is successful router # [1892157.557361] router systemd[1]: Started Nginx Web Server. router # [1892157.619875] router systemd-logind[106]: New seat seat0. router # [1892157.620242] router systemd[1]: Started User Login Management. router # [1892157.622264] router systemd[1]: Starting linger-users.service... router # [1892157.678738] router systemd[1]: linger-users.service: Deactivated successfully. router # [1892157.679075] router systemd[1]: Finished linger-users.service. router # [1892157.680450] router systemd[1]: Reached target Multi-User System. router # [1892157.680817] router systemd[1]: Startup finished in 2.675s. 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 # [1892158.847104] machine systemd[1]: Stopping nftables firewall... machine # [1892159.007725] machine systemd[1]: nftables.service: Deactivated successfully. machine # [1892159.008105] machine systemd[1]: Stopped nftables firewall. machine # [1892159.010572] machine systemd[1]: Starting nftables firewall... machine: (finished: must succeed: systemctl restart nftables, in 0.29 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: (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 # [1892159.120690] machine systemd[1]: Finished nftables firewall. machine # [1892159.157386] machine runuser[238]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [1892159.168883] machine runuser[238]: pam_unix(runuser:session): session closed for user alice machine # [1892159.179493] machine runuser[240]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [1892159.190426] machine runuser[240]: pam_unix(runuser:session): session closed for user alice machine # [1892159.200305] machine runuser[242]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [1892159.210270] machine runuser[242]: pam_unix(runuser:session): session closed for user alice machine # [1892159.220914] machine runuser[244]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [1892159.231722] machine runuser[244]: pam_unix(runuser:session): session closed for user bob machine # [1892159.242838] machine runuser[247]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [1892159.253050] machine runuser[247]: pam_unix(runuser:session): session closed for user bob machine # [1892159.263919] machine runuser[250]: 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.04 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.02 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.90 seconds) test script finished in 5.92s cleanup kill NspawnMachine (pid 52) machine # [1892160.294497] machine runuser[250]: pam_unix(runuser:session): session closed for user bob machine # [1892160.385755] machine runuser[258]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [1892160.396802] machine runuser[258]: pam_unix(runuser:session): session closed for user alice machine # [1892160.408086] machine runuser[260]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [1892160.418951] machine runuser[260]: pam_unix(runuser:session): session closed for user alice machine # [1892160.430200] machine runuser[262]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [1892160.441089] machine runuser[262]: pam_unix(runuser:session): session closed for user bob machine # [1892160.452380] machine runuser[264]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [1892160.462891] machine runuser[264]: pam_unix(runuser:session): session closed for user bob kill NspawnMachine (pid 53) Container machine terminated by signal KILL. Container router terminated by signal KILL. (finished: cleanup, in 0.48 seconds)