these 19 derivations will be built: /nix/store/gki6fap0z6j421jwxc53zv7qqs4qav26-etc-ssh-ssh_known_hosts.drv /nix/store/ny19ca59wcfalllhwgz3yk5239r5qrjg-etc.drv /nix/store/z15fykbz0y3ahwbnvab0970ja7cbbnj5-activate.drv /nix/store/5a9dr5wqny32ffxnz8bzn8dfqri94waq-nixos-system-client-test.drv /nix/store/6a23rsr10fxv16zvxvb9hnj7yawfw26c-dry-activate.drv /nix/store/1ck14v99vq1ixfkdhr8qpizddh1qjd3m-unit-script-sshd-keygen-start.drv /nix/store/wqcwrfzmbqz9n4mmn9f7a39nrmbxzl52-unit-sshd-keygen.service.drv /nix/store/2y2wncggk80jg5s5d7snqiirpnn7d908-system-units.drv /nix/store/accfi9h1ylwr99i4bi2si7yw64g06sir-root-authorized_keys.drv /nix/store/jpwdi3zhxrz2jqmbsj5vljhsrmgfqn1p-etc-ssh-ssh_known_hosts.drv /nix/store/qxn86plid43ifplbb93i8607b1apg7mf-etc.drv /nix/store/r01cn89z3djxsjimcsg86i4z8cdjk38z-activate.drv /nix/store/wxngdkfdgwa5ppiards7k9cw5fjwdfsz-check-sshd-config.drv /nix/store/hnch1vxaj34m36nfcm5k619j6pags3fi-nixos-system-server-test.drv /nix/store/wd09wg4fqiiknbvfqa8k0bry9m9nplps-testScript.drv /nix/store/fvxqxky9ig3gz5i8dcp1vmdms9r64hiv-closure-info.drv /nix/store/lif71cyxrzi5552aqicc7xmm2s9hbh30-closure-info.drv /nix/store/0hr2nwbkbc0kb38b6dvs1xnf6q5pkayy-nixos-test-driver-sshd.drv /nix/store/bm928m9gjv43dcilxbvh10wywdrfwm1h-container-test-run-sshd.drv these 3 paths will be fetched (0.0 KiB download, 4.3 KiB unpacked): /nix/store/7w7adwq3m7m6q9bckhnhzp36jjc13z5g-decrypt-age-secrets /nix/store/i3j0zdq7kwfq9wa7k1pjhp2krp6yv1gb-sshd.conf-final /nix/store/jkyhy06469hkwifivpza91z3cbw5zrxq-vars-check-sshd building '/nix/store/gki6fap0z6j421jwxc53zv7qqs4qav26-etc-ssh-ssh_known_hosts.drv' building '/nix/store/jpwdi3zhxrz2jqmbsj5vljhsrmgfqn1p-etc-ssh-ssh_known_hosts.drv' building '/nix/store/accfi9h1ylwr99i4bi2si7yw64g06sir-root-authorized_keys.drv' building '/nix/store/1ck14v99vq1ixfkdhr8qpizddh1qjd3m-unit-script-sshd-keygen-start.drv' building '/nix/store/wd09wg4fqiiknbvfqa8k0bry9m9nplps-testScript.drv' building '/nix/store/wqcwrfzmbqz9n4mmn9f7a39nrmbxzl52-unit-sshd-keygen.service.drv' building '/nix/store/ny19ca59wcfalllhwgz3yk5239r5qrjg-etc.drv' building '/nix/store/2y2wncggk80jg5s5d7snqiirpnn7d908-system-units.drv' building '/nix/store/wxngdkfdgwa5ppiards7k9cw5fjwdfsz-check-sshd-config.drv' on 'ssh-ng://builder@build-x86-01.clan.lol' building '/nix/store/6a23rsr10fxv16zvxvb9hnj7yawfw26c-dry-activate.drv' building '/nix/store/z15fykbz0y3ahwbnvab0970ja7cbbnj5-activate.drv' building '/nix/store/5a9dr5wqny32ffxnz8bzn8dfqri94waq-nixos-system-client-test.drv' nixos-system-client-test> structuredAttrs is enabled building '/nix/store/lif71cyxrzi5552aqicc7xmm2s9hbh30-closure-info.drv' building '/nix/store/qxn86plid43ifplbb93i8607b1apg7mf-etc.drv' closure-info> structuredAttrs is enabled building '/nix/store/r01cn89z3djxsjimcsg86i4z8cdjk38z-activate.drv' building '/nix/store/wxngdkfdgwa5ppiards7k9cw5fjwdfsz-check-sshd-config.drv' building '/nix/store/hnch1vxaj34m36nfcm5k619j6pags3fi-nixos-system-server-test.drv' nixos-system-server-test> structuredAttrs is enabled building '/nix/store/fvxqxky9ig3gz5i8dcp1vmdms9r64hiv-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/0hr2nwbkbc0kb38b6dvs1xnf6q5pkayy-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/bm928m9gjv43dcilxbvh10wywdrfwm1h-container-test-run-sshd.drv' on 'ssh-ng://builder@build-x86-01.clan.lol' building '/nix/store/bm928m9gjv43dcilxbvh10wywdrfwm1h-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/4qbbwgbk6yc5wbjr7vd3vcqxw89qpkxq-nixos-system-client-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 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 a9863a48-00d2-485c-b23f-c2265d635b79' container-test-run-sshd> Running as unit: run-p304-i6553163.service; invocation ID: 206141d102954bb09d3e18a6e602f908 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.*a9863a48-00d2-485c-b23f-c2265d635b79') --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 a9863a48-00d2-485c-b23f-c2265d635b79 container-test-run-sshd> container-test-run-sshd> <<< NixOS Stage 2 >>> container-test-run-sshd> container-test-run-sshd> booting system configuration /nix/store/q01ch7br0q08dbjxkkw81bdffqsxsz78-nixos-system-server-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 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 909a778e-0f21-4077-99d7-1fa23342d2cb' container-test-run-sshd> Running as unit: run-p333-i6553172.service; invocation ID: 63b75dddf71e43a28db0041fc08884de 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.*909a778e-0f21-4077-99d7-1fa23342d2cb') --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 909a778e-0f21-4077-99d7-1fa23342d2cb 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