these 33 derivations will be built: /nix/store/fxmr3vg5hc81f3w51q2pma8ki7xdlya6-system-path.drv /nix/store/3kaliaf3yffafqwgcfdzngbc95k0vdpz-dbus-1.drv /nix/store/7gqd0dfq1p6mbqfycmi7npfc6z4mz70v-X-Restart-Triggers-dbus-broker.drv /nix/store/65nh8ipzq8is9mlvpqpkxc3qmv7vmk1g-unit-dbus-broker.service.drv /nix/store/c5j3rdy8qdmy5ki0xnp33kpnj4m418yr-unit-firewall.service.drv /nix/store/qm7kbda1fm2bi1vc055isv9all4xqwn9-nginx.conf.drv /nix/store/yi901448pdfdc36ljrk2v31adgj8jvr8-unit-script-nginx-pre-start.drv /nix/store/izi89angslgznv49d086i2nvk2m2qjp2-unit-nginx.service.drv /nix/store/kh7d2g5bvb8fx8vjdx2n0dyb0s9lx9mw-unit-script-setup-wg0-interface-start.drv /nix/store/wrs8s9qfinfn1lfq2l3nbzmvicjci0ga-unit-setup-wg0-interface.service.drv /nix/store/70wilcpfcdwabhkxvb9809qkwv4gy7nn-system-units.drv /nix/store/h8lb9s99qbl16c6fqq651a575nw1dvj3-unit-dbus-broker.service.drv /nix/store/qbw75d67isj20p3c465bl7dlpw309h55-user-units.drv /nix/store/zsd53vgiw27sywhm8z6r43m7k0q8vn44-etc.drv /nix/store/aar8xz8ygy60q643qw5byqdbfvry45nk-activate.drv /nix/store/4dgspiwjm8kvk4bfhyplfm6x8r4r1qp8-nixos-system-machine-test.drv /nix/store/8zfl7dlkdxl4xar7rg72vda2nin0hjwh-closure-info.drv /nix/store/jpkggpqpi4k4v7jb9kl582x35zpd7r7q-system-path.drv /nix/store/nqrn20hy4qy246mg08hkfsj6d4j1k8al-dbus-1.drv /nix/store/5d0dlhjxa680wca840mkggdjmbc53cs0-X-Restart-Triggers-dbus-broker.drv /nix/store/my2nrf9rrb7adf5lznndrbsbqpi6sc4n-unit-dbus-broker.service.drv /nix/store/jrr4i8cvl0jl49h6if8kwldyllsnrvw2-nginx.conf.drv /nix/store/vgaziq1vs20g0j87rpyxpbi5chwwa2hk-unit-script-nginx-pre-start.drv /nix/store/pynx49wby9aq4s307g9av1fjrq5pcv0w-unit-nginx.service.drv /nix/store/al8mr0rvlm8f8abym7ngci6xchdd9vh6-system-units.drv /nix/store/87q4rf4s8zzamsawvakfph64g1h641km-unit-dbus-broker.service.drv /nix/store/mpwdywm3d5wsm3nkhkmndad6i7aj25ap-user-units.drv /nix/store/yq2w2jh8z0z4mb019c8rah4zf3ipi81x-etc.drv /nix/store/9wlm829vxy9q018h52y98fm0p991vrz4-activate.drv /nix/store/fq61wm9dvab8cz5hac8xn0s1y9al92x1-nixos-system-router-test.drv /nix/store/hxhma1d1b6w5mkfgnfkq43fhih3if37j-closure-info.drv /nix/store/42rmvyj0spxx5kjffyschmz9xv42wi7q-nixos-test-driver-user-firewall-iptables.drv /nix/store/6kxvpgwqv1d1dbjps87ql6677rnvbsk9-container-test-run-user-firewall-iptables.drv these 2 paths will be fetched (0.0 KiB download, 4.5 KiB unpacked): /nix/store/6lqzyjmq9h0rlbd57y32hhfnbqp839dw-dry-activate /nix/store/zk1ksxfpsqwk4a25bvd2fs4qhj8qy9xr-dry-activate building '/nix/store/fxmr3vg5hc81f3w51q2pma8ki7xdlya6-system-path.drv' building '/nix/store/jpkggpqpi4k4v7jb9kl582x35zpd7r7q-system-path.drv' building '/nix/store/c5j3rdy8qdmy5ki0xnp33kpnj4m418yr-unit-firewall.service.drv' building '/nix/store/jrr4i8cvl0jl49h6if8kwldyllsnrvw2-nginx.conf.drv' building '/nix/store/qm7kbda1fm2bi1vc055isv9all4xqwn9-nginx.conf.drv' building '/nix/store/kh7d2g5bvb8fx8vjdx2n0dyb0s9lx9mw-unit-script-setup-wg0-interface-start.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 nginx.conf> nginx.conf> ==================== Results =================== nginx.conf> No issues found. nginx.conf> nginx.conf> ==================== Summary =================== nginx.conf> Total issues: nginx.conf> Unspecified: 0 nginx.conf> Low: 0 nginx.conf> Medium: 0 nginx.conf> High: 0 nginx.conf> nginx.conf> nginx.conf> ==================== Results =================== nginx.conf> No issues found. nginx.conf> nginx.conf> ==================== Summary =================== nginx.conf> Total issues: nginx.conf> Unspecified: 0 nginx.conf> Low: 0 nginx.conf> Medium: 0 nginx.conf> High: 0 nginx.conf> building '/nix/store/3kaliaf3yffafqwgcfdzngbc95k0vdpz-dbus-1.drv' building '/nix/store/nqrn20hy4qy246mg08hkfsj6d4j1k8al-dbus-1.drv' building '/nix/store/wrs8s9qfinfn1lfq2l3nbzmvicjci0ga-unit-setup-wg0-interface.service.drv' building '/nix/store/5d0dlhjxa680wca840mkggdjmbc53cs0-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/7gqd0dfq1p6mbqfycmi7npfc6z4mz70v-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/vgaziq1vs20g0j87rpyxpbi5chwwa2hk-unit-script-nginx-pre-start.drv' building '/nix/store/yi901448pdfdc36ljrk2v31adgj8jvr8-unit-script-nginx-pre-start.drv' building '/nix/store/65nh8ipzq8is9mlvpqpkxc3qmv7vmk1g-unit-dbus-broker.service.drv' building '/nix/store/87q4rf4s8zzamsawvakfph64g1h641km-unit-dbus-broker.service.drv' building '/nix/store/h8lb9s99qbl16c6fqq651a575nw1dvj3-unit-dbus-broker.service.drv' building '/nix/store/my2nrf9rrb7adf5lznndrbsbqpi6sc4n-unit-dbus-broker.service.drv' building '/nix/store/izi89angslgznv49d086i2nvk2m2qjp2-unit-nginx.service.drv' building '/nix/store/pynx49wby9aq4s307g9av1fjrq5pcv0w-unit-nginx.service.drv' building '/nix/store/mpwdywm3d5wsm3nkhkmndad6i7aj25ap-user-units.drv' building '/nix/store/qbw75d67isj20p3c465bl7dlpw309h55-user-units.drv' building '/nix/store/70wilcpfcdwabhkxvb9809qkwv4gy7nn-system-units.drv' building '/nix/store/al8mr0rvlm8f8abym7ngci6xchdd9vh6-system-units.drv' building '/nix/store/zsd53vgiw27sywhm8z6r43m7k0q8vn44-etc.drv' building '/nix/store/yq2w2jh8z0z4mb019c8rah4zf3ipi81x-etc.drv' building '/nix/store/aar8xz8ygy60q643qw5byqdbfvry45nk-activate.drv' building '/nix/store/9wlm829vxy9q018h52y98fm0p991vrz4-activate.drv' building '/nix/store/4dgspiwjm8kvk4bfhyplfm6x8r4r1qp8-nixos-system-machine-test.drv' building '/nix/store/fq61wm9dvab8cz5hac8xn0s1y9al92x1-nixos-system-router-test.drv' nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/8zfl7dlkdxl4xar7rg72vda2nin0hjwh-closure-info.drv' nixos-system-router-test> structuredAttrs is enabled building '/nix/store/hxhma1d1b6w5mkfgnfkq43fhih3if37j-closure-info.drv' closure-info> structuredAttrs is enabled closure-info> structuredAttrs is enabled building '/nix/store/42rmvyj0spxx5kjffyschmz9xv42wi7q-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/6kxvpgwqv1d1dbjps87ql6677rnvbsk9-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/9sfi4h8s2rh0v95m8p4585brwcgyhhhd-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.2 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/61685rbaxmpigwi3z23i33sv3jyfl70q-coreutils-9.11/bin/sleep 999999999 && echo 1bc0ab25-9850-43d8-930b-20fa3a9b1262' container-test-run-user-firewall-iptables> Running as unit: run-p346-i31619572.service; invocation ID: 81f595e585d94164b5abfad48039252b 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.*1bc0ab25-9850-43d8-930b-20fa3a9b1262') --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/h3l4z7p6wny3phbckwwhy1i2g52pdnj4-python3-3.13.15/bin/python3.13 /nix/store/5ijkjs9kfarlbxq2nhp8ln1ndrq1jx1s-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 1bc0ab25-9850-43d8-930b-20fa3a9b1262 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/gl4hlszs4b9sqx4sbsy963j58mif1znd-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.2 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/61685rbaxmpigwi3z23i33sv3jyfl70q-coreutils-9.11/bin/sleep 999999999 && echo 83b07fdf-d157-4092-ba2d-9d10a88b8e6b' container-test-run-user-firewall-iptables> Running as unit: run-p209-i31619578.service; invocation ID: f7c9675852bf49b3b02bdbf2867c22ea 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.*83b07fdf-d157-4092-ba2d-9d10a88b8e6b') --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/h3l4z7p6wny3phbckwwhy1i2g52pdnj4-python3-3.13.15/bin/python3.13 /nix/store/5ijkjs9kfarlbxq2nhp8ln1ndrq1jx1s-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 83b07fdf-d157-4092-ba2d-9d10a88b8e6b 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> + grep -oP '(?<=inet\s)\d+(\.\d+){3}' container-test-run-user-firewall-iptables> + ip -4 addr show eth1 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.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> upload niks3: ok