these 24 derivations will be built: /nix/store/4bra334b6hbsmnnkz8062nm2y6j86cgx-system-path.drv /nix/store/27jniggnqwqdi66l2aci9bsagwrsd91x-dbus-1.drv /nix/store/0mmqqr691amkjbkbmq4cx8qrr9zrrdl0-X-Restart-Triggers-dbus-broker.drv /nix/store/13p1x399bkxk4yl0wi4cmk5kjlhjsap9-unit-dbus-broker.service.drv /nix/store/bsbn6kpsyjdbx217rhw5c7hnsqa9gv9q-user-units.drv /nix/store/dc0yhb3brlbw958kw2vcsyjmh9bhs26l-unit-dbus-broker.service.drv /nix/store/hprhps41vxpsxnqk441d1dvkxqczs27a-system-units.drv /nix/store/25yz86qmyb8f17vp6fmrhpz3fy65qb0p-etc.drv /nix/store/3gpfvg3v0327g745sjga42lkx8ik2afy-system-path.drv /nix/store/a0dhnbj2mfgmsxjf0s8pkd1978j2h8zh-activate.drv /nix/store/whm9q8b0c7ay4j77anxijshwgn1xyqcy-nixos-system-router-test.drv /nix/store/810dbphjln9r6ycvmrfmzqh9wkd5v1ih-closure-info.drv /nix/store/v5icykfsaqi30i43y02pl1ip325jz8xd-dbus-1.drv /nix/store/h5vhhlkrvv949009970mdsjj5qgfnak1-X-Restart-Triggers-dbus-broker.drv /nix/store/svydxfnpfvls7cwbyv9nb249ibx608dc-unit-dbus-broker.service.drv /nix/store/ig0xzsjlr913vck0p1j4wgbxym99w39a-user-units.drv /nix/store/cjs4qp1fwcgybkvkzq79m5bsr2p3cwh8-unit-dbus-broker.service.drv /nix/store/l74n0c8wka0cy4bxrcdy214dill9c8ym-system-units.drv /nix/store/xn4942g462dczfm48kwg06nss0kif16c-etc.drv /nix/store/jgv134jrb44c3s7py0y8brpjc9mbc4f7-activate.drv /nix/store/j68j762alvbsj6iqwdlfbma1slcmwqgx-nixos-system-machine-test.drv /nix/store/gwlsg4rqq93wkq6yqjgyhcyr8rqc997v-closure-info.drv /nix/store/4996rp7jsf8pfzd1bg3r53f1vc4k88xr-nixos-test-driver-user-firewall-iptables.drv /nix/store/gn9lv9x5y2r1k4r6d95bhq5isyv0qvbd-container-test-run-user-firewall-iptables.drv building '/nix/store/3gpfvg3v0327g745sjga42lkx8ik2afy-system-path.drv' building '/nix/store/4bra334b6hbsmnnkz8062nm2y6j86cgx-system-path.drv' system-path> structuredAttrs is enabled system-path> structuredAttrs is enabled system-path> created 1752 symlinks in user environment system-path> created 1660 symlinks in user environment building '/nix/store/v5icykfsaqi30i43y02pl1ip325jz8xd-dbus-1.drv' building '/nix/store/27jniggnqwqdi66l2aci9bsagwrsd91x-dbus-1.drv' building '/nix/store/h5vhhlkrvv949009970mdsjj5qgfnak1-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/0mmqqr691amkjbkbmq4cx8qrr9zrrdl0-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/cjs4qp1fwcgybkvkzq79m5bsr2p3cwh8-unit-dbus-broker.service.drv' building '/nix/store/svydxfnpfvls7cwbyv9nb249ibx608dc-unit-dbus-broker.service.drv' building '/nix/store/l74n0c8wka0cy4bxrcdy214dill9c8ym-system-units.drv' building '/nix/store/13p1x399bkxk4yl0wi4cmk5kjlhjsap9-unit-dbus-broker.service.drv' building '/nix/store/dc0yhb3brlbw958kw2vcsyjmh9bhs26l-unit-dbus-broker.service.drv' building '/nix/store/bsbn6kpsyjdbx217rhw5c7hnsqa9gv9q-user-units.drv' building '/nix/store/ig0xzsjlr913vck0p1j4wgbxym99w39a-user-units.drv' building '/nix/store/hprhps41vxpsxnqk441d1dvkxqczs27a-system-units.drv' building '/nix/store/xn4942g462dczfm48kwg06nss0kif16c-etc.drv' building '/nix/store/25yz86qmyb8f17vp6fmrhpz3fy65qb0p-etc.drv' building '/nix/store/jgv134jrb44c3s7py0y8brpjc9mbc4f7-activate.drv' building '/nix/store/j68j762alvbsj6iqwdlfbma1slcmwqgx-nixos-system-machine-test.drv' nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/gwlsg4rqq93wkq6yqjgyhcyr8rqc997v-closure-info.drv' building '/nix/store/a0dhnbj2mfgmsxjf0s8pkd1978j2h8zh-activate.drv' closure-info> structuredAttrs is enabled building '/nix/store/whm9q8b0c7ay4j77anxijshwgn1xyqcy-nixos-system-router-test.drv' nixos-system-router-test> structuredAttrs is enabled building '/nix/store/810dbphjln9r6ycvmrfmzqh9wkd5v1ih-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/4996rp7jsf8pfzd1bg3r53f1vc4k88xr-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/gn9lv9x5y2r1k4r6d95bhq5isyv0qvbd-container-test-run-user-firewall-iptables.drv' on 'ssh-ng://builder@build-x86-01.clan.lol' building '/nix/store/gn9lv9x5y2r1k4r6d95bhq5isyv0qvbd-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/lr9kh5b06rkbfm2k8416ij9jmr4k1xfz-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 80e7d264-7427-4529-9010-885640da8f50' container-test-run-user-firewall-iptables> Running as unit: run-p346-i6378784.service; invocation ID: 5c1ff088aff54f23b54b11b6eb09f196 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.*80e7d264-7427-4529-9010-885640da8f50') --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 80e7d264-7427-4529-9010-885640da8f50 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/4rzfpdxxghicjvnfahq9lvv2l4bak5as-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 f44f2a1c-590b-48f1-bcf3-3670473349f9' container-test-run-user-firewall-iptables> Running as unit: run-p209-i6378794.service; invocation ID: 6c040d0bbf1d497da3bcd8342181587d 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.*f44f2a1c-590b-48f1-bcf3-3670473349f9') --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 f44f2a1c-590b-48f1-bcf3-3670473349f9 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.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