container-test-ubuntu-22-04-state-v0-v1-migration-activate
checks.aarch64-linux.container-ubuntu-22_04-state-v0-v1-migration-activate
· build #6
· raw
1bld4: building zyyamhd0w46jxbqxr8i6xd09p9vadd16-container-test-ubuntu-22-04-state-v0-v1-migration-activate.drv2Running type check3Success: no issues found in 1 source file4Linting test script5additionally exposed symbols:6 ubuntu-22-04-state-v0-v1-migration-activate,7 start_all, subtest, machines, driver, Machine8Starting ubuntu-22-04-state-v0-v1-migration-activate9[0.0s] Container process started10Waiting for ubuntu-22-04-state-v0-v1-migration-activate to boot...11Getting container PID for ubuntu-22-04-state-v0-v1-migration-activate...12Looking for child process of nspawn PID 5213[ubuntu-22-04-state-v0-v1-migration-activate] 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[ubuntu-22-04-state-v0-v1-migration-activate] ░ Spawning container ubuntu-22-04-state-v0-v1-migration-activate on /build/tmpdbryzst6/ubuntu-22-04-state-v0-v1-migration-activate.15[ubuntu-22-04-state-v0-v1-migration-activate] Using default interface naming scheme 'v261'.16[ubuntu-22-04-state-v0-v1-migration-activate] Network interface name 'vb-ubuntu-22-04-state-v0-v1-migration-activate' has been changed to 'vb-ubuntu-2Jnkb' to fit length constraints.17[ubuntu-22-04-state-v0-v1-migration-activate] systemd 249.11-0ubuntu3.17 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)18[ubuntu-22-04-state-v0-v1-migration-activate] Detected virtualization systemd-nspawn.19[ubuntu-22-04-state-v0-v1-migration-activate] Detected architecture arm64.20[ubuntu-22-04-state-v0-v1-migration-activate] 21[ubuntu-22-04-state-v0-v1-migration-activate] Welcome to Ubuntu 22.04.5 LTS!22[ubuntu-22-04-state-v0-v1-migration-activate] 23[ubuntu-22-04-state-v0-v1-migration-activate] Hostname set to <ubuntu>.24[ubuntu-22-04-state-v0-v1-migration-activate] Initializing machine ID from container UUID.25[ubuntu-22-04-state-v0-v1-migration-activate] 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.26[ubuntu-22-04-state-v0-v1-migration-activate] Queued start job for default target Graphical Interface.27[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Created slice Slice /system/modprobe.28[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Created slice User and Session Slice.29[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Forward Password Requests to Wall Directory Watch.30[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Slice Units.31[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Swaps.32[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Local Verity Protected Volumes.33[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Device-mapper event daemon FIFOs.34[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on LVM2 poll daemon socket.35[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Syslog Socket.36[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on initctl Compatibility Named Pipe.37[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Journal Socket (/dev/log).38[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Journal Socket.39[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Network Service Netlink Socket.40[ubuntu-22-04-state-v0-v1-migration-activate] Starting Journal Service...41[ubuntu-22-04-state-v0-v1-migration-activate] Starting Set the console keyboard layout...42[ubuntu-22-04-state-v0-v1-migration-activate] Starting Apply Kernel Variables...43[ubuntu-22-04-state-v0-v1-migration-activate] Starting Create System Users...44[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Journal Service.45[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Apply Kernel Variables.46[ubuntu-22-04-state-v0-v1-migration-activate] Starting Flush Journal to Persistent Storage...47[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Create System Users.48[ubuntu-22-04-state-v0-v1-migration-activate] Starting Create Static Device Nodes in /dev...49[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Flush Journal to Persistent Storage.50[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Create Static Device Nodes in /dev.51[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Set the console keyboard layout.52[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Preparation for Local File Systems.53[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Local File Systems.54[ubuntu-22-04-state-v0-v1-migration-activate] Starting Set console font and keymap...55[ubuntu-22-04-state-v0-v1-migration-activate] Starting Create final runtime dir for shutdown pivot root...56[ubuntu-22-04-state-v0-v1-migration-activate] Starting Tell Plymouth To Write Out Runtime Data...57[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Dispatch Password Requests to Console Directory Watch.58[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Local Encrypted Volumes.59[ubuntu-22-04-state-v0-v1-migration-activate] Starting Create Volatile Files and Directories...60[ubuntu-22-04-state-v0-v1-migration-activate] Starting Uncomplicated firewall...61[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Create final runtime dir for shutdown pivot root.62[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Tell Plymouth To Write Out Runtime Data.63[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Uncomplicated firewall.64[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Preparation for Network.65[ubuntu-22-04-state-v0-v1-migration-activate] Starting Network Configuration...66[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Create Volatile Files and Directories.67[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target System Time Set.68[ubuntu-22-04-state-v0-v1-migration-activate] Starting Record System Boot/Shutdown in UTMP...69[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Record System Boot/Shutdown in UTMP.70[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target System Initialization.71[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily apt download activities.72[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily apt upgrade and clean activities.73[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily dpkg database backup timer.74[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Periodic ext4 Online Metadata Check for All Filesystems.75[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily rotation of log files.76[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily man-db regeneration.77[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Message of the Day.78[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily Cleanup of Temporary Directories.79[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Path Units.80[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Unix socket for apport crash forwarding.81[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on D-Bus System Message Bus Socket.82[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Open-iSCSI iscsid Socket.83[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on UUID daemon activation socket.84[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Socket Units.85[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Basic System.86[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started D-Bus System Message Bus.87[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Save initial kernel messages after boot.88[ubuntu-22-04-state-v0-v1-migration-activate] Starting Dispatcher daemon for systemd-networkd...89[ubuntu-22-04-state-v0-v1-migration-activate] Starting System Logging Service...90[ubuntu-22-04-state-v0-v1-migration-activate] Starting User Login Management...91[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started System Logging Service.92[1.0s] Found container PID: 5593Container ubuntu-22-04-state-v0-v1-migration-activate has PID 5594[0.0s] Container ubuntu-22-04-state-v0-v1-migration-activate status: starting95[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Network Configuration.96[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Network.97[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Network is Online.98[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Download data for packages …at failed at package install time.99[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Check to see whether there …a new version of Ubuntu available.100[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Timer Units.101[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Preparation for Remote File Systems.102[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Remote File Systems.103[ubuntu-22-04-state-v0-v1-migration-activate] Starting LSB: automatic crash report generation...104[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Availability of block devices.105[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Regular background program processing daemon.106[ubuntu-22-04-state-v0-v1-migration-activate] Starting OpenBSD Secure Shell server...107[ubuntu-22-04-state-v0-v1-migration-activate] Starting Permit User Sessions...108[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Dispatcher daemon for systemd-networkd.109[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Permit User Sessions.110[ubuntu-22-04-state-v0-v1-migration-activate] Starting Hold until boot process finishes up...111[ubuntu-22-04-state-v0-v1-migration-activate] Starting Terminate Plymouth Boot Screen...112[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Hold until boot process finishes up.113[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Console Getty.114[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Created slice Slice /system/getty.115[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Login Prompts.116[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started LSB: automatic crash report generation.117[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Terminate Plymouth Boot Screen.118[ubuntu-22-04-state-v0-v1-migration-activate] [FAILED] Failed to start OpenBSD Secure Shell server.119[ubuntu-22-04-state-v0-v1-migration-activate] See 'systemctl status ssh.service' for details.120[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Stopped OpenBSD Secure Shell server.121[ubuntu-22-04-state-v0-v1-migration-activate] Starting OpenBSD Secure Shell server...122[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Set console font and keymap.123[ubuntu-22-04-state-v0-v1-migration-activate] [FAILED] Failed to start OpenBSD Secure Shell server.124[ubuntu-22-04-state-v0-v1-migration-activate] See 'systemctl status ssh.service' for details.125[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started User Login Management.126[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Stopped OpenBSD Secure Shell server.127[ubuntu-22-04-state-v0-v1-migration-activate] Starting OpenBSD Secure Shell server...128[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Unattended Upgrades Shutdown.129[ubuntu-22-04-state-v0-v1-migration-activate] [FAILED] Failed to start OpenBSD Secure Shell server.130[ubuntu-22-04-state-v0-v1-migration-activate] See 'systemctl status ssh.service' for details.131[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Multi-User System.132[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Graphical Interface.133[ubuntu-22-04-state-v0-v1-migration-activate] Starting Record Runlevel Change in UTMP...134[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Record Runlevel Change in UTMP.135[1.0s] Container ubuntu-22-04-state-v0-v1-migration-activate status: running136[1.0s] Container ubuntu-22-04-state-v0-v1-migration-activate boot complete: running137[2.1s] Boot complete138ubuntu-22-04-state-v0-v1-migration-activate: Installing Nix via nix-installer139[ubuntu-22-04-state-v0-v1-migration-activate] 140[ubuntu-22-04-state-v0-v1-migration-activate] 141[ubuntu-22-04-state-v0-v1-migration-activate] Ubuntu 22.04.5 LTS ubuntu console142[ubuntu-22-04-state-v0-v1-migration-activate] 143ubuntu-22-04-state-v0-v1-migration-activate: waiting for unit 'nix-daemon.socket'144(finished: waiting for unit 'nix-daemon.socket', in 0.03 seconds)145(finished: Installing Nix via nix-installer, in 10.70 seconds)146[10.7s] Nix installation complete147ubuntu-22-04-state-v0-v1-migration-activate: Copying profile /nix/store/h4z0im1bxrd8m102z3c54arj7b3w2prn-system-manager to container148Copying 288 store paths...149(finished: Copying profile /nix/store/h4z0im1bxrd8m102z3c54arj7b3w2prn-system-manager to container, in 32.52 seconds)150[32.5s] Profile copy complete151[45.3s] All containers ready152To attach to container ubuntu-22-04-state-v0-v1-migration-activate run on the same machine that runs the test:153 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 154ubuntu-22-04-state-v0-v1-migration-activate: waiting for unit 'multi-user.target'155(finished: waiting for unit 'multi-user.target', in 0.10 seconds)156ubuntu-22-04-state-v0-v1-migration-activate: must succeed: /nix/store/qmzarxqkwsa41mvczirknnr2xd8dm588-system-manager/bin/activate157(finished: must succeed: /nix/store/qmzarxqkwsa41mvczirknnr2xd8dm588-system-manager/bin/activate, in 1.03 seconds)158ubuntu-22-04-state-v0-v1-migration-activate: waiting for unit 'system-manager.target'159(finished: waiting for unit 'system-manager.target', in 0.02 seconds)160subtest: Verify correct files are created161(finished: subtest: Verify correct files are created, in 0.36 seconds)162ubuntu-22-04-state-v0-v1-migration-activate: must succeed: /nix/store/h4z0im1bxrd8m102z3c54arj7b3w2prn-system-manager/bin/activate163(finished: must succeed: /nix/store/h4z0im1bxrd8m102z3c54arj7b3w2prn-system-manager/bin/activate, in 1.60 seconds)164subtest: v1 activation keeps the file and migrate the state to v1165(finished: subtest: v1 activation keeps the file and migrate the state to v1, in 0.28 seconds)166subtest: Check state content and make sure it's correctly migrated167(finished: subtest: Check state content and make sure it's correctly migrated, in 0.03 seconds)