container-test-debian-13-activation-exit-codes
checks.x86_64-linux.container-debian-13-activation-exit-codes
· build #78
· raw
1Running type check2Success: no issues found in 1 source file3Linting test script4additionally exposed symbols:5 debian-13-activation-exit-codes,6 start_all, subtest, machines, driver, Machine7Starting debian-13-activation-exit-codes8[0.0s] Container process started9Waiting for debian-13-activation-exit-codes to boot...10Getting container PID for debian-13-activation-exit-codes...11Looking for child process of nspawn PID 5212[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.13[debian-13-activation-exit-codes] ░ Spawning container debian-13-activation-exit-codes on /build/tmpgck74uj6/debian-13-activation-exit-codes.14[debian-13-activation-exit-codes] Using default interface naming scheme 'v261'.15[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.16[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)17[debian-13-activation-exit-codes] Detected virtualization systemd-nspawn.18[debian-13-activation-exit-codes] Detected architecture x86-64.19[debian-13-activation-exit-codes] 20[debian-13-activation-exit-codes] Welcome to Debian GNU/Linux 13 (trixie)!21[debian-13-activation-exit-codes] 22[debian-13-activation-exit-codes] Initializing machine ID from container UUID.23[debian-13-activation-exit-codes] bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported.24[debian-13-activation-exit-codes] Queued start job for default target graphical.target.25[debian-13-activation-exit-codes] [ OK ] Created slice system-getty.slice - Slice /system/getty.26[debian-13-activation-exit-codes] [ OK ] Created slice system-modprobe.slice - Slice /system/modprobe.27[debian-13-activation-exit-codes] [ OK ] Created slice user.slice - User and Session Slice.28[debian-13-activation-exit-codes] [ OK ] Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.29[debian-13-activation-exit-codes] [ OK ] Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.30[debian-13-activation-exit-codes] [ OK ] Reached target paths.target - Path Units.31[debian-13-activation-exit-codes] [ OK ] Reached target remote-fs.target - Remote File Systems.32[debian-13-activation-exit-codes] [ OK ] Reached target slices.target - Slice Units.33[debian-13-activation-exit-codes] [ OK ] Reached target swap.target - Swaps.34[debian-13-activation-exit-codes] [ OK ] Listening on systemd-creds.socket - Credential Encryption/Decryption.35[debian-13-activation-exit-codes] [ OK ] Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.36[debian-13-activation-exit-codes] [ OK ] Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).37[debian-13-activation-exit-codes] [ OK ] Listening on systemd-journald.socket - Journal Sockets.38[debian-13-activation-exit-codes] [ OK ] Listening on systemd-networkd.socket - Network Service Netlink Socket.39[debian-13-activation-exit-codes] Mounting run-lock.mount - Legacy Locks Directory /run/lock...40[debian-13-activation-exit-codes] Starting systemd-journald.service - Journal Service...41[debian-13-activation-exit-codes] Starting systemd-network-generator.service - Generate Network Units from Kernel Command Line...42[debian-13-activation-exit-codes] Starting systemd-sysctl.service - Apply Kernel Variables...43[debian-13-activation-exit-codes] Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...44[debian-13-activation-exit-codes] Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials...45[debian-13-activation-exit-codes] [ OK ] Mounted run-lock.mount - Legacy Locks Directory /run/lock.46[debian-13-activation-exit-codes] [ OK ] Finished systemd-network-generator.service - Generate Network Units from Kernel Command Line.47[debian-13-activation-exit-codes] [ OK ] Finished systemd-sysctl.service - Apply Kernel Variables.48[debian-13-activation-exit-codes] [ OK ] Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials.49[debian-13-activation-exit-codes] [ OK ] Reached target network-pre.target - Preparation for Network.50[debian-13-activation-exit-codes] [ OK ] Started systemd-journald.service - Journal Service.51[debian-13-activation-exit-codes] Starting systemd-journal-flush.service - Flush Journal to Persistent Storage...52[debian-13-activation-exit-codes] [ OK ] Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully.53[debian-13-activation-exit-codes] Starting systemd-sysusers.service - Create System Users...54[debian-13-activation-exit-codes] [ OK ] Finished systemd-sysusers.service - Create System Users.55[debian-13-activation-exit-codes] [ OK ] Reached target time-set.target - System Time Set.56[debian-13-activation-exit-codes] Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...57[debian-13-activation-exit-codes] [ OK ] Finished systemd-journal-flush.service - Flush Journal to Persistent Storage.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-tmpfiles-setup.service - Create System Files and Directories...63[debian-13-activation-exit-codes] Starting systemd-networkd.service - Network Configuration...64[debian-13-activation-exit-codes] [ OK ] Finished systemd-tmpfiles-setup.service - Create System Files and Directories.65[debian-13-activation-exit-codes] Starting ldconfig.service - Rebuild Dynamic Linker Cache...66[debian-13-activation-exit-codes] Starting systemd-journal-catalog-update.service - Rebuild Journal Catalog...67[debian-13-activation-exit-codes] [ OK ] Finished systemd-journal-catalog-update.service - Rebuild Journal Catalog.68[debian-13-activation-exit-codes] [ OK ] Started systemd-networkd.service - Network Configuration.69[debian-13-activation-exit-codes] [ OK ] Reached target network.target - Network.70[debian-13-activation-exit-codes] Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd...71[debian-13-activation-exit-codes] [ OK ] Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd.72[debian-13-activation-exit-codes] [ OK ] Finished ldconfig.service - Rebuild Dynamic Linker Cache.73[debian-13-activation-exit-codes] Starting systemd-update-done.service - Update is Completed...74[debian-13-activation-exit-codes] [ OK ] Finished systemd-update-done.service - Update is Completed.75[debian-13-activation-exit-codes] [ OK ] Reached target sysinit.target - System Initialization.76[debian-13-activation-exit-codes] [ OK ] Started apt-daily.timer - Daily apt download activities.77[debian-13-activation-exit-codes] [ OK ] Started apt-daily-upgrade.timer - Daily apt upgrade and clean activities.78[debian-13-activation-exit-codes] [ OK ] Started apt-listchanges.timer - Try hourly to initialize apt-listchanges database for APT.79[debian-13-activation-exit-codes] [ OK ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.80[debian-13-activation-exit-codes] [ OK ] Started e2scrub_all.timer - Periodic ext4 Online Metadata Check for All Filesystems.81[debian-13-activation-exit-codes] [ OK ] Started man-db.timer - Daily man-db regeneration.82[debian-13-activation-exit-codes] [ OK ] Started systemd-tmpfiles-clean.timer - Daily Cleanup of Temporary Directories.83[debian-13-activation-exit-codes] [ OK ] Reached target timers.target - Timer Units.84[debian-13-activation-exit-codes] [ OK ] Listening on dbus.socket - D-Bus System Message Bus Socket.85[debian-13-activation-exit-codes] [ OK ] Listening on sshd-unix-export.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Export).86[debian-13-activation-exit-codes] [ OK ] Reached target ssh-access.target - SSH Access Available.87[debian-13-activation-exit-codes] [ OK ] Listening on sshd-unix-local.socket - OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local).88[debian-13-activation-exit-codes] [ OK ] Listening on systemd-hostnamed.socket - Hostname Service Socket.89[debian-13-activation-exit-codes] [ OK ] Listening on uuidd.socket - UUID daemon activation socket.90[debian-13-activation-exit-codes] [ OK ] Reached target sockets.target - Socket Units.91[debian-13-activation-exit-codes] [ OK ] Reached target basic.target - Basic System.92[debian-13-activation-exit-codes] Starting dbus.service - D-Bus System Message Bus...93[debian-13-activation-exit-codes] Starting grub-common.service - Record successful boot for GRUB...94[debian-13-activation-exit-codes] Starting ssh.service - OpenBSD Secure Shell server...95[debian-13-activation-exit-codes] Starting systemd-logind.service - User Login Management...96[debian-13-activation-exit-codes] Starting systemd-user-sessions.service - Permit User Sessions...97[debian-13-activation-exit-codes] [ OK ] Finished systemd-user-sessions.service - Permit User Sessions.98[debian-13-activation-exit-codes] [ OK ] Started console-getty.service - Console Getty.99[debian-13-activation-exit-codes] [ OK ] Reached target getty.target - Login Prompts.100[debian-13-activation-exit-codes] [ OK ] Finished grub-common.service - Record successful boot for GRUB.101[debian-13-activation-exit-codes] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server.102[debian-13-activation-exit-codes] See 'systemctl status ssh.service' for details.103[debian-13-activation-exit-codes] [ OK ] Started dbus.service - D-Bus System Message Bus.104[1.0s] Found container PID: 55105Container debian-13-activation-exit-codes has PID 55106[0.0s] Container debian-13-activation-exit-codes status: starting107[debian-13-activation-exit-codes] Starting ssh.service - OpenBSD Secure Shell server...108[debian-13-activation-exit-codes] [FAILED] Failed to start ssh.service - OpenBSD Secure Shell server.109[debian-13-activation-exit-codes] See 'systemctl status ssh.service' for details.110[debian-13-activation-exit-codes] [ OK ] Started systemd-logind.service - User Login Management.111[debian-13-activation-exit-codes] [ OK ] Started unattended-upgrades.service - Unattended Upgrades Shutdown.112[debian-13-activation-exit-codes] [ OK ] Reached target multi-user.target - Multi-User System.113[debian-13-activation-exit-codes] [ OK ] Reached target graphical.target - Graphical Interface.114[1.0s] Container debian-13-activation-exit-codes status: degraded115[1.0s] Container debian-13-activation-exit-codes boot complete: degraded116[2.0s] Boot complete117debian-13-activation-exit-codes: Installing Nix via nix-installer118[debian-13-activation-exit-codes] 119[debian-13-activation-exit-codes] 120[debian-13-activation-exit-codes] Debian GNU/Linux 13 debian-13-activation-exit-codes pts/0121[debian-13-activation-exit-codes] 122debian-13-activation-exit-codes: waiting for unit 'nix-daemon.socket'123(finished: waiting for unit 'nix-daemon.socket', in 0.02 seconds)124(finished: Installing Nix via nix-installer, in 10.10 seconds)125[10.1s] Nix installation complete126debian-13-activation-exit-codes: Copying profile /nix/store/hzwvm21dig75qvjzn5n9jv27k4s7ar8g-system-manager to container127Copying 185 store paths...128(finished: Copying profile /nix/store/hzwvm21dig75qvjzn5n9jv27k4s7ar8g-system-manager to container, in 4.05 seconds)129[4.1s] Profile copy complete130[16.2s] All containers ready131To attach to container debian-13-activation-exit-codes run on the same machine that runs the test:132 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 133debian-13-activation-exit-codes: waiting for unit 'multi-user.target'134(finished: waiting for unit 'multi-user.target', in 0.05 seconds)135subtest: a complete activation exits 0136debian-13-activation-exit-codes: waiting for unit 'exit-codes-healthy.service'137(finished: waiting for unit 'exit-codes-healthy.service', in 0.02 seconds)138debian-13-activation-exit-codes: waiting for unit 'exit-codes-changing.service'139(finished: waiting for unit 'exit-codes-changing.service', in 0.01 seconds)140(finished: subtest: a complete activation exits 0, in 0.35 seconds)141subtest: a managed unit that fails exits 4 and is named142(finished: subtest: a managed unit that fails exits 4 and is named, in 0.22 seconds)143subtest: activating the previous profile again exits 0, dropping a unit that already exited144(finished: subtest: activating the previous profile again exits 0, dropping a unit that already exited, in 0.23 seconds)145subtest: a restart systemd refuses exits 1 and is named146debian-13-activation-exit-codes: waiting for unit 'exit-codes-healthy.service'147(finished: waiting for unit 'exit-codes-healthy.service', in 0.01 seconds)148(finished: subtest: a restart systemd refuses exits 1 and is named, in 0.27 seconds)149subtest: activating that profile again retries the restart150(finished: subtest: activating that profile again retries the restart, in 0.27 seconds)151subtest: activating the previous profile again exits 0152debian-13-activation-exit-codes: waiting for unit 'exit-codes-changing.service'153(finished: waiting for unit 'exit-codes-changing.service', in 0.01 seconds)154(finished: subtest: activating the previous profile again exits 0, in 0.28 seconds)155subtest: a reload that fails exits 4 and is named156debian-13-activation-exit-codes: must succeed: systemctl is-active exit-codes-reloading.service157(finished: must succeed: systemctl is-active exit-codes-reloading.service, in 0.01 seconds)158(finished: subtest: a reload that fails exits 4 and is named, in 0.46 seconds)159subtest: a unit whose start fails on an unmanaged dependency exits 4 and is named160debian-13-activation-exit-codes: must succeed: printf '[Service]\nType=oneshot\nExecStart=/bin/false\n' > /run/systemd/system/exit-codes-unmanaged.service161(finished: must succeed: printf '[Service]\nType=oneshot\nExecStart=/bin/false\n' > /run/systemd/system/exit-codes-unmanaged.service, in 0.00 seconds)162debian-13-activation-exit-codes: must succeed: systemctl daemon-reload163(finished: must succeed: systemctl daemon-reload, in 0.15 seconds)164debian-13-activation-exit-codes: must fail: systemctl is-active exit-codes-dependent.service165(finished: must fail: systemctl is-active exit-codes-dependent.service, in 0.01 seconds)166debian-13-activation-exit-codes: must succeed: rm /run/systemd/system/exit-codes-unmanaged.service && systemctl daemon-reload167(finished: must succeed: rm /run/systemd/system/exit-codes-unmanaged.service && systemctl daemon-reload, in 0.12 seconds)168(finished: subtest: a unit whose start fails on an unmanaged dependency exits 4 and is named, in 0.77 seconds)169subtest: a unit the profile drops that doesn't stop exits 1 and is named170debian-13-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes171(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.01 seconds)172debian-13-activation-exit-codes: must succeed: systemd-run --unit=exit-codes-busy /bin/sh -c 'cd /mnt/exitcodes && exec sleep infinity'173(finished: must succeed: systemd-run --unit=exit-codes-busy /bin/sh -c 'cd /mnt/exitcodes && exec sleep infinity', in 0.01 seconds)174debian-13-activation-exit-codes: waiting for success: test "$(readlink /proc/$(systemctl show -P MainPID exit-codes-busy.service)/cwd)" = /mnt/exitcodes175(finished: waiting for success: test "$(readlink /proc/$(systemctl show -P MainPID exit-codes-busy.service)/cwd)" = /mnt/exitcodes, in 1.03 seconds)176debian-13-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes177(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.01 seconds)178(finished: subtest: a unit the profile drops that doesn't stop exits 1 and is named, in 1.97 seconds)179subtest: activating that profile again retries the stop180(finished: subtest: activating that profile again retries the stop, in 0.50 seconds)181subtest: a rollback to the profile that has the unit leaves it as it is182debian-13-activation-exit-codes: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount183(finished: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount, in 0.01 seconds)184debian-13-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes185(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.01 seconds)186debian-13-activation-exit-codes: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount187(finished: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount, in 0.02 seconds)188(finished: subtest: a rollback to the profile that has the unit leaves it as it is, in 1.46 seconds)189subtest: once the stop can complete, activating again exits 0 and stops the unit190debian-13-activation-exit-codes: must succeed: systemctl stop exit-codes-busy.service191(finished: must succeed: systemctl stop exit-codes-busy.service, in 0.21 seconds)192debian-13-activation-exit-codes: must fail: mountpoint -q /mnt/exitcodes193(finished: must fail: mountpoint -q /mnt/exitcodes, in 0.01 seconds)194(finished: subtest: once the stop can complete, activating again exits 0 and stops the unit, in 1.18 seconds)