these 44 derivations will be built: /nix/store/n1gb4d1p021rgzbl1aig1n753z45vk9y-system-path.drv /nix/store/p2xmbfz4zqcdzaas497sw8haj9wxrs1w-dbus-1.drv /nix/store/isg8y766a88jsdl1spssndx5xzaql90k-X-Restart-Triggers-dbus-broker.drv /nix/store/n3ywihcaa7m1gr3vr5xvxywxw0bqpp05-unit-dbus-broker.service.drv /nix/store/08v27r4c986wpal8bcn1s7m0mbz47mdm-user-units.drv /nix/store/njy1c8s0y9270gy8hmhyvrpp04r8rv2l-system-path.drv /nix/store/vf3qfx4iznbxhrphsiiv0gypxi216654-dbus-1.drv /nix/store/m09fj2q3bwd2bi19g1fq85b1hxnlfhcs-X-Restart-Triggers-dbus-broker.drv /nix/store/2lsd6dmyybdrfciavdcahrchlsm14djw-unit-dbus-broker.service.drv /nix/store/3i99z1352932mm4r8yd1ggr3n22rj8nq-user-units.drv /nix/store/3qfyakfk12qxdgq9n1x5z2rmvvf5zlgx-unit-dbus-broker.service.drv /nix/store/3zzavpghfv4prqqwgajbzjgiwarf6s7l-firewall-start.drv /nix/store/mhrnyp7ics0r95y4d91j9r4kbcmjar0w-firewall-stop.drv /nix/store/n2pz0dcrnwy3il1jd8m80r14ml4qai6z-firewall-reload.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/8hadc0y5dv8aklvlsxaj981pi2c9smy7-system-units.drv /nix/store/1f4a15l16xidl9lqj8alq66msk6lcd04-extra-hosts.drv /nix/store/aaw4aqw7v9hq2diqfv1wl7vmz4qgid9f-hosts.drv /nix/store/0lyhp60wr63n3fdkj09gy683qvaykd00-etc.drv /nix/store/10wp83d82pkah5lsx6vhplny256af81p-etc-hostname.drv /nix/store/h37bia87256a923hk5ll9w4b88pg8l8d-testScript.drv /nix/store/738v50h8q6dszgjqd6j2c0y54cg0xsid-users-groups.json.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/q0bg6gixr0akcaapjjlf41spdq5bwxas-unit-dbus-broker.service.drv /nix/store/b0cy8n4sgv34f4pw5xgyjr42j8za157m-system-units.drv /nix/store/knv0v1kyw9wk85xljd39ikc3jww4f7sg-string-hosts.drv /nix/store/i9zasma5crp71prqr62561c9p1iq1cdf-hosts.drv /nix/store/rgvrmrzvqhja0dn9v2bm34hnimz1ha32-etc.drv /nix/store/6sxyqip8aybwvajmwy68jgzr7qm5h2m5-activate.drv /nix/store/qv2bzidssdakk0m7sv6pxdj3i7lk8zr0-nixos-system-router-test.drv /nix/store/7391vv9h96nsk9wwjzqk6hpcnn7x5lgj-closure-info.drv /nix/store/m367ddd9ffw530jgf5fmwlzlkvyrbka2-users-groups.json.drv /nix/store/d6lymprmmdqf3yzr06japypfvh3yvbd7-activate.drv /nix/store/f2q293ric8mmikxpdvhgfg0mbpc9jx1g-nixos-system-machine-test.drv /nix/store/a1vs2ljkkp6q6yfgv8blg95r15bhdflr-closure-info.drv /nix/store/62n6xmpmxd75j5gcihvbx7jma9gda0bp-nixos-test-driver-user-firewall-iptables.drv /nix/store/dbmi4yxbn82yvqm8ahv3bfmv5ksdlk20-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/n1gb4d1p021rgzbl1aig1n753z45vk9y-system-path.drv' building '/nix/store/njy1c8s0y9270gy8hmhyvrpp04r8rv2l-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/p2xmbfz4zqcdzaas497sw8haj9wxrs1w-dbus-1.drv' building '/nix/store/vf3qfx4iznbxhrphsiiv0gypxi216654-dbus-1.drv' building '/nix/store/wrs8s9qfinfn1lfq2l3nbzmvicjci0ga-unit-setup-wg0-interface.service.drv' building '/nix/store/isg8y766a88jsdl1spssndx5xzaql90k-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/m09fj2q3bwd2bi19g1fq85b1hxnlfhcs-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/n3ywihcaa7m1gr3vr5xvxywxw0bqpp05-unit-dbus-broker.service.drv' building '/nix/store/q0bg6gixr0akcaapjjlf41spdq5bwxas-unit-dbus-broker.service.drv' building '/nix/store/izi89angslgznv49d086i2nvk2m2qjp2-unit-nginx.service.drv' building '/nix/store/pynx49wby9aq4s307g9av1fjrq5pcv0w-unit-nginx.service.drv' building '/nix/store/2lsd6dmyybdrfciavdcahrchlsm14djw-unit-dbus-broker.service.drv' building '/nix/store/3qfyakfk12qxdgq9n1x5z2rmvvf5zlgx-unit-dbus-broker.service.drv' building '/nix/store/08v27r4c986wpal8bcn1s7m0mbz47mdm-user-units.drv' building '/nix/store/b0cy8n4sgv34f4pw5xgyjr42j8za157m-system-units.drv' building '/nix/store/8hadc0y5dv8aklvlsxaj981pi2c9smy7-system-units.drv' building '/nix/store/3i99z1352932mm4r8yd1ggr3n22rj8nq-user-units.drv' building '/nix/store/rgvrmrzvqhja0dn9v2bm34hnimz1ha32-etc.drv' building '/nix/store/0lyhp60wr63n3fdkj09gy683qvaykd00-etc.drv' building '/nix/store/6sxyqip8aybwvajmwy68jgzr7qm5h2m5-activate.drv' building '/nix/store/d6lymprmmdqf3yzr06japypfvh3yvbd7-activate.drv' building '/nix/store/qv2bzidssdakk0m7sv6pxdj3i7lk8zr0-nixos-system-router-test.drv' building '/nix/store/f2q293ric8mmikxpdvhgfg0mbpc9jx1g-nixos-system-machine-test.drv' nixos-system-router-test> structuredAttrs is enabled building '/nix/store/7391vv9h96nsk9wwjzqk6hpcnn7x5lgj-closure-info.drv' nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/a1vs2ljkkp6q6yfgv8blg95r15bhdflr-closure-info.drv' closure-info> structuredAttrs is enabled closure-info> structuredAttrs is enabled building '/nix/store/62n6xmpmxd75j5gcihvbx7jma9gda0bp-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/dbmi4yxbn82yvqm8ahv3bfmv5ksdlk20-container-test-run-user-firewall-iptables.drv' on 'ssh-ng://builder@build-x86-01.clan.lol' building '/nix/store/dbmi4yxbn82yvqm8ahv3bfmv5ksdlk20-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/z7dvimrl7w6g1g0c5jsl7rm9ifx1d2nb-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 f6fc0e17-ec18-4279-a898-bae34624848d' container-test-run-user-firewall-iptables> Running as unit: run-p345-i9662672.service; invocation ID: 1d6fb8c9c0704c3395d46d3adaf8e164 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.*f6fc0e17-ec18-4279-a898-bae34624848d') --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 f6fc0e17-ec18-4279-a898-bae34624848d 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/bqv63xa7kj4l9fr096s19lfd5v96w9ly-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 23bcb44b-9139-448f-b98f-750ff2b1f475' container-test-run-user-firewall-iptables> Running as unit: run-p208-i9662681.service; invocation ID: 8a7ab4613cd54c668e766b844be7668d 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.*23bcb44b-9139-448f-b98f-750ff2b1f475') --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 23bcb44b-9139-448f-b98f-750ff2b1f475 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> + 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> + 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> + 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 5.08 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