container-test-debian-13-activation-exit-codes
checks.aarch64-linux.container-debian-13-activation-exit-codes
· build #78
· raw
1elastic-arm-8f6abe2e: building k8jwl317nx4xycm4wc35347p8r4yw3zh-container-test-debian-13-activation-exit-codes.drv2Running type check3Success: no issues found in 1 source file4Linting test script5additionally exposed symbols:6 debian-13-activation-exit-codes,7 start_all, subtest, machines, driver, Machine8Starting debian-13-activation-exit-codes9[0.0s] Container process started10Waiting for debian-13-activation-exit-codes to boot...11Getting container PID for debian-13-activation-exit-codes...12Looking for child process of nspawn PID 5213[debian-13-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.14[debian-13-activation-exit-codes] ░ Spawning container debian-13-activation-exit-codes on /build/tmp2zi2gsgn/debian-13-activation-exit-codes.15[debian-13-activation-exit-codes] Using default interface naming scheme 'v261'.16[debian-13-activation-exit-codes] Network interface name 'vb-debian-13-activation-exit-codes' has been changed to 'vb-debian-1vwZ2' to fit length constraints.17[debian-13-activation-exit-codes] systemd 257.13-1~deb13u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE)18[debian-13-activation-exit-codes] Detected virtualization systemd-nspawn.19[debian-13-activation-exit-codes] Detected architecture arm64.20[debian-13-activation-exit-codes] 21[debian-13-activation-exit-codes] Welcome to Debian GNU/Linux 13 (trixie)!22[debian-13-activation-exit-codes] 23[debian-13-activation-exit-codes] Initializing machine ID from container UUID.24[debian-13-activation-exit-codes] bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported.25[debian-13-activation-exit-codes] Queued start job for default target graphical.target.26[debian-13-activation-exit-codes] [ OK ] Created slice system-getty.slice - Slice /system/getty.27[debian-13-activation-exit-codes] [ OK ] Created slice system-modprobe.slice - Slice /system/modprobe.28[debian-13-activation-exit-codes] [ OK ] Created slice user.slice - User and Session Slice.29[debian-13-activation-exit-codes] [ OK ] Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.30[debian-13-activation-exit-codes] [ OK ] Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.31[debian-13-activation-exit-codes] [ OK ] Reached target paths.target - Path Units.32[debian-13-activation-exit-codes] [ OK ] Reached target remote-fs.target - Remote File Systems.33[debian-13-activation-exit-codes] [ OK ] Reached target slices.target - Slice Units.34[debian-13-activation-exit-codes] [ OK ] Reached target swap.target - Swaps.35[debian-13-activation-exit-codes] [ OK ] Listening on systemd-creds.socket - Credential Encryption/Decryption.36[debian-13-activation-exit-codes] [ OK ] Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.37[debian-13-activation-exit-codes] [ OK ] Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).38[debian-13-activation-exit-codes] [ OK ] Listening on systemd-journald.socket - Journal Sockets.39[debian-13-activation-exit-codes] [ OK ] Listening on systemd-networkd.socket - Network Service Netlink Socket.40[debian-13-activation-exit-codes] Mounting run-lock.mount - Legacy Locks Directory /run/lock...41[debian-13-activation-exit-codes] Starting systemd-journald.service - Journal Service...42[debian-13-activation-exit-codes] Starting systemd-network-generator.service - Generate Network Units from Kernel Command Line...43[debian-13-activation-exit-codes] Starting systemd-sysctl.service - Apply Kernel Variables...44[debian-13-activation-exit-codes] Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...45[debian-13-activation-exit-codes] Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials...46[debian-13-activation-exit-codes] [ OK ] Mounted run-lock.mount - Legacy Locks Directory /run/lock.47[debian-13-activation-exit-codes] [ OK ] Finished systemd-sysctl.service - Apply Kernel Variables.48[debian-13-activation-exit-codes] [ OK ] Finished systemd-network-generator.service - Generate Network Units from Kernel Command Line.49[debian-13-activation-exit-codes] [ OK ] Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully.50[debian-13-activation-exit-codes] [ OK ] Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials.51[debian-13-activation-exit-codes] [ OK ] Reached target network-pre.target - Preparation for Network.52[debian-13-activation-exit-codes] Starting systemd-sysusers.service - Create System Users...53[debian-13-activation-exit-codes] [ OK ] Started systemd-journald.service - Journal Service.54[debian-13-activation-exit-codes] Starting systemd-journal-flush.service - Flush Journal to Persistent Storage...55[debian-13-activation-exit-codes] [ OK ] Finished systemd-sysusers.service - Create System Users.56[debian-13-activation-exit-codes] [ OK ] Reached target time-set.target - System Time Set.57[debian-13-activation-exit-codes] Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...58[debian-13-activation-exit-codes] [ OK ] Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.59[debian-13-activation-exit-codes] [ OK ] Reached target local-fs-pre.target - Preparation for Local File Systems.60[debian-13-activation-exit-codes] [ OK ] Reached target local-fs.target - Local File Systems.61[debian-13-activation-exit-codes] [ OK ] Listening on systemd-sysext.socket - System Extension Image Management.62[debian-13-activation-exit-codes] Starting systemd-networkd.service - Network Configuration...63[debian-13-activation-exit-codes] [ OK ] Finished systemd-journal-flush.service - Flush Journal to Persistent Storage.64[debian-13-activation-exit-codes] Starting systemd-tmpfiles-setup.service - Create System Files and Directories...65[debian-13-activation-exit-codes] [ OK ] Finished systemd-tmpfiles-setup.service - Create System Files and Directories.66[debian-13-activation-exit-codes] Starting ldconfig.service - Rebuild Dynamic Linker Cache...67[debian-13-activation-exit-codes] Starting systemd-journal-catalog-update.service - Rebuild Journal Catalog...68[debian-13-activation-exit-codes] [ OK ] Finished systemd-journal-catalog-update.service - Rebuild Journal Catalog.69[debian-13-activation-exit-codes] [ OK ] Finished ldconfig.service - Rebuild Dynamic Linker Cache.70[debian-13-activation-exit-codes] Starting systemd-update-done.service - Update is Completed...71[debian-13-activation-exit-codes] [ OK ] Finished systemd-update-done.service - Update is Completed.72[debian-13-activation-exit-codes] [ OK ] Reached target sysinit.target - System Initialization.73[debian-13-activation-exit-codes] [ OK ] Started apt-daily.timer - Daily apt download activities.74[debian-13-activation-exit-codes] [ OK ] Started apt-daily-upgrade.timer - Daily apt upgrade and clean activities.75[debian-13-activation-exit-codes] [ OK ] Started apt-listchanges.timer - Try hourly to initialize apt-listchanges database for APT.76[debian-13-activation-exit-codes] [ OK ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.77[debian-13-activation-exit-codes] [ OK ] Started e2scrub_all.timer - Periodic ext4 Online Metadata Check for All Filesystems.78[debian-13-activation-exit-codes] [ OK ] Started man-db.timer - Daily man-db regeneration.79[debian-13-activation-exit-codes] [ OK ] Started systemd-tmpfiles-clean.timer - Daily Cleanup of Temporary Directories.80[debian-13-activation-exit-codes] [ OK ] Reached target timers.target - Timer Units.81[debian-13-activation-exit-codes] [ OK ] Listening on dbus.socket - D-Bus System Message Bus Socket.82[debian-13-activation-exit-codes] [ OK ] Listening on sshd-unix-export.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Export).83[debian-13-activation-exit-codes] [ OK ] Reached target ssh-access.target - SSH Access Available.84[debian-13-activation-exit-codes] [ OK ] Listening on sshd-unix-local.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local).85[debian-13-activation-exit-codes] [ OK ] Listening on systemd-hostnamed.socket - Hostname Service Socket.86[debian-13-activation-exit-codes] [ OK ] Listening on uuidd.socket - UUID daemon activation socket.87[debian-13-activation-exit-codes] [ OK ] Reached target sockets.target - Socket Units.88[debian-13-activation-exit-codes] [ OK ] Reached target basic.target - Basic System.89[debian-13-activation-exit-codes] Starting dbus.service - D-Bus System Message Bus...90[debian-13-activation-exit-codes] Starting grub-common.service - Record successful boot for GRUB...91[debian-13-activation-exit-codes] Starting systemd-logind.service - User Login Management...92[debian-13-activation-exit-codes] [ OK ] Started dbus.service - D-Bus System Message Bus.93[debian-13-activation-exit-codes] [ OK ] Started systemd-networkd.service - Network Configuration.94[debian-13-activation-exit-codes] [ OK ] Reached target network.target - Network.95[debian-13-activation-exit-codes] Starting ssh.service - OpenBSD Secure Shell server...96[debian-13-activation-exit-codes] Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd...97[debian-13-activation-exit-codes] Starting systemd-user-sessions.service - Permit User Sessions...98[debian-13-activation-exit-codes] [ OK ] Finished grub-common.service - Record successful boot for GRUB.99[debian-13-activation-exit-codes] [ OK ] Finished systemd-user-sessions.service - Permit User Sessions.100[debian-13-activation-exit-codes] [ OK ] Started console-getty.service - Console Getty.101[debian-13-activation-exit-codes] [ OK ] Reached target getty.target - Login Prompts.102[debian-13-activation-exit-codes] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server.103[debian-13-activation-exit-codes] See 'systemctl status ssh.service' for details.104[debian-13-activation-exit-codes] [ OK ] Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd.105[debian-13-activation-exit-codes] [ OK ] Started systemd-logind.service - User Login Management.106[debian-13-activation-exit-codes] [ OK ] Started unattended-upgrades.service - Unattended Upgrades Shutdown.107[debian-13-activation-exit-codes] [ OK ] Reached target multi-user.target - Multi-User System.108[debian-13-activation-exit-codes] [ OK ] Reached target graphical.target - Graphical Interface.109[1.0s] Found container PID: 55110Container debian-13-activation-exit-codes has PID 55111[0.0s] Container debian-13-activation-exit-codes status: running112[0.0s] Container debian-13-activation-exit-codes boot complete: running113[1.0s] Boot complete114debian-13-activation-exit-codes: Installing Nix via nix-installer115[debian-13-activation-exit-codes] 116[debian-13-activation-exit-codes] 117[debian-13-activation-exit-codes] Debian GNU/Linux 13 debian-13-activation-exit-codes pts/0118[debian-13-activation-exit-codes] 119debian-13-activation-exit-codes: waiting for unit 'nix-daemon.socket'120(finished: waiting for unit 'nix-daemon.socket', in 0.02 seconds)121(finished: Installing Nix via nix-installer, in 4.07 seconds)122[4.1s] Nix installation complete123debian-13-activation-exit-codes: Copying profile /nix/store/56jqfzs9w4yxgraxngdw62kq9w79hwsh-system-manager to container124Copying 184 store paths...125(finished: Copying profile /nix/store/56jqfzs9w4yxgraxngdw62kq9w79hwsh-system-manager to container, in 2.00 seconds)126[2.0s] Profile copy complete127[7.1s] All containers ready128To attach to container debian-13-activation-exit-codes run on the same machine that runs the test:129 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 130debian-13-activation-exit-codes: waiting for unit 'multi-user.target'131(finished: waiting for unit 'multi-user.target', in 0.02 seconds)132subtest: a complete activation exits 0133debian-13-activation-exit-codes: waiting for unit 'exit-codes-healthy.service'134(finished: waiting for unit 'exit-codes-healthy.service', in 0.03 seconds)135debian-13-activation-exit-codes: waiting for unit 'exit-codes-changing.service'136(finished: waiting for unit 'exit-codes-changing.service', in 0.02 seconds)137(finished: subtest: a complete activation exits 0, in 0.37 seconds)138subtest: a managed unit that fails exits 4 and is named139(finished: subtest: a managed unit that fails exits 4 and is named, in 0.31 seconds)140subtest: activating the previous profile again exits 0, dropping a unit that already exited141(finished: subtest: activating the previous profile again exits 0, dropping a unit that already exited, in 0.25 seconds)142subtest: a restart systemd refuses exits 1 and is named143debian-13-activation-exit-codes: waiting for unit 'exit-codes-healthy.service'144(finished: waiting for unit 'exit-codes-healthy.service', in 0.02 seconds)145(finished: subtest: a restart systemd refuses exits 1 and is named, in 0.32 seconds)146subtest: activating that profile again retries the restart147(finished: subtest: activating that profile again retries the restart, in 0.33 seconds)148subtest: activating the previous profile again exits 0149debian-13-activation-exit-codes: waiting for unit 'exit-codes-changing.service'150(finished: waiting for unit 'exit-codes-changing.service', in 0.02 seconds)151(finished: subtest: activating the previous profile again exits 0, in 0.28 seconds)152subtest: a reload that fails exits 4 and is named153debian-13-activation-exit-codes: must succeed: systemctl is-active exit-codes-reloading.service154(finished: must succeed: systemctl is-active exit-codes-reloading.service, in 0.01 seconds)155(finished: subtest: a reload that fails exits 4 and is named, in 0.72 seconds)156subtest: a unit whose start fails on an unmanaged dependency exits 4 and is named157debian-13-activation-exit-codes: must succeed: printf '[Service]\nType=oneshot\nExecStart=/bin/false\n' > /run/systemd/system/exit-codes-unmanaged.service158(finished: must succeed: printf '[Service]\nType=oneshot\nExecStart=/bin/false\n' > /run/systemd/system/exit-codes-unmanaged.service, in 0.00 seconds)159debian-13-activation-exit-codes: must succeed: systemctl daemon-reload160(finished: must succeed: systemctl daemon-reload, in 0.16 seconds)161debian-13-activation-exit-codes: must fail: systemctl is-active exit-codes-dependent.service162(finished: must fail: systemctl is-active exit-codes-dependent.service, in 0.01 seconds)163debian-13-activation-exit-codes: must succeed: rm /run/systemd/system/exit-codes-unmanaged.service && systemctl daemon-reload164(finished: must succeed: rm /run/systemd/system/exit-codes-unmanaged.service && systemctl daemon-reload, in 0.20 seconds)165(finished: subtest: a unit whose start fails on an unmanaged dependency exits 4 and is named, in 1.03 seconds)166subtest: a unit the profile drops that doesn't stop exits 1 and is named167debian-13-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes168(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.01 seconds)169debian-13-activation-exit-codes: must succeed: systemd-run --unit=exit-codes-busy /bin/sh -c 'cd /mnt/exitcodes && exec sleep infinity'170(finished: must succeed: systemd-run --unit=exit-codes-busy /bin/sh -c 'cd /mnt/exitcodes && exec sleep infinity', in 0.02 seconds)171debian-13-activation-exit-codes: waiting for success: test "$(readlink /proc/$(systemctl show -P MainPID exit-codes-busy.service)/cwd)" = /mnt/exitcodes172(finished: waiting for success: test "$(readlink /proc/$(systemctl show -P MainPID exit-codes-busy.service)/cwd)" = /mnt/exitcodes, in 0.02 seconds)173debian-13-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes174(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.01 seconds)175(finished: subtest: a unit the profile drops that doesn't stop exits 1 and is named, in 1.11 seconds)176subtest: activating that profile again retries the stop177(finished: subtest: activating that profile again retries the stop, in 0.50 seconds)178subtest: a rollback to the profile that has the unit leaves it as it is179debian-13-activation-exit-codes: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount180(finished: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount, in 0.02 seconds)181debian-13-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes182(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.01 seconds)183debian-13-activation-exit-codes: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount184(finished: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount, in 0.02 seconds)185(finished: subtest: a rollback to the profile that has the unit leaves it as it is, in 0.55 seconds)186subtest: once the stop can complete, activating again exits 0 and stops the unit187debian-13-activation-exit-codes: must succeed: systemctl stop exit-codes-busy.service188(finished: must succeed: systemctl stop exit-codes-busy.service, in 0.02 seconds)189debian-13-activation-exit-codes: must fail: mountpoint -q /mnt/exitcodes190(finished: must fail: mountpoint -q /mnt/exitcodes, in 0.01 seconds)191(finished: subtest: once the stop can complete, activating again exits 0 and stops the unit, in 0.31 seconds)