container-test-ubuntu-22-04-activation-exit-codes
checks.x86_64-linux.container-ubuntu-22_04-activation-exit-codes
· build #78
· raw
1Running type check2Success: no issues found in 1 source file3Linting test script4additionally exposed symbols:5 ubuntu-22-04-activation-exit-codes,6 start_all, subtest, machines, driver, Machine7Starting ubuntu-22-04-activation-exit-codes8[0.0s] Container process started9Waiting for ubuntu-22-04-activation-exit-codes to boot...10Getting container PID for ubuntu-22-04-activation-exit-codes...11Looking for child process of nspawn PID 5212[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.13[ubuntu-22-04-activation-exit-codes] ░ Spawning container ubuntu-22-04-activation-exit-codes on /build/tmplo20zm4n/ubuntu-22-04-activation-exit-codes.14[ubuntu-22-04-activation-exit-codes] Using default interface naming scheme 'v261'.15[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.16[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)17[ubuntu-22-04-activation-exit-codes] Detected virtualization systemd-nspawn.18[ubuntu-22-04-activation-exit-codes] Detected architecture x86-64.19[ubuntu-22-04-activation-exit-codes] 20[ubuntu-22-04-activation-exit-codes] Welcome to Ubuntu 22.04.5 LTS!21[ubuntu-22-04-activation-exit-codes] 22[ubuntu-22-04-activation-exit-codes] Hostname set to <ubuntu>.23[ubuntu-22-04-activation-exit-codes] Initializing machine ID from container UUID.24[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.25[ubuntu-22-04-activation-exit-codes] Queued start job for default target Graphical Interface.26[ubuntu-22-04-activation-exit-codes] [ OK ] Created slice Slice /system/modprobe.27[ubuntu-22-04-activation-exit-codes] [ OK ] Created slice User and Session Slice.28[ubuntu-22-04-activation-exit-codes] [ OK ] Started Forward Password Requests to Wall Directory Watch.29[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Slice Units.30[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Swaps.31[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Local Verity Protected Volumes.32[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Device-mapper event daemon FIFOs.33[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on LVM2 poll daemon socket.34[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Syslog Socket.35[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on initctl Compatibility Named Pipe.36[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Journal Socket (/dev/log).37[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Journal Socket.38[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Network Service Netlink Socket.39[ubuntu-22-04-activation-exit-codes] Starting Journal Service...40[ubuntu-22-04-activation-exit-codes] Starting Set the console keyboard layout...41[ubuntu-22-04-activation-exit-codes] Starting Apply Kernel Variables...42[ubuntu-22-04-activation-exit-codes] Starting Create System Users...43[ubuntu-22-04-activation-exit-codes] [ OK ] Started Journal Service.44[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Apply Kernel Variables.45[ubuntu-22-04-activation-exit-codes] Starting Flush Journal to Persistent Storage...46[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Create System Users.47[ubuntu-22-04-activation-exit-codes] Starting Create Static Device Nodes in /dev...48[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Flush Journal to Persistent Storage.49[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Create Static Device Nodes in /dev.50[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Set the console keyboard layout.51[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Preparation for Local File Systems.52[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Local File Systems.53[ubuntu-22-04-activation-exit-codes] Starting Set console font and keymap...54[1.0s] Found container PID: 5555Container ubuntu-22-04-activation-exit-codes has PID 5556[ubuntu-22-04-activation-exit-codes] Starting Create final runtime dir for shutdown pivot root...57[ubuntu-22-04-activation-exit-codes] Starting Tell Plymouth To Write Out Runtime Data...58[ubuntu-22-04-activation-exit-codes] [ OK ] Started Dispatch Password Requests to Console Directory Watch.59[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Local Encrypted Volumes.60[ubuntu-22-04-activation-exit-codes] Starting Create Volatile Files and Directories...61[ubuntu-22-04-activation-exit-codes] Starting Uncomplicated firewall...62[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Create final runtime dir for shutdown pivot root.63[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Uncomplicated firewall.64[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Preparation for Network.65[ubuntu-22-04-activation-exit-codes] Starting Network Configuration...66[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Tell Plymouth To Write Out Runtime Data.67[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Create Volatile Files and Directories.68[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target System Time Set.69[ubuntu-22-04-activation-exit-codes] Starting Record System Boot/Shutdown in UTMP...70[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Record System Boot/Shutdown in UTMP.71[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target System Initialization.72[ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily apt download activities.73[ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily apt upgrade and clean activities.74[ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily dpkg database backup timer.75[ubuntu-22-04-activation-exit-codes] [ OK ] Started Periodic ext4 Online Metadata Check for All Filesystems.76[ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily rotation of log files.77[ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily man-db regeneration.78[ubuntu-22-04-activation-exit-codes] [ OK ] Started Message of the Day.79[ubuntu-22-04-activation-exit-codes] [ OK ] Started Daily Cleanup of Temporary Directories.80[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Path Units.81[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Unix socket for apport crash forwarding.82[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on D-Bus System Message Bus Socket.83[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on Open-iSCSI iscsid Socket.84[ubuntu-22-04-activation-exit-codes] [ OK ] Listening on UUID daemon activation socket.85[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Socket Units.86[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Basic System.87[ubuntu-22-04-activation-exit-codes] [ OK ] Started D-Bus System Message Bus.88[ubuntu-22-04-activation-exit-codes] [ OK ] Started Save initial kernel messages after boot.89[ubuntu-22-04-activation-exit-codes] Starting Dispatcher daemon for systemd-networkd...90[ubuntu-22-04-activation-exit-codes] Starting System Logging Service...91[ubuntu-22-04-activation-exit-codes] Starting User Login Management...92[0.0s] Container ubuntu-22-04-activation-exit-codes status: starting93[ubuntu-22-04-activation-exit-codes] [ OK ] Started System Logging Service.94[ubuntu-22-04-activation-exit-codes] [ OK ] Started Dispatcher daemon for systemd-networkd.95[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Set console font and keymap.96[ubuntu-22-04-activation-exit-codes] [ OK ] Started Network Configuration.97[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Network.98[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Network is Online.99[ubuntu-22-04-activation-exit-codes] [ OK ] Started Download data for packages …at failed at package install time.100[ubuntu-22-04-activation-exit-codes] [ OK ] Started Check to see whether there …a new version of Ubuntu available.101[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Timer Units.102[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Preparation for Remote File Systems.103[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Remote File Systems.104[ubuntu-22-04-activation-exit-codes] Starting LSB: automatic crash report generation...105[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Availability of block devices.106[ubuntu-22-04-activation-exit-codes] [ OK ] Started Regular background program processing daemon.107[ubuntu-22-04-activation-exit-codes] Starting OpenBSD Secure Shell server...108[ubuntu-22-04-activation-exit-codes] Starting Permit User Sessions...109[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Permit User Sessions.110[ubuntu-22-04-activation-exit-codes] Starting Hold until boot process finishes up...111[ubuntu-22-04-activation-exit-codes] Starting Terminate Plymouth Boot Screen...112[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Hold until boot process finishes up.113[ubuntu-22-04-activation-exit-codes] [ OK ] Started Console Getty.114[ubuntu-22-04-activation-exit-codes] [ OK ] Created slice Slice /system/getty.115[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Login Prompts.116[ubuntu-22-04-activation-exit-codes] [ OK ] Started LSB: automatic crash report generation.117[ubuntu-22-04-activation-exit-codes] [ OK ] Finished Terminate Plymouth Boot Screen.118[ubuntu-22-04-activation-exit-codes] [FAILED] Failed to start OpenBSD Secure Shell server.119[ubuntu-22-04-activation-exit-codes] See 'systemctl status ssh.service' for details.120[ubuntu-22-04-activation-exit-codes] [ OK ] Stopped OpenBSD Secure Shell server.121[ubuntu-22-04-activation-exit-codes] Starting OpenBSD Secure Shell server...122[ubuntu-22-04-activation-exit-codes] [FAILED] Failed to start OpenBSD Secure Shell server.123[ubuntu-22-04-activation-exit-codes] See 'systemctl status ssh.service' for details.124[ubuntu-22-04-activation-exit-codes] [ OK ] Stopped OpenBSD Secure Shell server.125[ubuntu-22-04-activation-exit-codes] Starting OpenBSD Secure Shell server...126[ubuntu-22-04-activation-exit-codes] [FAILED] Failed to start OpenBSD Secure Shell server.127[ubuntu-22-04-activation-exit-codes] See 'systemctl status ssh.service' for details.128[ubuntu-22-04-activation-exit-codes] [ OK ] Stopped OpenBSD Secure Shell server.129[ubuntu-22-04-activation-exit-codes] Starting OpenBSD Secure Shell server...130[ubuntu-22-04-activation-exit-codes] [FAILED] Failed to start OpenBSD Secure Shell server.131[ubuntu-22-04-activation-exit-codes] See 'systemctl status ssh.service' for details.132[ubuntu-22-04-activation-exit-codes] [ OK ] Stopped OpenBSD Secure Shell server.133[ubuntu-22-04-activation-exit-codes] Starting OpenBSD Secure Shell server...134[ubuntu-22-04-activation-exit-codes] [ OK ] Started User Login Management.135[ubuntu-22-04-activation-exit-codes] [ OK ] Started Unattended Upgrades Shutdown.136[ubuntu-22-04-activation-exit-codes] [FAILED] Failed to start OpenBSD Secure Shell server.137[ubuntu-22-04-activation-exit-codes] See 'systemctl status ssh.service' for details.138[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Multi-User System.139[ubuntu-22-04-activation-exit-codes] [ OK ] Reached target Graphical Interface.140[ubuntu-22-04-activation-exit-codes] Starting Record Runlevel Change in UTMP...141[4.1s] Container ubuntu-22-04-activation-exit-codes status: degraded142[4.1s] Container ubuntu-22-04-activation-exit-codes boot complete: degraded143[5.1s] Boot complete144ubuntu-22-04-activation-exit-codes: Installing Nix via nix-installer145[ubuntu-22-04-activation-exit-codes] 146[ubuntu-22-04-activation-exit-codes] 147[ubuntu-22-04-activation-exit-codes] Ubuntu 22.04.5 LTS ubuntu console148[ubuntu-22-04-activation-exit-codes] 149ubuntu-22-04-activation-exit-codes: waiting for unit 'nix-daemon.socket'150(finished: waiting for unit 'nix-daemon.socket', in 0.02 seconds)151(finished: Installing Nix via nix-installer, in 4.67 seconds)152[4.7s] Nix installation complete153ubuntu-22-04-activation-exit-codes: Copying profile /nix/store/hzwvm21dig75qvjzn5n9jv27k4s7ar8g-system-manager to container154Copying 185 store paths...155(finished: Copying profile /nix/store/hzwvm21dig75qvjzn5n9jv27k4s7ar8g-system-manager to container, in 8.39 seconds)156[8.4s] Profile copy complete157[18.2s] All containers ready158To attach to container ubuntu-22-04-activation-exit-codes run on the same machine that runs the test:159 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 160ubuntu-22-04-activation-exit-codes: waiting for unit 'multi-user.target'161(finished: waiting for unit 'multi-user.target', in 0.01 seconds)162subtest: a complete activation exits 0163ubuntu-22-04-activation-exit-codes: waiting for unit 'exit-codes-healthy.service'164(finished: waiting for unit 'exit-codes-healthy.service', in 0.03 seconds)165ubuntu-22-04-activation-exit-codes: waiting for unit 'exit-codes-changing.service'166(finished: waiting for unit 'exit-codes-changing.service', in 0.01 seconds)167(finished: subtest: a complete activation exits 0, in 0.44 seconds)168subtest: a managed unit that fails exits 4 and is named169(finished: subtest: a managed unit that fails exits 4 and is named, in 0.34 seconds)170subtest: activating the previous profile again exits 0, dropping a unit that already exited171(finished: subtest: activating the previous profile again exits 0, dropping a unit that already exited, in 0.32 seconds)172subtest: a restart systemd refuses exits 1 and is named173ubuntu-22-04-activation-exit-codes: waiting for unit 'exit-codes-healthy.service'174(finished: waiting for unit 'exit-codes-healthy.service', in 0.02 seconds)175(finished: subtest: a restart systemd refuses exits 1 and is named, in 0.25 seconds)176subtest: activating that profile again retries the restart177(finished: subtest: activating that profile again retries the restart, in 0.29 seconds)178subtest: activating the previous profile again exits 0179ubuntu-22-04-activation-exit-codes: waiting for unit 'exit-codes-changing.service'180(finished: waiting for unit 'exit-codes-changing.service', in 0.01 seconds)181(finished: subtest: activating the previous profile again exits 0, in 0.42 seconds)182subtest: a reload that fails exits 4 and is named183ubuntu-22-04-activation-exit-codes: must succeed: systemctl is-active exit-codes-reloading.service184(finished: must succeed: systemctl is-active exit-codes-reloading.service, in 0.01 seconds)185(finished: subtest: a reload that fails exits 4 and is named, in 0.59 seconds)186subtest: a unit whose start fails on an unmanaged dependency exits 4 and is named187ubuntu-22-04-activation-exit-codes: must succeed: printf '[Service]\nType=oneshot\nExecStart=/bin/false\n' > /run/systemd/system/exit-codes-unmanaged.service188(finished: must succeed: printf '[Service]\nType=oneshot\nExecStart=/bin/false\n' > /run/systemd/system/exit-codes-unmanaged.service, in 0.00 seconds)189ubuntu-22-04-activation-exit-codes: must succeed: systemctl daemon-reload190(finished: must succeed: systemctl daemon-reload, in 0.14 seconds)191ubuntu-22-04-activation-exit-codes: must fail: systemctl is-active exit-codes-dependent.service192(finished: must fail: systemctl is-active exit-codes-dependent.service, in 0.01 seconds)193ubuntu-22-04-activation-exit-codes: must succeed: rm /run/systemd/system/exit-codes-unmanaged.service && systemctl daemon-reload194(finished: must succeed: rm /run/systemd/system/exit-codes-unmanaged.service && systemctl daemon-reload, in 0.21 seconds)195(finished: subtest: a unit whose start fails on an unmanaged dependency exits 4 and is named, in 0.93 seconds)196subtest: a unit the profile drops that doesn't stop exits 1 and is named197ubuntu-22-04-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes198(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.10 seconds)199ubuntu-22-04-activation-exit-codes: must succeed: systemd-run --unit=exit-codes-busy /bin/sh -c 'cd /mnt/exitcodes && exec sleep infinity'200(finished: must succeed: systemd-run --unit=exit-codes-busy /bin/sh -c 'cd /mnt/exitcodes && exec sleep infinity', in 0.06 seconds)201ubuntu-22-04-activation-exit-codes: waiting for success: test "$(readlink /proc/$(systemctl show -P MainPID exit-codes-busy.service)/cwd)" = /mnt/exitcodes202(finished: waiting for success: test "$(readlink /proc/$(systemctl show -P MainPID exit-codes-busy.service)/cwd)" = /mnt/exitcodes, in 0.02 seconds)203ubuntu-22-04-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes204(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.03 seconds)205(finished: subtest: a unit the profile drops that doesn't stop exits 1 and is named, in 1.34 seconds)206subtest: activating that profile again retries the stop207(finished: subtest: activating that profile again retries the stop, in 0.35 seconds)208subtest: a rollback to the profile that has the unit leaves it as it is209ubuntu-22-04-activation-exit-codes: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount210(finished: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount, in 0.01 seconds)211ubuntu-22-04-activation-exit-codes: must succeed: mountpoint -q /mnt/exitcodes212(finished: must succeed: mountpoint -q /mnt/exitcodes, in 0.03 seconds)213ubuntu-22-04-activation-exit-codes: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount214(finished: must succeed: systemctl show -P ActiveEnterTimestampMonotonic mnt-exitcodes.mount, in 0.01 seconds)215(finished: subtest: a rollback to the profile that has the unit leaves it as it is, in 0.61 seconds)216subtest: once the stop can complete, activating again exits 0 and stops the unit217ubuntu-22-04-activation-exit-codes: must succeed: systemctl stop exit-codes-busy.service218(finished: must succeed: systemctl stop exit-codes-busy.service, in 0.02 seconds)219ubuntu-22-04-activation-exit-codes: must fail: mountpoint -q /mnt/exitcodes220(finished: must fail: mountpoint -q /mnt/exitcodes, in 0.06 seconds)221(finished: subtest: once the stop can complete, activating again exits 0 and stops the unit, in 0.47 seconds)