nixbot

builds

succeeded container-test-ubuntu-22-04-state-v0-v1-migration-activate checks.x86_64-linux.container-ubuntu-22_04-state-v0-v1-migration-activate · build #29 · raw

1Running type check2Success: no issues found in 1 source file3Linting test script4additionally exposed symbols:5 ubuntu-22-04-state-v0-v1-migration-activate,6 start_all, subtest, machines, driver, Machine7Starting ubuntu-22-04-state-v0-v1-migration-activate8[0.0s] Container process started9Waiting for ubuntu-22-04-state-v0-v1-migration-activate to boot...10Getting container PID for ubuntu-22-04-state-v0-v1-migration-activate...11Looking for child process of nspawn PID 5212[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.13[ubuntu-22-04-state-v0-v1-migration-activate] ░ Spawning container ubuntu-22-04-state-v0-v1-migration-activate on /build/tmp7cxg4_9j/ubuntu-22-04-state-v0-v1-migration-activate.14[ubuntu-22-04-state-v0-v1-migration-activate] Using default interface naming scheme 'v261'.15[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.16[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)17[ubuntu-22-04-state-v0-v1-migration-activate] Detected virtualization systemd-nspawn.18[ubuntu-22-04-state-v0-v1-migration-activate] Detected architecture x86-64.19[ubuntu-22-04-state-v0-v1-migration-activate] 20[ubuntu-22-04-state-v0-v1-migration-activate] Welcome to Ubuntu 22.04.5 LTS!21[ubuntu-22-04-state-v0-v1-migration-activate] 22[ubuntu-22-04-state-v0-v1-migration-activate] Hostname set to <ubuntu>.23[ubuntu-22-04-state-v0-v1-migration-activate] Initializing machine ID from container UUID.24[1.0s] Found container PID: 5525Container ubuntu-22-04-state-v0-v1-migration-activate has PID 5526[0.0s] Container ubuntu-22-04-state-v0-v1-migration-activate status: Failed to connect to bus: No such file or directory27[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.28[ubuntu-22-04-state-v0-v1-migration-activate] Queued start job for default target Graphical Interface.29[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Created slice Slice /system/modprobe.30[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Created slice User and Session Slice.31[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Forward Password Requests to Wall Directory Watch.32[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Slice Units.33[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Swaps.34[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Local Verity Protected Volumes.35[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Device-mapper event daemon FIFOs.36[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on LVM2 poll daemon socket.37[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Syslog Socket.38[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on initctl Compatibility Named Pipe.39[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Journal Socket (/dev/log).40[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Journal Socket.41[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Network Service Netlink Socket.42[ubuntu-22-04-state-v0-v1-migration-activate] Starting Journal Service...43[ubuntu-22-04-state-v0-v1-migration-activate] Starting Set the console keyboard layout...44[ubuntu-22-04-state-v0-v1-migration-activate] Starting Apply Kernel Variables...45[ubuntu-22-04-state-v0-v1-migration-activate] Starting Create System Users...46[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Apply Kernel Variables.47[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Journal Service.48[ubuntu-22-04-state-v0-v1-migration-activate] Starting Flush Journal to Persistent Storage...49[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Create System Users.50[ubuntu-22-04-state-v0-v1-migration-activate] Starting Create Static Device Nodes in /dev...51[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Flush Journal to Persistent Storage.52[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Set the console keyboard layout.53[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Create Static Device Nodes in /dev.54[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Preparation for Local File Systems.55[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Local File Systems.56[ubuntu-22-04-state-v0-v1-migration-activate] Starting Set console font and keymap...57[ubuntu-22-04-state-v0-v1-migration-activate] Starting Create final runtime dir for shutdown pivot root...58[ubuntu-22-04-state-v0-v1-migration-activate] Starting Tell Plymouth To Write Out Runtime Data...59[ubuntu-22-04-state-v0-v1-migration-activate] Starting Create Volatile Files and Directories...60[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Dispatch Password Requests to Console Directory Watch.61[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Local Encrypted Volumes.62[ubuntu-22-04-state-v0-v1-migration-activate] Starting Uncomplicated firewall...63[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Create final runtime dir for shutdown pivot root.64[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Uncomplicated firewall.65[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Preparation for Network.66[ubuntu-22-04-state-v0-v1-migration-activate] Starting Network Configuration...67[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Tell Plymouth To Write Out Runtime Data.68[1.2s] Container ubuntu-22-04-state-v0-v1-migration-activate status: initializing69[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Create Volatile Files and Directories.70[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target System Time Set.71[ubuntu-22-04-state-v0-v1-migration-activate] Starting Record System Boot/Shutdown in UTMP...72[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Record System Boot/Shutdown in UTMP.73[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target System Initialization.74[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily apt download activities.75[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily apt upgrade and clean activities.76[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily dpkg database backup timer.77[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Periodic ext4 Online Metadata Check for All Filesystems.78[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily rotation of log files.79[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily man-db regeneration.80[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Message of the Day.81[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Daily Cleanup of Temporary Directories.82[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Path Units.83[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Unix socket for apport crash forwarding.84[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on D-Bus System Message Bus Socket.85[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on Open-iSCSI iscsid Socket.86[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Listening on UUID daemon activation socket.87[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Socket Units.88[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Basic System.89[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started D-Bus System Message Bus.90[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Save initial kernel messages after boot.91[ubuntu-22-04-state-v0-v1-migration-activate] Starting Dispatcher daemon for systemd-networkd...92[ubuntu-22-04-state-v0-v1-migration-activate] Starting System Logging Service...93[ubuntu-22-04-state-v0-v1-migration-activate] Starting User Login Management...94[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started System Logging Service.95[2.3s] Container ubuntu-22-04-state-v0-v1-migration-activate status: starting96[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Dispatcher daemon for systemd-networkd.97[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Set console font and keymap.98[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started User Login Management.99[5.4s] Pending jobs:100JOB UNIT TYPE STATE10190 ubuntu-advantage.service start waiting102109 systemd-user-sessions.service start waiting10397 systemd-update-utmp-runlevel.service start waiting104124 plymouth-quit-wait.service start waiting105117 getty.target start waiting106119 getty@tty1.service start waiting10788 ssh.service start waiting10879 update-notifier-motd.timer start waiting109105 systemd-networkd.service start running110[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Network Configuration.111[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Network.112[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Network is Online.113[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Download data for packages …at failed at package install time.114[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Check to see whether there …a new version of Ubuntu available.115[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Timer Units.116[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Preparation for Remote File Systems.117[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Remote File Systems.118[ubuntu-22-04-state-v0-v1-migration-activate] Starting LSB: automatic crash report generation...119[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Availability of block devices.120[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Regular background program processing daemon.121[ubuntu-22-04-state-v0-v1-migration-activate] Starting OpenBSD Secure Shell server...122[ubuntu-22-04-state-v0-v1-migration-activate] Starting Permit User Sessions...123[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Unattended Upgrades Shutdown.124[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Permit User Sessions.125[ubuntu-22-04-state-v0-v1-migration-activate] Starting Hold until boot process finishes up...126[ubuntu-22-04-state-v0-v1-migration-activate] Starting Terminate Plymouth Boot Screen...127[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started LSB: automatic crash report generation.128[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Hold until boot process finishes up.129[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Started Console Getty.130[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Created slice Slice /system/getty.131[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Login Prompts.132[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Terminate Plymouth Boot Screen.133[ubuntu-22-04-state-v0-v1-migration-activate] [FAILED] Failed to start OpenBSD Secure Shell server.134[ubuntu-22-04-state-v0-v1-migration-activate] See 'systemctl status ssh.service' for details.135[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Multi-User System.136[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Reached target Graphical Interface.137[ubuntu-22-04-state-v0-v1-migration-activate] Starting Record Runlevel Change in UTMP...138[ubuntu-22-04-state-v0-v1-migration-activate] [ OK ] Finished Record Runlevel Change in UTMP.139[7.5s] Container ubuntu-22-04-state-v0-v1-migration-activate status: degraded140[7.5s] Container ubuntu-22-04-state-v0-v1-migration-activate boot complete: degraded141[8.5s] Boot complete142ubuntu-22-04-state-v0-v1-migration-activate: Installing Nix via nix-installer143[ubuntu-22-04-state-v0-v1-migration-activate] 144[ubuntu-22-04-state-v0-v1-migration-activate] 145[ubuntu-22-04-state-v0-v1-migration-activate] Ubuntu 22.04.5 LTS ubuntu console146[ubuntu-22-04-state-v0-v1-migration-activate] 147ubuntu-22-04-state-v0-v1-migration-activate: waiting for unit 'nix-daemon.socket'148(finished: waiting for unit 'nix-daemon.socket', in 0.10 seconds)149(finished: Installing Nix via nix-installer, in 21.76 seconds)150[21.8s] Nix installation complete151ubuntu-22-04-state-v0-v1-migration-activate: Copying profile /nix/store/z60frfbh63jb23lk77vrh8b2qr27g3rr-system-manager to container152Copying 290 store paths...153(finished: Copying profile /nix/store/z60frfbh63jb23lk77vrh8b2qr27g3rr-system-manager to container, in 42.63 seconds)154[42.6s] Profile copy complete155[72.9s] All containers ready156To attach to container ubuntu-22-04-state-v0-v1-migration-activate run on the same machine that runs the test:157 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 158ubuntu-22-04-state-v0-v1-migration-activate: waiting for unit 'multi-user.target'159(finished: waiting for unit 'multi-user.target', in 0.10 seconds)160ubuntu-22-04-state-v0-v1-migration-activate: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate161(finished: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate, in 1.80 seconds)162ubuntu-22-04-state-v0-v1-migration-activate: waiting for unit 'system-manager.target'163(finished: waiting for unit 'system-manager.target', in 0.02 seconds)164subtest: Verify correct files are created165(finished: subtest: Verify correct files are created, in 0.37 seconds)166ubuntu-22-04-state-v0-v1-migration-activate: must succeed: /nix/store/z60frfbh63jb23lk77vrh8b2qr27g3rr-system-manager/bin/activate167(finished: must succeed: /nix/store/z60frfbh63jb23lk77vrh8b2qr27g3rr-system-manager/bin/activate, in 1.37 seconds)168subtest: v1 activation keeps the file and migrate the state to v1169(finished: subtest: v1 activation keeps the file and migrate the state to v1, in 0.18 seconds)170subtest: Check state content and make sure it's correctly migrated171(finished: subtest: Check state content and make sure it's correctly migrated, in 0.02 seconds)