container-test-ubuntu-22-04-state-v0-v1-migration-deactivate
checks.x86_64-linux.container-ubuntu-22_04-state-v0-v1-migration-deactivate
· build #63
· raw
1Running type check2Success: no issues found in 1 source file3Linting test script4additionally exposed symbols:5 ubuntu-22-04-state-v0-v1-migration-deactivate,6 start_all, subtest, machines, driver, Machine7Starting ubuntu-22-04-state-v0-v1-migration-deactivate8[0.0s] Container process started9Waiting for ubuntu-22-04-state-v0-v1-migration-deactivate to boot...10Getting container PID for ubuntu-22-04-state-v0-v1-migration-deactivate...11Looking for child process of nspawn PID 5212[ubuntu-22-04-state-v0-v1-migration-deactivate] 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-deactivate] ░ Spawning container ubuntu-22-04-state-v0-v1-migration-deactivate on /build/tmpm_u16bdx/ubuntu-22-04-state-v0-v1-migration-deactivate.14[ubuntu-22-04-state-v0-v1-migration-deactivate] Using default interface naming scheme 'v261'.15[ubuntu-22-04-state-v0-v1-migration-deactivate] Network interface name 'vb-ubuntu-22-04-state-v0-v1-migration-deactivate' has been changed to 'vb-ubuntu-2mlED' to fit length constraints.16[ubuntu-22-04-state-v0-v1-migration-deactivate] 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-state-v0-v1-migration-deactivate] Detected virtualization systemd-nspawn.18[ubuntu-22-04-state-v0-v1-migration-deactivate] Detected architecture x86-64.19[ubuntu-22-04-state-v0-v1-migration-deactivate] 20[ubuntu-22-04-state-v0-v1-migration-deactivate] Welcome to Ubuntu 22.04.5 LTS!21[ubuntu-22-04-state-v0-v1-migration-deactivate] 22[ubuntu-22-04-state-v0-v1-migration-deactivate] Hostname set to <ubuntu>.23[ubuntu-22-04-state-v0-v1-migration-deactivate] Initializing machine ID from container UUID.24[ubuntu-22-04-state-v0-v1-migration-deactivate] 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-state-v0-v1-migration-deactivate] Queued start job for default target Graphical Interface.26[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Created slice Slice /system/modprobe.27[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Created slice User and Session Slice.28[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Forward Password Requests to Wall Directory Watch.29[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Slice Units.30[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Swaps.31[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Local Verity Protected Volumes.32[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Device-mapper event daemon FIFOs.33[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on LVM2 poll daemon socket.34[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Syslog Socket.35[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on initctl Compatibility Named Pipe.36[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Journal Socket (/dev/log).37[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Journal Socket.38[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Network Service Netlink Socket.39[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Journal Service...40[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Set the console keyboard layout...41[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Apply Kernel Variables...42[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Create System Users...43[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Apply Kernel Variables.44[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Journal Service.45[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Set the console keyboard layout.46[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Flush Journal to Persistent Storage...47[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Create System Users.48[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Create Static Device Nodes in /dev...49[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Create Static Device Nodes in /dev.50[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Preparation for Local File Systems.51[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Local File Systems.52[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Set console font and keymap...53[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Create final runtime dir for shutdown pivot root...54[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Tell Plymouth To Write Out Runtime Data...55[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Dispatch Password Requests to Console Directory Watch.56[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Local Encrypted Volumes.57[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Uncomplicated firewall...58[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Create final runtime dir for shutdown pivot root.59[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Uncomplicated firewall.60[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Preparation for Network.61[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Network Configuration...62[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Tell Plymouth To Write Out Runtime Data.63[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Flush Journal to Persistent Storage.64[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Create Volatile Files and Directories...65[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Create Volatile Files and Directories.66[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target System Time Set.67[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Record System Boot/Shutdown in UTMP...68[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Record System Boot/Shutdown in UTMP.69[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target System Initialization.70[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily apt download activities.71[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily apt upgrade and clean activities.72[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily dpkg database backup timer.73[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Periodic ext4 Online Metadata Check for All Filesystems.74[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily rotation of log files.75[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily man-db regeneration.76[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Message of the Day.77[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily Cleanup of Temporary Directories.78[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Path Units.79[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Unix socket for apport crash forwarding.80[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on D-Bus System Message Bus Socket.81[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Open-iSCSI iscsid Socket.82[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on UUID daemon activation socket.83[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Socket Units.84[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Basic System.85[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started D-Bus System Message Bus.86[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Save initial kernel messages after boot.87[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Dispatcher daemon for systemd-networkd...88[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting System Logging Service...89[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting User Login Management...90[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started System Logging Service.91[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Dispatcher daemon for systemd-networkd.92[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Set console font and keymap.93[1.0s] Found container PID: 5594Container ubuntu-22-04-state-v0-v1-migration-deactivate has PID 5595[0.0s] Container ubuntu-22-04-state-v0-v1-migration-deactivate status: starting96[ubuntu-22-04-state-v0-v1-migration-deactivate] [* ] (1 of 2) A start job is running for…r Login Management (2s / 1min 30s)97[ubuntu-22-04-state-v0-v1-migration-deactivate] 98[ubuntu-22-04-state-v0-v1-migration-deactivate] [** ] (1 of 2) A start job is running for…r Login Management (3s / 1min 30s)99[ubuntu-22-04-state-v0-v1-migration-deactivate] 100[ubuntu-22-04-state-v0-v1-migration-deactivate] [*** ] (1 of 2) A start job is running for…r Login Management (3s / 1min 30s)101[ubuntu-22-04-state-v0-v1-migration-deactivate] 102[ubuntu-22-04-state-v0-v1-migration-deactivate] [ *** ] (2 of 2) A start job is running for…work Configuration (4s / 1min 30s)103[ubuntu-22-04-state-v0-v1-migration-deactivate] 104[ubuntu-22-04-state-v0-v1-migration-deactivate] [ *** ] (2 of 2) A start job is running for…work Configuration (4s / 1min 30s)105[ubuntu-22-04-state-v0-v1-migration-deactivate] 106[ubuntu-22-04-state-v0-v1-migration-deactivate] [ ***] (2 of 2) A start job is running for…work Configuration (5s / 1min 30s)107[ubuntu-22-04-state-v0-v1-migration-deactivate] 108[ubuntu-22-04-state-v0-v1-migration-deactivate] [ **] (1 of 2) A start job is running for…r Login Management (5s / 1min 30s)109[5.0s] Pending jobs:110JOB UNIT TYPE STATE111111 ubuntu-advantage.service start waiting11288 pollinate.service start waiting11395 cron.service start waiting11457 open-iscsi.service start waiting11540 blk-availability.service start waiting116115 ssh.service start waiting1172 multi-user.target start waiting118121 systemd-logind.service start running119113 systemd-update-utmp-runlevel.service start waiting120[ubuntu-22-04-state-v0-v1-migration-deactivate] 121[ubuntu-22-04-state-v0-v1-migration-deactivate] [ *] (1 of 2) A start job is running for…r Login Management (6s / 1min 30s)122[ubuntu-22-04-state-v0-v1-migration-deactivate] 123[ubuntu-22-04-state-v0-v1-migration-deactivate] [ **] (1 of 2) A start job is running for…r Login Management (6s / 1min 30s)124[ubuntu-22-04-state-v0-v1-migration-deactivate] 125[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Network Configuration.126[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Network.127[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Network is Online.128[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Download data for packages …at failed at package install time.129[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Check to see whether there …a new version of Ubuntu available.130[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Timer Units.131[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Preparation for Remote File Systems.132[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Remote File Systems.133[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting LSB: automatic crash report generation...134[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Availability of block devices.135[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Regular background program processing daemon.136[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting OpenBSD Secure Shell server...137[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Permit User Sessions...138[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Permit User Sessions.139[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Hold until boot process finishes up...140[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Terminate Plymouth Boot Screen...141[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Hold until boot process finishes up.142[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Console Getty.143[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Created slice Slice /system/getty.144[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Login Prompts.145[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started LSB: automatic crash report generation.146[ubuntu-22-04-state-v0-v1-migration-deactivate] 147[ubuntu-22-04-state-v0-v1-migration-deactivate] 148[ubuntu-22-04-state-v0-v1-migration-deactivate] Ubuntu 22.04.5 LTS ubuntu console149[ubuntu-22-04-state-v0-v1-migration-deactivate] 150[7.1s] Container ubuntu-22-04-state-v0-v1-migration-deactivate status: running151[7.1s] Container ubuntu-22-04-state-v0-v1-migration-deactivate boot complete: running152[8.1s] Boot complete153ubuntu-22-04-state-v0-v1-migration-deactivate: Installing Nix via nix-installer154ubuntu-22-04-state-v0-v1-migration-deactivate: waiting for unit 'nix-daemon.socket'155(finished: waiting for unit 'nix-daemon.socket', in 0.01 seconds)156(finished: Installing Nix via nix-installer, in 4.05 seconds)157[4.1s] Nix installation complete158ubuntu-22-04-state-v0-v1-migration-deactivate: Copying profile /nix/store/ribx17kwr344gpb19sdiy50xjmwk1cqs-system-manager to container159Copying 291 store paths...160(finished: Copying profile /nix/store/ribx17kwr344gpb19sdiy50xjmwk1cqs-system-manager to container, in 7.98 seconds)161[8.0s] Profile copy complete162[20.1s] All containers ready163To attach to container ubuntu-22-04-state-v0-v1-migration-deactivate run on the same machine that runs the test:164 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 165ubuntu-22-04-state-v0-v1-migration-deactivate: waiting for unit 'multi-user.target'166(finished: waiting for unit 'multi-user.target', in 0.01 seconds)167ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate168(finished: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate, in 0.40 seconds)169ubuntu-22-04-state-v0-v1-migration-deactivate: waiting for unit 'system-manager.target'170(finished: waiting for unit 'system-manager.target', in 0.01 seconds)171subtest: Verify correct files are created172(finished: subtest: Verify correct files are created, in 0.04 seconds)173ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate174(finished: must succeed: /nix/store/ya93ir0bbyg11664ydbx6lg0hfbrr5iw-system-manager/bin/activate, in 2.09 seconds)175ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: /nix/store/ribx17kwr344gpb19sdiy50xjmwk1cqs-system-manager/bin/deactivate176(finished: must succeed: /nix/store/ribx17kwr344gpb19sdiy50xjmwk1cqs-system-manager/bin/deactivate, in 2.78 seconds)177subtest: v1 deactivation restores the backups from a v0 generated state178ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: test -f /etc/b/bar179(finished: must succeed: test -f /etc/b/bar, in 0.00 seconds)180ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: test -f /etc/b/link181(finished: must succeed: test -f /etc/b/link, in 0.00 seconds)182(finished: subtest: v1 deactivation restores the backups from a v0 generated state, in 0.03 seconds)