don't know how to build these paths: /nix/store/jbbgr25cdwv21pi0brj52f5432s7llgf-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/wixfvgswm550ldz3r266hfqjhqmmd7jk-system-path.drv' on nix-store.geninf.io:50051 system-path> gi-build-x86-02: building wixfvgswm550ldz3r266hfqjhqmmd7jk-system-path.drv system-path> structuredAttrs is enabled system-path> created 1752 symlinks in user environment building '/nix/store/8s0gz1d8h729grmz0b2mglvy12pwdv9z-system-path.drv' on nix-store.geninf.io:50051 system-path> build-x86-01: building 8s0gz1d8h729grmz0b2mglvy12pwdv9z-system-path.drv system-path> structuredAttrs is enabled system-path> created 1660 symlinks in user environment building '/nix/store/mh9yfhmv2i0h18x0m20xp3qicgvh59i8-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> gi-build-x86-02: building mh9yfhmv2i0h18x0m20xp3qicgvh59i8-dbus-1.drv building '/nix/store/bsgc86m7v7rp0r5aksn06j27wr5daipy-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build-x86-01: building bsgc86m7v7rp0r5aksn06j27wr5daipy-dbus-1.drv building '/nix/store/rfr3bvf5rdrxazzm5jzwz6mc3msacqx6-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build-x86-01: building rfr3bvf5rdrxazzm5jzwz6mc3msacqx6-X-Restart-Triggers-dbus-broker.drv building '/nix/store/h8jnc25vv7mlfpjvww1xligybylg0kzi-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> gi-build-x86-02: building h8jnc25vv7mlfpjvww1xligybylg0kzi-X-Restart-Triggers-dbus-broker.drv building '/nix/store/yjn2059cxrcqvk1xqac7qaklp6rn6qm5-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> web01: building yjn2059cxrcqvk1xqac7qaklp6rn6qm5-unit-dbus-broker.service.drv building '/nix/store/viv8ak510ypz666cn45i1cbgsj14f029-user-units.drv' on nix-store.geninf.io:50051 user-units> web01: building viv8ak510ypz666cn45i1cbgsj14f029-user-units.drv building '/nix/store/li5k9h2vq4954spkly9nmwxp493gaz3j-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> gi-build-x86-02: building li5k9h2vq4954spkly9nmwxp493gaz3j-unit-dbus-broker.service.drv building '/nix/store/2w6q26ax7h28arvm5j32mf6l5jacynj5-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> gi-build-x86-02: building 2w6q26ax7h28arvm5j32mf6l5jacynj5-unit-dbus-broker.service.drv building '/nix/store/0a2hiv8s0gvnmhj4i90vnjb16wwqy2iv-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building 0a2hiv8s0gvnmhj4i90vnjb16wwqy2iv-unit-dbus-broker.service.drv building '/nix/store/x2g3zdkayz5nc7gxi83l7fxy1acahd9m-system-units.drv' on nix-store.geninf.io:50051 system-units> gi-build-x86-02: building x2g3zdkayz5nc7gxi83l7fxy1acahd9m-system-units.drv building '/nix/store/869xhqj5nr3l4a92scw8kba2gkc9m250-user-units.drv' on nix-store.geninf.io:50051 user-units> gi-build-x86-02: building 869xhqj5nr3l4a92scw8kba2gkc9m250-user-units.drv building '/nix/store/5b7mn93gmjdxqpa0ywz3ns1dpm0n8l6b-system-units.drv' on nix-store.geninf.io:50051 system-units> build-x86-01: building 5b7mn93gmjdxqpa0ywz3ns1dpm0n8l6b-system-units.drv building '/nix/store/yk9lr7jcqvvg68k8yb60073idd8i7r18-etc.drv' on nix-store.geninf.io:50051 etc> gi-build-x86-02: building yk9lr7jcqvvg68k8yb60073idd8i7r18-etc.drv building '/nix/store/fhngj7nvy51wafly3a5357vnfnbfl2xy-etc.drv' on nix-store.geninf.io:50051 etc> build-x86-01: building fhngj7nvy51wafly3a5357vnfnbfl2xy-etc.drv building '/nix/store/h0alf4n5bs74ivnk2lza461b3pk44jiw-activate.drv' on nix-store.geninf.io:50051 activate> gi-build-x86-02: building h0alf4n5bs74ivnk2lza461b3pk44jiw-activate.drv building '/nix/store/jrxwnfs7mgpqw16iqll2cas1bx09zygi-activate.drv' on nix-store.geninf.io:50051 activate> gi-build-x86-02: building jrxwnfs7mgpqw16iqll2cas1bx09zygi-activate.drv building '/nix/store/dhsa5fikvx27v61lvajfyvml1fav8lns-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> gi-build-x86-02: building dhsa5fikvx27v61lvajfyvml1fav8lns-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/9xkj8pjqmnq8lfw6awy6gj8xg3jyi1sj-nixos-system-router-test.drv' on nix-store.geninf.io:50051 nixos-system-router-test> gi-build-x86-02: building 9xkj8pjqmnq8lfw6awy6gj8xg3jyi1sj-nixos-system-router-test.drv nixos-system-router-test> structuredAttrs is enabled building '/nix/store/3l4cyxad0ds3s58fx1ckfwnkw78xiwfk-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build-x86-01: building 3l4cyxad0ds3s58fx1ckfwnkw78xiwfk-closure-info.drv building '/nix/store/5px7w1811n7vmn8n42crpqk0w7ssd8v5-closure-info.drv' on nix-store.geninf.io:50051 closure-info> gi-build-x86-02: building 5px7w1811n7vmn8n42crpqk0w7ssd8v5-closure-info.drv closure-info> structuredAttrs is enabled closure-info> structuredAttrs is enabled building '/nix/store/nqgl2rccs8n9r7qnird28bv5c9wslfnd-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> gi-build-x86-02: building nqgl2rccs8n9r7qnird28bv5c9wslfnd-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/jbbgr25cdwv21pi0brj52f5432s7llgf-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> build-x86-01: building jbbgr25cdwv21pi0brj52f5432s7llgf-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/p4b7x59c4awzcwh71q0w69n950j3dfpw-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/bhv6xyvqw6gjs3j488gi1z6wdv18bdpa-coreutils-9.11/bin/sleep 999999999 && echo b89dd95f-5218-4230-9981-c2f40930db9e' container-test-run-user-firewall-iptables> Running as unit: run-p346-i789674.service; invocation ID: 870833bc846c411382830983686bcbf2 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.*b89dd95f-5218-4230-9981-c2f40930db9e') --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/jy00n3jp5xj8s40n1fbldmkcr5n7avxc-python3-3.13.15/bin/python3.13 /nix/store/s2gv7ksn4gmzbcjmi1rklhiznvfz3r18-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py b89dd95f-5218-4230-9981-c2f40930db9e 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/r3wf734dm65lxaa7mq46yvia96sbpz65-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/bhv6xyvqw6gjs3j488gi1z6wdv18bdpa-coreutils-9.11/bin/sleep 999999999 && echo bd5ba00d-c8cb-47b3-9c8a-6102246b7c31' container-test-run-user-firewall-iptables> Running as unit: run-p209-i789677.service; invocation ID: 0c4df277ea8e493e8f83d3c32ed30601 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.*bd5ba00d-c8cb-47b3-9c8a-6102246b7c31') --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/jy00n3jp5xj8s40n1fbldmkcr5n7avxc-python3-3.13.15/bin/python3.13 /nix/store/s2gv7ksn4gmzbcjmi1rklhiznvfz3r18-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py bd5ba00d-c8cb-47b3-9c8a-6102246b7c31 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>