elastic-arm-4743f967: building sscxxdir2g2lfyharbkm7yx4jchja1ip-container-test-ubuntu-22-04-activation-exit-codes.drv Running type check Success: no issues found in 1 source file Linting test script additionally exposed symbols: ubuntu-22-04-activation-exit-codes, start_all, subtest, machines, driver, Machine Starting ubuntu-22-04-activation-exit-codes [0.0s] Container process started Waiting for ubuntu-22-04-activation-exit-codes to boot... Getting container PID for ubuntu-22-04-activation-exit-codes... Looking for child process of nspawn PID 52 [ubuntu-22-04-activation-exit-codes] 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. [ubuntu-22-04-activation-exit-codes] ░ Spawning container ubuntu-22-04-activation-exit-codes on /build/tmpdi_ixjkr/ubuntu-22-04-activation-exit-codes. [ubuntu-22-04-activation-exit-codes] Using default interface naming scheme 'v261'. [ubuntu-22-04-activation-exit-codes] Network interface name 'vb-ubuntu-22-04-activation-exit-codes' has been changed to 'vb-ubuntu-2O87g' to fit length constraints. [ubuntu-22-04-activation-exit-codes] systemd 249.11-0ubuntu3.22 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ubuntu-22-04-activation-exit-codes] Detected virtualization systemd-nspawn. [ubuntu-22-04-activation-exit-codes] Detected architecture arm64. [ubuntu-22-04-activation-exit-codes] [ubuntu-22-04-activation-exit-codes] Welcome to Ubuntu 22.04.5 LTS! [ubuntu-22-04-activation-exit-codes] [ubuntu-22-04-activation-exit-codes] Hostname set to . [ubuntu-22-04-activation-exit-codes] Initializing machine ID from container UUID. [ubuntu-22-04-activation-exit-codes] Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway. [ubuntu-22-04-activation-exit-codes] Queued start job for default target Graphical Interface. [ubuntu-22-04-activation-exit-codes] [ OK ] Created slice Slice /system/modprobe. [ubuntu-22-04-activation-exit-codes] [ OK ] Created slice User and Session Slice. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Forward Password Requests to Wall Directory Watch. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Slice Units. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Swaps. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Local Verity Protected Volumes. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Device-mapper event daemon FIFOs. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on LVM2 poll daemon socket. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Syslog Socket. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on initctl Compatibility Named Pipe. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Journal Socket (/dev/log). [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Journal Socket. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Network Service Netlink Socket. [ubuntu-22-04-activation-exit-codes] Starting Journal Service... [ubuntu-22-04-activation-exit-codes] Starting Set the console keyboard layout... [ubuntu-22-04-activation-exit-codes] Starting Apply Kernel Variables... [ubuntu-22-04-activation-exit-codes] Starting Create System Users... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Apply Kernel Variables. [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Create System Users. [ubuntu-22-04-activation-exit-codes] Starting Create Static Device Nodes in /dev... [ubuntu-22-04-activation-exit-codes] [ OK ] Started Journal Service. [ubuntu-22-04-activation-exit-codes] Starting Flush Journal to Persistent Storage... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Create Static Device Nodes in /dev. [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Set the console keyboard layout. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Preparation for Local File Systems. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Local File Systems. [ubuntu-22-04-activation-exit-codes] Starting Set console font and keymap... [ubuntu-22-04-activation-exit-codes] Starting Create final runtime dir for shutdown pivot root... [ubuntu-22-04-activation-exit-codes] Starting Tell Plymouth To Write Out Runtime Data... [ubuntu-22-04-activation-exit-codes] [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Local Encrypted Volumes. [ubuntu-22-04-activation-exit-codes] Starting Uncomplicated firewall... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Set console font and keymap. [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Create final runtime dir for shutdown pivot root. [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Uncomplicated firewall. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Preparation for Network. [ubuntu-22-04-activation-exit-codes] Starting Network Configuration... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Tell Plymouth To Write Out Runtime Data. [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Flush Journal to Persistent Storage. [ubuntu-22-04-activation-exit-codes] Starting Create Volatile Files and Directories... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Create Volatile Files and Directories. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target System Time Set. [ubuntu-22-04-activation-exit-codes] Starting Record System Boot/Shutdown in UTMP... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Record System Boot/Shutdown in UTMP. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target System Initialization. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily apt download activities. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily apt upgrade and clean activities. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily dpkg database backup timer. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Periodic ext4 Online Metadata Check for All Filesystems. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily rotation of log files. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily man-db regeneration. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Message of the Day. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily Cleanup of Temporary Directories. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Path Units. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Unix socket for apport crash forwarding. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on D-Bus System Message Bus Socket. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Open-iSCSI iscsid Socket. [ubuntu-22-04-activation-exit-codes] [ OK ] Listening on UUID daemon activation socket. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Socket Units. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Basic System. [ubuntu-22-04-activation-exit-codes] [ OK ] Started D-Bus System Message Bus. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Save initial kernel messages after boot. [ubuntu-22-04-activation-exit-codes] Starting Dispatcher daemon for systemd-networkd... [ubuntu-22-04-activation-exit-codes] Starting System Logging Service... [ubuntu-22-04-activation-exit-codes] Starting User Login Management... [ubuntu-22-04-activation-exit-codes] [ OK ] Started System Logging Service. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Dispatcher daemon for systemd-networkd. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Network Configuration. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Network. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Network is Online. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Download data for packages …at failed at package install time. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Check to see whether there …a new version of Ubuntu available. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Timer Units. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Preparation for Remote File Systems. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Remote File Systems. [ubuntu-22-04-activation-exit-codes] Starting LSB: automatic crash report generation... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Availability of block devices. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Regular background program processing daemon. [ubuntu-22-04-activation-exit-codes] Starting OpenBSD Secure Shell server... [ubuntu-22-04-activation-exit-codes] Starting Permit User Sessions... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Permit User Sessions. [ubuntu-22-04-activation-exit-codes] Starting Hold until boot process finishes up... [ubuntu-22-04-activation-exit-codes] Starting Terminate Plymouth Boot Screen... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Hold until boot process finishes up. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Console Getty. [ubuntu-22-04-activation-exit-codes] [ OK ] Created slice Slice /system/getty. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Login Prompts. [ubuntu-22-04-activation-exit-codes] [FAILED] Failed to start OpenBSD Secure Shell server. [ubuntu-22-04-activation-exit-codes] See 'systemctl status ssh.service' for details. [ubuntu-22-04-activation-exit-codes] [ OK ] Started LSB: automatic crash report generation. [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Terminate Plymouth Boot Screen. [ubuntu-22-04-activation-exit-codes] [ OK ] Started User Login Management. [ubuntu-22-04-activation-exit-codes] [ OK ] Started Unattended Upgrades Shutdown. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Multi-User System. [ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Graphical Interface. [ubuntu-22-04-activation-exit-codes] Starting Record Runlevel Change in UTMP... [ubuntu-22-04-activation-exit-codes] [ OK ] Stopped OpenBSD Secure Shell server. [ubuntu-22-04-activation-exit-codes] Starting OpenBSD Secure Shell server... [ubuntu-22-04-activation-exit-codes] [ OK ] Finished Record Runlevel Change in UTMP. [ubuntu-22-04-activation-exit-codes] [FAILED] Failed to start OpenBSD Secure Shell server. [ubuntu-22-04-activation-exit-codes] See 'systemctl status ssh.service' for details. [1.0s] Found container PID: 55 Container ubuntu-22-04-activation-exit-codes has PID 55 [0.0s] Container ubuntu-22-04-activation-exit-codes status: running [0.0s] Container ubuntu-22-04-activation-exit-codes boot complete: running [1.0s] Boot complete ubuntu-22-04-activation-exit-codes: Installing Nix via nix-installer [ubuntu-22-04-activation-exit-codes] [ubuntu-22-04-activation-exit-codes] [ubuntu-22-04-activation-exit-codes] Ubuntu 22.04.5 LTS ubuntu console [ubuntu-22-04-activation-exit-codes] ubuntu-22-04-activation-exit-codes: waiting for unit 'nix-daemon.socket' (finished: waiting for unit 'nix-daemon.socket', in 0.01 seconds) (finished: Installing Nix via nix-installer, in 4.99 seconds) [5.0s] Nix installation complete ubuntu-22-04-activation-exit-codes: Copying profile /nix/store/2jx9a3nzrr0p0lcadb2nybqvqwx8s7xb-system-manager to container Copying 176 store paths... (finished: Copying profile /nix/store/2jx9a3nzrr0p0lcadb2nybqvqwx8s7xb-system-manager to container, in 1.97 seconds) [2.0s] Profile copy complete [8.0s] All containers ready To attach to container ubuntu-22-04-activation-exit-codes run on the same machine that runs the test: sudo nsenter --target 55 --mount --uts --ipc --net --pid --cgroup -- /usr/bin/env PATH=/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin /bin/bash ubuntu-22-04-activation-exit-codes: waiting for unit 'multi-user.target' (finished: waiting for unit 'multi-user.target', in 0.01 seconds) subtest: a complete activation exits 0 Test "a complete activation exits 0" failed with error: "Expected exit 0, got 4: [2026-10-13T04:22:45Z INFO system_manager_engine::activate] Activating system-manager profile: /nix/store/2jx9a3nzrr0p0lcadb2nybqvqwx8s7xb-system-manager [2026-10-13T04:22:45Z INFO system_manager_engine::activate] Running pre-activation assertions... All pre-activation assertions succeeded. [2026-10-13T04:22:45Z INFO system_manager_engine::activate] Activating etc files... [2026-10-13T04:22:45Z INFO system_manager_engine::activate::etc_files] Reading etc file definitions... [2026-10-13T04:22:45Z INFO system_manager_engine::activate::etc_files] Creating /etc entries in /etc [2026-10-13T04:22:45Z INFO system_manager_engine::activate] Restarting sysinit-reactivation.target... [2026-10-13T04:22:45Z INFO system_manager_engine::activate::services] Reloading the systemd daemon... [2026-10-13T04:22:46Z INFO system_manager_engine::systemd] Waiting for jobs to finish... [2026-10-13T04:22:46Z INFO system_manager_engine::systemd] All jobs finished. [2026-10-13T04:22:46Z INFO system_manager_engine::activate::services] Restarting userborn.service to create users before tmpfiles... [2026-10-13T04:22:46Z INFO system_manager_engine::systemd] Waiting for jobs to finish... [2026-10-13T04:22:46Z INFO system_manager_engine::systemd] All jobs finished. [2026-10-13T04:22:46Z INFO system_manager_engine::activate::services] userborn.service completed [2026-10-13T04:22:46Z INFO system_manager_engine::activate] Activating tmp files... [2026-10-13T04:22:46Z INFO system_manager_engine::activate] Activating systemd services... [2026-10-13T04:22:46Z INFO system_manager_engine::activate::services] Reading new service definitions... [2026-10-13T04:22:46Z INFO system_manager_engine::systemd] Waiting for jobs to finish... [2026-10-13T04:22:46Z INFO system_manager_engine::systemd] All jobs finished. [2026-10-13T04:22:46Z INFO system_manager_engine::activate::services] Done [2026-10-13T04:22:46Z INFO system_manager_engine::activate] Writing state info into file: /var/lib/system-manager/state/system-manager-state.json [2026-10-13T04:22:46Z ERROR system_manager_engine::activate] Units failed after activation: suid-sgid-wrappers.service [2026-10-13T04:22:46Z ERROR system_manager_engine] units failed after activation: suid-sgid-wrappers.service "