container-test-ubuntu-22-04-state-v0-v1-migration-deactivate
checks.aarch64-linux.container-ubuntu-22_04-state-v0-v1-migration-deactivate
· build #21
· raw
1bld4: building 0glf5l6la1gjfx80vl7xhx727qi2sipm-container-test-ubuntu-22-04-state-v0-v1-migration-deactivate.drv2Running type check3Success: no issues found in 1 source file4Linting test script5additionally exposed symbols:6 ubuntu-22-04-state-v0-v1-migration-deactivate,7 start_all, subtest, machines, driver, Machine8Starting ubuntu-22-04-state-v0-v1-migration-deactivate9[0.0s] Container process started10Waiting for ubuntu-22-04-state-v0-v1-migration-deactivate to boot...11Getting container PID for ubuntu-22-04-state-v0-v1-migration-deactivate...12Looking for child process of nspawn PID 5213[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.14[ubuntu-22-04-state-v0-v1-migration-deactivate] ░ Spawning container ubuntu-22-04-state-v0-v1-migration-deactivate on /build/tmprpj6bzr0/ubuntu-22-04-state-v0-v1-migration-deactivate.15[ubuntu-22-04-state-v0-v1-migration-deactivate] Using default interface naming scheme 'v261'.16[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.17[ubuntu-22-04-state-v0-v1-migration-deactivate] 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-deactivate] Detected virtualization systemd-nspawn.19[ubuntu-22-04-state-v0-v1-migration-deactivate] Detected architecture arm64.20[ubuntu-22-04-state-v0-v1-migration-deactivate] 21[ubuntu-22-04-state-v0-v1-migration-deactivate] Welcome to Ubuntu 22.04.5 LTS!22[ubuntu-22-04-state-v0-v1-migration-deactivate] 23[ubuntu-22-04-state-v0-v1-migration-deactivate] Hostname set to <ubuntu>.24[ubuntu-22-04-state-v0-v1-migration-deactivate] Initializing machine ID from container UUID.25[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.26[ubuntu-22-04-state-v0-v1-migration-deactivate] Queued start job for default target Graphical Interface.27[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Created slice Slice /system/modprobe.28[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Created slice User and Session Slice.29[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Forward Password Requests to Wall Directory Watch.30[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Slice Units.31[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Swaps.32[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Local Verity Protected Volumes.33[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Device-mapper event daemon FIFOs.34[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on LVM2 poll daemon socket.35[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Syslog Socket.36[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on initctl Compatibility Named Pipe.37[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Journal Socket (/dev/log).38[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Journal Socket.39[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Network Service Netlink Socket.40[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Journal Service...41[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Set the console keyboard layout...42[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Apply Kernel Variables...43[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Create System Users...44[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Apply Kernel Variables.45[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Journal Service.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 Set the console keyboard layout.50[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Flush Journal to Persistent Storage.51[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Create Static Device Nodes in /dev.52[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Preparation for Local File Systems.53[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Local File Systems.54[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Set console font and keymap...55[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Create final runtime dir for shutdown pivot root...56[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Tell Plymouth To Write Out Runtime Data...57[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Create Volatile Files and Directories...58[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Dispatch Password Requests to Console Directory Watch.59[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Local Encrypted Volumes.60[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Uncomplicated firewall...61[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Create final runtime dir for shutdown pivot root.62[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Uncomplicated firewall.63[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Preparation for Network.64[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Network Configuration...65[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Tell Plymouth To Write Out Runtime Data.66[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Create Volatile Files and Directories.67[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target System Time Set.68[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Record System Boot/Shutdown in UTMP...69[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Record System Boot/Shutdown in UTMP.70[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target System Initialization.71[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily apt download activities.72[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily apt upgrade and clean activities.73[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily dpkg database backup timer.74[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Periodic ext4 Online Metadata Check for All Filesystems.75[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily rotation of log files.76[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily man-db regeneration.77[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Message of the Day.78[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Daily Cleanup of Temporary Directories.79[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Path Units.80[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Unix socket for apport crash forwarding.81[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on D-Bus System Message Bus Socket.82[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on Open-iSCSI iscsid Socket.83[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Listening on UUID daemon activation socket.84[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Socket Units.85[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Basic System.86[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started D-Bus System Message Bus.87[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Save initial kernel messages after boot.88[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Dispatcher daemon for systemd-networkd...89[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting System Logging Service...90[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting User Login Management...91[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started System Logging Service.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] [ OK ] Started Network Configuration.97[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Network.98[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Network is Online.99[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Download data for packages …at failed at package install time.100[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Check to see whether there …a new version of Ubuntu available.101[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Timer Units.102[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Preparation for Remote File Systems.103[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Remote File Systems.104[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting LSB: automatic crash report generation...105[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Availability of block devices.106[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Regular background program processing daemon.107[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting OpenBSD Secure Shell server...108[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Permit User Sessions...109[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Permit User Sessions.110[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Hold until boot process finishes up...111[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Terminate Plymouth Boot Screen...112[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Hold until boot process finishes up.113[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Console Getty.114[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Created slice Slice /system/getty.115[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Login Prompts.116[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Terminate Plymouth Boot Screen.117[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Dispatcher daemon for systemd-networkd.118[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started LSB: automatic crash report generation.119[ubuntu-22-04-state-v0-v1-migration-deactivate] [FAILED] Failed to start OpenBSD Secure Shell server.120[ubuntu-22-04-state-v0-v1-migration-deactivate] See 'systemctl status ssh.service' for details.121[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started User Login Management.122[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Started Unattended Upgrades Shutdown.123[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Multi-User System.124[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Reached target Graphical Interface.125[ubuntu-22-04-state-v0-v1-migration-deactivate] Starting Record Runlevel Change in UTMP...126[ubuntu-22-04-state-v0-v1-migration-deactivate] [ OK ] Finished Record Runlevel Change in UTMP.127[1.0s] Container ubuntu-22-04-state-v0-v1-migration-deactivate status: degraded128[1.0s] Container ubuntu-22-04-state-v0-v1-migration-deactivate boot complete: degraded129[2.1s] Boot complete130ubuntu-22-04-state-v0-v1-migration-deactivate: Installing Nix via nix-installer131[ubuntu-22-04-state-v0-v1-migration-deactivate] 132[ubuntu-22-04-state-v0-v1-migration-deactivate] 133[ubuntu-22-04-state-v0-v1-migration-deactivate] Ubuntu 22.04.5 LTS ubuntu console134[ubuntu-22-04-state-v0-v1-migration-deactivate] 135ubuntu-22-04-state-v0-v1-migration-deactivate: waiting for unit 'nix-daemon.socket'136(finished: waiting for unit 'nix-daemon.socket', in 0.02 seconds)137(finished: Installing Nix via nix-installer, in 3.27 seconds)138[3.3s] Nix installation complete139ubuntu-22-04-state-v0-v1-migration-deactivate: Copying profile /nix/store/gsfrjp55r8i617786mgvjmhxwv88z1hq-system-manager to container140Copying 288 store paths...141(finished: Copying profile /nix/store/gsfrjp55r8i617786mgvjmhxwv88z1hq-system-manager to container, in 9.85 seconds)142[9.9s] Profile copy complete143[15.2s] All containers ready144To attach to container ubuntu-22-04-state-v0-v1-migration-deactivate run on the same machine that runs the test:145 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 146ubuntu-22-04-state-v0-v1-migration-deactivate: waiting for unit 'multi-user.target'147(finished: waiting for unit 'multi-user.target', in 0.04 seconds)148ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: /nix/store/qmzarxqkwsa41mvczirknnr2xd8dm588-system-manager/bin/activate149(finished: must succeed: /nix/store/qmzarxqkwsa41mvczirknnr2xd8dm588-system-manager/bin/activate, in 0.31 seconds)150ubuntu-22-04-state-v0-v1-migration-deactivate: waiting for unit 'system-manager.target'151(finished: waiting for unit 'system-manager.target', in 0.01 seconds)152subtest: Verify correct files are created153(finished: subtest: Verify correct files are created, in 0.08 seconds)154ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: /nix/store/qmzarxqkwsa41mvczirknnr2xd8dm588-system-manager/bin/activate155(finished: must succeed: /nix/store/qmzarxqkwsa41mvczirknnr2xd8dm588-system-manager/bin/activate, in 0.27 seconds)156ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: /nix/store/gsfrjp55r8i617786mgvjmhxwv88z1hq-system-manager/bin/deactivate157(finished: must succeed: /nix/store/gsfrjp55r8i617786mgvjmhxwv88z1hq-system-manager/bin/deactivate, in 0.75 seconds)158subtest: v1 deactivation restores the backups from a v0 generated state159ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: test -f /etc/b/bar160(finished: must succeed: test -f /etc/b/bar, in 0.00 seconds)161ubuntu-22-04-state-v0-v1-migration-deactivate: must succeed: test -f /etc/b/link162(finished: must succeed: test -f /etc/b/link, in 0.01 seconds)163(finished: subtest: v1 deactivation restores the backups from a v0 generated state, in 0.04 seconds)