these 29 derivations will be built: /nix/store/yx2mijml1bnhgi2jjpq5lw0v4ha9yib9-command-not-found.drv /nix/store/x6744pjq264bj56lxbvbnk09b5n0fsad-system-path.drv /nix/store/qhkqgv8213rw2l9x4lf1qqprc20w85lh-dbus-1.drv /nix/store/p53d1wd1sjy0fnrb4igb75pniz2r70dw-X-Restart-Triggers-dbus-broker.drv /nix/store/gpfp966p7fkj1x4x6jwm9825zakyglsm-unit-dbus-broker.service.drv /nix/store/22drl09pjxcgf0bcmijnrqdi33fpgjl6-user-units.drv /nix/store/k48v4lcrx48mvpbv56sxijh1pf8c57v3-system-path.drv /nix/store/h0bv3qb2qkgnp03mpwdgs90b4lnl2kr3-dbus-1.drv /nix/store/3abyrdv7na856766j8a8il34sxiz7i0a-X-Restart-Triggers-dbus-broker.drv /nix/store/54pd5277xxj8zxbci7fw4arlm2bs4p7c-unit-dbus-broker.service.drv /nix/store/g69p96gvpfhrrxwbr4qpjmyk2rv34j05-unit-script-linger-users-start.drv /nix/store/r6nfkva1py0gxyaazhg5hik2j30f4s4s-unit-linger-users.service.drv /nix/store/zb7nqwsmim7w85x73byw0xw3jxhah4xp-unit-qemu-guest-agent.service.drv /nix/store/5h9xm35dxrda9vvw17mlw47w656g4acc-system-units.drv /nix/store/mccr8znv3h8j9ss7agx4a83s03as8f2x-etc-bashrc.drv /nix/store/6mqjhwk79j619357zkl82vym083mdh8d-unit-dbus-broker.service.drv /nix/store/z616vi2an9hzycc6l8pw53k2iv8dhlj1-user-units.drv /nix/store/nd2ipfzn2n1v6ijz2i55qaiihr095xyp-etc.drv /nix/store/41zy7366zx718ndrgpy95yd6drs4y73n-activate.drv /nix/store/m6w17ykcn2v186j4vb678wascdwqrawb-unit-dbus-broker.service.drv /nix/store/xck0c5db0nnqqfz7568qsr0wjlmwpglj-system-units.drv /nix/store/sj4mfc2vl6lmjz9xvqipic93lhs2qmar-etc.drv /nix/store/bz4haakjzc1gg1ybjlxa89na69plak3c-activate.drv /nix/store/zj1skk73jajpk3bynfx2k7smnp9acl14-nixos-system-router-test.drv /nix/store/cmp8cjb35fas865n083k6m9ai7bjp44a-closure-info.drv /nix/store/w03qkh7dpqfg44l1w4p72rb7658sis6i-nixos-system-machine-test.drv /nix/store/xhkhphka7hcjh343yp333rgy94xp194y-closure-info.drv /nix/store/g94a2zmk5m0qv5023zd9lk1r48imhnvq-nixos-test-driver-user-firewall-iptables.drv /nix/store/n6ils6l1hx3bsr0dh4dhin09xasc5g1a-container-test-run-user-firewall-iptables.drv building '/nix/store/k48v4lcrx48mvpbv56sxijh1pf8c57v3-system-path.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/x6744pjq264bj56lxbvbnk09b5n0fsad-system-path.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/k48v4lcrx48mvpbv56sxijh1pf8c57v3-system-path.drv' system-path> structuredAttrs is enabled system-path> created 1746 symlinks in user environment building '/nix/store/x6744pjq264bj56lxbvbnk09b5n0fsad-system-path.drv' system-path> structuredAttrs is enabled system-path> created 1654 symlinks in user environment building '/nix/store/h0bv3qb2qkgnp03mpwdgs90b4lnl2kr3-dbus-1.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/qhkqgv8213rw2l9x4lf1qqprc20w85lh-dbus-1.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/h0bv3qb2qkgnp03mpwdgs90b4lnl2kr3-dbus-1.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/qhkqgv8213rw2l9x4lf1qqprc20w85lh-dbus-1.drv' building '/nix/store/3abyrdv7na856766j8a8il34sxiz7i0a-X-Restart-Triggers-dbus-broker.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/p53d1wd1sjy0fnrb4igb75pniz2r70dw-X-Restart-Triggers-dbus-broker.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/3abyrdv7na856766j8a8il34sxiz7i0a-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/p53d1wd1sjy0fnrb4igb75pniz2r70dw-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/54pd5277xxj8zxbci7fw4arlm2bs4p7c-unit-dbus-broker.service.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/6mqjhwk79j619357zkl82vym083mdh8d-unit-dbus-broker.service.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/gpfp966p7fkj1x4x6jwm9825zakyglsm-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 warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/54pd5277xxj8zxbci7fw4arlm2bs4p7c-unit-dbus-broker.service.drv' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/6mqjhwk79j619357zkl82vym083mdh8d-unit-dbus-broker.service.drv' building '/nix/store/z616vi2an9hzycc6l8pw53k2iv8dhlj1-user-units.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/gpfp966p7fkj1x4x6jwm9825zakyglsm-unit-dbus-broker.service.drv' building '/nix/store/22drl09pjxcgf0bcmijnrqdi33fpgjl6-user-units.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/5h9xm35dxrda9vvw17mlw47w656g4acc-system-units.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/z616vi2an9hzycc6l8pw53k2iv8dhlj1-user-units.drv' building '/nix/store/22drl09pjxcgf0bcmijnrqdi33fpgjl6-user-units.drv' building '/nix/store/5h9xm35dxrda9vvw17mlw47w656g4acc-system-units.drv' building '/nix/store/nd2ipfzn2n1v6ijz2i55qaiihr095xyp-etc.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/nd2ipfzn2n1v6ijz2i55qaiihr095xyp-etc.drv' building '/nix/store/41zy7366zx718ndrgpy95yd6drs4y73n-activate.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/41zy7366zx718ndrgpy95yd6drs4y73n-activate.drv' building '/nix/store/w03qkh7dpqfg44l1w4p72rb7658sis6i-nixos-system-machine-test.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/w03qkh7dpqfg44l1w4p72rb7658sis6i-nixos-system-machine-test.drv' nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/xhkhphka7hcjh343yp333rgy94xp194y-closure-info.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/cmp8cjb35fas865n083k6m9ai7bjp44a-closure-info.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/xhkhphka7hcjh343yp333rgy94xp194y-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/cmp8cjb35fas865n083k6m9ai7bjp44a-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/g94a2zmk5m0qv5023zd9lk1r48imhnvq-nixos-test-driver-user-firewall-iptables.drv' on 'ssh-ng://builder@build01.clan.lol' warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/g94a2zmk5m0qv5023zd9lk1r48imhnvq-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 warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy building '/nix/store/n6ils6l1hx3bsr0dh4dhin09xasc5g1a-container-test-run-user-firewall-iptables.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/n6ils6l1hx3bsr0dh4dhin09xasc5g1a-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/4hvx9y30q8psydy40h2cqgqqjnih22an-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 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 43635055-7c2a-4793-9a6c-fc2bd09a65c7' container-test-run-user-firewall-iptables> Running as unit: run-p345-i13576405.service; invocation ID: 04bb3ae381cf4ef38c8366f6effb1837 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.*43635055-7c2a-4793-9a6c-fc2bd09a65c7') --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 43635055-7c2a-4793-9a6c-fc2bd09a65c7 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/wfng7qhp11s8nc590xjl66i3kly05ikq-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 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 a6c8b04a-b30b-4c3a-9f2c-5b0206ee610f' container-test-run-user-firewall-iptables> Running as unit: run-p209-i13576426.service; invocation ID: afd881c39be3464ea625f43d60445177 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.*a6c8b04a-b30b-4c3a-9f2c-5b0206ee610f') --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 a6c8b04a-b30b-4c3a-9f2c-5b0206ee610f 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.02 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