this derivation will be built: /nix/store/dr629vi956v80872pqlg94857ix68ln5-container-test-run-sshd.drv these 17 paths will be fetched (0.0 KiB download, 948.2 KiB unpacked): /nix/store/9k9rx6dz21fyih3wa9niaaxhzfqc4brk-driverConfiguration.json /nix/store/01pkygqlci48ymwbgh8h1z1yglv776a5-etc /nix/store/82acl817s8rm6ydwr3bpvnlbb1xns565-etc /nix/store/2xhhvdn1jizda1ivispsphl38i1b4gwk-etc-ssh-ssh_known_hosts /nix/store/qv2jz0p96ql5x1mdh7fmd0i50cbdadvc-etc-ssh-ssh_known_hosts /nix/store/6mdhkpx4zqjyq8k7p60yd7608gmnr7mj-nixos-system-client-test /nix/store/q2manjv6g7s6nag67v3vljj18flp1mzv-nixos-system-server-test /nix/store/v4mkgp543y0bvj1gi240ypfx69ql1qmn-nixos-test-driver-1.1 /nix/store/cq7r7p8w25qv2gb7bxzwizi0bi70ciy9-nixos-test-driver-sshd /nix/store/rxlza5kw2fab03xilw3m7xdqn5dkq2bs-root-authorized_keys /nix/store/ydibpz2sviq67z2w2hy2vlywhckan2bk-run-client-nspawn /nix/store/rxi6g97v51205pmg61qryxqpdp5gvcjh-run-server-nspawn /nix/store/wqvq70cmbfncavn52sa62qa787j1yf6d-sshd.conf-final /nix/store/2b8l21ml2k5pn5zw8qa55d9qcs2x5p4h-system-units /nix/store/3r5srafr0b75d7qzy6rxb05swzq3nzyq-system-units /nix/store/bzsa9dxd8b25x450154nqn3jgn3frsyc-unit-systemd-networkd.service /nix/store/zdlf94m2zrcdf39i0zbwdhm361mj82pq-unit-systemd-networkd.service warning: ignoring the client-specified setting 'store', because it is a restricted setting and you are not a trusted user building '/nix/store/dr629vi956v80872pqlg94857ix68ln5-container-test-run-sshd.drv' on nix-store.geninf.io:50051 container-test-run-sshd> build-x86-01: building dr629vi956v80872pqlg94857ix68ln5-container-test-run-sshd.drv container-test-run-sshd> Machine state will be reset. To keep it, pass --keep-machine-state container-test-run-sshd> start all VLans container-test-run-sshd> (finished: start all VLans, in 0.00 seconds) container-test-run-sshd> container-test-run-sshd> Test will time out and terminate in 3600.0 seconds container-test-run-sshd> run the VM test script container-test-run-sshd> additionally exposed symbols: container-test-run-sshd> client, server, container-test-run-sshd> vlan1, container-test-run-sshd> start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh container-test-run-sshd> ??? Warning (SyntaxWarning): "\*" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\*"? A raw string is also an option. container-test-run-sshd> File "", line 7 container-test-run-sshd> ??? Warning (SyntaxWarning): "\*" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\*"? A raw string is also an option. container-test-run-sshd> File "", line 13 container-test-run-sshd> start all VMs container-test-run-sshd> client: systemd-nspawn running (pid 52) container-test-run-sshd> server: systemd-nspawn running (pid 53) container-test-run-sshd> client: Waiting for journal at /build/vm-state-client/var/log/journal... container-test-run-sshd> server: Waiting for journal at /build/vm-state-server/var/log/journal... container-test-run-sshd> (finished: start all VMs, in 0.00 seconds) container-test-run-sshd> server: must succeed: /nix/store/3swhk5va9kkm9iaj5an3dr476add10hy-libressl-4.3.2-nc/bin/nc -z -v 127.0.0.1 22 container-test-run-sshd> nixos-nspawn(server): TAP vde-tap1 not found; container will be isolated from VDE container-test-run-sshd> nixos-nspawn(server): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. container-test-run-sshd> nixos-nspawn(client): TAP vde-tap1 not found; container will be isolated from VDE container-test-run-sshd> nixos-nspawn(client): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. container-test-run-sshd> Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. container-test-run-sshd> Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. container-test-run-sshd> ░ Spawning container server on /build/vm-state-server. container-test-run-sshd> ░ Spawning container client on /build/vm-state-client. container-test-run-sshd> server # [2022643.229268] server systemd-journald[99]: Journal started container-test-run-sshd> server # [2022643.229297] server systemd-journald[99]: Runtime Journal (/run/log/journal/fbb75f110520458db6c4524fc5febcd4) is 8M, max 3.7G, 3.7G free. container-test-run-sshd> server # [2022643.233196] server systemd[1]: Finished Apply Kernel Variables. container-test-run-sshd> client # [2022643.229012] client systemd-journald[72]: Journal started container-test-run-sshd> server # [2022643.239477] server systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-sshd> client # [2022643.229042] client systemd-journald[72]: Runtime Journal (/run/log/journal/bf998722dba442269de05e4e3d771ecd) is 8M, max 3.7G, 3.7G free. container-test-run-sshd> server # [2022643.246816] server systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-sshd> client # [2022643.232829] client systemd[1]: Finished Apply Kernel Variables. container-test-run-sshd> server # [2022643.247160] server systemd[1]: Starting Network Name Resolution... container-test-run-sshd> client # [2022643.239094] client systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-sshd> server # [2022643.247421] server systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-sshd> client # [2022643.246422] client systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-sshd> server # [2022643.251086] server systemd-journald[99]: Time spent on flushing to /var/log/journal/fbb75f110520458db6c4524fc5febcd4 is 1.086ms for 7 entries. container-test-run-sshd> client # [2022643.246806] client systemd[1]: Starting Network Name Resolution... container-test-run-sshd> server # [2022643.251086] server systemd-journald[99]: System Journal (/var/log/journal/fbb75f110520458db6c4524fc5febcd4) is 8M, max 4G, 3.9G free. container-test-run-sshd> client # [2022643.247103] client systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-sshd> server # [2022643.262595] server systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-sshd> server # [2022643.262760] server systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-sshd> server # [2022643.263362] server systemd[1]: Reached target Preparation for Local File Systems. container-test-run-sshd> server # [2022643.263424] server systemd[1]: Reached target Local File Systems. container-test-run-sshd> server # [2022643.263847] server systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-sshd> client # [2022643.250859] client systemd-journald[72]: Time spent on flushing to /var/log/journal/bf998722dba442269de05e4e3d771ecd is 1.011ms for 7 entries. container-test-run-sshd> server # [2022643.263879] server systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-sshd> client # [2022643.250859] client systemd-journald[72]: System Journal (/var/log/journal/bf998722dba442269de05e4e3d771ecd) is 8M, max 4G, 3.9G free. container-test-run-sshd> server # [2022643.264219] server systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-sshd> server # [2022643.264535] server systemd[1]: Starting Create System Files and Directories... container-test-run-sshd> client # [2022643.264232] client systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-sshd> server # [2022643.264552] server systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-sshd> client # [2022643.264575] client systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-sshd> server # [2022643.281215] server systemd-tmpfiles[157]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted container-test-run-sshd> client # [2022643.265459] client systemd[1]: Reached target Preparation for Local File Systems. container-test-run-sshd> server # [2022643.281356] server systemd-tmpfiles[157]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-sshd> server # [2022643.281452] server systemd-tmpfiles[157]: fchmod() of /var/log/journal/fbb75f110520458db6c4524fc5febcd4 failed: Operation not permitted container-test-run-sshd> server # [2022643.281598] server systemd-tmpfiles[157]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-sshd> client # [2022643.265512] client systemd[1]: Reached target Local File Systems. container-test-run-sshd> client # [2022643.265944] client systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-sshd> server # [2022643.282605] server systemd[1]: Finished Create System Files and Directories. container-test-run-sshd> client # [2022643.265969] client systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-sshd> server # [2022643.283169] server systemd[1]: Starting Rebuild Journal Catalog... container-test-run-sshd> client # [2022643.266384] client systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-sshd> server # [2022643.283527] server systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-sshd> client # [2022643.266723] client systemd[1]: Starting Create System Files and Directories... container-test-run-sshd> server # [2022643.289380] server systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-sshd> client # [2022643.266739] client systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-sshd> server # [2022643.298978] server systemd[1]: Finished Rebuild Journal Catalog. container-test-run-sshd> client # [2022643.281225] client systemd-tmpfiles[132]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted container-test-run-sshd> server # [2022643.299441] server systemd[1]: Starting Update is Completed... container-test-run-sshd> client # [2022643.281368] client systemd-tmpfiles[132]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-sshd> server # [2022643.302593] server systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-sshd> client # [2022643.281471] client systemd-tmpfiles[132]: fchmod() of /var/log/journal/bf998722dba442269de05e4e3d771ecd failed: Operation not permitted container-test-run-sshd> server # [2022643.305122] server systemd[1]: Finished Update is Completed. container-test-run-sshd> client # [2022643.281619] client systemd-tmpfiles[132]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-sshd> server # [2022643.315930] server systemd[1]: Finished Firewall. container-test-run-sshd> client # [2022643.282616] client systemd[1]: Finished Create System Files and Directories. container-test-run-sshd> server # [2022643.316008] server systemd[1]: Reached target Preparation for Network. container-test-run-sshd> client # [2022643.283174] client systemd[1]: Starting Rebuild Journal Catalog... container-test-run-sshd> server # [2022643.316148] server systemd[1]: Listening on Network Management Resolve Hook Socket. container-test-run-sshd> client # [2022643.283527] client systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-sshd> server # [2022643.316697] server systemd[1]: Starting Network Management... container-test-run-sshd> client # [2022643.289681] client systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-sshd> client # [2022643.297900] client systemd[1]: Finished Rebuild Journal Catalog. container-test-run-sshd> client # [2022643.298494] client systemd[1]: Starting Update is Completed... container-test-run-sshd> client # [2022643.302368] client systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-sshd> client # [2022643.305362] client systemd[1]: Finished Update is Completed. container-test-run-sshd> client # [2022643.313562] client systemd[1]: Finished Firewall. container-test-run-sshd> client # [2022643.313632] client systemd[1]: Reached target Preparation for Network. container-test-run-sshd> client # [2022643.313797] client systemd[1]: Listening on Network Management Resolve Hook Socket. container-test-run-sshd> client # [2022643.314480] client systemd[1]: Starting Network Management... container-test-run-sshd> client # [2022643.755912] client systemd-networkd[186]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted container-test-run-sshd> client # [2022643.755985] client systemd-networkd[186]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted container-test-run-sshd> client # [2022643.762849] client systemd-networkd[186]: /etc/systemd/network/99-ethernet-default-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section. container-test-run-sshd> client # [2022643.762989] client systemd-networkd[186]: /etc/systemd/network/99-wireless-client-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section. container-test-run-sshd> client # [2022643.763052] client systemd-networkd[186]: lo: Link UP container-test-run-sshd> client # [2022643.763055] client systemd-networkd[186]: lo: Gained carrier container-test-run-sshd> client # [2022643.763182] client systemd-networkd[186]: eth1: Configuring with /etc/systemd/network/40-eth1.network. container-test-run-sshd> client # [2022643.763415] client systemd[1]: Started Network Management. container-test-run-sshd> client # [2022643.776100] client systemd-networkd[186]: eth1: Link UP container-test-run-sshd> client # [2022643.776179] client systemd[1]: Starting Enable Persistent Storage in systemd-networkd... container-test-run-sshd> client # [2022643.776238] client systemd-networkd[186]: eth1: Gained carrier container-test-run-sshd> client # [2022643.794327] client systemd[1]: Finished Enable Persistent Storage in systemd-networkd. container-test-run-sshd> server # [2022643.750038] server systemd-networkd[215]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted container-test-run-sshd> server # [2022643.750130] server systemd-networkd[215]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted container-test-run-sshd> server # [2022643.757330] server systemd-networkd[215]: /etc/systemd/network/99-ethernet-default-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section. container-test-run-sshd> server # [2022643.757472] server systemd-networkd[215]: /etc/systemd/network/99-wireless-client-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section. container-test-run-sshd> server # [2022643.757547] server systemd-networkd[215]: lo: Link UP container-test-run-sshd> server # [2022643.757551] server systemd-networkd[215]: lo: Gained carrier container-test-run-sshd> server # [2022643.757686] server systemd-networkd[215]: eth1: Configuring with /etc/systemd/network/40-eth1.network. container-test-run-sshd> server # [2022643.757939] server systemd[1]: Started Network Management. container-test-run-sshd> server # [2022643.757988] server systemd-networkd[215]: eth1: Link UP container-test-run-sshd> server # [2022643.758123] server systemd-networkd[215]: eth1: Gained carrier container-test-run-sshd> server # [2022643.758617] server systemd[1]: Starting Enable Persistent Storage in systemd-networkd... container-test-run-sshd> server # [2022643.781110] server systemd[1]: Finished Enable Persistent Storage in systemd-networkd. container-test-run-sshd> client # [2022644.080177] client systemd-resolved[106]: Positive Trust Anchors: container-test-run-sshd> client # [2022644.080185] client systemd-resolved[106]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d container-test-run-sshd> client # [2022644.080187] client systemd-resolved[106]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 container-test-run-sshd> client # [2022644.080203] client systemd-resolved[106]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa corp home internal intranet lan local private test container-test-run-sshd> client # [2022644.090132] client systemd-resolved[106]: Using system hostname 'client'. container-test-run-sshd> client # [2022644.090912] client systemd[1]: Started Network Name Resolution. container-test-run-sshd> client # [2022644.090956] client systemd[1]: Reached target Network. container-test-run-sshd> client # [2022644.090988] client systemd[1]: Reached target System Initialization. container-test-run-sshd> client # [2022644.091031] client systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-sshd> client # [2022644.091045] client systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-sshd> client # [2022644.091055] client systemd[1]: Reached target Timer Units. container-test-run-sshd> client # [2022644.091125] client systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-sshd> client # [2022644.091195] client systemd[1]: Listening on Nix Daemon Socket. container-test-run-sshd> client # [2022644.091268] client systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-sshd> client # [2022644.091279] client systemd[1]: Reached target Socket Units. container-test-run-sshd> client # [2022644.091300] client systemd[1]: Reached target Basic System. container-test-run-sshd> client # [2022644.112162] client systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-sshd> client # [2022644.112728] client systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-sshd> client # [2022644.113280] client systemd[1]: Starting D-Bus System Message Bus... container-test-run-sshd> client # [2022644.122164] client systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-sshd> client # [2022644.226272] client systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-sshd> client # [2022644.231100] client nsncd[192]: Sep 27 17:07:38.654 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" container-test-run-sshd> client # [2022644.231149] client systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-sshd> client # [2022644.231183] client systemd[1]: Reached target Host and Network Name Lookups. container-test-run-sshd> client # [2022644.231224] client systemd[1]: Reached target User and Group Name Lookups. container-test-run-sshd> client # [2022644.254142] client systemd[1]: Starting User Login Management... container-test-run-sshd> client # [2022644.254452] client systemd[1]: Starting Permit User Sessions... container-test-run-sshd> client # [2022644.259308] client systemd[1]: Finished Permit User Sessions. container-test-run-sshd> client # [2022644.259707] client systemd[1]: Started Console Getty. container-test-run-sshd> client # [2022644.259725] client systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-sshd> client # [2022644.259735] client systemd[1]: Reached target Login Prompts. container-test-run-sshd> client # [2022644.330194] client dbus-broker-launch[193]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-sshd> client # [2022644.330774] client dbus-broker-launch[193]: NSS returned no entry for 'systemd-timesync' container-test-run-sshd> client # [2022644.330774] client dbus-broker-launch[193]: Invalid user-name in /nix/store/h19ys8b65pj7zlz2ciw6z9h2laap6z18-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" container-test-run-sshd> client # [2022644.331068] client systemd[1]: Started D-Bus System Message Bus. container-test-run-sshd> server # [2022644.075392] server systemd-resolved[133]: Positive Trust Anchors: container-test-run-sshd> server # [2022644.075399] server systemd-resolved[133]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d container-test-run-sshd> server # [2022644.075402] server systemd-resolved[133]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 container-test-run-sshd> server # [2022644.075417] server systemd-resolved[133]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa corp home internal intranet lan local private test container-test-run-sshd> server # [2022644.085689] server systemd-resolved[133]: Using system hostname 'server'. container-test-run-sshd> server # [2022644.086578] server systemd[1]: Started Network Name Resolution. container-test-run-sshd> server # [2022644.086642] server systemd[1]: Reached target Network. container-test-run-sshd> server # [2022644.086682] server systemd[1]: Reached target System Initialization. container-test-run-sshd> server # [2022644.086724] server systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-sshd> server # [2022644.086743] server systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-sshd> server # [2022644.086758] server systemd[1]: Reached target Timer Units. container-test-run-sshd> server # [2022644.086853] server systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-sshd> server # [2022644.086948] server systemd[1]: Listening on Nix Daemon Socket. container-test-run-sshd> server # [2022644.087513] server systemd[1]: Listening on OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Export). container-test-run-sshd> server # [2022644.087954] server systemd[1]: Listening on OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local). container-test-run-sshd> server # [2022644.088201] server systemd[1]: Listening on SSH Socket. container-test-run-sshd> server # [2022644.088266] server systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-sshd> server # [2022644.088278] server systemd[1]: Reached target Socket Units. container-test-run-sshd> server # [2022644.088298] server systemd[1]: Reached target Basic System. container-test-run-sshd> server # [2022644.088880] server systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-sshd> server # [2022644.089249] server systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-sshd> server # [2022644.089265] server systemd[1]: SSH Host Keys Generation skipped, no trigger condition checks were met. container-test-run-sshd> server # [2022644.089990] server systemd[1]: Starting D-Bus System Message Bus... container-test-run-sshd> server # [2022644.120882] server systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-sshd> server # [2022644.226320] server nsncd[221]: Sep 27 17:07:38.649 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" container-test-run-sshd> server # [2022644.226568] server systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-sshd> server # [2022644.226971] server systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-sshd> server # [2022644.226997] server systemd[1]: Reached target Host and Network Name Lookups. container-test-run-sshd> server # [2022644.227033] server systemd[1]: Reached target User and Group Name Lookups. container-test-run-sshd> server # [2022644.227780] server systemd[1]: Starting User Login Management... container-test-run-sshd> server # [2022644.228126] server systemd[1]: Starting Permit User Sessions... container-test-run-sshd> server # [2022644.258655] server systemd[1]: Finished Permit User Sessions. container-test-run-sshd> server # [2022644.259196] server systemd[1]: Started Console Getty. container-test-run-sshd> server # [2022644.259215] server systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-sshd> server # [2022644.259225] server systemd[1]: Reached target Login Prompts. container-test-run-sshd> server # [2022644.335901] server dbus-broker-launch[222]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-sshd> server # [2022644.336264] server dbus-broker-launch[222]: NSS returned no entry for 'systemd-timesync' container-test-run-sshd> server # [2022644.336264] server dbus-broker-launch[222]: Invalid user-name in /nix/store/j43wsdjrs1g44nrgj1vxixx07da5ywpv-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" container-test-run-sshd> server # [2022644.336513] server systemd[1]: Started D-Bus System Message Bus. container-test-run-sshd> client # [2022644.334526] client dbus-broker-launch[193]: Ready container-test-run-sshd> server # [2022644.339752] server dbus-broker-launch[222]: Ready container-test-run-sshd> Connection to 127.0.0.1 22 port [tcp/ssh] succeeded! container-test-run-sshd> server: (finished: must succeed: /nix/store/3swhk5va9kkm9iaj5an3dr476add10hy-libressl-4.3.2-nc/bin/nc -z -v 127.0.0.1 22, in 2.14 seconds) container-test-run-sshd> server: must succeed: grep '^@cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts container-test-run-sshd> server: (finished: must succeed: grep '^@cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts, in 0.00 seconds) container-test-run-sshd> server: must succeed: grep '^localhost,server,server.clan ssh-ed25519 ' /etc/ssh/ssh_known_hosts container-test-run-sshd> server: (finished: must succeed: grep '^localhost,server,server.clan ssh-ed25519 ' /etc/ssh/ssh_known_hosts, in 0.00 seconds) container-test-run-sshd> client: must succeed: grep '^.cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts container-test-run-sshd> client: (finished: must succeed: grep '^.cert-authority ssh-ca,\*.clan,\*.example.com ssh-ed25519 ' /etc/ssh/ssh_known_hosts, in 0.00 seconds) container-test-run-sshd> server: must succeed: grep 'test-key' /etc/ssh/authorized_keys.d/root container-test-run-sshd> server: (finished: must succeed: grep 'test-key' /etc/ssh/authorized_keys.d/root, in 0.00 seconds) container-test-run-sshd> client: must succeed: cp /nix/store/wiksrsbhvksa9njqxd2i7say2bcvibnn-test-key /tmp/test-key && chmod 600 /tmp/test-key container-test-run-sshd> client: (finished: must succeed: cp /nix/store/wiksrsbhvksa9njqxd2i7say2bcvibnn-test-key /tmp/test-key && chmod 600 /tmp/test-key, in 0.01 seconds) container-test-run-sshd> client: must succeed: ssh -o StrictHostKeyChecking=accept-new -i /tmp/test-key root@server 'echo SSH_SUCCESS' container-test-run-sshd> container-test-run-sshd> client: (finished: must succeed: ssh -o StrictHostKeyChecking=accept-new -i /tmp/test-key root@server 'echo SSH_SUCCESS', in 0.09 seconds) container-test-run-sshd> server: must succeed: grep 'root@server' /etc/ssh/authorized_keys.d/root container-test-run-sshd> server: (finished: must succeed: grep 'root@server' /etc/ssh/authorized_keys.d/root, in 0.00 seconds) container-test-run-sshd> client: must succeed: scp -i /tmp/test-key root@server:/run/secrets/per-machine/server/sshd-root-key/id_ed25519 /tmp/generated-key container-test-run-sshd> client # [2022644.768158] client systemd-logind[208]: New seat seat0. container-test-run-sshd> client # [2022644.768283] client systemd[1]: Started User Login Management. container-test-run-sshd> client # [2022644.769051] client systemd[1]: Starting linger-users.service... container-test-run-sshd> client # [2022644.797908] client systemd[1]: linger-users.service: Deactivated successfully. container-test-run-sshd> client # [2022644.798012] client systemd[1]: Finished linger-users.service. container-test-run-sshd> client # [2022644.798241] client systemd[1]: Reached target Multi-User System. container-test-run-sshd> client # [2022644.798328] client systemd[1]: Startup finished in 1.817s. container-test-run-sshd> client # [2022644.864080] client systemd-networkd[186]: eth1: Gained IPv6LL container-test-run-sshd> server # [2022644.771325] server systemd-logind[237]: New seat seat0. container-test-run-sshd> server # [2022644.771440] server systemd[1]: Started User Login Management. container-test-run-sshd> server # [2022644.793211] server systemd[1]: Starting linger-users.service... container-test-run-sshd> server # [2022644.799501] server systemd[1]: linger-users.service: Deactivated successfully. container-test-run-sshd> server # [2022644.799565] server systemd[1]: Finished linger-users.service. container-test-run-sshd> server # [2022644.799788] server systemd[1]: Reached target Multi-User System. container-test-run-sshd> server # [2022644.804049] server systemd[1]: Startup finished in 1.799s. container-test-run-sshd> server # [2022644.858153] server systemd[1]: Created slice Slice /system/sshd. container-test-run-sshd> server # [2022644.858203] server systemd[1]: SSH Host Keys Generation skipped, no trigger condition checks were met. container-test-run-sshd> server # [2022644.858695] server systemd[1]: Started SSH per-connection Daemon (127.0.0.1:35532). container-test-run-sshd> server # [2022644.889735] server systemd[1]: SSH Host Keys Generation skipped, no trigger condition checks were met. container-test-run-sshd> server # [2022644.890298] server systemd[1]: Started SSH per-connection Daemon (192.168.1.1:38882). container-test-run-sshd> server # [2022644.890504] server sshd[252]: error: No matching private key for certificate: /nix/store/nfgj11gkrqdb516rdgvpahp3gkkcf219-per-machine-server-openssh-cert_ssh.id_ed25519-cert.pub container-test-run-sshd> server # [2022644.896707] server sshd-session[252]: Connection closed by 127.0.0.1 port 35532 [preauth] container-test-run-sshd> server # [2022644.897520] server sshd[256]: error: No matching private key for certificate: /nix/store/nfgj11gkrqdb516rdgvpahp3gkkcf219-per-machine-server-openssh-cert_ssh.id_ed25519-cert.pub container-test-run-sshd> server # [2022644.897535] server systemd[1]: sshd@0-126999-127.0.0.1:22-127.0.0.1:35532.service: Deactivated successfully. container-test-run-sshd> server # [2022644.957684] server sshd-session[256]: Accepted publickey for root from 192.168.1.1 port 38882 ssh2: ED25519 SHA256:o/QD6rB73sctZzyYRQeIJAuU+/iqP9mNNwIF4P4uLSc container-test-run-sshd> server # [2022644.968171] server sshd-session[264]: Received disconnect from 192.168.1.1 port 38882:11: disconnected by user container-test-run-sshd> server # [2022644.968246] server sshd-session[264]: Disconnected from user root 192.168.1.1 port 38882 container-test-run-sshd> server # [2022644.968877] server systemd[1]: sshd@1-127000-192.168.1.2:22-192.168.1.1:38882.service: Deactivated successfully. container-test-run-sshd> server # [2022644.981425] server systemd[1]: SSH Host Keys Generation skipped, no trigger condition checks were met. container-test-run-sshd> server # [2022644.981971] server systemd[1]: Started SSH per-connection Daemon (192.168.1.1:38896). container-test-run-sshd> server # [2022645.010951] server sshd[268]: error: No matching private key for certificate: /nix/store/nfgj11gkrqdb516rdgvpahp3gkkcf219-per-machine-server-openssh-cert_ssh.id_ed25519-cert.pub container-test-run-sshd> client: (finished: must succeed: scp -i /tmp/test-key root@server:/run/secrets/per-machine/server/sshd-root-key/id_ed25519 /tmp/generated-key, in 0.11 seconds) container-test-run-sshd> client: must succeed: chmod 600 /tmp/generated-key container-test-run-sshd> client: (finished: must succeed: chmod 600 /tmp/generated-key, in 0.00 seconds) container-test-run-sshd> client: must succeed: ssh -i /tmp/generated-key root@server 'echo GENERATED_KEY_SUCCESS' container-test-run-sshd> container-test-run-sshd> client: output: container-test-run-sshd> !!! Traceback (most recent call last): container-test-run-sshd> !!! File "", line 30, in container-test-run-sshd> !!! client.succeed("ssh -i /tmp/generated-key root@server 'echo GENERATED_KEY_SUCCESS'") container-test-run-sshd> !!! container-test-run-sshd> !!! RequestedAssertionFailed: command `ssh -i /tmp/generated-key root@server 'echo GENERATED_KEY_SUCCESS'` failed (exit code 255) container-test-run-sshd> cleanup container-test-run-sshd> kill NspawnMachine (pid 52) container-test-run-sshd> kill NspawnMachine (pid 53) container-test-run-sshd> Container client terminated by signal KILL. container-test-run-sshd> Container server terminated by signal KILL. container-test-run-sshd> (finished: cleanup, in 0.23 seconds) error: Cannot build '/nix/store/dr629vi956v80872pqlg94857ix68ln5-container-test-run-sshd.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/hsxz86kcv2wrkglckjg108xk3mkbql6s-container-test-run-sshd Last 25 log lines: > server # [2022644.897535] server systemd[1]: sshd@0-126999-127.0.0.1:22-127.0.0.1:35532.service: Deactivated successfully. > server # [2022644.957684] server sshd-session[256]: Accepted publickey for root from 192.168.1.1 port 38882 ssh2: ED25519 SHA256:o/QD6rB73sctZzyYRQeIJAuU+/iqP9mNNwIF4P4uLSc > server # [2022644.968171] server sshd-session[264]: Received disconnect from 192.168.1.1 port 38882:11: disconnected by user > server # [2022644.968246] server sshd-session[264]: Disconnected from user root 192.168.1.1 port 38882 > server # [2022644.968877] server systemd[1]: sshd@1-127000-192.168.1.2:22-192.168.1.1:38882.service: Deactivated successfully. > server # [2022644.981425] server systemd[1]: SSH Host Keys Generation skipped, no trigger condition checks were met. > server # [2022644.981971] server systemd[1]: Started SSH per-connection Daemon (192.168.1.1:38896). > server # [2022645.010951] server sshd[268]: error: No matching private key for certificate: /nix/store/nfgj11gkrqdb516rdgvpahp3gkkcf219-per-machine-server-openssh-cert_ssh.id_ed25519-cert.pub > client: (finished: must succeed: scp -i /tmp/test-key root@server:/run/secrets/per-machine/server/sshd-root-key/id_ed25519 /tmp/generated-key, in 0.11 seconds) > client: must succeed: chmod 600 /tmp/generated-key > client: (finished: must succeed: chmod 600 /tmp/generated-key, in 0.00 seconds) > client: must succeed: ssh -i /tmp/generated-key root@server 'echo GENERATED_KEY_SUCCESS' > > client: output: > !!! Traceback (most recent call last): > !!! File "", line 30, in > !!! client.succeed("ssh -i /tmp/generated-key root@server 'echo GENERATED_KEY_SUCCESS'") > !!! > !!! RequestedAssertionFailed: command `ssh -i /tmp/generated-key root@server 'echo GENERATED_KEY_SUCCESS'` failed (exit code 255) > cleanup > kill NspawnMachine (pid 52) > kill NspawnMachine (pid 53) > Container client terminated by signal KILL. > Container server terminated by signal KILL. > (finished: cleanup, in 0.23 seconds) For full logs, run: nix log /nix/store/dr629vi956v80872pqlg94857ix68ln5-container-test-run-sshd.drv