container-test-run-sshd
checks.aarch64-linux.sshd-no-ca
· build #993
· raw
1build01: building n237i3ya48y9il9pnydjs5wd08v5vbr4-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 server9101112<<< NixOS Stage 2 >>>1314booting system configuration /nix/store/rwy40my8p54m47zf14wp8z6cnk04xvfp-nixos-system-client-test15running activation script...16setting up /etc...172: host0@if3: <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.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)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/3l7ygqcc6v0rbi9d4j1m6phi6sz86j98-coreutils-9.11/bin/sleep 999999999 && echo 93075114-fa5d-4568-8678-0b626ae13736'34Running as unit: run-p304-i6090338.service; invocation ID: ce4fc42b040a4e4cba8b1b0f33567a3b35To attach to container client run on the same machine that runs the test:36 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*93075114-fa5d-4568-8678-0b626ae13736') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3738To inject external network and continue test, run:39sudo /nix/store/q1khrhbn506imjxx7kiqcbihycawa6kl-python3-3.13.15/bin/python3.13 /nix/store/qq5ppp119nyp6wdn1gi4pr1xkmgs2ny1-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 93075114-fa5d-4568-8678-0b626ae137364041<<< NixOS Stage 2 >>>4243booting system configuration /nix/store/4nl3lrn14v19bfwr880p2nin8ykws0c0-nixos-system-server-test44running activation script...45setting up /etc...462: host0@if4: <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.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)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/3l7ygqcc6v0rbi9d4j1m6phi6sz86j98-coreutils-9.11/bin/sleep 999999999 && echo 459f66a2-57ea-4446-a51f-9e6b1df7bab7'63Running as unit: run-p314-i6090342.service; invocation ID: 909b3a98ef714858bc6a5f4edf017f6c64To attach to container server run on the same machine that runs the test:65 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*459f66a2-57ea-4446-a51f-9e6b1df7bab7') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 6667To inject external network and continue test, run:68sudo /nix/store/q1khrhbn506imjxx7kiqcbihycawa6kl-python3-3.13.15/bin/python3.13 /nix/store/qq5ppp119nyp6wdn1gi4pr1xkmgs2ny1-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 459f66a2-57ea-4446-a51f-9e6b1df7bab769+ /nix/store/kyaf3wh5h8pir3dczph4cjz1rxhrn78d-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'787980