additionally exposed symbols: machine, router, start_all, machines, driver, Machine, wait_for_signal Starting machine Starting router <<< NixOS Stage 2 >>> booting system configuration /nix/store/awhn8mwn175d0nk64r54ah073a3b3kha-nixos-system-machine-test running activation script... setting up /etc... 2: host0@if3: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 0e:74:26:22:81:c2 brd ff:ff:ff:ff:ff:ff link-netnsid 0 starting systemd... systemd 261.1 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE) Detected virtualization systemd-nspawn. Detected architecture arm64. Detected first boot. Initializing machine ID from container UUID. Applying preset policy. Populated /etc with preset unit settings. Queued start job for default target Multi-User System. <<< Welcome to NixOS test (aarch64) - console >>> + systemd-run /bin/sh -c '/nix/store/p79fmimbb698sv4c135kbdwlhjcqpd3p-coreutils-9.11/bin/sleep 999999999 && echo 81654400-5667-4320-9fc3-9aa00f5efa25' Running as unit: run-p226-i82422042.service; invocation ID: e368d8c25df643b29750be03164f065c To attach to container machine run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*81654400-5667-4320-9fc3-9aa00f5efa25') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14 /nix/store/fz2xjd9j3lyn06n25cxv0zl74vhk4f32-test-driver-0.0.1/lib/python3.14/site-packages/test_driver/inject_network.py 81654400-5667-4320-9fc3-9aa00f5efa25 <<< NixOS Stage 2 >>> booting system configuration /nix/store/aa9waacy0p3vvzdzpb99dyhzx9ydcdw9-nixos-system-router-test running activation script... setting up /etc... 2: host0@if4: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether a6:24:31:fe:b9:6d brd ff:ff:ff:ff:ff:ff link-netnsid 0 starting systemd... systemd 261.1 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE) Detected virtualization systemd-nspawn. Detected architecture arm64. Detected first boot. Initializing machine ID from container UUID. Applying preset policy. Populated /etc with preset unit settings. Queued start job for default target Multi-User System. <<< Welcome to NixOS test (aarch64) - console >>> + systemd-run /bin/sh -c '/nix/store/p79fmimbb698sv4c135kbdwlhjcqpd3p-coreutils-9.11/bin/sleep 999999999 && echo 6e38da47-9e91-42e4-9a31-f6adbf3627a8' Running as unit: run-p209-i82422080.service; invocation ID: 852bd01cab6144b3b33240a2bff6933b To attach to container router run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*6e38da47-9e91-42e4-9a31-f6adbf3627a8') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14 /nix/store/fz2xjd9j3lyn06n25cxv0zl74vhk4f32-test-driver-0.0.1/lib/python3.14/site-packages/test_driver/inject_network.py 6e38da47-9e91-42e4-9a31-f6adbf3627a8 + systemctl --no-pager show multi-user.target + systemctl --no-pager show nginx.service + systemctl --no-pager show multi-user.target + systemctl --no-pager show nginx.service + ip -4 addr show eth1 + grep -oP '(?<=inet\s)\d+(\.\d+){3}' + ip -6 addr show eth1 + grep -oP '(?<=inet6\s)[0-9a-f:]+' + grep -v '^fe80' + head -1 Router IPv4: 192.168.1.2 Router IPv6: 2001:db8:1::2 + systemctl restart nftables + systemctl --no-pager show nftables.service + nft list table inet user-firewall 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: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080 + runuser -u alice -- curl -s http://127.0.0.1:8080 + runuser -u alice -- curl -s http://127.0.0.1:8080 (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 1.04 seconds) + runuser -u alice -- curl -s http://192.168.1.2 + runuser -u alice -- curl -s 'http://[2001:db8:1::2]' + runuser -u bob -- curl -s http://127.0.0.1:8080 + runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 + echo EXIT_CODE=7 + runuser -u bob -- curl -s --connect-timeout 2 'http://[2001:db8:1::2]' + echo EXIT_CODE=7 + nft list table inet user-firewall + systemctl --no-pager show setup-wg0-interface.service + systemctl --no-pager show nginx.service machine: waiting for success: nc -z 10.100.0.2 8081 + nc -z 10.100.0.2 8081 Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded! (finished: waiting for success: nc -z 10.100.0.2 8081, in 0.01 seconds) + ip link show wg0 + ip addr show wg0 + runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/ + runuser -u alice -- curl -s --interface wg0 'http://[fd00::2]:8081/' + runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/ + runuser -u bob -- curl -s --interface wg0 'http://[fd00::2]:8081/' + nft list table inet user-firewall + grep -E 'oifname.*wg' oifname "wg*" counter packets 1 bytes 56 accept comment "allow wg*"