container-test-run-sshd
checks.aarch64-linux.sshd-no-ca
· build #1232
· raw
1build01: building c2w3s6zwii9w0vm0gxfgf212pgwniv7a-container-test-run-sshd.drv2additionally exposed symbols:3 client, server,4 start_all, machines, driver, Machine, wait_for_signal5<string>:7: SyntaxWarning: invalid escape sequence '\*'6<string>:13: SyntaxWarning: invalid escape sequence '\*'7Starting client8Starting server9░ Spawning container server on /build/tmp9sirt4ae/server.10░ Spawning container client on /build/tmp9sirt4ae/client.1112<<< NixOS Stage 2 >>>1314booting system configuration /nix/store/8q8myccaz276l509hdllwq66swpwqc5m-nixos-system-client-test15running activation script...16setting up /etc...172: host0@if4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100018 link/ether 2a:42:35:28:b1:2f brd ff:ff:ff:ff:ff:ff link-netnsid 019setting up age secrets...20starting systemd...21systemd 260.1 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)22Detected virtualization systemd-nspawn.23Detected architecture arm64.24Detected first boot.25Initializing machine ID from container UUID.26Applying preset policy.27Populated /etc with preset unit settings.28Queued start job for default target Multi-User System.29303132<<< Welcome to NixOS test (aarch64) - console >>>33+ systemd-run /bin/sh -c '/nix/store/9bhf1ff1kwhmyynws5jkjp8k7pkh6kix-coreutils-9.11/bin/sleep 999999999 && echo 2d5b7b9b-6288-498c-957f-1c916d824be3'34Running as unit: run-p299-i37190585.service; invocation ID: 12c5650142b14a4ca225bb26702a9c1835To attach to container client run on the same machine that runs the test:36 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*2d5b7b9b-6288-498c-957f-1c916d824be3') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3738To inject external network and continue test, run:39sudo /nix/store/lqn6mbgzzdrqq2qkwddcmxj9z6amdd86-python3-3.13.13/bin/python3.13 /nix/store/1mdh2xxcq7ahkvbqfih4krmzkxrwbqv7-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 2d5b7b9b-6288-498c-957f-1c916d824be34041<<< NixOS Stage 2 >>>4243booting system configuration /nix/store/zww2m9z0d0h7j8b0xdxbky1jl45s1d46-nixos-system-server-test44running activation script...45setting up /etc...462: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100047 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 048setting up age secrets...49starting systemd...50systemd 260.1 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)51Detected virtualization systemd-nspawn.52Detected architecture arm64.53Detected first boot.54Initializing machine ID from container UUID.55Applying preset policy.56Populated /etc with preset unit settings.57Queued start job for default target Multi-User System.58596061<<< Welcome to NixOS test (aarch64) - console >>>62+ systemd-run /bin/sh -c '/nix/store/9bhf1ff1kwhmyynws5jkjp8k7pkh6kix-coreutils-9.11/bin/sleep 999999999 && echo 107d65d2-2e95-42ec-9573-357826dbeb91'63Running as unit: run-p308-i37190683.service; invocation ID: d0b153bbc0734f7cba6aaed760fd5d5864To attach to container server run on the same machine that runs the test:65 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*107d65d2-2e95-42ec-9573-357826dbeb91') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 6667To inject external network and continue test, run:68sudo /nix/store/lqn6mbgzzdrqq2qkwddcmxj9z6amdd86-python3-3.13.13/bin/python3.13 /nix/store/1mdh2xxcq7ahkvbqfih4krmzkxrwbqv7-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 107d65d2-2e95-42ec-9573-357826dbeb9169+ /nix/store/anbvydxlr9df8cj7mh5jbbr8jlc166n2-libressl-4.2.1-nc/bin/nc -z -v 127.0.0.1 2270Connection to 127.0.0.1 22 port [tcp/ssh] succeeded!71+ grep '^@cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts72+ grep '^localhost,server,server.clan ssh-ed25519 ' /etc/ssh/ssh_known_hosts73+ grep '^.cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts74+ grep test-key /etc/ssh/authorized_keys.d/root75+ cp /nix/store/wiksrsbhvksa9njqxd2i7say2bcvibnn-test-key /tmp/test-key76+ chmod 600 /tmp/test-key77+ ssh -o StrictHostKeyChecking=accept-new -i /tmp/test-key root@server 'echo SSH_SUCCESS'78Warning: Permanently added 'server' (ED25519) to the list of known hosts.79Container client terminated by signal KILL.80Container server terminated by signal KILL.