these 13 derivations will be built: /nix/store/wqcwrfzmbqz9n4mmn9f7a39nrmbxzl52-unit-sshd-keygen.service.drv /nix/store/w9pmvhrxcn2kjzqh163np4c8iqbz3hlk-system-units.drv /nix/store/jzm2biby13k3mpgz15g23bf5qsp5698m-etc.drv /nix/store/h965qry3qm9jnfi1blwj7mr17278a3r9-activate.drv /nix/store/ci8d0lvbw9k94a0kgwpkzq7jd0g6zdjz-nixos-system-server-test.drv /nix/store/wd09wg4fqiiknbvfqa8k0bry9m9nplps-testScript.drv /nix/store/8prdh4c88z7k50j2645f6swy1m94jh3r-closure-info.drv /nix/store/7z7xq3d9m8jg1r40d19mvi0jgdd52h7m-etc.drv /nix/store/29kwy30rjmsh7ld1wcr8m1w97wpsaxk6-activate.drv /nix/store/v8xm5g20h486zh7pawvfmbkvq3w5nw33-nixos-system-client-test.drv /nix/store/lr515zsmyd7xr80ghdxdgqa7gwdhyds5-closure-info.drv /nix/store/qp67glafwpg8bi4yvbqab1dnbhxsmwsp-nixos-test-driver-sshd.drv /nix/store/07z16y3qhb6vr5yihcblyigkpkd4d210-container-test-run-sshd.drv these 5 paths will be fetched (0.0 KiB download, 7.1 KiB unpacked): /nix/store/ippzn0nllng8hp8vrciw0f8lspvxnjg4-check-sshd-config /nix/store/7w7adwq3m7m6q9bckhnhzp36jjc13z5g-decrypt-age-secrets /nix/store/243h5rcs0iccdm8ckadxkwhmskhss69q-dry-activate /nix/store/i3j0zdq7kwfq9wa7k1pjhp2krp6yv1gb-sshd.conf-final /nix/store/jkyhy06469hkwifivpza91z3cbw5zrxq-vars-check-sshd building '/nix/store/wqcwrfzmbqz9n4mmn9f7a39nrmbxzl52-unit-sshd-keygen.service.drv' building '/nix/store/wd09wg4fqiiknbvfqa8k0bry9m9nplps-testScript.drv' building '/nix/store/7z7xq3d9m8jg1r40d19mvi0jgdd52h7m-etc.drv' building '/nix/store/w9pmvhrxcn2kjzqh163np4c8iqbz3hlk-system-units.drv' building '/nix/store/29kwy30rjmsh7ld1wcr8m1w97wpsaxk6-activate.drv' building '/nix/store/v8xm5g20h486zh7pawvfmbkvq3w5nw33-nixos-system-client-test.drv' nixos-system-client-test> structuredAttrs is enabled building '/nix/store/lr515zsmyd7xr80ghdxdgqa7gwdhyds5-closure-info.drv' building '/nix/store/jzm2biby13k3mpgz15g23bf5qsp5698m-etc.drv' closure-info> structuredAttrs is enabled building '/nix/store/h965qry3qm9jnfi1blwj7mr17278a3r9-activate.drv' building '/nix/store/ci8d0lvbw9k94a0kgwpkzq7jd0g6zdjz-nixos-system-server-test.drv' nixos-system-server-test> structuredAttrs is enabled building '/nix/store/8prdh4c88z7k50j2645f6swy1m94jh3r-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/qp67glafwpg8bi4yvbqab1dnbhxsmwsp-nixos-test-driver-sshd.drv' nixos-test-driver-sshd> Running type check (enable/disable: config.skipTypeCheck) nixos-test-driver-sshd> See https://nixos.org/manual/nixos/stable/#test-opt-skipTypeCheck nixos-test-driver-sshd> Success: no issues found in 1 source file building '/nix/store/07z16y3qhb6vr5yihcblyigkpkd4d210-container-test-run-sshd.drv' on 'ssh-ng://builder@build-x86-01.clan.lol' building '/nix/store/07z16y3qhb6vr5yihcblyigkpkd4d210-container-test-run-sshd.drv' container-test-run-sshd> additionally exposed symbols: container-test-run-sshd> client, server, container-test-run-sshd> start_all, machines, driver, Machine, wait_for_signal container-test-run-sshd> :7: SyntaxWarning: invalid escape sequence '\*' container-test-run-sshd> :13: SyntaxWarning: invalid escape sequence '\*' container-test-run-sshd> Starting client container-test-run-sshd> Starting server container-test-run-sshd> container-test-run-sshd> container-test-run-sshd> container-test-run-sshd> <<< NixOS Stage 2 >>> container-test-run-sshd> container-test-run-sshd> booting system configuration /nix/store/0p17yy19hj9g1d5rk5kpyxlsy3dlanzp-nixos-system-client-test container-test-run-sshd> running activation script... container-test-run-sshd> setting up /etc... container-test-run-sshd> 2: host0@if3: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 container-test-run-sshd> link/ether 2a:42:35:28:b1:2f brd ff:ff:ff:ff:ff:ff link-netnsid 0 container-test-run-sshd> setting up age secrets... container-test-run-sshd> starting systemd... container-test-run-sshd> 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-sshd> Detected virtualization systemd-nspawn. container-test-run-sshd> Detected architecture x86-64. container-test-run-sshd> Detected first boot. container-test-run-sshd> Initializing machine ID from container UUID. container-test-run-sshd> Applying preset policy. container-test-run-sshd> Populated /etc with preset unit settings. container-test-run-sshd> Queued start job for default target Multi-User System. container-test-run-sshd> container-test-run-sshd> container-test-run-sshd> container-test-run-sshd> <<< Welcome to NixOS test (x86_64) - console >>> container-test-run-sshd> + systemd-run /bin/sh -c '/nix/store/61685rbaxmpigwi3z23i33sv3jyfl70q-coreutils-9.11/bin/sleep 999999999 && echo 0412b3c4-c5cb-437b-9de3-d19c082d6737' container-test-run-sshd> Running as unit: run-p304-i10082903.service; invocation ID: 80fe842011d945229553007d6a425c1c container-test-run-sshd> To attach to container client run on the same machine that runs the test: container-test-run-sshd> sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*0412b3c4-c5cb-437b-9de3-d19c082d6737') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash container-test-run-sshd> container-test-run-sshd> To inject external network and continue test, run: container-test-run-sshd> sudo /nix/store/h3l4z7p6wny3phbckwwhy1i2g52pdnj4-python3-3.13.15/bin/python3.13 /nix/store/f960jm4nawb9zr6cb9d0vfpb7hifp96b-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 0412b3c4-c5cb-437b-9de3-d19c082d6737 container-test-run-sshd> container-test-run-sshd> <<< NixOS Stage 2 >>> container-test-run-sshd> container-test-run-sshd> booting system configuration /nix/store/rpjp6svglxiw7860zvaxabvc2k4zvpyf-nixos-system-server-test container-test-run-sshd> running activation script... container-test-run-sshd> setting up /etc... container-test-run-sshd> 2: host0@if4: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 container-test-run-sshd> link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 0 container-test-run-sshd> setting up age secrets... container-test-run-sshd> starting systemd... container-test-run-sshd> 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-sshd> Detected virtualization systemd-nspawn. container-test-run-sshd> Detected architecture x86-64. container-test-run-sshd> Detected first boot. container-test-run-sshd> Initializing machine ID from container UUID. container-test-run-sshd> Applying preset policy. container-test-run-sshd> Populated /etc with preset unit settings. container-test-run-sshd> Queued start job for default target Multi-User System. container-test-run-sshd> container-test-run-sshd> container-test-run-sshd> container-test-run-sshd> <<< Welcome to NixOS test (x86_64) - console >>> container-test-run-sshd> + systemd-run /bin/sh -c '/nix/store/61685rbaxmpigwi3z23i33sv3jyfl70q-coreutils-9.11/bin/sleep 999999999 && echo 8c3bd2c6-c4de-4dd0-baa2-6f34cf6e999c' container-test-run-sshd> Running as unit: run-p333-i10082910.service; invocation ID: c34cc71c25bb47b691004d2428c1bb8e container-test-run-sshd> To attach to container server run on the same machine that runs the test: container-test-run-sshd> sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*8c3bd2c6-c4de-4dd0-baa2-6f34cf6e999c') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash container-test-run-sshd> container-test-run-sshd> To inject external network and continue test, run: container-test-run-sshd> sudo /nix/store/h3l4z7p6wny3phbckwwhy1i2g52pdnj4-python3-3.13.15/bin/python3.13 /nix/store/f960jm4nawb9zr6cb9d0vfpb7hifp96b-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 8c3bd2c6-c4de-4dd0-baa2-6f34cf6e999c container-test-run-sshd> + /nix/store/v894am61q5k6iybclqrpy9gc55sw5svz-libressl-4.2.1-nc/bin/nc -z -v 127.0.0.1 22 container-test-run-sshd> Connection to 127.0.0.1 22 port [tcp/ssh] succeeded! container-test-run-sshd> + grep '^@cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts container-test-run-sshd> + grep '^localhost,server,server.clan ssh-ed25519 ' /etc/ssh/ssh_known_hosts container-test-run-sshd> + grep '^.cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts container-test-run-sshd> + grep test-key /etc/ssh/authorized_keys.d/root container-test-run-sshd> + cp /nix/store/wiksrsbhvksa9njqxd2i7say2bcvibnn-test-key /tmp/test-key container-test-run-sshd> + chmod 600 /tmp/test-key container-test-run-sshd> + ssh -o StrictHostKeyChecking=accept-new -i /tmp/test-key root@server 'echo SSH_SUCCESS' container-test-run-sshd> container-test-run-sshd> + grep root@server /etc/ssh/authorized_keys.d/root container-test-run-sshd> + scp -i /tmp/test-key root@server:/run/secrets/sshd-root-key/id_ed25519 /tmp/generated-key container-test-run-sshd> + chmod 600 /tmp/generated-key container-test-run-sshd> + ssh -i /tmp/generated-key root@server 'echo GENERATED_KEY_SUCCESS' container-test-run-sshd> container-test-run-sshd> upload niks3: ok