these 46 derivations will be built: /nix/store/0xblar8cb1mk0gg8basadp6v5mmm5gci-system-path.drv /nix/store/10wp83d82pkah5lsx6vhplny256af81p-etc-hostname.drv /nix/store/1f4a15l16xidl9lqj8alq66msk6lcd04-extra-hosts.drv /nix/store/3zzavpghfv4prqqwgajbzjgiwarf6s7l-firewall-start.drv /nix/store/738v50h8q6dszgjqd6j2c0y54cg0xsid-users-groups.json.drv /nix/store/9nyn83fccbr7awslsh2ws5glgrr1nc38-dbus-1.drv /nix/store/f2gjlw7qk9mkahbp7jbg4pr5x88vkbig-X-Restart-Triggers-dbus-broker.drv /nix/store/danl82ww6p168dig3ivil4r416b5b402-unit-dbus-broker.service.drv /nix/store/9s3chxrh1yj2km6j9494ddx5rfgl4n9d-user-units.drv /nix/store/dba2vj2x2d7yw78r3a05488177x7zz3r-system-path.drv /nix/store/afrh344iabkgx4hv6b4l6xay1x1h5y4m-dbus-1.drv /nix/store/v1dzn15a9l9s12wm9lrs09qgjcby44ps-X-Restart-Triggers-dbus-broker.drv /nix/store/9w9h9klbd4b6jhk407ydyqqgghxiam3y-unit-dbus-broker.service.drv /nix/store/aaw4aqw7v9hq2diqfv1wl7vmz4qgid9f-hosts.drv /nix/store/c0ld8xjy823d9brpqzd810w4315d2gz2-dry-activate.drv /nix/store/mhrnyp7ics0r95y4d91j9r4kbcmjar0w-firewall-stop.drv /nix/store/n2pz0dcrnwy3il1jd8m80r14ml4qai6z-firewall-reload.drv /nix/store/c5j3rdy8qdmy5ki0xnp33kpnj4m418yr-unit-firewall.service.drv /nix/store/dx97pwvi9mgc4fsrhrwzlj7w41ipfzxa-unit-dbus-broker.service.drv /nix/store/h37bia87256a923hk5ll9w4b88pg8l8d-testScript.drv /nix/store/hs4hjavhwg5hhriz88wzpwci8lfgl2mm-user-units.drv /nix/store/knv0v1kyw9wk85xljd39ikc3jww4f7sg-string-hosts.drv /nix/store/i9zasma5crp71prqr62561c9p1iq1cdf-hosts.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/xjyb7r9h8cv3g5gsfzy1l3nwpzj9y3cr-system-units.drv /nix/store/n0ggykkgb0pzmfp04j9w8iz9dbrs74wz-etc.drv /nix/store/hz962f2hs69g0414cb2rf8i61fx700x9-activate.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/q4kmpghr2shh1z44d1ccrhc9rwz26niq-unit-dbus-broker.service.drv /nix/store/kh7d2g5bvb8fx8vjdx2n0dyb0s9lx9mw-unit-script-setup-wg0-interface-start.drv /nix/store/wrs8s9qfinfn1lfq2l3nbzmvicjci0ga-unit-setup-wg0-interface.service.drv /nix/store/yij32k5mc34h73q92vzwdvvprqjk6ccc-system-units.drv /nix/store/is5gl85wkdhc0r5rg1s6lxd0z0z93hcg-etc.drv /nix/store/m367ddd9ffw530jgf5fmwlzlkvyrbka2-users-groups.json.drv /nix/store/ix4gf024300q59cfgymim1db68j28iwc-dry-activate.drv /nix/store/mr7kk9scdffg85z34avjcp9sblq3hszd-activate.drv /nix/store/k03qp86sflclgpwwgskmmagwafy4qmxq-nixos-system-machine-test.drv /nix/store/ka1116h141brqldc0a4h8l719agkwzxa-closure-info.drv /nix/store/lc4ysgnm6imfn43g9kxphjb6mvdj2lm9-nixos-system-router-test.drv /nix/store/mzrca3pjhr3pcbwfi7qwdwz2zwa9wjd5-closure-info.drv /nix/store/v5ddf1b2fd7hs909h2ha7lwjh7rcmkiv-nixos-test-driver-user-firewall-iptables.drv /nix/store/ppprkshl211d0qxv7x8wvhz2f3n8za12-container-test-run-user-firewall-iptables.drv building '/nix/store/0xblar8cb1mk0gg8basadp6v5mmm5gci-system-path.drv' building '/nix/store/dba2vj2x2d7yw78r3a05488177x7zz3r-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' 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/9nyn83fccbr7awslsh2ws5glgrr1nc38-dbus-1.drv' building '/nix/store/afrh344iabkgx4hv6b4l6xay1x1h5y4m-dbus-1.drv' building '/nix/store/wrs8s9qfinfn1lfq2l3nbzmvicjci0ga-unit-setup-wg0-interface.service.drv' building '/nix/store/f2gjlw7qk9mkahbp7jbg4pr5x88vkbig-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/c5j3rdy8qdmy5ki0xnp33kpnj4m418yr-unit-firewall.service.drv' building '/nix/store/vgaziq1vs20g0j87rpyxpbi5chwwa2hk-unit-script-nginx-pre-start.drv' building '/nix/store/yi901448pdfdc36ljrk2v31adgj8jvr8-unit-script-nginx-pre-start.drv' building '/nix/store/h37bia87256a923hk5ll9w4b88pg8l8d-testScript.drv' building '/nix/store/738v50h8q6dszgjqd6j2c0y54cg0xsid-users-groups.json.drv' building '/nix/store/m367ddd9ffw530jgf5fmwlzlkvyrbka2-users-groups.json.drv' building '/nix/store/v1dzn15a9l9s12wm9lrs09qgjcby44ps-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/danl82ww6p168dig3ivil4r416b5b402-unit-dbus-broker.service.drv' building '/nix/store/dx97pwvi9mgc4fsrhrwzlj7w41ipfzxa-unit-dbus-broker.service.drv' building '/nix/store/pynx49wby9aq4s307g9av1fjrq5pcv0w-unit-nginx.service.drv' building '/nix/store/c0ld8xjy823d9brpqzd810w4315d2gz2-dry-activate.drv' building '/nix/store/ix4gf024300q59cfgymim1db68j28iwc-dry-activate.drv' building '/nix/store/9w9h9klbd4b6jhk407ydyqqgghxiam3y-unit-dbus-broker.service.drv' building '/nix/store/q4kmpghr2shh1z44d1ccrhc9rwz26niq-unit-dbus-broker.service.drv' building '/nix/store/izi89angslgznv49d086i2nvk2m2qjp2-unit-nginx.service.drv' building '/nix/store/9s3chxrh1yj2km6j9494ddx5rfgl4n9d-user-units.drv' building '/nix/store/xjyb7r9h8cv3g5gsfzy1l3nwpzj9y3cr-system-units.drv' building '/nix/store/hs4hjavhwg5hhriz88wzpwci8lfgl2mm-user-units.drv' building '/nix/store/yij32k5mc34h73q92vzwdvvprqjk6ccc-system-units.drv' building '/nix/store/n0ggykkgb0pzmfp04j9w8iz9dbrs74wz-etc.drv' building '/nix/store/is5gl85wkdhc0r5rg1s6lxd0z0z93hcg-etc.drv' building '/nix/store/hz962f2hs69g0414cb2rf8i61fx700x9-activate.drv' building '/nix/store/mr7kk9scdffg85z34avjcp9sblq3hszd-activate.drv' building '/nix/store/lc4ysgnm6imfn43g9kxphjb6mvdj2lm9-nixos-system-router-test.drv' building '/nix/store/k03qp86sflclgpwwgskmmagwafy4qmxq-nixos-system-machine-test.drv' nixos-system-router-test> structuredAttrs is enabled building '/nix/store/mzrca3pjhr3pcbwfi7qwdwz2zwa9wjd5-closure-info.drv' nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/ka1116h141brqldc0a4h8l719agkwzxa-closure-info.drv' closure-info> structuredAttrs is enabled closure-info> structuredAttrs is enabled building '/nix/store/v5ddf1b2fd7hs909h2ha7lwjh7rcmkiv-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/ppprkshl211d0qxv7x8wvhz2f3n8za12-container-test-run-user-firewall-iptables.drv' on 'ssh-ng://builder@build-x86-01.clan.lol' building '/nix/store/ppprkshl211d0qxv7x8wvhz2f3n8za12-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/swxj8hzcjrchswxdc2f1cnzp8gsqjy9j-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@if4: 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 e0197b56-4a22-4bc7-a902-0b5f08b2eaa7' container-test-run-user-firewall-iptables> Running as unit: run-p346-i6535439.service; invocation ID: 0644a62060754a15b35d6b27b8bd6eac 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.*e0197b56-4a22-4bc7-a902-0b5f08b2eaa7') --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 e0197b56-4a22-4bc7-a902-0b5f08b2eaa7 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/f5q2726mrbz5m99h2x52ss6c3487bi9l-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@if3: 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 d84af57a-85e0-499c-a632-952bd63f1c54' container-test-run-user-firewall-iptables> Running as unit: run-p209-i6535442.service; invocation ID: 940ba890fc104478829fa63105733c4a 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.*d84af57a-85e0-499c-a632-952bd63f1c54') --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 d84af57a-85e0-499c-a632-952bd63f1c54 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