these 11 derivations will be built: /nix/store/5z1qb57by2cs2k3idssinrvgmx403wkk-system-units.drv /nix/store/yapnlawcn900xgblkdcmpra540k9wf1p-etc.drv /nix/store/bcmd1ak16w2gkc6pvxxifb7x40wxrif9-activate.drv /nix/store/0lzmgakhn9av3hzmxb3amhkjy7l234k4-nixos-system-server-test.drv /nix/store/7i3j3vgzkp382vs00q9xmjjlyxsrz3f7-closure-info.drv /nix/store/pbqp26pq17w03s5mjk34jp59ahmjbinj-etc.drv /nix/store/hfj8pnj7xlsbivr5121glqy5fjdk6vap-activate.drv /nix/store/p4l5p5inkv1yxq0x0ig4w6kswpgwwrc3-nixos-system-client-test.drv /nix/store/lz18b2z9m5ircgrkfw5r20m3l7j68ykn-closure-info.drv /nix/store/fvm2cwx1hj56lbfyx4cxflimmd1l9x2n-nixos-test-driver-sshd.drv /nix/store/rq9gny1ql6k3a0kjqkp5y6ry56lh0glr-container-test-run-sshd.drv building '/nix/store/pbqp26pq17w03s5mjk34jp59ahmjbinj-etc.drv' building '/nix/store/5z1qb57by2cs2k3idssinrvgmx403wkk-system-units.drv' building '/nix/store/hfj8pnj7xlsbivr5121glqy5fjdk6vap-activate.drv' building '/nix/store/p4l5p5inkv1yxq0x0ig4w6kswpgwwrc3-nixos-system-client-test.drv' nixos-system-client-test> structuredAttrs is enabled building '/nix/store/lz18b2z9m5ircgrkfw5r20m3l7j68ykn-closure-info.drv' building '/nix/store/yapnlawcn900xgblkdcmpra540k9wf1p-etc.drv' closure-info> structuredAttrs is enabled building '/nix/store/bcmd1ak16w2gkc6pvxxifb7x40wxrif9-activate.drv' building '/nix/store/0lzmgakhn9av3hzmxb3amhkjy7l234k4-nixos-system-server-test.drv' nixos-system-server-test> structuredAttrs is enabled building '/nix/store/7i3j3vgzkp382vs00q9xmjjlyxsrz3f7-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/fvm2cwx1hj56lbfyx4cxflimmd1l9x2n-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/rq9gny1ql6k3a0kjqkp5y6ry56lh0glr-container-test-run-sshd.drv' on 'ssh-ng://builder@build-x86-01.clan.lol' building '/nix/store/rq9gny1ql6k3a0kjqkp5y6ry56lh0glr-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/wnf4dagk2bpz2sjryww0yqsqnsxwzz8r-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 5aa1d9c9-6f3b-4cd4-8b9a-4c2cf9519c82' container-test-run-sshd> Running as unit: run-p304-i6427405.service; invocation ID: 4292f2319e9c4d76a3e31ae5e0069fa0 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.*5aa1d9c9-6f3b-4cd4-8b9a-4c2cf9519c82') --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 5aa1d9c9-6f3b-4cd4-8b9a-4c2cf9519c82 container-test-run-sshd> container-test-run-sshd> <<< NixOS Stage 2 >>> container-test-run-sshd> container-test-run-sshd> booting system configuration /nix/store/jlljh5xgcmvajg16vg6199ih7fyl4697-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 df0203fd-83e4-468f-bdb1-50f7e87619d1' container-test-run-sshd> Running as unit: run-p333-i6427485.service; invocation ID: f1835548186d4153909da05e2e217343 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.*df0203fd-83e4-468f-bdb1-50f7e87619d1') --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 df0203fd-83e4-468f-bdb1-50f7e87619d1 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