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/ps42jk8nbbzhgnfyc44zrj5jh5gsm64h-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 260.2 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/wjm08iz4sdw5qgmx58dimv8ch7gbyyaj-coreutils-9.11/bin/sleep 999999999 && echo cffd0ddb-27a0-4a92-89be-2899e19fc67f' Running as unit: run-p225-i13574061.service; invocation ID: ce388d4bb5fe4825a62698e9eb81fb6f To attach to container machine run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*cffd0ddb-27a0-4a92-89be-2899e19fc67f') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/akbq19lqha5w5h9hcchn309znqm94pq0-python3-3.13.15/bin/python3.13 /nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py cffd0ddb-27a0-4a92-89be-2899e19fc67f <<< NixOS Stage 2 >>> booting system configuration /nix/store/wfng7qhp11s8nc590xjl66i3kly05ikq-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 260.2 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/wjm08iz4sdw5qgmx58dimv8ch7gbyyaj-coreutils-9.11/bin/sleep 999999999 && echo a96fc8a2-6313-4974-a403-5617de410ba3' Running as unit: run-p208-i13574194.service; invocation ID: a8d4f9508174400284b611692c18c075 To attach to container router run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*a96fc8a2-6313-4974-a403-5617de410ba3') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/akbq19lqha5w5h9hcchn309znqm94pq0-python3-3.13.15/bin/python3.13 /nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py a96fc8a2-6313-4974-a403-5617de410ba3 + 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}' + grep -oP '(?<=inet6\s)[0-9a-f:]+' + ip -6 addr show eth1 + 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 (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds) + runuser -u alice -- curl -s http://192.168.1.2 Traceback (most recent call last): File "/nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/bin/.nixos-test-driver-wrapped", line 9, in sys.exit(main()) ~~~~^^ File "/nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 764, in main driver.run_tests() ~~~~~~~~~~~~~~~~^^ File "/nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 700, in run_tests self.test_script() ~~~~~~~~~~~~~~~~^^ File "/nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 696, in test_script exec(self.testscript, self.test_symbols(), None) # noqa: S102 ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 22, in File "/nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 475, in succeed raise RuntimeError(msg) RuntimeError: Failed to run command runuser -u alice -- curl -s http://192.168.1.2 Exit code: 7 Stdout: