container-test-run-sshd
default.checks.aarch64-linux.sshd-no-ca
· build #284
· raw
1additionally exposed symbols:2 client, server,3 start_all, machines, driver, Machine, wait_for_signal4<string>:7: SyntaxWarning: "\*" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\*"? A raw string is also an option.5<string>:13: SyntaxWarning: "\*" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\*"? A raw string is also an option.6Starting client7Starting server8910111213<<< NixOS Stage 2 >>>1415booting system configuration /nix/store/8v8ksap2y4qc9xdrg4hi68f4p0ksx985-nixos-system-client-test16running activation script...17setting up /etc...182: host0@if4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100019 link/ether 2a:42:35:28:b1:2f brd ff:ff:ff:ff:ff:ff link-netnsid 020setting up age secrets...21starting systemd...22systemd 261.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)23Detected virtualization systemd-nspawn.24Detected architecture arm64.25Detected first boot.26Initializing machine ID from container UUID.27Applying preset policy.28Populated /etc with preset unit settings.29Queued start job for default target Multi-User System.30313233<<< Welcome to NixOS test (aarch64) - console >>>34+ systemd-run /bin/sh -c '/nix/store/p79fmimbb698sv4c135kbdwlhjcqpd3p-coreutils-9.11/bin/sleep 999999999 && echo 0ddbe6d7-2a26-4006-ba4e-a85041c4f617'35Running as unit: run-p305-i81595263.service; invocation ID: 8bfb2831bd084875a117a4efb43ce98336To attach to container client run on the same machine that runs the test:37 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*0ddbe6d7-2a26-4006-ba4e-a85041c4f617') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3839To inject external network and continue test, run:40sudo /nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14 /nix/store/5kaq06rm8h6acj0ggm4f0dswwr131zib-test-driver-0.0.1/lib/python3.14/site-packages/test_driver/inject_network.py 0ddbe6d7-2a26-4006-ba4e-a85041c4f6174142<<< NixOS Stage 2 >>>4344booting system configuration /nix/store/8l86w6q7brqkmvkgfbm3s8r4b0x91wdm-nixos-system-server-test45running activation script...46setting up /etc...472: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100048 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 049setting up age secrets...50starting systemd...51systemd 261.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)52Detected virtualization systemd-nspawn.53Detected architecture arm64.54Detected first boot.55Initializing machine ID from container UUID.56Applying preset policy.57Populated /etc with preset unit settings.58Queued start job for default target Multi-User System.59606162<<< Welcome to NixOS test (aarch64) - console >>>63+ systemd-run /bin/sh -c '/nix/store/p79fmimbb698sv4c135kbdwlhjcqpd3p-coreutils-9.11/bin/sleep 999999999 && echo a5dd5778-8df6-4351-8da4-ea22b1560962'64Running as unit: run-p316-i81595272.service; invocation ID: 180c3af979a646aa835f0e802957c6ec65To attach to container server run on the same machine that runs the test:66 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*a5dd5778-8df6-4351-8da4-ea22b1560962') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 6768To inject external network and continue test, run:69sudo /nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14 /nix/store/5kaq06rm8h6acj0ggm4f0dswwr131zib-test-driver-0.0.1/lib/python3.14/site-packages/test_driver/inject_network.py a5dd5778-8df6-4351-8da4-ea22b156096270+ /nix/store/n6c8rbxb250l4w4y643rgzq3s9gvvzd7-libressl-4.3.2-nc/bin/nc -z -v 127.0.0.1 2271Connection to 127.0.0.1 22 port [tcp/ssh] succeeded!72+ grep '^@cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts73+ grep '^localhost,server,server.clan ssh-ed25519 ' /etc/ssh/ssh_known_hosts74+ grep '^.cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts75+ grep test-key /etc/ssh/authorized_keys.d/root76+ cp /nix/store/wiksrsbhvksa9njqxd2i7say2bcvibnn-test-key /tmp/test-key77+ chmod 600 /tmp/test-key78+ ssh -o StrictHostKeyChecking=accept-new -i /tmp/test-key root@server 'echo SSH_SUCCESS'798081