build01: building qzkaqaajymhygf3gw9l67hab3diiv1w2-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/tmpurtgwy1n/client. ░ Spawning container server on /build/tmpurtgwy1n/server. <<< NixOS Stage 2 >>> booting system configuration /nix/store/z275nj5hl3nzaiq7b8gh0bx3k9c1v67k-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/3l7ygqcc6v0rbi9d4j1m6phi6sz86j98-coreutils-9.11/bin/sleep 999999999 && echo 3b0b5eab-b890-49be-a11e-a0e3abe87e37' Running as unit: run-p304-i4202172.service; invocation ID: 27da6a179e364ee49e34ce5d5b623345 To attach to container client run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*3b0b5eab-b890-49be-a11e-a0e3abe87e37') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/q1khrhbn506imjxx7kiqcbihycawa6kl-python3-3.13.15/bin/python3.13 /nix/store/6kasz8qw4mw4szwg29sxyra6pgbwz4zq-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 3b0b5eab-b890-49be-a11e-a0e3abe87e37 <<< NixOS Stage 2 >>> booting system configuration /nix/store/n4xx35qqy1jxgx1aijij49pz76h7qn9v-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/3l7ygqcc6v0rbi9d4j1m6phi6sz86j98-coreutils-9.11/bin/sleep 999999999 && echo cf6a912a-4beb-4a0d-aa1a-0eaf4536e413' Running as unit: run-p332-i4202176.service; invocation ID: 15033cf29c464824ba2eaceaa802754a To attach to container server run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*cf6a912a-4beb-4a0d-aa1a-0eaf4536e413') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/q1khrhbn506imjxx7kiqcbihycawa6kl-python3-3.13.15/bin/python3.13 /nix/store/6kasz8qw4mw4szwg29sxyra6pgbwz4zq-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py cf6a912a-4beb-4a0d-aa1a-0eaf4536e413 + /nix/store/kyaf3wh5h8pir3dczph4cjz1rxhrn78d-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.