build01: building qipyrrh60lcgpk0hdfzid8fx736kfxg5-container-test-run-user-firewall-iptables.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. ░ Spawning container router on /build/vm-state-router. 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. machine # [2170680.903255] machine systemd-journald[57]: Journal started machine # [2170680.903311] machine systemd-journald[57]: Runtime Journal (/run/log/journal/a51dfa21ce4a42bb9e701ae6fc317382) is 8M, max 2.5G, 2.4G free. machine # [2170680.906202] machine systemd[1]: Finished Apply Kernel Variables. machine # [2170680.917640] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [2170680.930752] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [2170680.931424] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [2170680.942246] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/a51dfa21ce4a42bb9e701ae6fc317382 is 1.431ms for 6 entries. machine # [2170680.942246] machine systemd-journald[57]: System Journal (/var/log/journal/a51dfa21ce4a42bb9e701ae6fc317382) is 8M, max 4G, 3.9G free. machine # [2170680.948416] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [2170680.949047] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [2170680.949179] machine systemd[1]: Reached target Local File Systems. machine # [2170680.949967] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [2170680.950014] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [2170680.951103] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [2170680.951139] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [2170680.951603] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [2170680.953157] machine systemd[1]: Starting Create System Files and Directories... machine # [2170680.971720] machine systemd-tmpfiles[102]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [2170680.971946] machine systemd-tmpfiles[102]: fchmod() of /var/log/journal failed: Operation not permitted machine # [2170680.972129] machine systemd-tmpfiles[102]: fchmod() of /var/log/journal/a51dfa21ce4a42bb9e701ae6fc317382 failed: Operation not permitted router # [2170680.912996] router systemd-journald[57]: Journal started machine # [2170680.972590] machine systemd-tmpfiles[102]: fchmod() of /run/log/journal failed: Operation not permitted router # [2170680.913051] router systemd-journald[57]: Runtime Journal (/run/log/journal/8c3c797028ef47bbb1fe783666cdf6aa) is 8M, max 2.5G, 2.4G free. machine # [2170680.974057] machine systemd[1]: Finished Create System Files and Directories. router # [2170680.922258] router systemd[1]: Finished Apply Kernel Variables. machine # [2170680.975314] machine systemd[1]: Starting Rebuild Journal Catalog... router # [2170680.936361] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [2170680.976026] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... router # [2170680.952680] router systemd[1]: Starting Flush Journal to Persistent Storage... machine # [2170680.989773] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. router # [2170680.953798] router systemd[1]: Starting Network Name Resolution... machine # [2170680.999424] machine systemd[1]: Finished Rebuild Journal Catalog. router # [2170680.954519] router systemd[1]: Starting Create Static Device Nodes in /dev... machine # [2170681.000936] machine systemd[1]: Starting Update is Completed... router # [2170680.963306] router systemd-journald[57]: Time spent on flushing to /var/log/journal/8c3c797028ef47bbb1fe783666cdf6aa is 1.701ms for 7 entries. machine # [2170681.001198] machine systemd[1]: Finished Save Transient machine-id to Disk. router # [2170680.963306] router systemd-journald[57]: System Journal (/var/log/journal/8c3c797028ef47bbb1fe783666cdf6aa) is 8M, max 4G, 3.9G free. machine # [2170681.013733] machine systemd[1]: Finished Update is Completed. router # [2170680.972159] router systemd[1]: Finished Flush Journal to Persistent Storage. machine # [2170681.013902] machine systemd[1]: Reached target System Initialization. router # [2170680.972595] router systemd[1]: Finished Create Static Device Nodes in /dev. machine # [2170681.013986] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container router # [2170680.973608] router systemd[1]: Reached target Preparation for Local File Systems. machine # [2170681.014017] machine systemd[1]: Started Daily Cleanup of Temporary Directories. router # [2170680.973730] router systemd[1]: Reached target Local File Systems. machine # [2170681.014038] machine systemd[1]: Reached target Timer Units. router # [2170680.974652] router systemd[1]: Listening on Boot Loader Control Service Socket. machine # [2170681.014142] machine systemd[1]: Listening on D-Bus System Message Bus Socket. router # [2170680.974707] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [2170681.014261] machine systemd[1]: Listening on Nix Daemon Socket. router # [2170680.975477] router systemd[1]: Starting Save Transient machine-id to Disk... machine # [2170681.014363] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. router # [2170680.976299] router systemd[1]: Starting Create System Files and Directories... machine # [2170681.014383] machine systemd[1]: Reached target Socket Units. router # [2170680.976330] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [2170681.014413] machine systemd[1]: Reached target Basic System. router # [2170680.977319] router systemd[1]: Starting Network Management... machine # [2170681.015435] machine systemd[1]: Starting Import lastlog data into lastlog2 database... router # [2170680.994716] router systemd-tmpfiles[71]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted router # [2170680.994945] router systemd-tmpfiles[71]: fchmod() of /var/log/journal failed: Operation not permitted router # [2170680.995102] router systemd-tmpfiles[71]: fchmod() of /var/log/journal/8c3c797028ef47bbb1fe783666cdf6aa failed: Operation not permitted router # [2170680.995333] router systemd-tmpfiles[71]: fchmod() of /run/log/journal failed: Operation not permitted router # [2170680.999745] router systemd[1]: Finished Create System Files and Directories. router # [2170681.001136] router systemd[1]: Starting Rebuild Journal Catalog... router # [2170681.001966] router systemd[1]: Starting Record System Boot/Shutdown in UTMP... router # [2170681.005186] router systemd[1]: Finished Save Transient machine-id to Disk. machine # [2170681.016289] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [2170681.037256] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [2170681.166197] machine systemd[1]: Finished Firewall. machine # [2170681.166401] machine systemd[1]: Reached target Preparation for Network. machine # [2170681.167430] machine systemd[1]: Starting Address configuration of eth1... machine # [2170681.168377] machine systemd[1]: Starting Extra networking commands.... machine # [2170681.169199] machine systemd[1]: Starting Setup wg0 dummy interface... machine # [2170681.187887] machine network-addresses-eth1-start[215]: adding address 192.168.1.1/24... done machine # [2170681.189679] machine systemd[1]: Finished Setup wg0 dummy interface. machine # [2170681.191041] machine network-addresses-eth1-start[215]: adding address 2001:db8:1::1/64... done router # [2170681.016751] router systemd[1]: Finished Record System Boot/Shutdown in UTMP. router # [2170681.026454] router systemd[1]: Finished Rebuild Journal Catalog. router # [2170681.027824] router systemd[1]: Starting Update is Completed... router # [2170681.039567] router systemd[1]: Finished Update is Completed. machine # [2170681.195773] machine systemd[1]: Finished Address configuration of eth1. machine # [2170681.242307] machine systemd[1]: nscd.service: Deactivated successfully. machine # [2170681.242526] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [2170681.245025] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [2170681.300380] machine systemd[1]: Finished Extra networking commands.. machine # [2170681.301061] machine systemd[1]: Reached target Network. machine # [2170681.302305] machine systemd[1]: Starting Nginx Web Server... machine # [2170681.478906] machine nsncd[283]: Sep 29 10:25:01.464 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [2170681.479008] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [2170681.479106] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [2170681.479224] machine systemd[1]: Reached target User and Group Name Lookups. machine # [2170681.481580] machine systemd[1]: Starting User Login Management... machine # [2170681.483118] machine systemd[1]: Starting Permit User Sessions... machine # [2170681.493382] machine systemd[1]: Finished Permit User Sessions. machine # [2170681.494589] machine systemd[1]: Started Console Getty. machine # [2170681.494643] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [2170681.494665] machine systemd[1]: Reached target Login Prompts. router # [2170681.915367] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully. router # [2170682.060591] router systemd-networkd[72]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted router # [2170682.060694] router systemd-networkd[72]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted router # [2170682.072372] router systemd-networkd[72]: lo: Link UP router # [2170682.072380] router systemd-networkd[72]: lo: Gained carrier router # [2170682.072592] router systemd-networkd[72]: eth1: Configuring with /etc/systemd/network/40-eth1.network. router # [2170682.073076] router systemd-networkd[72]: eth1: Link UP router # [2170682.073115] router systemd[1]: Started Network Management. router # [2170682.073347] router systemd-networkd[72]: eth1: Gained carrier router # [2170682.075507] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd... router # [2170682.125882] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd. machine # [2170681.910445] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [2170682.357638] machine nginx-pre-start[312]: nginx: the configuration file /nix/store/z91xiqlxrqsj5w9nhh7q7rdy4kqri1y8-nginx.conf syntax is ok machine # [2170682.358230] machine nginx-pre-start[312]: nginx: configuration file /nix/store/z91xiqlxrqsj5w9nhh7q7rdy4kqri1y8-nginx.conf test is successful machine # [2170682.405736] machine systemd-logind[302]: New seat seat0. machine # [2170682.412524] machine systemd[1]: Started Nginx Web Server. machine # [2170682.412813] machine systemd[1]: Started User Login Management. machine # [2170682.415241] machine systemd[1]: Starting D-Bus System Message Bus... machine # [2170682.416486] machine systemd[1]: Starting linger-users.service... machine # [2170682.432199] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [2170682.432587] machine systemd[1]: Finished linger-users.service. machine # [2170682.432948] machine systemd[1]: Reached target Multi-User System. router # [2170682.635114] router systemd-resolved[64]: Positive Trust Anchors: router # [2170682.635127] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d router # [2170682.635130] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 router # [2170682.635164] 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 # [2170682.657217] router systemd-resolved[64]: Using system hostname 'router'. router # [2170682.658653] router systemd[1]: Started Network Name Resolution. router # [2170682.658792] router systemd[1]: Reached target Network. router # [2170682.658915] router systemd[1]: Reached target System Initialization. router # [2170682.659022] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container router # [2170682.659074] router systemd[1]: Started Daily Cleanup of Temporary Directories. router # [2170682.659111] router systemd[1]: Reached target Timer Units. router # [2170682.659340] router systemd[1]: Listening on D-Bus System Message Bus Socket. router # [2170682.659565] router systemd[1]: Listening on Nix Daemon Socket. router # [2170682.659795] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. router # [2170682.659852] router systemd[1]: Reached target Socket Units. router # [2170682.659944] router systemd[1]: Reached target Basic System. router # [2170682.661154] router systemd[1]: Starting Import lastlog data into lastlog2 database... router # [2170682.661995] router systemd[1]: Starting Nginx Web Server... router # [2170682.662881] router systemd[1]: Starting Name Service Cache Daemon (nsncd)... router # [2170682.664329] router systemd[1]: Starting D-Bus System Message Bus... router # [2170682.714617] router systemd[1]: Finished Import lastlog data into lastlog2 database. router # [2170682.895397] router nsncd[87]: Sep 29 10:25:02.881 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" router # [2170682.895331] router systemd[1]: Started Name Service Cache Daemon (nsncd). router # [2170682.895431] router systemd[1]: Reached target Host and Network Name Lookups. router # [2170682.895537] router systemd[1]: Reached target User and Group Name Lookups. machine # [2170682.779424] machine dbus-broker-launch[315]: Looking up NSS user entry for 'systemd-timesync'... machine # [2170682.780224] machine dbus-broker-launch[315]: NSS returned no entry for 'systemd-timesync' machine # [2170682.780224] machine dbus-broker-launch[315]: Invalid user-name in /nix/store/xyivy1g0bsw48cr7zbzb2mc62lhjsi31-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [2170682.780951] machine systemd[1]: Started D-Bus System Message Bus. machine # [2170682.781506] machine systemd[1]: Startup finished in 2.308s. machine # [2170682.789300] machine dbus-broker-launch[315]: Ready router # [2170682.897412] router systemd[1]: Starting User Login Management... router # [2170682.898780] router systemd[1]: Starting Permit User Sessions... router # [2170682.961733] router systemd[1]: Finished Permit User Sessions. router # [2170682.964117] router systemd[1]: Started Console Getty. router # [2170682.964200] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 router # [2170682.964247] router systemd[1]: Reached target Login Prompts. router # [2170683.046192] router dbus-broker-launch[88]: Looking up NSS user entry for 'systemd-timesync'... router # [2170683.047503] router dbus-broker-launch[88]: NSS returned no entry for 'systemd-timesync' router # [2170683.047503] router dbus-broker-launch[88]: Invalid user-name in /nix/store/r26m8bpwkjx6alvrvhicaij5ynn86x9g-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" router # [2170683.047965] router systemd[1]: Started D-Bus System Message Bus. router # [2170683.055728] router dbus-broker-launch[88]: Ready router # [2170683.456342] router systemd-networkd[72]: eth1: Gained IPv6LL router # [2170683.631464] router nginx-pre-start[117]: nginx: the configuration file /nix/store/vva8m7qja9fd4xf60avz4wrylm1vv82b-nginx.conf syntax is ok router # [2170683.632074] router nginx-pre-start[117]: nginx: configuration file /nix/store/vva8m7qja9fd4xf60avz4wrylm1vv82b-nginx.conf test is successful router # [2170683.637277] router systemd[1]: Started Nginx Web Server. router: (finished: waiting for unit multi-user.target, in 4.16 seconds) router: waiting for unit nginx.service router: (finished: waiting for unit nginx.service, in 0.02 seconds) machine: waiting for unit multi-user.target machine: (finished: waiting for unit multi-user.target, in 0.01 seconds) machine: waiting for unit nginx.service router # [2170683.753772] router systemd-logind[106]: New seat seat0. router # [2170683.753947] router systemd[1]: Started User Login Management. router # [2170683.755219] router systemd[1]: Starting linger-users.service... router # [2170683.794073] router systemd[1]: linger-users.service: Deactivated successfully. router # [2170683.794382] router systemd[1]: Finished linger-users.service. router # [2170683.795220] router systemd[1]: Reached target Multi-User System. router # [2170683.795536] router systemd[1]: Startup finished in 3.324s. 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 firewall machine # [2170684.258438] machine systemd[1]: Stopping Firewall... machine # [2170684.685991] machine systemd[1]: firewall.service: Deactivated successfully. machine # [2170684.686330] machine systemd[1]: Stopped Firewall. machine # [2170684.688889] machine systemd[1]: Starting Firewall... machine: (finished: must succeed: systemctl restart firewall, in 1.43 seconds) machine: waiting for unit firewall.service machine: (finished: waiting for unit firewall.service, in 0.02 seconds) machine: must succeed: iptables -L user-firewall-output >&2 Chain user-firewall-output (1 references) target prot opt source destination RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere RETURN all -- anywhere anywhere REJECT all -- anywhere anywhere owner UID match bob reject-with icmp-port-unreachable RETURN all -- anywhere anywhere machine: (finished: must succeed: iptables -L user-firewall-output >&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 # [2170685.676584] machine systemd[1]: Finished Firewall. machine # [2170685.715598] machine runuser[475]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [2170685.726557] machine runuser[475]: pam_unix(runuser:session): session closed for user alice machine # [2170685.735481] machine runuser[477]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [2170685.747241] machine runuser[477]: pam_unix(runuser:session): session closed for user alice machine # [2170685.756494] machine runuser[479]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [2170685.767792] machine runuser[479]: pam_unix(runuser:session): session closed for user alice machine # [2170685.776374] machine runuser[481]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [2170685.784445] machine runuser[481]: pam_unix(runuser:session): session closed for user bob machine # [2170685.794541] machine runuser[484]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [2170685.804463] machine runuser[484]: pam_unix(runuser:session): session closed for user bob machine # [2170685.815611] machine runuser[487]: 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: iptables -L user-firewall-output -n -v machine: (finished: must succeed: iptables -L user-firewall-output -n -v, in 0.01 seconds) machine: must succeed: ip6tables -L user-firewall-output -n -v machine: (finished: must succeed: ip6tables -L user-firewall-output -n -v, 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: iptables -L user-firewall-output -n -v | grep -E 'wg0|wg\+' >&2 0 0 RETURN all -- * wg+ 0.0.0.0/0 0.0.0.0/0 machine: (finished: must succeed: iptables -L user-firewall-output -n -v | grep -E 'wg0|wg\+' >&2, in 0.01 seconds) (finished: run the VM test script, in 7.02 seconds) test script finished in 7.06s cleanup kill NspawnMachine (pid 52) kill NspawnMachine (pid 53) Container machine terminated by signal KILL. (finished: cleanup, in 0.28 seconds) Container router terminated by signal KILL.