don't know how to build these paths: /nix/store/cb4jdqlpcymn8mbsq7nk8141v6vz6673-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/d7k9x1wfnv7mhyzwag5pjr2kd22zj7v0-system-path.drv' on nix-store.geninf.io:50051 system-path> build01: building d7k9x1wfnv7mhyzwag5pjr2kd22zj7v0-system-path.drv system-path> structuredAttrs is enabled system-path> created 1746 symlinks in user environment building '/nix/store/f0kzy0mhwq4983mfjxfrg68r82pwyyc3-system-path.drv' on nix-store.geninf.io:50051 system-path> build01: building f0kzy0mhwq4983mfjxfrg68r82pwyyc3-system-path.drv system-path> structuredAttrs is enabled system-path> created 1654 symlinks in user environment building '/nix/store/kmkwswpsgbf28hky3l67xl2my25vmsiq-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build01: building kmkwswpsgbf28hky3l67xl2my25vmsiq-dbus-1.drv building '/nix/store/c7bbam165bfc6pkpwklvk4i9sdkqfk8l-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build01: building c7bbam165bfc6pkpwklvk4i9sdkqfk8l-dbus-1.drv building '/nix/store/id7jib45x53pwpxpa5sa704s0ibygh3k-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build01: building id7jib45x53pwpxpa5sa704s0ibygh3k-X-Restart-Triggers-dbus-broker.drv building '/nix/store/1ckr2afk87j0qag1a4k01z9rfzcjmhyv-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> attached to the build already running on this worker X-Restart-Triggers-dbus-broker> build01: building 1ckr2afk87j0qag1a4k01z9rfzcjmhyv-X-Restart-Triggers-dbus-broker.drv building '/nix/store/m282x3iyk9cjhzivw1ms74ivhh82r4sv-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> attached to the build already running on this worker unit-dbus-broker.service> build01: building m282x3iyk9cjhzivw1ms74ivhh82r4sv-unit-dbus-broker.service.drv building '/nix/store/ry4z4y1dnlmk8jn21sm2vclinplz32dx-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> attached to the build already running on this worker unit-dbus-broker.service> build01: building ry4z4y1dnlmk8jn21sm2vclinplz32dx-unit-dbus-broker.service.drv building '/nix/store/3nxyp44ynwlycagwigr3cd5hivj7mibw-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building 3nxyp44ynwlycagwigr3cd5hivj7mibw-unit-dbus-broker.service.drv building '/nix/store/pjwbkxhhvkxvqy0qy1jjx6ygzlm4qrrg-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building pjwbkxhhvkxvqy0qy1jjx6ygzlm4qrrg-unit-dbus-broker.service.drv building '/nix/store/hxnf39bdhx0gx4zgmhj4claps7z0mmqi-user-units.drv' on nix-store.geninf.io:50051 user-units> build01: building hxnf39bdhx0gx4zgmhj4claps7z0mmqi-user-units.drv building '/nix/store/asjil19rsiqfjvsc1fynx515ciw1zk20-system-units.drv' on nix-store.geninf.io:50051 system-units> build01: building asjil19rsiqfjvsc1fynx515ciw1zk20-system-units.drv hziqvak1v6n9w5ixh31lrhm7lx1dyhnh-user-units.drv: build01: not scheduled here: hziqvak1v6n9w5ixh31lrhm7lx1dyhnh-user-units.drv, asking the scheduler again pr9qj7ic5xjzcqclr18pcszhjhcv6xgm-system-units.drv: build01: not scheduled here: pr9qj7ic5xjzcqclr18pcszhjhcv6xgm-system-units.drv, asking the scheduler again building '/nix/store/hziqvak1v6n9w5ixh31lrhm7lx1dyhnh-user-units.drv' on nix-store.geninf.io:50051 user-units> build01: building hziqvak1v6n9w5ixh31lrhm7lx1dyhnh-user-units.drv building '/nix/store/pr9qj7ic5xjzcqclr18pcszhjhcv6xgm-system-units.drv' on nix-store.geninf.io:50051 system-units> build01: building pr9qj7ic5xjzcqclr18pcszhjhcv6xgm-system-units.drv building '/nix/store/185ggzsry8xa5qv1m5si3rhrqs7hxz97-etc.drv' on nix-store.geninf.io:50051 etc> build01: building 185ggzsry8xa5qv1m5si3rhrqs7hxz97-etc.drv x6zy3w5rx9ky5is0mp2ls2virgnckv7m-etc.drv: build01: not scheduled here: x6zy3w5rx9ky5is0mp2ls2virgnckv7m-etc.drv, asking the scheduler again building '/nix/store/x6zy3w5rx9ky5is0mp2ls2virgnckv7m-etc.drv' on nix-store.geninf.io:50051 etc> build01: building x6zy3w5rx9ky5is0mp2ls2virgnckv7m-etc.drv building '/nix/store/i6sj5n374i3vv4m5hdakh9ljirqz8s4f-activate.drv' on nix-store.geninf.io:50051 activate> build01: building i6sj5n374i3vv4m5hdakh9ljirqz8s4f-activate.drv 755dc1d6ck6vs53jymv8cwri43cb4zyb-activate.drv: build01: not scheduled here: 755dc1d6ck6vs53jymv8cwri43cb4zyb-activate.drv, asking the scheduler again building '/nix/store/755dc1d6ck6vs53jymv8cwri43cb4zyb-activate.drv' on nix-store.geninf.io:50051 activate> build01: building 755dc1d6ck6vs53jymv8cwri43cb4zyb-activate.drv bzmhbsvhb3kbm2yqgrpxw43s1h5m8s14-nixos-system-router-test.drv: build01: not scheduled here: bzmhbsvhb3kbm2yqgrpxw43s1h5m8s14-nixos-system-router-test.drv, asking the scheduler again building '/nix/store/bzmhbsvhb3kbm2yqgrpxw43s1h5m8s14-nixos-system-router-test.drv' on nix-store.geninf.io:50051 nixos-system-router-test> build01: building bzmhbsvhb3kbm2yqgrpxw43s1h5m8s14-nixos-system-router-test.drv nixos-system-router-test> structuredAttrs is enabled 7prlcrd255sg81ybp0zzfhwi3a9y7qn7-nixos-system-machine-test.drv: build01: not scheduled here: 7prlcrd255sg81ybp0zzfhwi3a9y7qn7-nixos-system-machine-test.drv, asking the scheduler again building '/nix/store/7prlcrd255sg81ybp0zzfhwi3a9y7qn7-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> build01: building 7prlcrd255sg81ybp0zzfhwi3a9y7qn7-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled v5if9dc86m3f1qgj84hh3iym71317wjb-closure-info.drv: build01: not scheduled here: v5if9dc86m3f1qgj84hh3iym71317wjb-closure-info.drv, asking the scheduler again building '/nix/store/v5if9dc86m3f1qgj84hh3iym71317wjb-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build01: building v5if9dc86m3f1qgj84hh3iym71317wjb-closure-info.drv closure-info> structuredAttrs is enabled ickziayhhn3hn540gywg8gnddcibxsb0-closure-info.drv: build01: not scheduled here: ickziayhhn3hn540gywg8gnddcibxsb0-closure-info.drv, asking the scheduler again building '/nix/store/ickziayhhn3hn540gywg8gnddcibxsb0-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build01: building ickziayhhn3hn540gywg8gnddcibxsb0-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/xd2my0dln4c7askarm5h890wwvjbs7bn-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> build01: building xd2my0dln4c7askarm5h890wwvjbs7bn-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/cb4jdqlpcymn8mbsq7nk8141v6vz6673-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> build01: building cb4jdqlpcymn8mbsq7nk8141v6vz6673-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/l9aqjxhy7fwkhni29j2wn6mis8xbik8n-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 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/fl0k50cdb33a5xxzlzmz5782yw66rj4r-coreutils-9.11/bin/sleep 999999999 && echo e1eca9e0-2986-4eff-83b8-7448c7628d03' container-test-run-user-firewall-iptables> Running as unit: run-p346-i34071396.service; invocation ID: 155ff1bb89be40deadd9a2e0aeb5a11a 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.*e1eca9e0-2986-4eff-83b8-7448c7628d03') --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/76jq0mngg7m8zv5yjz1qgg0xspzi8x2w-python3-3.13.15/bin/python3.13 /nix/store/wnw0bdidpxrmh9sam4hz6d39w1x6ywiv-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py e1eca9e0-2986-4eff-83b8-7448c7628d03 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/b76cr5kmg20qidkwyfwf51m1d6m5xsb0-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 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/fl0k50cdb33a5xxzlzmz5782yw66rj4r-coreutils-9.11/bin/sleep 999999999 && echo ff15e4be-afbe-4366-a1a1-bc05cce27c7e' container-test-run-user-firewall-iptables> Running as unit: run-p209-i34071422.service; invocation ID: 171677960eb843939de0e75d62ca6f85 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.*ff15e4be-afbe-4366-a1a1-bc05cce27c7e') --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/76jq0mngg7m8zv5yjz1qgg0xspzi8x2w-python3-3.13.15/bin/python3.13 /nix/store/wnw0bdidpxrmh9sam4hz6d39w1x6ywiv-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py ff15e4be-afbe-4366-a1a1-bc05cce27c7e 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> + head -1 container-test-run-user-firewall-iptables> + grep -v '^fe80' 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.02 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-test-run-user-firewall-iptables>