don't know how to build these paths: /nix/store/w4vjfqa62ggjw6kjk12hai7v26sffx8l-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/gabp9yw5fmi1q7przigvwr8nvq273gbv-system-path.drv' on nix-store.geninf.io:50051 system-path> build01: building gabp9yw5fmi1q7przigvwr8nvq273gbv-system-path.drv building '/nix/store/627m9bwggm0sx9gw4x78by4l17pllb39-system-path.drv' on nix-store.geninf.io:50051 system-path> build01: building 627m9bwggm0sx9gw4x78by4l17pllb39-system-path.drv system-path> structuredAttrs is enabled system-path> structuredAttrs is enabled system-path> created 1654 symlinks in user environment system-path> created 1746 symlinks in user environment building '/nix/store/yp2zqwxwi0x2rifm2j82smkvivcv63pg-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build01: building yp2zqwxwi0x2rifm2j82smkvivcv63pg-dbus-1.drv building '/nix/store/09096ywyw6a7c623hcddy18hhfd318bf-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build01: building 09096ywyw6a7c623hcddy18hhfd318bf-dbus-1.drv building '/nix/store/q6ns8d3l46s2jmh38fv1dwmi6fr813md-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build01: building q6ns8d3l46s2jmh38fv1dwmi6fr813md-X-Restart-Triggers-dbus-broker.drv building '/nix/store/dj69yjl24cnqdarnrjii1g5nfrhswnd9-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build01: building dj69yjl24cnqdarnrjii1g5nfrhswnd9-X-Restart-Triggers-dbus-broker.drv building '/nix/store/qicn0d4ps2r7gw9a22hajrva3nfpaql5-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building qicn0d4ps2r7gw9a22hajrva3nfpaql5-unit-dbus-broker.service.drv building '/nix/store/xrpak3q8pbxgiix7x1sgq20k5ihy4nfl-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building xrpak3q8pbxgiix7x1sgq20k5ihy4nfl-unit-dbus-broker.service.drv building '/nix/store/qjn7yzyj4c89yhw8x6dfjpir6y1jicmc-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building qjn7yzyj4c89yhw8x6dfjpir6y1jicmc-unit-dbus-broker.service.drv building '/nix/store/xyw4gn6q6y5wf9sznq5bffyzpkqzdczb-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building xyw4gn6q6y5wf9sznq5bffyzpkqzdczb-unit-dbus-broker.service.drv building '/nix/store/d3ybbj8vsh3hhxiwx98a3fnndxv8i3j9-system-units.drv' on nix-store.geninf.io:50051 system-units> build01: building d3ybbj8vsh3hhxiwx98a3fnndxv8i3j9-system-units.drv building '/nix/store/6ga151v3554y1jili4pqfp50y8b9q5c4-user-units.drv' on nix-store.geninf.io:50051 user-units> build01: building 6ga151v3554y1jili4pqfp50y8b9q5c4-user-units.drv building '/nix/store/lb4qw7nh90hgx9gmr3k2bsg2qwlxj0zd-user-units.drv' on nix-store.geninf.io:50051 user-units> build01: building lb4qw7nh90hgx9gmr3k2bsg2qwlxj0zd-user-units.drv building '/nix/store/gqa70kiih2dqai8l35pr801vs239f2j8-system-units.drv' on nix-store.geninf.io:50051 system-units> build01: building gqa70kiih2dqai8l35pr801vs239f2j8-system-units.drv building '/nix/store/0nhpms7kkpr2wpgsyjj3cdywjcyqfk9c-etc.drv' on nix-store.geninf.io:50051 etc> build01: building 0nhpms7kkpr2wpgsyjj3cdywjcyqfk9c-etc.drv building '/nix/store/xqb4pn9akya1dfl89yfaqpkz81585cim-etc.drv' on nix-store.geninf.io:50051 etc> build01: building xqb4pn9akya1dfl89yfaqpkz81585cim-etc.drv building '/nix/store/1irhnadzdyjqwjrpdsmqzmcri2q83k2k-activate.drv' on nix-store.geninf.io:50051 activate> build01: building 1irhnadzdyjqwjrpdsmqzmcri2q83k2k-activate.drv building '/nix/store/215ljp1kqzha9pi242f2qfkb2i9qd9sf-activate.drv' on nix-store.geninf.io:50051 activate> build01: building 215ljp1kqzha9pi242f2qfkb2i9qd9sf-activate.drv building '/nix/store/asm5iabvry0swpdwm3wiq2a7y6kxmwbh-nixos-system-router-test.drv' on nix-store.geninf.io:50051 nixos-system-router-test> build01: building asm5iabvry0swpdwm3wiq2a7y6kxmwbh-nixos-system-router-test.drv nixos-system-router-test> structuredAttrs is enabled building '/nix/store/fpas30xy50p0av278xz0dk2lgq2s8x9c-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build01: building fpas30xy50p0av278xz0dk2lgq2s8x9c-closure-info.drv building '/nix/store/dx4in4lpdj8pizqjp41qqlb0kw9gh3zh-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> build01: building dx4in4lpdj8pizqjp41qqlb0kw9gh3zh-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/c3alcni1p8dsx8x3zdm619ni9sl08yax-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build01: building c3alcni1p8dsx8x3zdm619ni9sl08yax-closure-info.drv closure-info> structuredAttrs is enabled closure-info> structuredAttrs is enabled building '/nix/store/x3vvlra5rwnyx870ilnwzdfny7d1cmv3-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> build01: building x3vvlra5rwnyx870ilnwzdfny7d1cmv3-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/w4vjfqa62ggjw6kjk12hai7v26sffx8l-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> build01: building w4vjfqa62ggjw6kjk12hai7v26sffx8l-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/tmp459ovmb4/machine. container-test-run-user-firewall-iptables> ░ Spawning container router on /build/tmp459ovmb4/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/7qdsm37kp38zhhk8jcp80fqkf11pyd02-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 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 ea5e7e61-48a9-40a8-86e1-04ec9818aa0d' container-test-run-user-firewall-iptables> Running as unit: run-p346-i68414437.service; invocation ID: 792bad599d934797b39a526b5d7224b2 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.*ea5e7e61-48a9-40a8-86e1-04ec9818aa0d') --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 ea5e7e61-48a9-40a8-86e1-04ec9818aa0d 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/j3bxrr2qaqk4hmfwldig80lx2pjrbbp3-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 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 4c9194b8-ad50-4c65-969a-74d20e214f41' container-test-run-user-firewall-iptables> Running as unit: run-p209-i68414445.service; invocation ID: 9c87ea0abc9541368051452e24cd0457 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.*4c9194b8-ad50-4c65-969a-74d20e214f41') --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 4c9194b8-ad50-4c65-969a-74d20e214f41 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.03 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.