these 26 derivations will be built: /nix/store/6ibpppzacswil1g4y1bv1m1lgcsc1r8x-command-not-found.drv /nix/store/08zlxyb8ahmj0481n7w2qx02ggzhn8c0-system-path.drv /nix/store/zg4xwv5ls6vhk2r7sqkb5zpzabsg2na0-system-path.drv /nix/store/9xc6ljwm2mamyzzmzdfdwqyaiqf2l41z-dbus-1.drv /nix/store/fwz3qwqpf08jh9g45634jdbb6fg5cwn8-X-Restart-Triggers-dbus-broker.drv /nix/store/1njrj5g2wzjnijcnxj38jx2mhwx2jvva-unit-dbus-broker.service.drv /nix/store/9vd01asf8dmb3rpsj9yp3qhgqkv5r3im-etc-bashrc.drv /nix/store/aw53g7rar4snv8jfkpiniyx11j1bh5cd-dbus-1.drv /nix/store/kxbv1v5rswhh4lfhpgz5gjf4llsixq6l-X-Restart-Triggers-dbus-broker.drv /nix/store/yda0fdaxk1fr72dzs8k76snqh3q1b7wv-unit-dbus-broker.service.drv /nix/store/rcxwll52kfzdlswr75d6bcp1h09hxz1s-user-units.drv /nix/store/a3lqizhamvl5z6hb4z5lmmkki51345g0-unit-dbus-broker.service.drv /nix/store/wcmm1vwvsqp52vay4n6ybgypbm683393-system-units.drv /nix/store/2dlybafbw9jc9c8iaky0v0l44azjyn36-etc.drv /nix/store/45i0hbpafmp8cx5ww3q0n8jdyq5c4syf-user-units.drv /nix/store/fikzy0silbgzk3l8fqycnzyi5qk3laiq-activate.drv /nix/store/ri3i3wa0mh65jq9rx31vdxam7azjrw47-nixos-system-machine-test.drv /nix/store/dh8z34k251hrzqlcy4h43jr9vri8dfv8-closure-info.drv /nix/store/qf8ya7zj5zv29vaznx40i0r2127an792-unit-dbus-broker.service.drv /nix/store/gyj6n4nqd53n4g6j3vhqcbplnzkx7d9n-system-units.drv /nix/store/dn40fcx7yg8fv7nwb77sf3jq7c8w7rcd-etc.drv /nix/store/vplv6wlbfmqjsfinz4by1zg2c6839vkz-activate.drv /nix/store/mciga9ib5ns6wyx04234bbrnl98c5q2d-nixos-system-router-test.drv /nix/store/xam18f9gnagjgmpqb8q7hh82awc2lq3y-closure-info.drv /nix/store/z7nlqzyms0zgv2d4f9x7dgxmvv37w3kn-nixos-test-driver-user-firewall-iptables.drv /nix/store/l47gdb2pmp92127h4b0s3gdjw30aa4l4-container-test-run-user-firewall-iptables.drv building '/nix/store/08zlxyb8ahmj0481n7w2qx02ggzhn8c0-system-path.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/08zlxyb8ahmj0481n7w2qx02ggzhn8c0-system-path.drv' system-path> structuredAttrs is enabled system-path> created 1746 symlinks in user environment building '/nix/store/aw53g7rar4snv8jfkpiniyx11j1bh5cd-dbus-1.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/aw53g7rar4snv8jfkpiniyx11j1bh5cd-dbus-1.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/kxbv1v5rswhh4lfhpgz5gjf4llsixq6l-X-Restart-Triggers-dbus-broker.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/kxbv1v5rswhh4lfhpgz5gjf4llsixq6l-X-Restart-Triggers-dbus-broker.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/a3lqizhamvl5z6hb4z5lmmkki51345g0-unit-dbus-broker.service.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/a3lqizhamvl5z6hb4z5lmmkki51345g0-unit-dbus-broker.service.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/wcmm1vwvsqp52vay4n6ybgypbm683393-system-units.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/yda0fdaxk1fr72dzs8k76snqh3q1b7wv-unit-dbus-broker.service.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/wcmm1vwvsqp52vay4n6ybgypbm683393-system-units.drv' building '/nix/store/yda0fdaxk1fr72dzs8k76snqh3q1b7wv-unit-dbus-broker.service.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/rcxwll52kfzdlswr75d6bcp1h09hxz1s-user-units.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/rcxwll52kfzdlswr75d6bcp1h09hxz1s-user-units.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/2dlybafbw9jc9c8iaky0v0l44azjyn36-etc.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/2dlybafbw9jc9c8iaky0v0l44azjyn36-etc.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/fikzy0silbgzk3l8fqycnzyi5qk3laiq-activate.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/fikzy0silbgzk3l8fqycnzyi5qk3laiq-activate.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/xam18f9gnagjgmpqb8q7hh82awc2lq3y-closure-info.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/ri3i3wa0mh65jq9rx31vdxam7azjrw47-nixos-system-machine-test.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/ri3i3wa0mh65jq9rx31vdxam7azjrw47-nixos-system-machine-test.drv' nixos-system-machine-test> structuredAttrs is enabled warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/xam18f9gnagjgmpqb8q7hh82awc2lq3y-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/dh8z34k251hrzqlcy4h43jr9vri8dfv8-closure-info.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/dh8z34k251hrzqlcy4h43jr9vri8dfv8-closure-info.drv' closure-info> structuredAttrs is enabled warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/z7nlqzyms0zgv2d4f9x7dgxmvv37w3kn-nixos-test-driver-user-firewall-iptables.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/z7nlqzyms0zgv2d4f9x7dgxmvv37w3kn-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/l47gdb2pmp92127h4b0s3gdjw30aa4l4-container-test-run-user-firewall-iptables.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/l47gdb2pmp92127h4b0s3gdjw30aa4l4-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/wh1sdlmicddz8pz9ff6zh7h3khfa4a1i-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 arm64. 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 (aarch64) - console >>> container-test-run-user-firewall-iptables> + systemd-run /bin/sh -c '/nix/store/wjm08iz4sdw5qgmx58dimv8ch7gbyyaj-coreutils-9.11/bin/sleep 999999999 && echo 4841d05c-6836-4f06-8122-1c2ee802a19c' container-test-run-user-firewall-iptables> Running as unit: run-p345-i9212412.service; invocation ID: 0cf0b5067a9344af924db8fb3e76c554 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.*4841d05c-6836-4f06-8122-1c2ee802a19c') --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/akbq19lqha5w5h9hcchn309znqm94pq0-python3-3.13.15/bin/python3.13 /nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 4841d05c-6836-4f06-8122-1c2ee802a19c 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/a2id0yds22g4pxq230hkcxwc9g2xab3c-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 arm64. 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 (aarch64) - console >>> container-test-run-user-firewall-iptables> + systemd-run /bin/sh -c '/nix/store/wjm08iz4sdw5qgmx58dimv8ch7gbyyaj-coreutils-9.11/bin/sleep 999999999 && echo d10227c2-8e56-4115-af91-b6e3e348bd6d' container-test-run-user-firewall-iptables> Running as unit: run-p209-i9212432.service; invocation ID: 73d5618dfdd747e49cd8da73b9e05b74 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.*d10227c2-8e56-4115-af91-b6e3e348bd6d') --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/akbq19lqha5w5h9hcchn309znqm94pq0-python3-3.13.15/bin/python3.13 /nix/store/969lhd485dnkvwd40vh884qdqvdyca7y-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py d10227c2-8e56-4115-af91-b6e3e348bd6d 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> + grep -oP '(?<=inet6\s)[0-9a-f:]+' container-test-run-user-firewall-iptables> + ip -6 addr show eth1 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.03 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