don't know how to build these paths: /nix/store/sbwyy4v220vm1mq5k4hgn25r8gz9j6py-container-test-run-user-firewall-iptables.drv warning: ignoring the client-specified setting 'store', because it is a restricted setting and you are not a trusted user building '/nix/store/sj74mxqn6av92jravcv5c73bfwyzd91h-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build01: building sj74mxqn6av92jravcv5c73bfwyzd91h-closure-info.drv building '/nix/store/4bb90lj1j95xhp42gwx3mrcwq674zq4a-system-path.drv' on nix-store.geninf.io:50051 system-path> build01: building 4bb90lj1j95xhp42gwx3mrcwq674zq4a-system-path.drv system-path> structuredAttrs is enabled system-path> created 1746 symlinks in user environment building '/nix/store/gp44gp4p8lxd9irpayn14irz4cp6jm3p-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build01: building gp44gp4p8lxd9irpayn14irz4cp6jm3p-dbus-1.drv closure-info> structuredAttrs is enabled building '/nix/store/4fdv0031bajdqv9yxmw9r5hlyv89k1f0-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build01: building 4fdv0031bajdqv9yxmw9r5hlyv89k1f0-X-Restart-Triggers-dbus-broker.drv building '/nix/store/scdb6mnybfa1ds4yn48d79q72wc9k9kx-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building scdb6mnybfa1ds4yn48d79q72wc9k9kx-unit-dbus-broker.service.drv building '/nix/store/x07a7mddv66d0p4mjlw6gr6sajhmzikw-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building x07a7mddv66d0p4mjlw6gr6sajhmzikw-unit-dbus-broker.service.drv building '/nix/store/kdmp5giy060jsw2nmnggmwnl6bv4lk5c-user-units.drv' on nix-store.geninf.io:50051 user-units> build01: building kdmp5giy060jsw2nmnggmwnl6bv4lk5c-user-units.drv building '/nix/store/4v1c21dz438gqqzck9avvcxx2hmwh1pv-system-units.drv' on nix-store.geninf.io:50051 system-units> build01: building 4v1c21dz438gqqzck9avvcxx2hmwh1pv-system-units.drv building '/nix/store/50p7c5bfaskgr9xjbn4h8rv0r4zd05z1-etc.drv' on nix-store.geninf.io:50051 etc> build01: building 50p7c5bfaskgr9xjbn4h8rv0r4zd05z1-etc.drv building '/nix/store/abx5w6hf3rfyq5cyp7fxwbj6yk9a5mb2-activate.drv' on nix-store.geninf.io:50051 activate> build01: building abx5w6hf3rfyq5cyp7fxwbj6yk9a5mb2-activate.drv building '/nix/store/5l0d4qxbv3q1jjnfzr6nlbr5wbhpzx0z-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> build01: building 5l0d4qxbv3q1jjnfzr6nlbr5wbhpzx0z-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/ckrl9j3ppvf492z6cdvpnxsba8p40m4w-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build01: building ckrl9j3ppvf492z6cdvpnxsba8p40m4w-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/47n8s79q2kandqrrg6kr6r8rrq47l1vx-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> build01: building 47n8s79q2kandqrrg6kr6r8rrq47l1vx-nixos-test-driver-user-firewall-iptables.drv nixos-test-driver-user-firewall-iptables> Running type check (enable/disable: config.skipTypeCheck) nixos-test-driver-user-firewall-iptables> See https://nixos.org/manual/nixos/stable/#test-opt-skipTypeCheck nixos-test-driver-user-firewall-iptables> Success: no issues found in 1 source file building '/nix/store/sbwyy4v220vm1mq5k4hgn25r8gz9j6py-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> build01: building sbwyy4v220vm1mq5k4hgn25r8gz9j6py-container-test-run-user-firewall-iptables.drv container-test-run-user-firewall-iptables> additionally exposed symbols: container-test-run-user-firewall-iptables> machine, router, container-test-run-user-firewall-iptables> start_all, machines, driver, Machine, wait_for_signal container-test-run-user-firewall-iptables> Starting machine container-test-run-user-firewall-iptables> Starting router container-test-run-user-firewall-iptables> ░ Spawning container machine on /build/tmpyi7oi9sq/machine. container-test-run-user-firewall-iptables> ░ Spawning container router on /build/tmpyi7oi9sq/router. container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> <<< NixOS Stage 2 >>> container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> booting system configuration /nix/store/17h86q0sx215sly4sl85jb5kwrmimb3l-nixos-system-machine-test container-test-run-user-firewall-iptables> running activation script... container-test-run-user-firewall-iptables> setting up /etc... container-test-run-user-firewall-iptables> 2: host0@if3: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 container-test-run-user-firewall-iptables> link/ether 0e:74:26:22:81:c2 brd ff:ff:ff:ff:ff:ff link-netnsid 0 container-test-run-user-firewall-iptables> starting systemd... container-test-run-user-firewall-iptables> systemd 260.5 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) container-test-run-user-firewall-iptables> Detected virtualization systemd-nspawn. container-test-run-user-firewall-iptables> Detected architecture arm64. container-test-run-user-firewall-iptables> Detected first boot. container-test-run-user-firewall-iptables> Initializing machine ID from container UUID. container-test-run-user-firewall-iptables> Applying preset policy. container-test-run-user-firewall-iptables> Populated /etc with preset unit settings. container-test-run-user-firewall-iptables> Queued start job for default target Multi-User System. container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> <<< Welcome to NixOS test (aarch64) - console >>> container-test-run-user-firewall-iptables> + systemd-run /bin/sh -c '/nix/store/w4mj4sbn30r0niw5lprmgnld64l6m885-coreutils-9.11/bin/sleep 999999999 && echo 2bfba280-5b8f-47d3-ac82-7626fdc9e9d1' container-test-run-user-firewall-iptables> Running as unit: run-p344-i5295964.service; invocation ID: eff205936c5b4c67a411dc671bef9b8c container-test-run-user-firewall-iptables> To attach to container machine run on the same machine that runs the test: container-test-run-user-firewall-iptables> sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*2bfba280-5b8f-47d3-ac82-7626fdc9e9d1') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> To inject external network and continue test, run: container-test-run-user-firewall-iptables> sudo /nix/store/84azrswjm964yixv8kil846zcxm8mi20-python3-3.13.18/bin/python3.13 /nix/store/biv9v0183k8spmv3b53iijwjix06j84j-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 2bfba280-5b8f-47d3-ac82-7626fdc9e9d1 container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> <<< NixOS Stage 2 >>> container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> booting system configuration /nix/store/kc5lq4hw0pj4xn7lfqv3jxmax1ig11ah-nixos-system-router-test container-test-run-user-firewall-iptables> running activation script... container-test-run-user-firewall-iptables> setting up /etc... container-test-run-user-firewall-iptables> 2: host0@if4: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 container-test-run-user-firewall-iptables> link/ether a6:24:31:fe:b9:6d brd ff:ff:ff:ff:ff:ff link-netnsid 0 container-test-run-user-firewall-iptables> starting systemd... container-test-run-user-firewall-iptables> systemd 260.5 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) container-test-run-user-firewall-iptables> Detected virtualization systemd-nspawn. container-test-run-user-firewall-iptables> Detected architecture arm64. container-test-run-user-firewall-iptables> Detected first boot. container-test-run-user-firewall-iptables> Initializing machine ID from container UUID. container-test-run-user-firewall-iptables> Applying preset policy. container-test-run-user-firewall-iptables> Populated /etc with preset unit settings. container-test-run-user-firewall-iptables> Queued start job for default target Multi-User System. container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> <<< Welcome to NixOS test (aarch64) - console >>> container-test-run-user-firewall-iptables> + systemd-run /bin/sh -c '/nix/store/w4mj4sbn30r0niw5lprmgnld64l6m885-coreutils-9.11/bin/sleep 999999999 && echo c062b2ec-8c31-4e3b-8ce7-18c49c049da2' container-test-run-user-firewall-iptables> Running as unit: run-p209-i5295967.service; invocation ID: 92412e208b9f444793a2226146e978c9 container-test-run-user-firewall-iptables> To attach to container router run on the same machine that runs the test: container-test-run-user-firewall-iptables> sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*c062b2ec-8c31-4e3b-8ce7-18c49c049da2') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash container-test-run-user-firewall-iptables> container-test-run-user-firewall-iptables> To inject external network and continue test, run: container-test-run-user-firewall-iptables> sudo /nix/store/84azrswjm964yixv8kil846zcxm8mi20-python3-3.13.18/bin/python3.13 /nix/store/biv9v0183k8spmv3b53iijwjix06j84j-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py c062b2ec-8c31-4e3b-8ce7-18c49c049da2 container-test-run-user-firewall-iptables> + systemctl --no-pager show multi-user.target container-test-run-user-firewall-iptables> + systemctl --no-pager show nginx.service container-test-run-user-firewall-iptables> + systemctl --no-pager show multi-user.target container-test-run-user-firewall-iptables> + systemctl --no-pager show nginx.service container-test-run-user-firewall-iptables> + ip -4 addr show eth1 container-test-run-user-firewall-iptables> + grep -oP '(?<=inet\s)\d+(\.\d+){3}' container-test-run-user-firewall-iptables> + ip -6 addr show eth1 container-test-run-user-firewall-iptables> + grep -oP '(?<=inet6\s)[0-9a-f:]+' container-test-run-user-firewall-iptables> + grep -v '^fe80' container-test-run-user-firewall-iptables> + head -1 container-test-run-user-firewall-iptables> Router IPv4: 192.168.1.2 container-test-run-user-firewall-iptables> Router IPv6: 2001:db8:1::2 container-test-run-user-firewall-iptables> + systemctl restart firewall container-test-run-user-firewall-iptables> + systemctl --no-pager show firewall.service container-test-run-user-firewall-iptables> + iptables -L user-firewall-output container-test-run-user-firewall-iptables> Chain user-firewall-output (1 references) container-test-run-user-firewall-iptables> target prot opt source destination container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> REJECT all -- anywhere anywhere owner UID match bob reject-with icmp-port-unreachable container-test-run-user-firewall-iptables> RETURN all -- anywhere anywhere container-test-run-user-firewall-iptables> machine: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080 container-test-run-user-firewall-iptables> + runuser -u alice -- curl -s http://127.0.0.1:8080 container-test-run-user-firewall-iptables> (finished: waiting for success: runuser -u alice -- curl -s http://127.0.0.1:8080, in 0.02 seconds) container-test-run-user-firewall-iptables> + runuser -u alice -- curl -s http://192.168.1.2 container-test-run-user-firewall-iptables> + runuser -u alice -- curl -s 'http://[2001:db8:1::2]' container-test-run-user-firewall-iptables> + runuser -u bob -- curl -s http://127.0.0.1:8080 container-test-run-user-firewall-iptables> + runuser -u bob -- curl -s --connect-timeout 2 http://192.168.1.2 container-test-run-user-firewall-iptables> + echo EXIT_CODE=7 container-test-run-user-firewall-iptables> + runuser -u bob -- curl -s --connect-timeout 2 'http://[2001:db8:1::2]' container-test-run-user-firewall-iptables> + echo EXIT_CODE=7 container-test-run-user-firewall-iptables> + iptables -L user-firewall-output -n -v container-test-run-user-firewall-iptables> + ip6tables -L user-firewall-output -n -v container-test-run-user-firewall-iptables> + systemctl --no-pager show setup-wg0-interface.service container-test-run-user-firewall-iptables> + systemctl --no-pager show nginx.service container-test-run-user-firewall-iptables> machine: waiting for success: nc -z 10.100.0.2 8081 container-test-run-user-firewall-iptables> + nc -z 10.100.0.2 8081 container-test-run-user-firewall-iptables> Connection to 10.100.0.2 8081 port [tcp/sunproxyadmin] succeeded! container-test-run-user-firewall-iptables> (finished: waiting for success: nc -z 10.100.0.2 8081, in 0.01 seconds) container-test-run-user-firewall-iptables> + ip link show wg0 container-test-run-user-firewall-iptables> + ip addr show wg0 container-test-run-user-firewall-iptables> + runuser -u alice -- curl -s --interface wg0 http://10.100.0.2:8081/ container-test-run-user-firewall-iptables> + runuser -u alice -- curl -s --interface wg0 'http://[fd00::2]:8081/' container-test-run-user-firewall-iptables> + runuser -u bob -- curl -s --interface wg0 http://10.100.0.2:8081/ container-test-run-user-firewall-iptables> + runuser -u bob -- curl -s --interface wg0 'http://[fd00::2]:8081/' container-test-run-user-firewall-iptables> + iptables -L user-firewall-output -n -v container-test-run-user-firewall-iptables> + grep -E 'wg0|wg\+' container-test-run-user-firewall-iptables> 0 0 RETURN all -- * wg+ 0.0.0.0/0 0.0.0.0/0 container-test-run-user-firewall-iptables> Container machine terminated by signal KILL. container-test-run-user-firewall-iptables> Container router terminated by signal KILL.