don't know how to build these paths: /nix/store/3qmdwdn5all4vm2xprnp233vdsgsfalh-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/adr3ivkn87c6qpwh7pmgyczw2v62glaf-system-path.drv' on nix-store.geninf.io:50051 system-path> build01: building adr3ivkn87c6qpwh7pmgyczw2v62glaf-system-path.drv system-path> structuredAttrs is enabled system-path> created 1746 symlinks in user environment z2a7fmq6aagf7vsw48vf423jg2qsa03n-etc-bashrc.drv: build01: not scheduled here: z2a7fmq6aagf7vsw48vf423jg2qsa03n-etc-bashrc.drv, asking the scheduler again building '/nix/store/gfg93xfsngrv5smqyfc1bgrgz14g8d0p-system-path.drv' on nix-store.geninf.io:50051 system-path> build01: building gfg93xfsngrv5smqyfc1bgrgz14g8d0p-system-path.drv system-path> structuredAttrs is enabled system-path> created 1654 symlinks in user environment building '/nix/store/c1clwr52yhcq31f6z1axq68xm8s74fgl-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build01: building c1clwr52yhcq31f6z1axq68xm8s74fgl-dbus-1.drv building '/nix/store/0qhzq8xzq35pz981qi4fcr810pkry2gz-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> build01: building 0qhzq8xzq35pz981qi4fcr810pkry2gz-dbus-1.drv building '/nix/store/gbc94xylsx77g3xgi23a3sjqkldvvkj1-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> build01: building gbc94xylsx77g3xgi23a3sjqkldvvkj1-X-Restart-Triggers-dbus-broker.drv building '/nix/store/c2dpzbd40kljmsbfxf49d0v4a8g63xjp-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 c2dpzbd40kljmsbfxf49d0v4a8g63xjp-X-Restart-Triggers-dbus-broker.drv building '/nix/store/6zp7p6nhj75cah8r4ddsh83z96f0zx8z-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building 6zp7p6nhj75cah8r4ddsh83z96f0zx8z-unit-dbus-broker.service.drv building '/nix/store/a62z5i28xzylqj5valzll23b95wim8iq-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build01: building a62z5i28xzylqj5valzll23b95wim8iq-unit-dbus-broker.service.drv building '/nix/store/h247ch8g350gc7lfbf2kl08q5yrjfd4r-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 h247ch8g350gc7lfbf2kl08q5yrjfd4r-unit-dbus-broker.service.drv building '/nix/store/128pi21ml6mscb16i505q01isnlrpd31-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 128pi21ml6mscb16i505q01isnlrpd31-unit-dbus-broker.service.drv building '/nix/store/32ra95jbjn2rqrpc02slzik5fhbjfffp-system-units.drv' on nix-store.geninf.io:50051 system-units> build01: building 32ra95jbjn2rqrpc02slzik5fhbjfffp-system-units.drv building '/nix/store/fhll89idyjfbrryavm5i3v4yxsm6bv67-user-units.drv' on nix-store.geninf.io:50051 user-units> build01: building fhll89idyjfbrryavm5i3v4yxsm6bv67-user-units.drv building '/nix/store/79gynyra0vj8pk80qgi6sr05qfkm2sf4-user-units.drv' on nix-store.geninf.io:50051 user-units> build01: building 79gynyra0vj8pk80qgi6sr05qfkm2sf4-user-units.drv building '/nix/store/n9gr3pkkcpm1d2ck0if8i4qqavhldv6k-system-units.drv' on nix-store.geninf.io:50051 system-units> build01: building n9gr3pkkcpm1d2ck0if8i4qqavhldv6k-system-units.drv building '/nix/store/h43hgza8a757s1zs0fv5wziy2ij4lbmq-etc.drv' on nix-store.geninf.io:50051 etc> build01: building h43hgza8a757s1zs0fv5wziy2ij4lbmq-etc.drv building '/nix/store/510znd4ybil0ha88vhfaqv0ih1hgprkd-etc.drv' on nix-store.geninf.io:50051 etc> build01: building 510znd4ybil0ha88vhfaqv0ih1hgprkd-etc.drv building '/nix/store/d9w6v1j04j37rcvggzvssml2d1mzq2nc-activate.drv' on nix-store.geninf.io:50051 activate> build01: building d9w6v1j04j37rcvggzvssml2d1mzq2nc-activate.drv jf0zqfcjz8xsw95842c5saz1xkva5rbh-activate.drv: build01: not scheduled here: jf0zqfcjz8xsw95842c5saz1xkva5rbh-activate.drv, asking the scheduler again building '/nix/store/jf0zqfcjz8xsw95842c5saz1xkva5rbh-activate.drv' on nix-store.geninf.io:50051 activate> build01: building jf0zqfcjz8xsw95842c5saz1xkva5rbh-activate.drv iv3lr4pp3jv5airr3cyj1l8yqaf5njd6-nixos-system-router-test.drv: build01: not scheduled here: iv3lr4pp3jv5airr3cyj1l8yqaf5njd6-nixos-system-router-test.drv, asking the scheduler again building '/nix/store/iv3lr4pp3jv5airr3cyj1l8yqaf5njd6-nixos-system-router-test.drv' on nix-store.geninf.io:50051 nixos-system-router-test> attached to the build already running on this worker nixos-system-router-test> build01: building iv3lr4pp3jv5airr3cyj1l8yqaf5njd6-nixos-system-router-test.drv nixos-system-router-test> structuredAttrs is enabled l372whdsl7ppl0amzmjyb58s3mm9q4qq-nixos-system-machine-test.drv: build01: not scheduled here: l372whdsl7ppl0amzmjyb58s3mm9q4qq-nixos-system-machine-test.drv, asking the scheduler again building '/nix/store/l372whdsl7ppl0amzmjyb58s3mm9q4qq-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> build01: building l372whdsl7ppl0amzmjyb58s3mm9q4qq-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled f1pp14839j780k4wmxibna9fvc71z6qn-closure-info.drv: build01: not scheduled here: f1pp14839j780k4wmxibna9fvc71z6qn-closure-info.drv, asking the scheduler again building '/nix/store/f1pp14839j780k4wmxibna9fvc71z6qn-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build01: building f1pp14839j780k4wmxibna9fvc71z6qn-closure-info.drv closure-info> structuredAttrs is enabled aaczjbn4hj7c317hjwk4rf7mz3zls2y4-closure-info.drv: build01: not scheduled here: aaczjbn4hj7c317hjwk4rf7mz3zls2y4-closure-info.drv, asking the scheduler again building '/nix/store/aaczjbn4hj7c317hjwk4rf7mz3zls2y4-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build01: building aaczjbn4hj7c317hjwk4rf7mz3zls2y4-closure-info.drv closure-info> structuredAttrs is enabled z22axnii33xwcpsxskqlwapf49pj6zdi-nixos-test-driver-user-firewall-iptables.drv: build01: not scheduled here: z22axnii33xwcpsxskqlwapf49pj6zdi-nixos-test-driver-user-firewall-iptables.drv, asking the scheduler again building '/nix/store/z22axnii33xwcpsxskqlwapf49pj6zdi-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> build01: building z22axnii33xwcpsxskqlwapf49pj6zdi-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/3qmdwdn5all4vm2xprnp233vdsgsfalh-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> build01: building 3qmdwdn5all4vm2xprnp233vdsgsfalh-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/fn6nyzrclq7wnv4cvpm4b7qgvp7h37g3-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 46aa47fa-c301-464c-92db-056276b5b941' container-test-run-user-firewall-iptables> Running as unit: run-p346-i27311926.service; invocation ID: ffa57be0c226482b97b7ffe6b15ef16c 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.*46aa47fa-c301-464c-92db-056276b5b941') --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 46aa47fa-c301-464c-92db-056276b5b941 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/wyicgqp7p87s63mih724j258lynyzxbb-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 7a5b0d43-1ac5-4fc5-b729-96c35bc0a5e4' container-test-run-user-firewall-iptables> Running as unit: run-p209-i27311929.service; invocation ID: 4da8fe5d694f45719d01247e913387a8 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.*7a5b0d43-1ac5-4fc5-b729-96c35bc0a5e4') --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 7a5b0d43-1ac5-4fc5-b729-96c35bc0a5e4 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.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>