build01: building fp88jpvfgcffv6z3s7vywgraxnzzr27b-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.01 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.04 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 # No journal files were found. machine # No journal boot entry found for the specified boot (+0). router # No journal boot entry found for the specified boot (+0). machine # [2707102.372818] machine systemd-journald[57]: Journal started machine # [2707102.372882] machine systemd-journald[57]: Runtime Journal (/run/log/journal/94732b67e2d54e35b51a31c905292719) is 8M, max 2.5G, 2.4G free. machine # [2707102.378405] machine systemd[1]: Finished Apply Kernel Variables. machine # [2707102.390325] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [2707102.403749] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [2707102.404462] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [2707102.470429] machine systemd-journald[57]: Time spent on flushing to /var/log/journal/94732b67e2d54e35b51a31c905292719 is 1.767ms for 6 entries. machine # [2707102.470429] machine systemd-journald[57]: System Journal (/var/log/journal/94732b67e2d54e35b51a31c905292719) is 8M, max 4G, 3.9G free. machine # [2707102.483033] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [2707102.483753] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [2707102.483860] machine systemd[1]: Reached target Local File Systems. machine # [2707102.484758] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [2707102.484809] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [2707102.485596] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [2707102.485637] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [2707102.494329] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [2707102.495809] machine systemd[1]: Starting Create System Files and Directories... machine # [2707102.511669] machine systemd-tmpfiles[153]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [2707102.511862] machine systemd-tmpfiles[153]: fchmod() of /var/log/journal failed: Operation not permitted machine # [2707102.511986] machine systemd-tmpfiles[153]: fchmod() of /var/log/journal/94732b67e2d54e35b51a31c905292719 failed: Operation not permitted machine # [2707102.512185] machine systemd-tmpfiles[153]: fchmod() of /run/log/journal failed: Operation not permitted machine # [2707102.514018] machine systemd[1]: Finished Create System Files and Directories. machine # [2707102.515175] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [2707102.516209] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [2707102.528363] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [2707102.540903] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [2707102.541904] machine systemd[1]: Starting Update is Completed... machine # [2707102.551900] machine systemd[1]: Finished Update is Completed. machine # [2707102.552087] machine systemd[1]: Reached target System Initialization. machine # [2707102.552181] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [2707102.552217] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [2707102.552238] machine systemd[1]: Reached target Timer Units. machine # [2707102.552356] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [2707102.552472] machine systemd[1]: Listening on Nix Daemon Socket. machine # [2707102.552577] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [2707102.552595] machine systemd[1]: Reached target Socket Units. machine # [2707102.552630] machine systemd[1]: Reached target Basic System. machine # [2707102.553996] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [2707102.554888] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [2707102.574096] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [2707102.586866] machine systemd[1]: Finished Firewall. machine # [2707102.586982] machine systemd[1]: Reached target Preparation for Network. machine # [2707102.587998] machine systemd[1]: Starting Address configuration of eth1... machine # [2707102.589284] machine systemd[1]: Starting Extra networking commands.... machine # [2707102.590503] machine systemd[1]: Starting Setup wg0 dummy interface... machine # [2707102.606212] machine network-addresses-eth1-start[214]: adding address 192.168.1.1/24... done machine # [2707102.608674] machine network-addresses-eth1-start[214]: adding address 2001:db8:1::1/64... done machine # [2707102.608868] machine systemd[1]: Finished Setup wg0 dummy interface. machine # [2707102.613088] machine systemd[1]: Finished Address configuration of eth1. machine # [2707102.622606] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [2707102.653669] machine systemd[1]: nscd.service: Deactivated successfully. machine # [2707102.653882] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [2707102.656280] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [2707102.684820] machine systemd[1]: Finished Extra networking commands.. machine # [2707102.685073] machine systemd[1]: Reached target Network. machine # [2707102.686152] machine systemd[1]: Starting Nginx Web Server... machine # [2707102.821123] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [2707102.822520] machine nsncd[282]: Oct 05 15:25:22.806 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [2707102.821195] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [2707102.821254] machine systemd[1]: Reached target User and Group Name Lookups. machine # [2707102.822896] machine systemd[1]: Starting User Login Management... machine # [2707102.824068] machine systemd[1]: Starting Permit User Sessions... machine # [2707102.879368] machine systemd[1]: Finished Permit User Sessions. machine # [2707102.880433] machine systemd[1]: Started Console Getty. machine # [2707102.880476] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [2707102.880492] machine systemd[1]: Reached target Login Prompts. machine # [2707103.400059] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. router # [2707102.367355] router systemd-journald[57]: Journal started router # [2707102.367413] router systemd-journald[57]: Runtime Journal (/run/log/journal/af4c3f225b1949cf9ccac5642b6c6abf) is 8M, max 2.5G, 2.4G free. router # [2707102.379144] router systemd[1]: Finished Apply Kernel Variables. router # [2707102.391355] router systemd[1]: Finished Create Static Device Nodes in /dev gracefully. router # [2707102.405130] router systemd[1]: Starting Flush Journal to Persistent Storage... router # [2707102.405975] router systemd[1]: Starting Network Name Resolution... router # [2707102.406580] router systemd[1]: Starting Create Static Device Nodes in /dev... router # [2707102.470386] router systemd-journald[57]: Time spent on flushing to /var/log/journal/af4c3f225b1949cf9ccac5642b6c6abf is 1.798ms for 7 entries. router # [2707102.470386] router systemd-journald[57]: System Journal (/var/log/journal/af4c3f225b1949cf9ccac5642b6c6abf) is 8M, max 4G, 3.9G free. router # [2707102.482825] router systemd[1]: Finished Create Static Device Nodes in /dev. router # [2707102.483542] router systemd[1]: Reached target Preparation for Local File Systems. router # [2707102.483661] router systemd[1]: Reached target Local File Systems. router # [2707102.484581] router systemd[1]: Listening on Boot Loader Control Service Socket. router # [2707102.484638] router systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container router # [2707102.485549] router systemd[1]: Starting Save Transient machine-id to Disk... router # [2707102.485592] router systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys router # [2707102.486601] router systemd[1]: Starting Network Management... router # [2707102.494515] router systemd[1]: Finished Flush Journal to Persistent Storage. router # [2707102.495840] router systemd[1]: Starting Create System Files and Directories... router # [2707102.511670] router systemd-tmpfiles[73]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted router # [2707102.511861] router systemd-tmpfiles[73]: fchmod() of /var/log/journal failed: Operation not permitted router # [2707102.511985] router systemd-tmpfiles[73]: fchmod() of /var/log/journal/af4c3f225b1949cf9ccac5642b6c6abf failed: Operation not permitted router # [2707102.512843] router systemd-tmpfiles[73]: fchmod() of /run/log/journal failed: Operation not permitted router # [2707102.515487] router systemd[1]: Finished Create System Files and Directories. router # [2707102.516587] router systemd[1]: Starting Rebuild Journal Catalog... router # [2707102.517302] router systemd[1]: Starting Record System Boot/Shutdown in UTMP... router # [2707102.528550] router systemd[1]: Finished Record System Boot/Shutdown in UTMP. router # [2707102.535379] router systemd[1]: Finished Rebuild Journal Catalog. router # [2707102.536533] router systemd[1]: Starting Update is Completed... router # [2707102.546909] router systemd[1]: Finished Update is Completed. router # [2707102.622607] router systemd[1]: Finished Save Transient machine-id to Disk. router # [2707103.199516] router systemd-networkd[69]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted router # [2707103.199611] router systemd-networkd[69]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted router # [2707103.209951] router systemd-networkd[69]: lo: Link UP router # [2707103.209956] router systemd-networkd[69]: lo: Gained carrier router # [2707103.210133] router systemd-networkd[69]: eth1: Configuring with /etc/systemd/network/40-eth1.network. router # [2707103.210580] router systemd[1]: Started Network Management. router # [2707103.210642] router systemd-networkd[69]: eth1: Link UP router # [2707103.210978] router systemd-networkd[69]: eth1: Gained carrier router # [2707103.211829] router systemd[1]: Starting Enable Persistent Storage in systemd-networkd... router # [2707103.281065] router systemd[1]: Finished Enable Persistent Storage in systemd-networkd. router # [2707103.363380] router systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [2707103.697703] machine nginx-pre-start[312]: nginx: the configuration file /nix/store/rbrd4r9lh3iq8rkq3ciiriyvjx160fh7-nginx.conf syntax is ok machine # [2707103.698296] machine nginx-pre-start[312]: nginx: configuration file /nix/store/rbrd4r9lh3iq8rkq3ciiriyvjx160fh7-nginx.conf test is successful machine # [2707103.704515] machine systemd[1]: Started Nginx Web Server. machine # [2707103.784942] machine systemd-logind[297]: New seat seat0. machine # [2707103.787149] machine systemd[1]: Starting D-Bus System Message Bus... machine # [2707103.787252] machine systemd[1]: Started User Login Management. machine # [2707103.788373] machine systemd[1]: Starting linger-users.service... machine # [2707103.922073] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [2707103.922409] machine systemd[1]: Finished linger-users.service. machine # [2707103.922742] machine systemd[1]: Reached target Multi-User System. router # [2707103.750290] router systemd-resolved[64]: Positive Trust Anchors: router # [2707103.750301] router systemd-resolved[64]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d router # [2707103.750305] router systemd-resolved[64]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 router # [2707103.750341] 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 # [2707103.938367] router systemd-resolved[64]: Using system hostname 'router'. router # [2707103.940055] router systemd[1]: Started Network Name Resolution. router # [2707103.940143] router systemd[1]: Reached target Network. router # [2707103.940213] router systemd[1]: Reached target System Initialization. router # [2707103.940265] router systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container router # [2707103.940293] router systemd[1]: Started Daily Cleanup of Temporary Directories. router # [2707103.940314] router systemd[1]: Reached target Timer Units. router # [2707103.940462] router systemd[1]: Listening on D-Bus System Message Bus Socket. router # [2707103.940603] router systemd[1]: Listening on Nix Daemon Socket. router # [2707103.940725] router systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. router # [2707103.940748] router systemd[1]: Reached target Socket Units. router # [2707103.940784] router systemd[1]: Reached target Basic System. router # [2707103.942804] router systemd[1]: Starting Import lastlog data into lastlog2 database... router # [2707103.945300] router systemd[1]: Starting Nginx Web Server... router # [2707103.946764] router systemd[1]: Starting Name Service Cache Daemon (nsncd)... router # [2707103.988602] router systemd[1]: Starting D-Bus System Message Bus... router # [2707104.010004] router systemd[1]: Finished Import lastlog data into lastlog2 database. router # [2707104.259882] router systemd[1]: Started Name Service Cache Daemon (nsncd). router # [2707104.259949] router systemd[1]: Reached target Host and Network Name Lookups. router # [2707104.260160] router nsncd[87]: Oct 05 15:25:24.245 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" router # [2707104.260039] router systemd[1]: Reached target User and Group Name Lookups. router # [2707104.261472] router systemd[1]: Starting User Login Management... router # [2707104.262314] router systemd[1]: Starting Permit User Sessions... router # [2707104.305131] router systemd[1]: Finished Permit User Sessions. router # [2707104.306992] router systemd[1]: Started Console Getty. router # [2707104.307037] router systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 router # [2707104.307060] router systemd[1]: Reached target Login Prompts. router # [2707104.450332] router dbus-broker-launch[88]: Looking up NSS user entry for 'systemd-timesync'... router # [2707104.452158] router dbus-broker-launch[88]: NSS returned no entry for 'systemd-timesync' router # [2707104.452158] router dbus-broker-launch[88]: Invalid user-name in /nix/store/99ngr5ck174ncqg45shbgx0crbkdsn94-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" router # [2707104.452931] router systemd[1]: Started D-Bus System Message Bus. router # [2707104.463656] router dbus-broker-launch[88]: Ready machine # [2707104.267822] machine dbus-broker-launch[318]: Looking up NSS user entry for 'systemd-timesync'... machine # [2707104.268830] machine dbus-broker-launch[318]: NSS returned no entry for 'systemd-timesync' machine # [2707104.268830] machine dbus-broker-launch[318]: Invalid user-name in /nix/store/l1kla89mzxxpvir1a09sr97c5qvp3a0x-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [2707104.269664] machine systemd[1]: Started D-Bus System Message Bus. machine # [2707104.270011] machine systemd[1]: Startup finished in 2.339s. machine # [2707104.276488] machine dbus-broker-launch[318]: Ready router # [2707104.996193] router systemd-networkd[69]: eth1: Gained IPv6LL router # [2707105.204580] router nginx-pre-start[117]: nginx: the configuration file /nix/store/c6kyqxh5q3bfawa27n0rqih6f6fa1paj-nginx.conf syntax is ok router # [2707105.204983] router nginx-pre-start[117]: nginx: configuration file /nix/store/c6kyqxh5q3bfawa27n0rqih6f6fa1paj-nginx.conf test is successful router # [2707105.211166] router systemd[1]: Started Nginx Web Server. router # [2707105.258959] router systemd-logind[106]: New seat seat0. router # [2707105.259187] router systemd[1]: Started User Login Management. router # [2707105.261189] router systemd[1]: Starting linger-users.service... router # [2707105.276235] router systemd[1]: linger-users.service: Deactivated successfully. router # [2707105.276615] router systemd[1]: Finished linger-users.service. router # [2707105.277448] router systemd[1]: Reached target Multi-User System. router # [2707105.277805] router systemd[1]: Startup finished in 3.328s. router: (finished: waiting for unit multi-user.target, in 4.15 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 machine: (finished: waiting for unit nginx.service, in 0.01 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.04 seconds) Router IPv4: 192.168.1.2 Router IPv6: 2001:db8:1::2 machine: must succeed: systemctl restart firewall machine # [2707105.729604] machine systemd[1]: Stopping Firewall... machine # [2707106.210591] machine systemd[1]: firewall.service: Deactivated successfully. machine # [2707106.210819] machine systemd[1]: Stopped Firewall. machine # [2707106.212492] machine systemd[1]: Starting Firewall... machine: (finished: must succeed: systemctl restart firewall, in 1.54 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.03 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.04 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 # [2707107.257357] machine systemd[1]: Finished Firewall. machine # [2707107.298423] machine runuser[475]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [2707107.306591] machine runuser[475]: pam_unix(runuser:session): session closed for user alice machine # [2707107.333730] machine runuser[477]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [2707107.345017] machine runuser[477]: pam_unix(runuser:session): session closed for user alice machine # [2707107.355826] machine runuser[479]: pam_unix(runuser:session): session opened for user alice(uid=1001) by (uid=0) machine # [2707107.366221] machine runuser[479]: pam_unix(runuser:session): session closed for user alice machine # [2707107.390984] machine runuser[481]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [2707107.405280] machine runuser[481]: pam_unix(runuser:session): session closed for user bob machine # [2707107.414551] machine runuser[484]: pam_unix(runuser:session): session opened for user bob(uid=1002) by (uid=0) machine # [2707107.425091] machine runuser[484]: pam_unix(runuser:session): session closed for user bob machine # [2707107.436033] 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.03 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.01 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: 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.16 seconds) test script finished in 7.25s cleanup kill NspawnMachine (pid 52) machine # [2707108.449908] machine runuser[487]: 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.43 seconds)