don't know how to build these paths: /nix/store/b9pxx32ypp3sav1wq1731qx8vdyd1wq2-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/sxqa9dycm2dg2di8lqryg725v03wr3lv-system-path.drv' on nix-store.geninf.io:50051 system-path> build-x86-01: building sxqa9dycm2dg2di8lqryg725v03wr3lv-system-path.drv building '/nix/store/pdabqaz8nrj9xdlfh9f1h23hgj1mlfy6-system-path.drv' on nix-store.geninf.io:50051 system-path> gi-build-x86-02: building pdabqaz8nrj9xdlfh9f1h23hgj1mlfy6-system-path.drv system-path> structuredAttrs is enabled system-path> created 1752 symlinks in user environment system-path> structuredAttrs is enabled system-path> created 1660 symlinks in user environment building '/nix/store/gg4618y1b42gvyg7df8n1cqfqzswy4j8-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build-x86-01: building gg4618y1b42gvyg7df8n1cqfqzswy4j8-dbus-1.drv building '/nix/store/402hv8fymkk5iinsd8bs2838aibfyrkj-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> gi-build-x86-02: building 402hv8fymkk5iinsd8bs2838aibfyrkj-dbus-1.drv building '/nix/store/4iwvvgabw30w5qfvgwrgl1i76fc26j1g-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build-x86-01: building 4iwvvgabw30w5qfvgwrgl1i76fc26j1g-X-Restart-Triggers-dbus-broker.drv building '/nix/store/ipz42swmx9anf0bw00h657r6ffa1v7i7-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> gi-build-x86-02: building ipz42swmx9anf0bw00h657r6ffa1v7i7-X-Restart-Triggers-dbus-broker.drv building '/nix/store/c7569s371m5bzqa95nsb87llqxdyxpcz-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building c7569s371m5bzqa95nsb87llqxdyxpcz-unit-dbus-broker.service.drv building '/nix/store/0pxkr1qv89ip9817k474dlnp93k5cr95-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building 0pxkr1qv89ip9817k474dlnp93k5cr95-unit-dbus-broker.service.drv building '/nix/store/8714j3mhivqpvffmja6q0v0nzp101gk8-system-units.drv' on nix-store.geninf.io:50051 system-units> build-x86-01: building 8714j3mhivqpvffmja6q0v0nzp101gk8-system-units.drv building '/nix/store/qljlvigh3kb6zi37mni8jmfmgxzbzdxf-user-units.drv' on nix-store.geninf.io:50051 user-units> build-x86-01: building qljlvigh3kb6zi37mni8jmfmgxzbzdxf-user-units.drv building '/nix/store/26qn678ilv67vipnbgi5crv9vl4l8abc-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> gi-build-x86-02: building 26qn678ilv67vipnbgi5crv9vl4l8abc-unit-dbus-broker.service.drv building '/nix/store/djf22qn80crai75nqyq26vgqqy1v7j4q-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> gi-build-x86-02: building djf22qn80crai75nqyq26vgqqy1v7j4q-unit-dbus-broker.service.drv building '/nix/store/z2yhzwk35nbxiyzy3nw3bi2apb5qwfqk-etc.drv' on nix-store.geninf.io:50051 etc> build-x86-01: building z2yhzwk35nbxiyzy3nw3bi2apb5qwfqk-etc.drv building '/nix/store/rdxamsrglz8cx297lqanrda7ijp35hgy-system-units.drv' on nix-store.geninf.io:50051 system-units> gi-build-x86-02: building rdxamsrglz8cx297lqanrda7ijp35hgy-system-units.drv building '/nix/store/q6ff51rxig63g161jya44xsvpvw9xkdd-user-units.drv' on nix-store.geninf.io:50051 user-units> gi-build-x86-02: building q6ff51rxig63g161jya44xsvpvw9xkdd-user-units.drv building '/nix/store/v450h9d4a1h4nh60n67p2ri9vdkqjj8h-activate.drv' on nix-store.geninf.io:50051 activate> build-x86-01: building v450h9d4a1h4nh60n67p2ri9vdkqjj8h-activate.drv building '/nix/store/dzbn74hnpwbg5nmkmmxfxvbjbmwb3fh4-etc.drv' on nix-store.geninf.io:50051 etc> gi-build-x86-02: building dzbn74hnpwbg5nmkmmxfxvbjbmwb3fh4-etc.drv building '/nix/store/d6hfrp2scikin2j8nddha37j093hfsxi-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> build-x86-01: building d6hfrp2scikin2j8nddha37j093hfsxi-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/86zjka8gzjp6qdringzqsm138ly6d96s-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build-x86-01: building 86zjka8gzjp6qdringzqsm138ly6d96s-closure-info.drv building '/nix/store/qh849p1yfc91xcqnzca0dv9kcx9mfqgw-activate.drv' on nix-store.geninf.io:50051 activate> gi-build-x86-02: building qh849p1yfc91xcqnzca0dv9kcx9mfqgw-activate.drv closure-info> structuredAttrs is enabled building '/nix/store/svhj6asq044736w1hq6nq7j4745k10hh-nixos-system-router-test.drv' on nix-store.geninf.io:50051 nixos-system-router-test> gi-build-x86-02: building svhj6asq044736w1hq6nq7j4745k10hh-nixos-system-router-test.drv nixos-system-router-test> structuredAttrs is enabled building '/nix/store/pw7f03cnr0zci3da3ybln21s7zd9y28i-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build-x86-01: building pw7f03cnr0zci3da3ybln21s7zd9y28i-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/v172h8bclis2qmhpk88grf47wn2f75ym-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> build-x86-01: building v172h8bclis2qmhpk88grf47wn2f75ym-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/b9pxx32ypp3sav1wq1731qx8vdyd1wq2-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> build-x86-01: building b9pxx32ypp3sav1wq1731qx8vdyd1wq2-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 router on /build/tmplfhqwwmm/router. container-test-run-user-firewall-iptables> ░ Spawning container machine on /build/tmplfhqwwmm/machine. 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/y54h2kp5galbli8liwk3bfkh063zsfzn-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 f5a94249-8aea-4555-a531-74269ef24e28' container-test-run-user-firewall-iptables> Running as unit: run-p346-i958390.service; invocation ID: 6a55e80f268c40f3ad209afcef17649e 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.*f5a94249-8aea-4555-a531-74269ef24e28') --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 f5a94249-8aea-4555-a531-74269ef24e28 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/60cknvg3jqb378xw5gnrh07i5pwv53q7-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 c458a3ab-82ab-44a3-8bb6-cb9622fb7fdf' container-test-run-user-firewall-iptables> Running as unit: run-p209-i958397.service; invocation ID: 55ca9ba10543470598f147ca47527445 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.*c458a3ab-82ab-44a3-8bb6-cb9622fb7fdf') --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 c458a3ab-82ab-44a3-8bb6-cb9622fb7fdf 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.