these 44 derivations will be built: /nix/store/d4sbq19pb2yhphy16d87w48dlipwqybj-system-path.drv /nix/store/073yyjcb2dhpmh59m2wr1hx9bh5w80jn-dbus-1.drv /nix/store/sy55w359w636x9bsrcqrss8hj079cxvc-system-path.drv /nix/store/09kf520b5laij4iwscyr6rx1yjy7ph3l-dbus-1.drv /nix/store/10wp83d82pkah5lsx6vhplny256af81p-etc-hostname.drv /nix/store/1f4a15l16xidl9lqj8alq66msk6lcd04-extra-hosts.drv /nix/store/3zzavpghfv4prqqwgajbzjgiwarf6s7l-firewall-start.drv /nix/store/sy7r92qmsa3v8ha00g0dif46ch488g68-X-Restart-Triggers-dbus-broker.drv /nix/store/h3yix7vc2j4l3xwx8skp1ccnpplliv95-unit-dbus-broker.service.drv /nix/store/5w3l43g83p1jq29fjr7lm6nibvil02s7-user-units.drv /nix/store/738v50h8q6dszgjqd6j2c0y54cg0xsid-users-groups.json.drv /nix/store/knv0v1kyw9wk85xljd39ikc3jww4f7sg-string-hosts.drv /nix/store/i9zasma5crp71prqr62561c9p1iq1cdf-hosts.drv /nix/store/9idbm1hsi9p4ac0lpcj6rsan3xs1xq22-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/kbrw4394ns71r4sz9rknm8g05dzjp09b-system-units.drv /nix/store/wkkwr3r7xp0fpikl9gf00wfpyil4j9kr-etc.drv /nix/store/7ng2gm3yj5qalv8jfvvwfw17pcahkqb8-activate.drv /nix/store/flwz2513gjb1n82bv817f9n4z95mn26x-nixos-system-router-test.drv /nix/store/h37bia87256a923hk5ll9w4b88pg8l8d-testScript.drv /nix/store/byhgwvfxmf3f28qfiwvbx5qzbzy3dh2c-X-Restart-Triggers-dbus-broker.drv /nix/store/v1y10nyq6vzak0kjpsvh19vwnq9r4pmb-unit-dbus-broker.service.drv /nix/store/8k7jf4hkn4i584jmvfn2v896fzfiff3z-user-units.drv /nix/store/aaw4aqw7v9hq2diqfv1wl7vmz4qgid9f-hosts.drv /nix/store/mhrnyp7ics0r95y4d91j9r4kbcmjar0w-firewall-stop.drv /nix/store/n2pz0dcrnwy3il1jd8m80r14ml4qai6z-firewall-reload.drv /nix/store/c5j3rdy8qdmy5ki0xnp33kpnj4m418yr-unit-firewall.service.drv /nix/store/d1vpfpgdg93hx2v00ihpqbyy3g3mc6q7-unit-dbus-broker.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/lmanir4k2i4hmixbrxwr9zk2y9haar61-system-units.drv /nix/store/lbg0nc7pqyfm6jbjnxb2fsyv97svaz5i-etc.drv /nix/store/m367ddd9ffw530jgf5fmwlzlkvyrbka2-users-groups.json.drv /nix/store/hafgcs5idjy7qhvpg39nkfm53llvsyiw-activate.drv /nix/store/qzjqjird0l8h0psj0dv8g4fx8yp57vk9-nixos-system-machine-test.drv /nix/store/jra7bd6kpcqm1dnxzhzahc6lid2ifpck-closure-info.drv /nix/store/q41rp5cvbrd17095bz33i5x7f9igmkyl-closure-info.drv /nix/store/5ygr3d7a53lcmxi84kqcjb2arrvfwcks-nixos-test-driver-user-firewall-iptables.drv /nix/store/9jnasr76899jk46rbfdw4wvzbph3jx1z-container-test-run-user-firewall-iptables.drv these 4 paths will be fetched (0.0 KiB download, 40.9 KiB unpacked): /nix/store/6lqzyjmq9h0rlbd57y32hhfnbqp839dw-dry-activate /nix/store/zk1ksxfpsqwk4a25bvd2fs4qhj8qy9xr-dry-activate /nix/store/a7x7i95b3smn49ayaxm41z01giaqh4w9-users-groups.json /nix/store/bqnzp8c0kk367i5lf81m4ivvvv1nrcz0-users-groups.json building '/nix/store/d4sbq19pb2yhphy16d87w48dlipwqybj-system-path.drv' building '/nix/store/sy55w359w636x9bsrcqrss8hj079cxvc-system-path.drv' building '/nix/store/10wp83d82pkah5lsx6vhplny256af81p-etc-hostname.drv' building '/nix/store/1f4a15l16xidl9lqj8alq66msk6lcd04-extra-hosts.drv' building '/nix/store/knv0v1kyw9wk85xljd39ikc3jww4f7sg-string-hosts.drv' building '/nix/store/3zzavpghfv4prqqwgajbzjgiwarf6s7l-firewall-start.drv' building '/nix/store/mhrnyp7ics0r95y4d91j9r4kbcmjar0w-firewall-stop.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 1660 symlinks in user environment system-path> structuredAttrs is enabled system-path> created 1752 symlinks in user environment building '/nix/store/n2pz0dcrnwy3il1jd8m80r14ml4qai6z-firewall-reload.drv' building '/nix/store/aaw4aqw7v9hq2diqfv1wl7vmz4qgid9f-hosts.drv' building '/nix/store/i9zasma5crp71prqr62561c9p1iq1cdf-hosts.drv' building '/nix/store/073yyjcb2dhpmh59m2wr1hx9bh5w80jn-dbus-1.drv' building '/nix/store/wrs8s9qfinfn1lfq2l3nbzmvicjci0ga-unit-setup-wg0-interface.service.drv' 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/09kf520b5laij4iwscyr6rx1yjy7ph3l-dbus-1.drv' building '/nix/store/c5j3rdy8qdmy5ki0xnp33kpnj4m418yr-unit-firewall.service.drv' building '/nix/store/h37bia87256a923hk5ll9w4b88pg8l8d-testScript.drv' building '/nix/store/sy7r92qmsa3v8ha00g0dif46ch488g68-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/byhgwvfxmf3f28qfiwvbx5qzbzy3dh2c-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/9idbm1hsi9p4ac0lpcj6rsan3xs1xq22-unit-dbus-broker.service.drv' building '/nix/store/h3yix7vc2j4l3xwx8skp1ccnpplliv95-unit-dbus-broker.service.drv' building '/nix/store/izi89angslgznv49d086i2nvk2m2qjp2-unit-nginx.service.drv' building '/nix/store/pynx49wby9aq4s307g9av1fjrq5pcv0w-unit-nginx.service.drv' building '/nix/store/d1vpfpgdg93hx2v00ihpqbyy3g3mc6q7-unit-dbus-broker.service.drv' building '/nix/store/v1y10nyq6vzak0kjpsvh19vwnq9r4pmb-unit-dbus-broker.service.drv' building '/nix/store/kbrw4394ns71r4sz9rknm8g05dzjp09b-system-units.drv' building '/nix/store/5w3l43g83p1jq29fjr7lm6nibvil02s7-user-units.drv' building '/nix/store/lmanir4k2i4hmixbrxwr9zk2y9haar61-system-units.drv' building '/nix/store/8k7jf4hkn4i584jmvfn2v896fzfiff3z-user-units.drv' building '/nix/store/wkkwr3r7xp0fpikl9gf00wfpyil4j9kr-etc.drv' building '/nix/store/lbg0nc7pqyfm6jbjnxb2fsyv97svaz5i-etc.drv' building '/nix/store/7ng2gm3yj5qalv8jfvvwfw17pcahkqb8-activate.drv' building '/nix/store/hafgcs5idjy7qhvpg39nkfm53llvsyiw-activate.drv' building '/nix/store/flwz2513gjb1n82bv817f9n4z95mn26x-nixos-system-router-test.drv' building '/nix/store/qzjqjird0l8h0psj0dv8g4fx8yp57vk9-nixos-system-machine-test.drv' nixos-system-router-test> structuredAttrs is enabled building '/nix/store/q41rp5cvbrd17095bz33i5x7f9igmkyl-closure-info.drv' nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/jra7bd6kpcqm1dnxzhzahc6lid2ifpck-closure-info.drv' closure-info> structuredAttrs is enabled closure-info> structuredAttrs is enabled building '/nix/store/5ygr3d7a53lcmxi84kqcjb2arrvfwcks-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/9jnasr76899jk46rbfdw4wvzbph3jx1z-container-test-run-user-firewall-iptables.drv' on 'ssh-ng://builder@build-x86-01.clan.lol' building '/nix/store/9jnasr76899jk46rbfdw4wvzbph3jx1z-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/s9j6afdsbb04zxm15jgsqblbqkawk5g9-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 f16a67ca-b30a-4193-b939-bf7332cbe3a7' container-test-run-user-firewall-iptables> Running as unit: run-p346-i7423159.service; invocation ID: 4b9c4b0bffa5425db858327e53d3caf6 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.*f16a67ca-b30a-4193-b939-bf7332cbe3a7') --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 f16a67ca-b30a-4193-b939-bf7332cbe3a7 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/35sf51amlhp6dfpr0m6k42m78k8sbxk7-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 6edf02cb-fb97-4e93-a7b7-0ab37b3a4dfc' container-test-run-user-firewall-iptables> Running as unit: run-p209-i7423162.service; invocation ID: eb710e365bcc463883203e4aef431c52 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.*6edf02cb-fb97-4e93-a7b7-0ab37b3a4dfc') --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 6edf02cb-fb97-4e93-a7b7-0ab37b3a4dfc 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> upload niks3: ok