these 25 derivations will be built: /nix/store/1x32a4x7y0ywpn04v8i2mnqlf9288vfr-closure-info.drv /nix/store/23kg439hdhfxamd0iyfvmk6p2bi0z14z-activate.drv /nix/store/5481azn303w7nq1in6j5fh3q55db58ck-system-path.drv /nix/store/5vy2lrijqb00qh9ck10a68fsfl3qlyx2-etc.drv /nix/store/8553q47l6bky34max19339ih9spsam3z-closure-info.drv /nix/store/8rqlmkp1x30j9biliakhfdd95kk07q5f-activate.drv /nix/store/hm9x55xkchm8hysyxnq0b7xkx39q9jw8-nixos-system-server-test.drv /nix/store/p9fkqfcc941f300zfbbkc40x4268j8z1-nixos-system-client-test.drv /nix/store/ifkpwa6s9b2a7jxp5zjyfr606h1my0z1-nixos-test-driver-sshd.drv /nix/store/a5b37hpyrsvc03fyj1c112pq1xij4345-container-test-run-sshd.drv /nix/store/vmx50k6cjkabbwh3lksdnfj4062wpv02-system-path.drv /nix/store/m01n3vwywnpj15qw2fz81izkkc6bsgsm-dbus-1.drv /nix/store/pzqfc8jmsd3hg02hjsrp42z9qxyi5w7j-X-Restart-Triggers-dbus-broker.drv /nix/store/vy8p9qi12dna6zspcc58bbk22prabivn-unit-dbus-broker.service.drv /nix/store/az4vz6kcsibsk6g488ag0iviwg53g4h8-user-units.drv /nix/store/lh846dmcdwnmnvfjljll09w8m7n1minc-dbus-1.drv /nix/store/qb7r0v0gc2lw0fidp6yd0gbmh0g217ir-X-Restart-Triggers-dbus-broker.drv /nix/store/zcbgd0chyqlwg9qm09r0vmmmfxs0pjsz-unit-dbus-broker.service.drv /nix/store/cj2w3wiyjylcl58inshkjwfy222x9722-user-units.drv /nix/store/gsgsqdyyn72p6iq74sy4xdpqj9d564vl-unit-dbus-broker.service.drv /nix/store/h8nyp3c84i2kp3ms08rma6ydibrkzijr-system-units.drv /nix/store/nj79fndi9zyk2zrpcqmnj5bcp8xrab2c-unit-dbus-broker.service.drv /nix/store/m8gl9m7mma63dmk0yslancys7517np6k-system-units.drv /nix/store/y804mr5jrv5hcrrl87hyn4mfy0jjp3xj-etc-bashrc.drv /nix/store/za5z6ckw2cg7ky3x7bax7jnrw6jysagf-etc.drv warning: ignoring the client-specified setting 'store', because it is a restricted setting and you are not a trusted user building '/nix/store/h8nyp3c84i2kp3ms08rma6ydibrkzijr-system-units.drv' on nix-store.geninf.io:50051 system-units> gi-build-x86-02: building h8nyp3c84i2kp3ms08rma6ydibrkzijr-system-units.drv building '/nix/store/5vy2lrijqb00qh9ck10a68fsfl3qlyx2-etc.drv' on nix-store.geninf.io:50051 etc> build-x86-01: building 5vy2lrijqb00qh9ck10a68fsfl3qlyx2-etc.drv building '/nix/store/8rqlmkp1x30j9biliakhfdd95kk07q5f-activate.drv' on nix-store.geninf.io:50051 activate> build-x86-01: building 8rqlmkp1x30j9biliakhfdd95kk07q5f-activate.drv building '/nix/store/za5z6ckw2cg7ky3x7bax7jnrw6jysagf-etc.drv' on nix-store.geninf.io:50051 etc> gi-build-x86-02: building za5z6ckw2cg7ky3x7bax7jnrw6jysagf-etc.drv building '/nix/store/p9fkqfcc941f300zfbbkc40x4268j8z1-nixos-system-client-test.drv' on nix-store.geninf.io:50051 nixos-system-client-test> build-x86-01: building p9fkqfcc941f300zfbbkc40x4268j8z1-nixos-system-client-test.drv nixos-system-client-test> structuredAttrs is enabled building '/nix/store/8553q47l6bky34max19339ih9spsam3z-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build-x86-01: building 8553q47l6bky34max19339ih9spsam3z-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/23kg439hdhfxamd0iyfvmk6p2bi0z14z-activate.drv' on nix-store.geninf.io:50051 activate> gi-build-x86-02: building 23kg439hdhfxamd0iyfvmk6p2bi0z14z-activate.drv building '/nix/store/hm9x55xkchm8hysyxnq0b7xkx39q9jw8-nixos-system-server-test.drv' on nix-store.geninf.io:50051 nixos-system-server-test> build-x86-01: building hm9x55xkchm8hysyxnq0b7xkx39q9jw8-nixos-system-server-test.drv nixos-system-server-test> structuredAttrs is enabled building '/nix/store/1x32a4x7y0ywpn04v8i2mnqlf9288vfr-closure-info.drv' on nix-store.geninf.io:50051 closure-info> build-x86-01: building 1x32a4x7y0ywpn04v8i2mnqlf9288vfr-closure-info.drv closure-info> structuredAttrs is enabled building '/nix/store/ifkpwa6s9b2a7jxp5zjyfr606h1my0z1-nixos-test-driver-sshd.drv' on nix-store.geninf.io:50051 nixos-test-driver-sshd> gi-build-x86-02: building ifkpwa6s9b2a7jxp5zjyfr606h1my0z1-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/a5b37hpyrsvc03fyj1c112pq1xij4345-container-test-run-sshd.drv' on nix-store.geninf.io:50051 container-test-run-sshd> build-x86-01: building a5b37hpyrsvc03fyj1c112pq1xij4345-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/m8pjl4qin0qrwbx8xhq3167jr7qahlic-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.4 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/833invqvsk7anqnqrki5hqncrcllj825-coreutils-9.11/bin/sleep 999999999 && echo b553d5e3-78e5-4cdf-8b50-505b236144fb' container-test-run-sshd> Running as unit: run-p304-i22217682.service; invocation ID: 127b98e9b9c84c7f9c6f52acf671139c 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.*b553d5e3-78e5-4cdf-8b50-505b236144fb') --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/9r02ykx9y35lf4gk6gc30gnag1y8ncp7-python3-3.13.15/bin/python3.13 /nix/store/7pcwg3l52sff9p90k03qhavpaqk1zhfi-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py b553d5e3-78e5-4cdf-8b50-505b236144fb container-test-run-sshd> container-test-run-sshd> <<< NixOS Stage 2 >>> container-test-run-sshd> container-test-run-sshd> booting system configuration /nix/store/ls3rjk21glq7ylm92kjsx1qn1mxqg4nm-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.4 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/833invqvsk7anqnqrki5hqncrcllj825-coreutils-9.11/bin/sleep 999999999 && echo 1a8a5aed-a990-4a9d-b976-19fc693fa93f' container-test-run-sshd> Running as unit: run-p333-i22217685.service; invocation ID: 3540d1787d6941a09bbeadd2fa4e735f 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.*1a8a5aed-a990-4a9d-b976-19fc693fa93f') --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/9r02ykx9y35lf4gk6gc30gnag1y8ncp7-python3-3.13.15/bin/python3.13 /nix/store/7pcwg3l52sff9p90k03qhavpaqk1zhfi-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 1a8a5aed-a990-4a9d-b976-19fc693fa93f container-test-run-sshd> + /nix/store/p01f81d0wlafs84mav0dmwf50wnyag4h-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>