these 34 derivations will be built: /nix/store/x8vp26nwpykbl5fyl51gjlf263wp9g40-nixos-system-machine-test.drv /nix/store/07kll1pql0pvvi5ms227q7qd2x1m34nv-closure-info.drv /nix/store/1qs06x99kbvpqcppwgn582bzv66dr5yn-unit-dbus-broker.service.drv /nix/store/hj38yjyikasj83a2pymx35whmfwbahsk-command-not-found.drv /nix/store/5p7fd0kqi25nk08l0fqvpj6f8sqbs3lr-system-path.drv /nix/store/rs4q3c3z0slldj62g0gm0p6nvp2im720-etc.drv /nix/store/sxrkkinldkgb3vvgpbn9bk6krbn4s1q3-activate.drv /nix/store/2y8p2j4ap7vc23hbda4qasnrzimvyngl-nixos-system-router-test.drv /nix/store/62iqb21xvz99fc5n767cq6p68ivv6v0w-unit-dbus-broker.service.drv /nix/store/s5p07mss63v9lkhz3hx04w2f11v9fb75-X-Restart-Triggers-dbus-broker.drv /nix/store/7pr9jsc74vvy611zhqs3crqnaqdgylqg-unit-dbus-broker.service.drv /nix/store/8dqdp7p5hxhzmq0sszm8v04gjgnqygdl-unit-dbus-broker.service.drv /nix/store/8qb6nljbyq2g9936hrz8ikblp76c1xy6-dbus-1.drv /nix/store/92j214ra5fgszdgmqjhp5k64k1kl3zgw-user-units.drv /nix/store/a4dz02jb5i8d0xbgqx8ahzzic4n2zyr3-user-units.drv /nix/store/bnh1xmf2qgcv3idmb6kqvcmbwic25yyl-X-Restart-Triggers-dbus-broker.drv /nix/store/gyhqpdzcfvdh8alfaqyvccxpbkd0p3ss-nginx.conf.drv /nix/store/lcqwbv8phjf1gn2ysrn2w7hydzh295sc-unit-script-nginx-pre-start.drv /nix/store/cmz74vnd65i6xvh5wqab9hz05pbz4qq9-unit-nginx.service.drv /nix/store/y5jr0ih41bzhakpqrx1xbc4l45v3n1sq-nixos-test-driver-user-firewall-iptables.drv /nix/store/fsscsj9yz5bw0nhxj0mr3zqhz30ppphx-container-test-run-user-firewall-iptables.drv /nix/store/zr25qpywqr3pypp2lzassm4gv8jh9di0-etc.drv /nix/store/fwswbrpcp8319y7caadyxk6w2h009h41-activate.drv /nix/store/h7j5qwv4cdhr41pwayhdydrnq8wdv7qy-closure-info.drv /nix/store/l0vhawsshg85iwn2gdrcdi50g3rc066v-string-hosts.drv /nix/store/zavz3i2sxjfpfdfmdprzc6143zb10fy6-extra-hosts.drv /nix/store/hi3511ibidshipa0c489mljq6d63b3fb-hosts.drv /nix/store/jfwx34ih235xrcpi639f1zknkmr9y77g-system-path.drv /nix/store/m6pjizjnfbs8sxsxmfa546v7jwnf469p-system-units.drv /nix/store/pnlwki7q458xpnrm5g038157332n65nx-users-groups.json.drv /nix/store/rjkr7j8vvzrid1w57fqzi7g9cfbakk2n-etc-bashrc.drv /nix/store/v77q6105kwwj4qrlma040vfdh72bzvvc-etc-hostname.drv /nix/store/vn2gjydisanmjl6hpgr66pnq5gw7yvzq-dbus-1.drv /nix/store/x234wr7bply8vc9rid296lnd5k5q5r4c-system-units.drv these 2 paths will be fetched (0.0 KiB download, 20.1 KiB unpacked): /nix/store/25ywqr9j3yxamfvi7n1drp1df83bn033-dry-activate /nix/store/gh6y80rhy8zz5q6hgnk97rbadcvmrsf1-users-groups.json warning: ignoring the client-specified setting 'store', because it is a restricted setting and you are not a trusted user building '/nix/store/jfwx34ih235xrcpi639f1zknkmr9y77g-system-path.drv' on nix-store.geninf.io:50051 system-path> web01: building jfwx34ih235xrcpi639f1zknkmr9y77g-system-path.drv system-path> structuredAttrs is enabled system-path> created 1752 symlinks in user environment building '/nix/store/vn2gjydisanmjl6hpgr66pnq5gw7yvzq-dbus-1.drv' on nix-store.geninf.io:50051 dbus-1> web01: building vn2gjydisanmjl6hpgr66pnq5gw7yvzq-dbus-1.drv building '/nix/store/s5p07mss63v9lkhz3hx04w2f11v9fb75-X-Restart-Triggers-dbus-broker.drv' on nix-store.geninf.io:50051 X-Restart-Triggers-dbus-broker> web01: building s5p07mss63v9lkhz3hx04w2f11v9fb75-X-Restart-Triggers-dbus-broker.drv building '/nix/store/1qs06x99kbvpqcppwgn582bzv66dr5yn-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> web01: building 1qs06x99kbvpqcppwgn582bzv66dr5yn-unit-dbus-broker.service.drv building '/nix/store/7pr9jsc74vvy611zhqs3crqnaqdgylqg-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> web01: building 7pr9jsc74vvy611zhqs3crqnaqdgylqg-unit-dbus-broker.service.drv building '/nix/store/m6pjizjnfbs8sxsxmfa546v7jwnf469p-system-units.drv' on nix-store.geninf.io:50051 system-units> web01: building m6pjizjnfbs8sxsxmfa546v7jwnf469p-system-units.drv building '/nix/store/a4dz02jb5i8d0xbgqx8ahzzic4n2zyr3-user-units.drv' on nix-store.geninf.io:50051 user-units> web01: building a4dz02jb5i8d0xbgqx8ahzzic4n2zyr3-user-units.drv building '/nix/store/zr25qpywqr3pypp2lzassm4gv8jh9di0-etc.drv' on nix-store.geninf.io:50051 etc> web01: building zr25qpywqr3pypp2lzassm4gv8jh9di0-etc.drv building '/nix/store/fwswbrpcp8319y7caadyxk6w2h009h41-activate.drv' on nix-store.geninf.io:50051 activate> web01: building fwswbrpcp8319y7caadyxk6w2h009h41-activate.drv building '/nix/store/x8vp26nwpykbl5fyl51gjlf263wp9g40-nixos-system-machine-test.drv' on nix-store.geninf.io:50051 nixos-system-machine-test> web01: building x8vp26nwpykbl5fyl51gjlf263wp9g40-nixos-system-machine-test.drv nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/07kll1pql0pvvi5ms227q7qd2x1m34nv-closure-info.drv' on nix-store.geninf.io:50051 closure-info> web01: building 07kll1pql0pvvi5ms227q7qd2x1m34nv-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/62iqb21xvz99fc5n767cq6p68ivv6v0w-unit-dbus-broker.service.drv' on nix-store.geninf.io:50051 unit-dbus-broker.service> build-x86-01: building 62iqb21xvz99fc5n767cq6p68ivv6v0w-unit-dbus-broker.service.drv building '/nix/store/x234wr7bply8vc9rid296lnd5k5q5r4c-system-units.drv' on nix-store.geninf.io:50051 system-units> build-x86-01: building x234wr7bply8vc9rid296lnd5k5q5r4c-system-units.drv building '/nix/store/rs4q3c3z0slldj62g0gm0p6nvp2im720-etc.drv' on nix-store.geninf.io:50051 etc> build-x86-01: building rs4q3c3z0slldj62g0gm0p6nvp2im720-etc.drv building '/nix/store/sxrkkinldkgb3vvgpbn9bk6krbn4s1q3-activate.drv' on nix-store.geninf.io:50051 activate> web01: building sxrkkinldkgb3vvgpbn9bk6krbn4s1q3-activate.drv building '/nix/store/2y8p2j4ap7vc23hbda4qasnrzimvyngl-nixos-system-router-test.drv' on nix-store.geninf.io:50051 nixos-system-router-test> web01: building 2y8p2j4ap7vc23hbda4qasnrzimvyngl-nixos-system-router-test.drv nixos-system-router-test> structuredAttrs is enabled building '/nix/store/h7j5qwv4cdhr41pwayhdydrnq8wdv7qy-closure-info.drv' on nix-store.geninf.io:50051 closure-info> web01: building h7j5qwv4cdhr41pwayhdydrnq8wdv7qy-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/y5jr0ih41bzhakpqrx1xbc4l45v3n1sq-nixos-test-driver-user-firewall-iptables.drv' on nix-store.geninf.io:50051 nixos-test-driver-user-firewall-iptables> web01: building y5jr0ih41bzhakpqrx1xbc4l45v3n1sq-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/fsscsj9yz5bw0nhxj0mr3zqhz30ppphx-container-test-run-user-firewall-iptables.drv' on nix-store.geninf.io:50051 container-test-run-user-firewall-iptables> web01: building fsscsj9yz5bw0nhxj0mr3zqhz30ppphx-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/yjfrxgqbkpc4bfq5ac5zyq2h48nwwagq-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 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/833invqvsk7anqnqrki5hqncrcllj825-coreutils-9.11/bin/sleep 999999999 && echo 307c368c-49d5-45c8-ad8d-e8fe83063c95' container-test-run-user-firewall-iptables> Running as unit: run-p346-i2032982.service; invocation ID: de4b7b46eed4415ba69442d01656eca7 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.*307c368c-49d5-45c8-ad8d-e8fe83063c95') --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/9r02ykx9y35lf4gk6gc30gnag1y8ncp7-python3-3.13.15/bin/python3.13 /nix/store/w4yw138a3hzpbihyfshgdsp2lydn6dy1-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 307c368c-49d5-45c8-ad8d-e8fe83063c95 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/8sj4h3qq13h92b4zcp5912rfykpl2lpm-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 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/833invqvsk7anqnqrki5hqncrcllj825-coreutils-9.11/bin/sleep 999999999 && echo f8f82c2b-35f2-4d8b-bc99-16b7fd4882e2' container-test-run-user-firewall-iptables> Running as unit: run-p209-i2032985.service; invocation ID: aaf8d6162b614bc383baa4032b9454ee 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.*f8f82c2b-35f2-4d8b-bc99-16b7fd4882e2') --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/9r02ykx9y35lf4gk6gc30gnag1y8ncp7-python3-3.13.15/bin/python3.13 /nix/store/w4yw138a3hzpbihyfshgdsp2lydn6dy1-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py f8f82c2b-35f2-4d8b-bc99-16b7fd4882e2 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>