don't know how to build these paths: /nix/store/x916f2hdx5jgpy76cri4rawyc1v5lysv-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/0q5b70slmv1ymzfg6x7cw04910apbkkz-system-path.drv' on nix-store.geninf.io:50051 system-path> build-x86-01: building 0q5b70slmv1ymzfg6x7cw04910apbkkz-system-path.drv building '/nix/store/4whx6rsxjcm6cai1vh14d5a0ar258zrg-system-path.drv' on nix-store.geninf.io:50051 system-path> build-x86-01: building 4whx6rsxjcm6cai1vh14d5a0ar258zrg-system-path.drv system-path> structuredAttrs is enabled system-path> structuredAttrs is enabled system-path> created 1660 symlinks in user environment system-path> created 1752 symlinks in user environment building '/nix/store/nbfxc5lcrr676pz2z70nhvdgxh1h1mr0-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> attached to the build already running on this worker dbus-1> build-x86-01: building nbfxc5lcrr676pz2z70nhvdgxh1h1mr0-dbus-1.drv building '/nix/store/ygqjvrbiqz39ddqr4mjriv4fpkkcj04j-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build-x86-01: building ygqjvrbiqz39ddqr4mjriv4fpkkcj04j-dbus-1.drv building '/nix/store/d7js80anrcnkvpbfmajhfprc0hbcndgz-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build-x86-01: building d7js80anrcnkvpbfmajhfprc0hbcndgz-X-Restart-Triggers-dbus-broker.drv building '/nix/store/2lvam1d02zah8rp76qzg756yckij2b54-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build-x86-01: building 2lvam1d02zah8rp76qzg756yckij2b54-X-Restart-Triggers-dbus-broker.drv building '/nix/store/0jpwfy12lc2ypn07axq6f1xcaxn457fg-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building 0jpwfy12lc2ypn07axq6f1xcaxn457fg-unit-dbus-broker.service.drv building '/nix/store/b9p3vq1kw8qw2vcc394y53swrp2r815l-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building b9p3vq1kw8qw2vcc394y53swrp2r815l-unit-dbus-broker.service.drv building '/nix/store/zqbw83vc925b7j7v6kn44a4al2awrnhy-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building zqbw83vc925b7j7v6kn44a4al2awrnhy-unit-dbus-broker.service.drv building '/nix/store/igpl3w95yx191m4f3hawp99v3dxm352z-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> gi-build-x86-02: building igpl3w95yx191m4f3hawp99v3dxm352z-unit-dbus-broker.service.drv building '/nix/store/5ya50lfnhzgib0l5x5rsa8slngri861n-user-units.drv' on nix-store.geninf.io:50051 user-units> attached to the build already running on this worker user-units> build-x86-01: building 5ya50lfnhzgib0l5x5rsa8slngri861n-user-units.drv building '/nix/store/408w3p6xc5w2yxfz8dicmxyrww22q20c-user-units.drv' on nix-store.geninf.io:50051 user-units> build-x86-01: building 408w3p6xc5w2yxfz8dicmxyrww22q20c-user-units.drv building '/nix/store/qx2ipvs28bqw59n8xqzy6cn38rnwf310-system-units.drv' on nix-store.geninf.io:50051 system-units> gi-build-x86-02: building qx2ipvs28bqw59n8xqzy6cn38rnwf310-system-units.drv building '/nix/store/03wf80y8ygvwfzgrbrmxvsm7srdcl5hl-etc.drv' on nix-store.geninf.io:50051 etc> attached to the build already running on this worker etc> gi-build-x86-02: building 03wf80y8ygvwfzgrbrmxvsm7srdcl5hl-etc.drv building '/nix/store/i23c9080pfbiflh7nmnr5a872pjfxr66-system-units.drv' on nix-store.geninf.io:50051 system-units> gi-build-x86-02: building i23c9080pfbiflh7nmnr5a872pjfxr66-system-units.drv building '/nix/store/ais484k6mfycmxdjlq74pjyjwf5gh3kk-activate.drv' on nix-store.geninf.io:50051 activate> gi-build-x86-02: building ais484k6mfycmxdjlq74pjyjwf5gh3kk-activate.drv building '/nix/store/14304ij4cixj515fvzllkkxi62pzqqsd-etc.drv' on nix-store.geninf.io:50051 etc> build-x86-01: building 14304ij4cixj515fvzllkkxi62pzqqsd-etc.drv building '/nix/store/fc296zmiwrlvb589irgag5c4ghsqg9k8-nixos-system-router-test.drv' on nix-store.geninf.io:50051 nixos-system-router-test> gi-build-x86-02: building fc296zmiwrlvb589irgag5c4ghsqg9k8-nixos-system-router-test.drv nixos-system-router-test> structuredAttrs is enabled building '/nix/store/ydvx80kflnsql3zfsnk1pwyk612awrm9-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build-x86-01: building ydvx80kflnsql3zfsnk1pwyk612awrm9-closure-info.drv building '/nix/store/cgv7z3qj6ncrkxqj8pgrkckpx6akwsn6-activate.drv' on nix-store.geninf.io:50051 activate> build-x86-01: building cgv7z3qj6ncrkxqj8pgrkckpx6akwsn6-activate.drv closure-info> structuredAttrs is enabled building '/nix/store/iwjnffq4f31xj10ldyd1gizcif2r7cm3-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> build-x86-01: building iwjnffq4f31xj10ldyd1gizcif2r7cm3-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/m940sjhzyifzn65hy20kd5lmfd4k3akk-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build-x86-01: building m940sjhzyifzn65hy20kd5lmfd4k3akk-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/mj7a1camsvq2vb8wv2jrwv343kysby4c-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> build-x86-01: building mj7a1camsvq2vb8wv2jrwv343kysby4c-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/x916f2hdx5jgpy76cri4rawyc1v5lysv-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> build-x86-01: building x916f2hdx5jgpy76cri4rawyc1v5lysv-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/tmp1rwekecd/machine. container-test-run-user-firewall-iptables> ░ Spawning container router on /build/tmp1rwekecd/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/rgcj9v9ybwk99jbxxqr6vvlz3bywcwjs-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@if4: 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 x86-64. 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 (x86_64) - console >>> container-test-run-user-firewall-iptables> + systemd-run /bin/sh -c '/nix/store/kwc34h21my8mf7xbqm9gxs1xfx07xb4i-coreutils-9.11/bin/sleep 999999999 && echo 31e36f95-cfbe-4f14-aecd-175768d43bc1' container-test-run-user-firewall-iptables> Running as unit: run-p346-i17937583.service; invocation ID: 4577c5e397c147f99958cf068d593aa0 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.*31e36f95-cfbe-4f14-aecd-175768d43bc1') --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/kp6p38x6zb21n7gdlnp9nsm2aagq7sg2-python3-3.13.17/bin/python3.13 /nix/store/cmrhqm55gkf0czr4j8m7cbrnphk3b4db-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 31e36f95-cfbe-4f14-aecd-175768d43bc1 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/sf1655c5wwqkvg37npdc4hgminfn6lz2-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@if3: 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 x86-64. 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 (x86_64) - console >>> container-test-run-user-firewall-iptables> + systemd-run /bin/sh -c '/nix/store/kwc34h21my8mf7xbqm9gxs1xfx07xb4i-coreutils-9.11/bin/sleep 999999999 && echo 5fe10450-a68a-4f86-98dd-e15c65fc095e' container-test-run-user-firewall-iptables> Running as unit: run-p209-i17937600.service; invocation ID: f6a1fdda8ba6476190a48183913be1b2 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.*5fe10450-a68a-4f86-98dd-e15c65fc095e') --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/kp6p38x6zb21n7gdlnp9nsm2aagq7sg2-python3-3.13.17/bin/python3.13 /nix/store/cmrhqm55gkf0czr4j8m7cbrnphk3b4db-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 5fe10450-a68a-4f86-98dd-e15c65fc095e 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.01 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.00 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.