build01: building b0r7xik5ln925sg23ps7qvbg95c4pnwn-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/tmpqe32lv0f/client. ░ Spawning container server on /build/tmpqe32lv0f/server. <<< NixOS Stage 2 >>> booting system configuration /nix/store/x6231nmldnhy02gs4z19pi7lv8n10msw-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/w4mj4sbn30r0niw5lprmgnld64l6m885-coreutils-9.11/bin/sleep 999999999 && echo 1d393d85-b6eb-4dd2-abeb-4f0e4d01dc35' Running as unit: run-p304-i6474300.service; invocation ID: 623587921d4344dcbe5221f5a567add2 To attach to container client run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*1d393d85-b6eb-4dd2-abeb-4f0e4d01dc35') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/84azrswjm964yixv8kil846zcxm8mi20-python3-3.13.18/bin/python3.13 /nix/store/2iwzhgiinw27akssmq7dza6cys9320j6-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 1d393d85-b6eb-4dd2-abeb-4f0e4d01dc35 <<< NixOS Stage 2 >>> booting system configuration /nix/store/b2k8829p751nj10bp50a4ipfm0b68chc-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/w4mj4sbn30r0niw5lprmgnld64l6m885-coreutils-9.11/bin/sleep 999999999 && echo 7ce960c9-451e-4d96-850a-d740df8b7894' Running as unit: run-p320-i6474303.service; invocation ID: cb8b5bff48f7473ba1207c4b51eb35fb To attach to container server run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*7ce960c9-451e-4d96-850a-d740df8b7894') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/84azrswjm964yixv8kil846zcxm8mi20-python3-3.13.18/bin/python3.13 /nix/store/2iwzhgiinw27akssmq7dza6cys9320j6-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 7ce960c9-451e-4d96-850a-d740df8b7894 + /nix/store/92xp67fiwzqddmzil3dhd533cpvk1xjg-libressl-4.2.3-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 scp: /run/secrets/sshd-root-key/id_ed25519: No such file or directory Container client terminated by signal KILL. Container server terminated by signal KILL. Traceback (most recent call last): File "/nix/store/2iwzhgiinw27akssmq7dza6cys9320j6-test-driver-0.0.1/bin/.nixos-test-driver-wrapped", line 9, in sys.exit(main()) ~~~~^^ File "/nix/store/2iwzhgiinw27akssmq7dza6cys9320j6-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 764, in main driver.run_tests() ~~~~~~~~~~~~~~~~^^ File "/nix/store/2iwzhgiinw27akssmq7dza6cys9320j6-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 700, in run_tests self.test_script() ~~~~~~~~~~~~~~~~^^ File "/nix/store/2iwzhgiinw27akssmq7dza6cys9320j6-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 696, in test_script exec(self.testscript, self.test_symbols(), None) # noqa: S102 ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 28, in File "/nix/store/2iwzhgiinw27akssmq7dza6cys9320j6-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 475, in succeed raise RuntimeError(msg) RuntimeError: Failed to run command scp -i /tmp/test-key root@server:/run/secrets/sshd-root-key/id_ed25519 /tmp/generated-key Exit code: 1 Stdout: