don't know how to build these paths: /nix/store/z0r3hgvi15h7hgvd9y3by3p1vm9170bl-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/4n5v2bx1r5f9m8qaaf59jhvjaxa9pzkl-system-path.drv' on nix-store.geninf.io:50051 system-path> gi-build-x86-02: building 4n5v2bx1r5f9m8qaaf59jhvjaxa9pzkl-system-path.drv building '/nix/store/xbqq7wrra684g8p191j2cy19923n74qx-system-path.drv' on nix-store.geninf.io:50051 system-path> build-x86-01: building xbqq7wrra684g8p191j2cy19923n74qx-system-path.drv system-path> structuredAttrs is enabled system-path> structuredAttrs is enabled system-path> created 1752 symlinks in user environment system-path> created 1660 symlinks in user environment building '/nix/store/l1r9vhxbrdfwqflp62kj8xd1yimyqrv9-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> gi-build-x86-02: building l1r9vhxbrdfwqflp62kj8xd1yimyqrv9-dbus-1.drv building '/nix/store/qw4ca1zcgw0kw5pjcz1ybcykk2zxdcgf-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build-x86-01: building qw4ca1zcgw0kw5pjcz1ybcykk2zxdcgf-dbus-1.drv building '/nix/store/l19riwrb8zak5g5dlg39ircc42336h1i-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> gi-build-x86-02: building l19riwrb8zak5g5dlg39ircc42336h1i-X-Restart-Triggers-dbus-broker.drv building '/nix/store/xi0fs75h6bsj0sgmvlzsd3c2f4i3qafv-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build-x86-01: building xi0fs75h6bsj0sgmvlzsd3c2f4i3qafv-X-Restart-Triggers-dbus-broker.drv building '/nix/store/cyiqmyfgj06w5pq53lkbv4zblz2lbnr4-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> gi-build-x86-02: building cyiqmyfgj06w5pq53lkbv4zblz2lbnr4-unit-dbus-broker.service.drv building '/nix/store/8q9iwh02wqrciq0n3j0n6ysxin6wb5w7-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building 8q9iwh02wqrciq0n3j0n6ysxin6wb5w7-unit-dbus-broker.service.drv building '/nix/store/yjqxiipdvq5zx5r34gy582656crxqa55-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building yjqxiipdvq5zx5r34gy582656crxqa55-unit-dbus-broker.service.drv building '/nix/store/izff1dv8alj7lf2li40vgw2mrmjxc2mr-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building izff1dv8alj7lf2li40vgw2mrmjxc2mr-unit-dbus-broker.service.drv building '/nix/store/0n0g6n86x9bs3ssplral6hmdng8r06r4-user-units.drv' on nix-store.geninf.io:50051 user-units> gi-build-x86-02: building 0n0g6n86x9bs3ssplral6hmdng8r06r4-user-units.drv building '/nix/store/g1jj215v07rf2hv33gm5g90ii0lcfgrr-system-units.drv' on nix-store.geninf.io:50051 system-units> build-x86-01: building g1jj215v07rf2hv33gm5g90ii0lcfgrr-system-units.drv building '/nix/store/qdpym83222jsfgzq7hnack1gz43n850c-system-units.drv' on nix-store.geninf.io:50051 system-units> build-x86-01: building qdpym83222jsfgzq7hnack1gz43n850c-system-units.drv building '/nix/store/nbz8c8g06dxx2968g5g21s6sv5qdwq1a-user-units.drv' on nix-store.geninf.io:50051 user-units> gi-build-x86-02: building nbz8c8g06dxx2968g5g21s6sv5qdwq1a-user-units.drv building '/nix/store/kj5qik95a6qlbdvibjrrr7jy7z9y3np6-etc.drv' on nix-store.geninf.io:50051 etc> gi-build-x86-02: building kj5qik95a6qlbdvibjrrr7jy7z9y3np6-etc.drv building '/nix/store/3rk3fmr04kwn37gql6kfcq8xynyfkfc3-etc.drv' on nix-store.geninf.io:50051 etc> build-x86-01: building 3rk3fmr04kwn37gql6kfcq8xynyfkfc3-etc.drv building '/nix/store/d5ghr4gr2q3l3pijdznz1n0h2wx5xj8i-activate.drv' on nix-store.geninf.io:50051 activate> gi-build-x86-02: building d5ghr4gr2q3l3pijdznz1n0h2wx5xj8i-activate.drv building '/nix/store/60278hhp1q0mryyanhf0gniqnqd1pzdn-activate.drv' on nix-store.geninf.io:50051 activate> build-x86-01: building 60278hhp1q0mryyanhf0gniqnqd1pzdn-activate.drv building '/nix/store/mk4m8vabyz61xc33bf6sj54l39llngpg-nixos-system-router-test.drv' on nix-store.geninf.io:50051 nixos-system-router-test> build-x86-01: building mk4m8vabyz61xc33bf6sj54l39llngpg-nixos-system-router-test.drv nixos-system-router-test> structuredAttrs is enabled building '/nix/store/ljchj2lxdhvxk6i1zhnkxq4m4pgba0i7-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> gi-build-x86-02: building ljchj2lxdhvxk6i1zhnkxq4m4pgba0i7-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/k23arcbvyadjfwzmka3mqs89kafwjya2-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build-x86-01: building k23arcbvyadjfwzmka3mqs89kafwjya2-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/lvh8z5li4m96fpm4va2l5z1a1rhlbq9q-closure-info.drv' on nix-store.geninf.io:50051 closure-info> gi-build-x86-02: building lvh8z5li4m96fpm4va2l5z1a1rhlbq9q-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/32wjvyspxrv7dnj4b8fsllrmwhxj4zmv-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> build-x86-01: building 32wjvyspxrv7dnj4b8fsllrmwhxj4zmv-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/z0r3hgvi15h7hgvd9y3by3p1vm9170bl-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> build-x86-01: building z0r3hgvi15h7hgvd9y3by3p1vm9170bl-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> container-test-run-user-firewall-iptables> 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/qg20wpg7lzjdmqfsm8578ch494jdz11z-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.4 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/833invqvsk7anqnqrki5hqncrcllj825-coreutils-9.11/bin/sleep 999999999 && echo 8d8ef464-a7f8-4a26-b691-6b442f0d63b5' container-test-run-user-firewall-iptables> Running as unit: run-p346-i20039602.service; invocation ID: b4a5a0a49d944ad28793a7ef3ca7cc52 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.*8d8ef464-a7f8-4a26-b691-6b442f0d63b5') --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/9r02ykx9y35lf4gk6gc30gnag1y8ncp7-python3-3.13.15/bin/python3.13 /nix/store/w4yw138a3hzpbihyfshgdsp2lydn6dy1-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 8d8ef464-a7f8-4a26-b691-6b442f0d63b5 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/yx83cr3zkw5zkh54jjq1nzlnb3gxc6ar-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.4 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/833invqvsk7anqnqrki5hqncrcllj825-coreutils-9.11/bin/sleep 999999999 && echo 4348686f-03cd-493a-b03e-82cd8a1262bb' container-test-run-user-firewall-iptables> Running as unit: run-p209-i20039605.service; invocation ID: ef25e633670a4a58a16351289a5d9976 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.*4348686f-03cd-493a-b03e-82cd8a1262bb') --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/9r02ykx9y35lf4gk6gc30gnag1y8ncp7-python3-3.13.15/bin/python3.13 /nix/store/w4yw138a3hzpbihyfshgdsp2lydn6dy1-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 4348686f-03cd-493a-b03e-82cd8a1262bb 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-test-run-user-firewall-iptables>