build01: building lp1c9krzw903hxqh5r5mja9qj8qhadq3-container-test-run-sshd.drv additionally exposed symbols: client, server, start_all, machines, driver, Machine, wait_for_signal :7: SyntaxWarning: invalid escape sequence '\*' :13: SyntaxWarning: invalid escape sequence '\*' Starting client Starting server ░ Spawning container client on /build/tmp8qkliql_/client. ░ Spawning container server on /build/tmp8qkliql_/server. <<< NixOS Stage 2 >>> booting system configuration /nix/store/ljz3yjjrs1q2brhwrr00mhafkm4hwn70-nixos-system-client-test running activation script... setting up /etc... 2: host0@if3: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 2a:42:35:28:b1:2f brd ff:ff:ff:ff:ff:ff link-netnsid 0 setting up age secrets... starting systemd... systemd 260.5 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) Detected virtualization systemd-nspawn. Detected architecture arm64. Detected first boot. Initializing machine ID from container UUID. Applying preset policy. Populated /etc with preset unit settings. Queued start job for default target Multi-User System. <<< Welcome to NixOS test (aarch64) - console >>> + systemd-run /bin/sh -c '/nix/store/f2jmqpvrz2d2m3iw9i9zjkggh4na5jcs-coreutils-9.11/bin/sleep 999999999 && echo a3920019-fdb8-40cb-a76e-0d2761f0fffd' Running as unit: run-p304-i12435904.service; invocation ID: a7d8cdadab244816b226c1797528d145 To attach to container client run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*a3920019-fdb8-40cb-a76e-0d2761f0fffd') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/vilynzly1pyhawy04ljmrp7n9ffr24qy-python3-3.13.17/bin/python3.13 /nix/store/n7n0z60amrdw29gw8wzyhkxwd9ibcjs3-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py a3920019-fdb8-40cb-a76e-0d2761f0fffd <<< NixOS Stage 2 >>> booting system configuration /nix/store/mml25icga3h4rvjkdfmrag6n8ai7g0vm-nixos-system-server-test running activation script... setting up /etc... 2: host0@if4: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 0 setting up age secrets... starting systemd... systemd 260.5 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) Detected virtualization systemd-nspawn. Detected architecture arm64. Detected first boot. Initializing machine ID from container UUID. Applying preset policy. Populated /etc with preset unit settings. Queued start job for default target Multi-User System. <<< Welcome to NixOS test (aarch64) - console >>> + systemd-run /bin/sh -c '/nix/store/f2jmqpvrz2d2m3iw9i9zjkggh4na5jcs-coreutils-9.11/bin/sleep 999999999 && echo e82a66da-2254-412f-93e5-c3f47f47d64d' Running as unit: run-p333-i12435907.service; invocation ID: 8bb7dd9a29f946a0b111347027740dca To attach to container server run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*e82a66da-2254-412f-93e5-c3f47f47d64d') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/vilynzly1pyhawy04ljmrp7n9ffr24qy-python3-3.13.17/bin/python3.13 /nix/store/n7n0z60amrdw29gw8wzyhkxwd9ibcjs3-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py e82a66da-2254-412f-93e5-c3f47f47d64d + /nix/store/k05v0kxxvyv1rvbdf8ycwfjf20y2fx6h-libressl-4.2.1-nc/bin/nc -z -v 127.0.0.1 22 Connection to 127.0.0.1 22 port [tcp/ssh] succeeded! + grep '^@cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts + grep '^localhost,server,server.clan ssh-ed25519 ' /etc/ssh/ssh_known_hosts + grep '^.cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts + grep test-key /etc/ssh/authorized_keys.d/root + cp /nix/store/wiksrsbhvksa9njqxd2i7say2bcvibnn-test-key /tmp/test-key + chmod 600 /tmp/test-key + ssh -o StrictHostKeyChecking=accept-new -i /tmp/test-key root@server 'echo SSH_SUCCESS' Warning: Permanently added 'server' (ED25519) to the list of known hosts. + grep root@server /etc/ssh/authorized_keys.d/root + scp -i /tmp/test-key root@server:/run/secrets/sshd-root-key/id_ed25519 /tmp/generated-key + chmod 600 /tmp/generated-key + ssh -i /tmp/generated-key root@server 'echo GENERATED_KEY_SUCCESS' Container client terminated by signal KILL. Container server terminated by signal KILL.