[Bug 1969367] Re: KeyError in uefi_find_duplicate_entries
Nicklas Frahm
1969367 at bugs.launchpad.net
Wed Mar 27 22:18:22 UTC 2024
Not sure if useful at all, but below you may find the output of a failed
deployment using MAAS. For another server (Cisco C220 M4) it works fine.
This one has a lot of network cards and hence (I assume) a lot of PXE
boot options. Not sure if this is related.
finish: cmd-install/stage-network/builtin/cmd-net-meta: SUCCESS: curtin command net-meta
start: cmd-install/stage-extract/builtin/cmd-extract: curtin command extract
Installing sources: [{'type': 'tgz', 'uri': 'cp:///media/root-ro'}] to target at /tmp/tmp6jtxp_ik/target
start: cmd-install/stage-extract/builtin/cmd-extract: acquiring and extracting image from cp:///media/root-ro
Running command ['sh', '-c', 'mkdir -p "$2" && cd "$2" && rsync -aXHAS --one-file-system "$1/" .', '--', '/media/root-ro', '/tmp/tmp6jtxp_ik/target'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: acquiring and extracting image from cp:///media/root-ro
Applying write_files from config.
finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: curtin command extract
start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks
Running curtin builtin curthooks
Configuring target system for distro: ubuntu osfamily: debian
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: configuring apt configuring apt
Transferred {'grub2': 'grub2 grub2/update_nvram boolean false', 'maas': 'cloud-init cloud-init/datasources multiselect MAAS\ncloud-init cloud-init/maas-metadata-url string http://10.0.14.254:5248/MAAS/metadata/\ncloud-init cloud-init/maas-metadata-credentials string REDACTED
Running command ['unshare', '--help'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
got primary mirror: None
got security mirror: None
Apt Mirror info: {'PRIMARY': 'http://archive.ubuntu.com/ubuntu/', 'SECURITY': 'http://security.ubuntu.com/ubuntu/', 'MIRROR': 'http://archive.ubuntu.com/ubuntu/'}
Applying debconf selections
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'debconf-set-selections'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
unconfiguring cloud-init
cleaning cloud-init config from: ['/tmp/tmp6jtxp_ik/target/etc/cloud/cloud.cfg.d/90_dpkg.cfg']
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-reconfigure', '--frontend=noninteractive', 'cloud-init'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-query', '--show', '--showformat', '${Version}', 'cloud-init'] with allowed return codes [0] (capture=True)
Set preserve_sources_list to True in /etc/cloud/cloud.cfg.d/curtin-preserve-sources.cfg with: {'apt': {'preserve_sources_list': True}}
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
renaming /tmp/tmp6jtxp_ik/target/etc/overlayroot.local.conf to /tmp/tmp6jtxp_ik/target/etc/overlayroot.local.conf.old
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Diverting original update-initramfs in target.
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-divert', '--add', '--rename', '--divert', '/usr/sbin/update-initramfs.curtin-disabled', '/usr/sbin/update-initramfs'] with allowed return codes [0] (capture=False)
Adding 'local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.curtin-disabled'
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.007
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: SUCCESS: configuring apt configuring apt
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True)
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: installing missing packages
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
Curtin config dependencies requires additional packages: ['e2fsprogs', 'bridge-utils']
Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Running command ['apt-cache', 'pkgnames'] with allowed return codes [0] (capture=True)
Running command ['apt-cache', 'pkgnames'] with allowed return codes [0] (capture=True)
Skipping install of {'ifenslave', 'grub-efi-amd64', 'vlan', 'grub-efi-amd64-signed', 'shim-signed', 'efibootmgr', 'bridge-utils'}. Not needed on netplan system.
start: cmd-install/stage-curthooks/builtin/cmd-curthooks: Installing packages on target system: ['efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'shim-signed']
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'apt-get', '--quiet', '--option=Acquire::Languages=none', '--option=Dir::Etc::sourcelist=/tmp/tmp7dlogeoh/sources.list', '--option=Dir::Etc::sourceparts=/tmp/tmp7dlogeoh/sources.list.d', 'update'] with allowed return codes [0] (capture=False)
Running in chroot, ignoring command 'start'
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8372 B]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1517 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1059 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [22.1 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [49.6 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [472 B]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1644 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1296 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [11.4 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [851 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [16.8 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37.1 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [260 B]
Get:21 http://archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1605 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [520 B]
Get:23 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [67.1 kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B]
Get:25 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [28.4 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [644 B]
Get:27 http://archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]
Get:28 http://archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]
Fetched 23.1 MB in 6s (4180 kB/s)
Reading package lists...
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.008
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'shim-signed'] with allowed return codes [0] (capture=False)
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
grub-common grub-efi-amd64-bin grub2-common libfreetype6 mokutil os-prober
Suggested packages:
multiboot-doc grub-emu mtools xorriso desktop-base
The following NEW packages will be installed:
efibootmgr grub-common grub-efi-amd64 grub-efi-amd64-bin
grub-efi-amd64-signed grub2-common libfreetype6 mokutil os-prober
shim-signed
0 upgraded, 10 newly installed, 0 to remove and 34 not upgraded.
Need to get 7026 kB of archives.
After this operation, 39.2 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 efibootmgr amd64 17-1ubuntu2 [29.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libfreetype6 amd64 2.11.1+dfsg-1ubuntu0.2 [389 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub-common amd64 2.06-2ubuntu7.2 [2214 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub-efi-amd64-bin amd64 2.06-2ubuntu14.4 [1592 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub2-common amd64 2.06-2ubuntu7.2 [652 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub-efi-amd64 amd64 2.06-2ubuntu14.4 [47.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 grub-efi-amd64-signed amd64 1.187.6+2.06-2ubuntu14.4 [1389 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 mokutil amd64 0.6.0-2~22.04.2 [27.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 os-prober amd64 1.79ubuntu2 [19.3 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 shim-signed amd64 1.51.3+15.7-0ubuntu1 [667 kB]
Fetched 7026 kB in 0s (18.7 MB/s)
Download complete and in download only mode
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'shim-signed'] with allowed return codes [0] (capture=False)
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
grub-common grub-efi-amd64-bin grub2-common libfreetype6 mokutil os-prober
Suggested packages:
multiboot-doc grub-emu mtools xorriso desktop-base
The following NEW packages will be installed:
efibootmgr grub-common grub-efi-amd64 grub-efi-amd64-bin
grub-efi-amd64-signed grub2-common libfreetype6 mokutil os-prober
shim-signed
Preconfiguring packages ...
0 upgraded, 10 newly installed, 0 to remove and 34 not upgraded.
Need to get 0 B/7026 kB of archives.
After this operation, 39.2 MB of additional disk space will be used.
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package efibootmgr.
(Reading database ... 33922 files and directories currently installed.)
Preparing to unpack .../0-efibootmgr_17-1ubuntu2_amd64.deb ...
Unpacking efibootmgr (17-1ubuntu2) ...
Selecting previously unselected package libfreetype6:amd64.
Preparing to unpack .../1-libfreetype6_2.11.1+dfsg-1ubuntu0.2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.11.1+dfsg-1ubuntu0.2) ...
Selecting previously unselected package grub-common.
Preparing to unpack .../2-grub-common_2.06-2ubuntu7.2_amd64.deb ...
Unpacking grub-common (2.06-2ubuntu7.2) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../3-grub-efi-amd64-bin_2.06-2ubuntu14.4_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.06-2ubuntu14.4) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../4-grub2-common_2.06-2ubuntu7.2_amd64.deb ...
Unpacking grub2-common (2.06-2ubuntu7.2) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../5-grub-efi-amd64_2.06-2ubuntu14.4_amd64.deb ...
Unpacking grub-efi-amd64 (2.06-2ubuntu14.4) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../6-grub-efi-amd64-signed_1.187.6+2.06-2ubuntu14.4_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.187.6+2.06-2ubuntu14.4) ...
Selecting previously unselected package mokutil.
Preparing to unpack .../7-mokutil_0.6.0-2~22.04.2_amd64.deb ...
Unpacking mokutil (0.6.0-2~22.04.2) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../8-os-prober_1.79ubuntu2_amd64.deb ...
Unpacking os-prober (1.79ubuntu2) ...
Selecting previously unselected package shim-signed.
Preparing to unpack .../9-shim-signed_1.51.3+15.7-0ubuntu1_amd64.deb ...
Unpacking shim-signed (1.51.3+15.7-0ubuntu1) ...
Setting up efibootmgr (17-1ubuntu2) ...
Setting up mokutil (0.6.0-2~22.04.2) ...
Setting up libfreetype6:amd64 (2.11.1+dfsg-1ubuntu0.2) ...
Setting up grub-common (2.06-2ubuntu7.2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/systemd/system/grub-common.service.
Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/system/grub-common.service.
Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Running in chroot, ignoring command 'daemon-reload'
/usr/sbin/policy-rc.d returned 101, not running 'start grub-initrd-fallback.service'
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring command 'daemon-reload'
Running in chroot, ignoring request.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up os-prober (1.79ubuntu2) ...
Setting up grub-efi-amd64-bin (2.06-2ubuntu14.4) ...
Setting up grub2-common (2.06-2ubuntu7.2) ...
Setting up grub-efi-amd64 (2.06-2ubuntu14.4) ...
Creating config file /etc/default/grub with new version
Setting up grub-efi-amd64-signed (1.187.6+2.06-2ubuntu14.4) ...
Setting up shim-signed (1.51.3+15.7-0ubuntu1) ...
update-alternatives: using /usr/lib/shim/shimx64.efi.signed.latest to provide /usr/lib/shim/shimx64.efi.signed (shimx64.efi.signed) in auto mode
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-KCUR: 6.5.0-21-lowlatency
NEEDRESTART-KSTA: 0
NEEDRESTART-UCSTA: 0
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.007
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'apt-get', 'clean'] with allowed return codes [0] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: Installing packages on target system: ['efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'shim-signed']
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: SUCCESS: installing missing packages
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-iscsi-service: configuring iscsi service
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-iscsi-service: SUCCESS: configuring iscsi service
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-mdadm-service: configuring raid (mdadm) service
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-mdadm-service: SUCCESS: configuring raid (mdadm) service
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: installing kernel
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True)
Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-lowlatency-hwe-22.04'] with allowed return codes [0] (capture=False)
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
firmware-sof-signed intel-microcode iucode-tool libdbus-glib-1-2 libevdev2
libimobiledevice6 libplist3 libupower-glib3 libusbmuxd6 linux-firmware
linux-headers-6.5.0-26-lowlatency linux-headers-lowlatency-hwe-22.04
linux-image-6.5.0-26-lowlatency linux-image-lowlatency-hwe-22.04
linux-lowlatency-hwe-6.5-headers-6.5.0-26 linux-modules-6.5.0-26-lowlatency
thermald upower usbmuxd
Suggested packages:
libusbmuxd-tools fdutils linux-doc | linux-lowlatency-hwe-6.5-source-6.5.0
linux-lowlatency-hwe-6.5-tools linux-modules-extra-6.5.0-26-lowlatency
The following NEW packages will be installed:
firmware-sof-signed intel-microcode iucode-tool libdbus-glib-1-2 libevdev2
libimobiledevice6 libplist3 libupower-glib3 libusbmuxd6 linux-firmware
linux-headers-6.5.0-26-lowlatency linux-headers-lowlatency-hwe-22.04
linux-image-6.5.0-26-lowlatency linux-image-lowlatency-hwe-22.04
linux-lowlatency-hwe-22.04 linux-lowlatency-hwe-6.5-headers-6.5.0-26
linux-modules-6.5.0-26-lowlatency thermald upower usbmuxd
0 upgraded, 20 newly installed, 0 to remove and 34 not upgraded.
Need to get 408 MB of archives.
After this operation, 1817 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 firmware-sof-signed all 2.0-1ubuntu4.5 [1289 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 iucode-tool amd64 2.3.1-1build1 [46.9 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libdbus-glib-1-2 amd64 0.112-2build1 [65.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 libplist3 amd64 2.2.0-6build2 [32.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 libusbmuxd6 amd64 2.0.2-3build2 [20.4 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 libimobiledevice6 amd64 1.3.0-6build3 [71.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/main amd64 libupower-glib3 amd64 0.99.17-1 [46.7 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-firmware all 20220329.git681281e4-0ubuntu3.29 [267 MB]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-lowlatency-hwe-6.5-headers-6.5.0-26 all 6.5.0-26.26.1~22.04.1 [13.3 MB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-6.5.0-26-lowlatency amd64 6.5.0-26.26.1~22.04.1 [3492 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-lowlatency-hwe-22.04 amd64 6.5.0.26.26.1~22.04.9 [2426 B]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-modules-6.5.0-26-lowlatency amd64 6.5.0-26.26.1~22.04.1 [102 MB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-6.5.0-26-lowlatency amd64 6.5.0-26.26.1~22.04.1 [14.0 MB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 intel-microcode amd64 3.20231114.0ubuntu0.22.04.1 [6047 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-lowlatency-hwe-22.04 amd64 6.5.0.26.26.1~22.04.9 [2532 B]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-lowlatency-hwe-22.04 amd64 6.5.0.26.26.1~22.04.9 [1724 B]
Get:17 http://archive.ubuntu.com/ubuntu jammy/main amd64 libevdev2 amd64 1.12.1+dfsg-1 [39.5 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 thermald amd64 2.4.9-1ubuntu0.4 [222 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy/main amd64 upower amd64 0.99.17-1 [86.7 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy/main amd64 usbmuxd amd64 1.1.1-2build2 [42.8 kB]
Fetched 408 MB in 16s (25.7 MB/s)
Download complete and in download only mode
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'linux-lowlatency-hwe-22.04'] with allowed return codes [0] (capture=False)
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
firmware-sof-signed intel-microcode iucode-tool libdbus-glib-1-2 libevdev2
libimobiledevice6 libplist3 libupower-glib3 libusbmuxd6 linux-firmware
linux-headers-6.5.0-26-lowlatency linux-headers-lowlatency-hwe-22.04
linux-image-6.5.0-26-lowlatency linux-image-lowlatency-hwe-22.04
linux-lowlatency-hwe-6.5-headers-6.5.0-26 linux-modules-6.5.0-26-lowlatency
thermald upower usbmuxd
Suggested packages:
libusbmuxd-tools fdutils linux-doc | linux-lowlatency-hwe-6.5-source-6.5.0
linux-lowlatency-hwe-6.5-tools linux-modules-extra-6.5.0-26-lowlatency
The following NEW packages will be installed:
firmware-sof-signed intel-microcode iucode-tool libdbus-glib-1-2 libevdev2
libimobiledevice6 libplist3 libupower-glib3 libusbmuxd6 linux-firmware
linux-headers-6.5.0-26-lowlatency linux-headers-lowlatency-hwe-22.04
linux-image-6.5.0-26-lowlatency linux-image-lowlatency-hwe-22.04
linux-lowlatency-hwe-22.04 linux-lowlatency-hwe-6.5-headers-6.5.0-26
linux-modules-6.5.0-26-lowlatency thermald upower usbmuxd
dpkg-preconfigure: unable to re-open stdin: No such file or directory
0 upgraded, 20 newly installed, 0 to remove and 34 not upgraded.
Need to get 0 B/408 MB of archives.
After this operation, 1817 MB of additional disk space will be used.
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package firmware-sof-signed.
(Reading database ... 34435 files and directories currently installed.)
Preparing to unpack .../00-firmware-sof-signed_2.0-1ubuntu4.5_all.deb ...
Unpacking firmware-sof-signed (2.0-1ubuntu4.5) ...
Selecting previously unselected package iucode-tool.
Preparing to unpack .../01-iucode-tool_2.3.1-1build1_amd64.deb ...
Unpacking iucode-tool (2.3.1-1build1) ...
Selecting previously unselected package libdbus-glib-1-2:amd64.
Preparing to unpack .../02-libdbus-glib-1-2_0.112-2build1_amd64.deb ...
Unpacking libdbus-glib-1-2:amd64 (0.112-2build1) ...
Selecting previously unselected package libplist3:amd64.
Preparing to unpack .../03-libplist3_2.2.0-6build2_amd64.deb ...
Unpacking libplist3:amd64 (2.2.0-6build2) ...
Selecting previously unselected package libusbmuxd6:amd64.
Preparing to unpack .../04-libusbmuxd6_2.0.2-3build2_amd64.deb ...
Unpacking libusbmuxd6:amd64 (2.0.2-3build2) ...
Selecting previously unselected package libimobiledevice6:amd64.
Preparing to unpack .../05-libimobiledevice6_1.3.0-6build3_amd64.deb ...
Unpacking libimobiledevice6:amd64 (1.3.0-6build3) ...
Selecting previously unselected package libupower-glib3:amd64.
Preparing to unpack .../06-libupower-glib3_0.99.17-1_amd64.deb ...
Unpacking libupower-glib3:amd64 (0.99.17-1) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../07-linux-firmware_20220329.git681281e4-0ubuntu3.29_all.deb ...
Unpacking linux-firmware (20220329.git681281e4-0ubuntu3.29) ...
Selecting previously unselected package linux-lowlatency-hwe-6.5-headers-6.5.0-26.
Preparing to unpack .../08-linux-lowlatency-hwe-6.5-headers-6.5.0-26_6.5.0-26.26.1~22.04.1_all.deb ...
Unpacking linux-lowlatency-hwe-6.5-headers-6.5.0-26 (6.5.0-26.26.1~22.04.1) ...
Selecting previously unselected package linux-headers-6.5.0-26-lowlatency.
Preparing to unpack .../09-linux-headers-6.5.0-26-lowlatency_6.5.0-26.26.1~22.04.1_amd64.deb ...
Unpacking linux-headers-6.5.0-26-lowlatency (6.5.0-26.26.1~22.04.1) ...
Selecting previously unselected package linux-headers-lowlatency-hwe-22.04.
Preparing to unpack .../10-linux-headers-lowlatency-hwe-22.04_6.5.0.26.26.1~22.04.9_amd64.deb ...
Unpacking linux-headers-lowlatency-hwe-22.04 (6.5.0.26.26.1~22.04.9) ...
Selecting previously unselected package linux-modules-6.5.0-26-lowlatency.
Preparing to unpack .../11-linux-modules-6.5.0-26-lowlatency_6.5.0-26.26.1~22.04.1_amd64.deb ...
Unpacking linux-modules-6.5.0-26-lowlatency (6.5.0-26.26.1~22.04.1) ...
Selecting previously unselected package linux-image-6.5.0-26-lowlatency.
Preparing to unpack .../12-linux-image-6.5.0-26-lowlatency_6.5.0-26.26.1~22.04.1_amd64.deb ...
Unpacking linux-image-6.5.0-26-lowlatency (6.5.0-26.26.1~22.04.1) ...
Selecting previously unselected package intel-microcode.
Preparing to unpack .../13-intel-microcode_3.20231114.0ubuntu0.22.04.1_amd64.deb ...
Unpacking intel-microcode (3.20231114.0ubuntu0.22.04.1) ...
Selecting previously unselected package linux-image-lowlatency-hwe-22.04.
Preparing to unpack .../14-linux-image-lowlatency-hwe-22.04_6.5.0.26.26.1~22.04.9_amd64.deb ...
Unpacking linux-image-lowlatency-hwe-22.04 (6.5.0.26.26.1~22.04.9) ...
Selecting previously unselected package linux-lowlatency-hwe-22.04.
Preparing to unpack .../15-linux-lowlatency-hwe-22.04_6.5.0.26.26.1~22.04.9_amd64.deb ...
Unpacking linux-lowlatency-hwe-22.04 (6.5.0.26.26.1~22.04.9) ...
Selecting previously unselected package libevdev2:amd64.
Preparing to unpack .../16-libevdev2_1.12.1+dfsg-1_amd64.deb ...
Unpacking libevdev2:amd64 (1.12.1+dfsg-1) ...
Selecting previously unselected package thermald.
Preparing to unpack .../17-thermald_2.4.9-1ubuntu0.4_amd64.deb ...
Unpacking thermald (2.4.9-1ubuntu0.4) ...
Selecting previously unselected package upower.
Preparing to unpack .../18-upower_0.99.17-1_amd64.deb ...
Unpacking upower (0.99.17-1) ...
Selecting previously unselected package usbmuxd.
Preparing to unpack .../19-usbmuxd_1.1.1-2build2_amd64.deb ...
Unpacking usbmuxd (1.1.1-2build2) ...
Setting up libplist3:amd64 (2.2.0-6build2) ...
Setting up iucode-tool (2.3.1-1build1) ...
Setting up linux-firmware (20220329.git681281e4-0ubuntu3.29) ...
Setting up intel-microcode (3.20231114.0ubuntu0.22.04.1) ...
intel-microcode: microcode will be updated at next boot
Setting up firmware-sof-signed (2.0-1ubuntu4.5) ...
Setting up linux-modules-6.5.0-26-lowlatency (6.5.0-26.26.1~22.04.1) ...
Setting up linux-image-6.5.0-26-lowlatency (6.5.0-26.26.1~22.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.5.0-26-lowlatency
I: /boot/initrd.img.old is now a symlink to initrd.img-6.5.0-26-lowlatency
I: /boot/vmlinuz is now a symlink to vmlinuz-6.5.0-26-lowlatency
I: /boot/initrd.img is now a symlink to initrd.img-6.5.0-26-lowlatency
Setting up libdbus-glib-1-2:amd64 (0.112-2build1) ...
Setting up libusbmuxd6:amd64 (2.0.2-3build2) ...
Setting up libupower-glib3:amd64 (0.99.17-1) ...
Setting up linux-lowlatency-hwe-6.5-headers-6.5.0-26 (6.5.0-26.26.1~22.04.1) ...
Setting up libimobiledevice6:amd64 (1.3.0-6build3) ...
Setting up libevdev2:amd64 (1.12.1+dfsg-1) ...
Setting up linux-image-lowlatency-hwe-22.04 (6.5.0.26.26.1~22.04.9) ...
Setting up upower (0.99.17-1) ...
Running in chroot, ignoring command 'daemon-reload'
/usr/sbin/policy-rc.d returned 101, not running 'start upower.service'
Setting up linux-headers-6.5.0-26-lowlatency (6.5.0-26.26.1~22.04.1) ...
Setting up usbmuxd (1.1.1-2build2) ...
Warning: The home dir /var/lib/usbmux you specified can't be accessed: No such file or directory
Adding system user `usbmux' (UID 113) ...
Adding new user `usbmux' (UID 113) with group `plugdev' ...
Not creating home directory `/var/lib/usbmux'.
Running in chroot, ignoring command 'daemon-reload'
/usr/sbin/policy-rc.d returned 101, not running 'start usbmuxd.service'
Setting up thermald (2.4.9-1ubuntu0.4) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.thermald.service → /lib/systemd/system/thermald.service.
Created symlink /etc/systemd/system/multi-user.target.wants/thermald.service → /lib/systemd/system/thermald.service.
Running in chroot, ignoring command 'daemon-reload'
/usr/sbin/policy-rc.d returned 101, not running 'start thermald.service'
Setting up linux-headers-lowlatency-hwe-22.04 (6.5.0.26.26.1~22.04.9) ...
Setting up linux-lowlatency-hwe-22.04 (6.5.0.26.26.1~22.04.9) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for linux-image-6.5.0-26-lowlatency (6.5.0-26.26.1~22.04.1) ...
Pending kernel upgrade!
Running kernel version:
6.5.0-21-lowlatency
Diagnostics:
The currently running kernel version is not the expected kernel version 6.5.0-26-lowlatency.
Restarting the system to load the new kernel will not be handled
automatically, so you should consider rebooting. [Return]
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.008
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'apt-get', 'clean'] with allowed return codes [0] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: SUCCESS: installing kernel
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: setting up swap
Running command ['findmnt', '--noheading', '--target', '/tmp/tmp6jtxp_ik/target/', '-o', 'FSTYPE'] with allowed return codes [0] (capture=True)
Running command ['sh', '-c', 'rm -f "$1" && umask 0066 && truncate -s 0 "$1" && { chattr +C "$1" || true; } && fallocate -l "${2}M" "$1" && mkswap "$1" || { r=$?; rm -f "$1"; exit $r; }', 'setup_swap', '/tmp/tmp6jtxp_ik/target//swap.img', '4096'] with allowed return codes [0] (capture=False)
chattr: Operation not supported while setting flags on /tmp/tmp6jtxp_ik/target//swap.img
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=a8239ac6-e2d6-4101-aa19-ae2efeaef76b
creating swapfile '/swap.img' of 4096MB took 0.072 seconds
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: SUCCESS: setting up swap
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/apply-networking-config: apply networking config
applying network_config
Checking cloud-init in target [/tmp/tmp6jtxp_ik/target] for network configuration passthrough support.
Checking in-target cloud-init for feature: NETWORK_CONFIG_V2
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', '/usr/bin/cloud-init', 'features'] with allowed return codes [0] (capture=True)
cloud-init feature NETWORK_CONFIG_V2 available? True
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.007
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Passing network configuration through to target: /tmp/tmp6jtxp_ik/target
Writing network config to etc/cloud/cloud.cfg.d/50-curtin-networking.cfg: /tmp/tmp6jtxp_ik/target/etc/cloud/cloud.cfg.d/50-curtin-networking.cfg
Failed to find legacy network conf file /tmp/tmp6jtxp_ik/target/etc/network/interfaces.d/eth0.cfg
Attempting to remove ipv6 privacy extensions
Removing ipv6 privacy extension config file: /tmp/tmp6jtxp_ik/target/etc/sysctl.d/10-ipv6-privacy.conf
del_file: removed /tmp/tmp6jtxp_ik/target/etc/sysctl.d/10-ipv6-privacy.conf
Injecting fix for ipv6 mtu settings: /tmp/tmp6jtxp_ik/target/etc/network/if-pre-up.d/mtuipv6
Injecting fix for ipv6 mtu settings: /tmp/tmp6jtxp_ik/target/etc/network/if-up.d/mtuipv6
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/apply-networking-config: SUCCESS: apply networking config
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: writing etc/fstab
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: SUCCESS: writing etc/fstab
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-multipath: configuring multipath
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop0'] with allowed return codes [0] (capture=True)
/dev/loop0 is multipath device? False
/dev/loop0 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop0'] with allowed return codes [0] (capture=True)
/dev/loop0 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop2'] with allowed return codes [0] (capture=True)
/dev/loop2 is multipath device? False
/dev/loop2 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop2'] with allowed return codes [0] (capture=True)
/dev/loop2 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop1'] with allowed return codes [0] (capture=True)
/dev/loop1 is multipath device? False
/dev/loop1 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop1'] with allowed return codes [0] (capture=True)
/dev/loop1 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop3'] with allowed return codes [0] (capture=True)
/dev/loop3 is multipath device? False
/dev/loop3 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop3'] with allowed return codes [0] (capture=True)
/dev/loop3 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda2'] with allowed return codes [0] (capture=True)
/dev/sda2 is multipath device? False
/dev/sda2 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda2'] with allowed return codes [0] (capture=True)
/dev/sda2 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda1'] with allowed return codes [0] (capture=True)
/dev/sda1 is multipath device? False
/dev/sda1 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda1'] with allowed return codes [0] (capture=True)
/dev/sda1 is multipath device member? False
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '--nodeps'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/loop0'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/loop1'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/loop2'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/loop3'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sdb'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sdc'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sdd'] with allowed return codes [0] (capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sde'] with allowed return codes [0] (capture=True)
Running command ['blockdev', '--rereadpt', '/dev/sdb', '/dev/sdc', '/dev/sdd', '/dev/sde'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.009
Running command ['blkid', '-o', 'full'] with allowed return codes [0] (capture=True)
legacy_detect_multipath found blkid info: {'/dev/loop1': {'TYPE': 'squashfs'}, '/dev/loop2': {'TYPE': 'squashfs'}, '/dev/loop0': {'TYPE': 'squashfs'}, '/dev/sda2': {'LABEL': 'root', 'UUID': '21c5c839-c579-472c-b3d9-0f36bca538f4', 'BLOCK_SIZE': '4096', 'TYPE': 'ext4', 'PARTUUID': '4470db74-deac-45f0-8af7-1d4e3c140d7e'}, '/dev/sda1': {'LABEL_FATBOOT': 'efi', 'LABEL': 'efi', 'UUID': '2B5B-E432', 'BLOCK_SIZE': '512', 'TYPE': 'vfat', 'PARTUUID': '1ae24b07-6ba5-471e-8300-abf72ff9caa7'}, '/dev/loop3': {'TYPE': 'squashfs'}}
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True)
target_devs: ['/dev/sda2']
/dev/sda2: 21c5c839-c579-472c-b3d9-0f36bca538f4
Multipath detection found: False
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-multipath: SUCCESS: configuring multipath
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/system-upgrade: updating packages on target system
system_upgrade disabled by config.
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/system-upgrade: SUCCESS: updating packages on target system
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/pollinate-user-agent: configuring pollinate user-agent on target
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/pollinate-user-agent: SUCCESS: configuring pollinate user-agent on target
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/updating-initramfs-configuration: updating initramfs configuration
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-divert', '--list'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.007
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Restoring update-initramfs in target for initrd updates.
del_file: removed /tmp/tmp6jtxp_ik/target/usr/sbin/update-initramfs
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-divert', '--rename', '--remove', '/usr/sbin/update-initramfs'] with allowed return codes [0] (capture=False)
Removing 'local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.curtin-disabled'
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.006
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-divert', '--list'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.006
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'update-initramfs', '-c', '-k', '6.5.0-26-lowlatency'] with allowed return codes [0] (capture=False)
update-initramfs: Generating /boot/initrd.img-6.5.0-26-lowlatency
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.008
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/updating-initramfs-configuration: SUCCESS: updating initramfs configuration
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: configuring target system bootloader
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: installing grub to target devices
setup grub on target /tmp/tmp6jtxp_ik/target
Found primary UEFI ESP: sda-part1
Found UEFI ESP(s) for grub install: ['sda-part1']
get_path_to_storage_volume for volume sda-part1({'device': 'sda', 'flag': 'boot', 'id': 'sda-part1', 'name': 'sda-part1', 'number': 1, 'offset': '4194304B', 'size': '536870912B', 'type': 'partition', 'uuid': 'b23a7448-986d-4b69-aaca-266c3d941a16', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'Wintec SF2281 45', 'name': 'sda', 'ptable': 'gpt', 'serial': '49720-00137.', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 49720-00137. via udev to 49720-00137.
lookup_disks found: ['ata-Wintec_SF2281_45G_SSD_49720-00137.', 'scsi-SATA_Wintec_SF2281_45_49720-00137.', 'scsi-0ATA_Wintec_SF2281_45_49720-00137.', 'ata-Wintec_SF2281_45G_SSD_49720-00137.-part1', 'ata-Wintec_SF2281_45G_SSD_49720-00137.-part2', 'scsi-1ATA_Wintec_SF2281_45G_SSD_49720-00137.', 'scsi-0ATA_Wintec_SF2281_45_49720-00137.-part1', 'scsi-SATA_Wintec_SF2281_45_49720-00137.-part1', 'scsi-0ATA_Wintec_SF2281_45_49720-00137.-part2', 'scsi-SATA_Wintec_SF2281_45_49720-00137.-part2', 'scsi-1ATA_Wintec_SF2281_45G_SSD_49720-00137.-part1', 'scsi-1ATA_Wintec_SF2281_45G_SSD_49720-00137.-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.076
devsync happy - path /dev/sda now exists
return volume path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.071
devsync happy - path /dev/sda now exists
return volume path /dev/sda1
install_devices: ['/dev/sda1']
Generating grub debconf_selections for devices=['/dev/sda1'] uefi=True
Applying grub debconf_selections config:
{'debconf_selections': {'grub': 'grub-pc grub-efi/install_devices multiselect /dev/disk/by-id/ata-Wintec_SF2281_45G_SSD_49720-00137.-part1'}}
Applying debconf selections
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'debconf-set-selections'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
UEFI remove old olders efi output:
{'current': '000F', 'timeout': '0 seconds', 'order': ['0000', '0010', '0011', '0007', '0008', '0015', '0016', '0017', '0018', '0019', '0009', '0006', '0005'], 'entries': {'0000': {'name': 'ubuntu', 'path': 'HD(1,GPT,c72b3b71-ab6c-4331-b967-680041f12a1e,0x800,0x100000)/File(\\EFI\\ubuntu\\shimx64.efi)'}, '0005': {'name': 'Internal EFI Shell', 'path': 'VenMedia(5023b95c-db26-429b-a648-bd47664c8012)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)'}, '0006': {'name': 'UEFI IPv4: Network Card 0200', 'path': 'PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(000eb6aaa4d8,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0007': {'name': 'UEFI IPv4: Network Card 0201', 'path': 'PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x1)/MAC(000eb6aaa4d9,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0008': {'name': 'UEFI IPv4: Network Card 0202', 'path': 'PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x2)/MAC(000eb6aaa4da,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0009': {'name': 'UEFI IPv4: Network Card 0203', 'path': 'PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x3)/MAC(000eb6aaa4db,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000a': {'name': 'UEFI IPv4: Network Card 0400', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/MAC(000eb687a808,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000b': {'name': 'UEFI IPv4: Network Card 0401', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x1)/MAC(000eb687a809,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000c': {'name': 'UEFI IPv4: Network Card 0402', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x2)/MAC(000eb687a80a,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000d': {'name': 'UEFI IPv4: Network Card 0403', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x3)/MAC(000eb687a80b,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000e': {'name': 'UEFI IPv4: Network Card 0800', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(000eb639c920,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000f': {'name': 'UEFI IPv4: Network Card 0801', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x1)/MAC(000eb639c921,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0010': {'name': 'UEFI IPv4: Network Card 0802', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x2)/MAC(000eb639c922,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0011': {'name': 'UEFI IPv4: Network Card 0803', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x3)/MAC(000eb639c923,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0015': {'name': 'UEFI IPv4: Network Card 0400', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/MAC(000eb687a808,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0016': {'name': 'UEFI IPv4: Network Card 0401', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x1)/MAC(000eb687a809,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0017': {'name': 'UEFI IPv4: Network Card 0402', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x2)/MAC(000eb687a80a,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0018': {'name': 'UEFI IPv4: Network Card 0403', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x3)/MAC(000eb687a80b,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0019': {'name': 'UEFI IPv4: Network Card 0800', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(000eb639c920,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '001a': {'name': 'UEFI IPv4: Network Card 0801', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x1)/MAC(000eb639c921,0)/IPv4(0.0.0.00.0.0.0,0,0)'}}}
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
removing old UEFI entry: ubuntu
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'efibootmgr', '-B', '-b', '0000'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.004
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
installing grub to target=/tmp/tmp6jtxp_ik/target devices=['/dev/sda1'] [replace_defaults=None]
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
grub: moved /tmp/tmp6jtxp_ik/target/etc/default/grub.d/50-cloudimg-settings.cfg out of the way
updated /tmp/tmp6jtxp_ik/target/etc/default/grub to set: GRUB_CMDLINE_LINUX_DEFAULT=""
Using grub install command: /usr/lib/grub/grub-multi-install
Grub install cmds:
[['efibootmgr', '-v'], ['dpkg-reconfigure', 'grub-efi-amd64'], ['update-grub'], ['/usr/lib/grub/grub-multi-install'], ['efibootmgr', '-v']]
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'dpkg-reconfigure', 'grub-efi-amd64'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'update-grub'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', '/usr/lib/grub/grub-multi-install'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.007
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
UEFI efibootmgr output after install:
{'current': '000F', 'timeout': '0 seconds', 'order': ['0000', '0010', '0011', '0007', '0008', '0015', '0016', '0017', '0018', '0019', '0009', '0006', '0005'], 'entries': {'0000': {'name': 'ubuntu', 'path': 'HD(1,GPT,1ae24b07-6ba5-471e-8300-abf72ff9caa7,0x800,0x100000)/File(\\EFI\\ubuntu\\shimx64.efi)'}, '0005': {'name': 'Internal EFI Shell', 'path': 'VenMedia(5023b95c-db26-429b-a648-bd47664c8012)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)'}, '0006': {'name': 'UEFI IPv4: Network Card 0200', 'path': 'PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(000eb6aaa4d8,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0007': {'name': 'UEFI IPv4: Network Card 0201', 'path': 'PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x1)/MAC(000eb6aaa4d9,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0008': {'name': 'UEFI IPv4: Network Card 0202', 'path': 'PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x2)/MAC(000eb6aaa4da,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0009': {'name': 'UEFI IPv4: Network Card 0203', 'path': 'PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x3)/MAC(000eb6aaa4db,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000a': {'name': 'UEFI IPv4: Network Card 0400', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/MAC(000eb687a808,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000b': {'name': 'UEFI IPv4: Network Card 0401', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x1)/MAC(000eb687a809,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000c': {'name': 'UEFI IPv4: Network Card 0402', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x2)/MAC(000eb687a80a,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000d': {'name': 'UEFI IPv4: Network Card 0403', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x3)/MAC(000eb687a80b,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000e': {'name': 'UEFI IPv4: Network Card 0800', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(000eb639c920,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '000f': {'name': 'UEFI IPv4: Network Card 0801', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x1)/MAC(000eb639c921,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0010': {'name': 'UEFI IPv4: Network Card 0802', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x2)/MAC(000eb639c922,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0011': {'name': 'UEFI IPv4: Network Card 0803', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x3)/MAC(000eb639c923,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0015': {'name': 'UEFI IPv4: Network Card 0400', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/MAC(000eb687a808,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0016': {'name': 'UEFI IPv4: Network Card 0401', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x1)/MAC(000eb687a809,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0017': {'name': 'UEFI IPv4: Network Card 0402', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x2)/MAC(000eb687a80a,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0018': {'name': 'UEFI IPv4: Network Card 0403', 'path': 'PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x3)/MAC(000eb687a80b,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '0019': {'name': 'UEFI IPv4: Network Card 0800', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(000eb639c920,0)/IPv4(0.0.0.00.0.0.0,0,0)'}, '001a': {'name': 'UEFI IPv4: Network Card 0801', 'path': 'PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x1)/MAC(000eb639c921,0)/IPv4(0.0.0.00.0.0.0,0,0)'}}}
Setting currently booted 000F as the first UEFI loader.
New UEFI boot order: 000F,0000,0010,0011,0007,0008,0015,0016,0017,0018,0019,0009,0006,0005
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'efibootmgr', '-o', '000F,0000,0010,0011,0007,0008,0015,0016,0017,0018,0019,0009,0006,0005'] with allowed return codes [0] (capture=False)
** Warning ** : Boot000a is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000b is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000c is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000d is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000e is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000f is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot001a is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : please recreate these using efibootmgr to remove this warning.
BootCurrent: 000F
Timeout: 0 seconds
BootOrder: 000F,0000,0010,0011,0007,0008,0015,0016,0017,0018,0019,0009,0006,0005
Boot0000* ubuntu
Boot0005 Internal EFI Shell
Boot0006* UEFI IPv4: Network Card 0200
Boot0007* UEFI IPv4: Network Card 0201
Boot0008* UEFI IPv4: Network Card 0202
Boot0009* UEFI IPv4: Network Card 0203
Boot000a* UEFI IPv4: Network Card 0400
Boot000b* UEFI IPv4: Network Card 0401
Boot000c* UEFI IPv4: Network Card 0402
Boot000d* UEFI IPv4: Network Card 0403
Boot000e* UEFI IPv4: Network Card 0800
Boot000f* UEFI IPv4: Network Card 0801
Boot0010* UEFI IPv4: Network Card 0802
Boot0011* UEFI IPv4: Network Card 0803
Boot0015* UEFI IPv4: Network Card 0400
Boot0016* UEFI IPv4: Network Card 0401
Boot0017* UEFI IPv4: Network Card 0402
Boot0018* UEFI IPv4: Network Card 0403
Boot0019* UEFI IPv4: Network Card 0800
Boot001a* UEFI IPv4: Network Card 0801
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.010
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp6jtxp_ik/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.010
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp6jtxp_ik/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: FAIL: installing grub to target devices
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL: configuring target system bootloader
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
Traceback (most recent call last):
File "/curtin/curtin/commands/main.py", line 202, in main
ret = args.func(args)
File "/curtin/curtin/commands/curthooks.py", line 1918, in curthooks
builtin_curthooks(cfg, target, state)
File "/curtin/curtin/commands/curthooks.py", line 1883, in builtin_curthooks
setup_grub(cfg, target, osfamily=osfamily,
File "/curtin/curtin/commands/curthooks.py", line 825, in setup_grub
uefi_remove_duplicate_entries(grubcfg, target)
File "/curtin/curtin/commands/curthooks.py", line 577, in uefi_remove_duplicate_entries
to_remove = uefi_find_duplicate_entries(grubcfg, target)
File "/curtin/curtin/commands/curthooks.py", line 599, in uefi_find_duplicate_entries
seen.add(tuple(entries[current_bootnum].items()))
KeyError: '000F'
'000F'
curtin: Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'curthooks']
Exit code: 3
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1969367
Title:
KeyError in uefi_find_duplicate_entries
Status in curtin:
New
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
I attempted to install Ubuntu 20.04.03 and 22.04 (beta) over the
weekend and ran into an issue where part of the Grub install step was
causing a KeyError. The specific line that was throwing the error is:
https://github.com/canonical/curtin/blob/master/curtin/commands/curthooks.py#L582
After investigations it looks like the "BootCurrent" line returned by
efibootmgr was showing '0000' as the current boot. However, that line
had not been processed as it was a USB device that doesn't seem to
match the expected format in the parse function. That would then lead
to the '0000' key not being added to the data structure and throwing a
KeyError.
I'm not sure if the solution should be to alter the previous line
(https://github.com/canonical/curtin/blob/master/curtin/commands/curthooks.py#L581)
to include a check against the keys, or if the regular expression at
https://github.com/canonical/curtin/blob/60e076ceae67ac4bdea806062df69d0d25e9c32c/curtin/util.py#L932
should be adjusted to allow for 0-width 'name' fields. (In this case
the USB boot device was not given a name and therefore seems like it
would fail the regex.)
I wasn't able to figure out how I could test either of these
solutions. My workaround was to replace the 'efibootmgr' executable
temporarily and change the 'BootCurrent' parameter to '0001' which was
in the dictionary and therefore would get past the KeyError. It seems
to have worked for the install. Here is a rough script I did to
replace it after the package was installed:
sudo -i
mv /target/usr/bin/efibootmgr /target/usr/bin/efibootmgr_orig
echo <<EOF >/target/usr/bin/efibootmgr
#!/bin/sh
/target/usr/bin/efibootmgr_orig $@ | sed -e '/^BootCurrent/ s/0000/0001/'
EOF
chmod o+x /target/usr/bin/efibootmgr
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1969367/+subscriptions
More information about the foundations-bugs
mailing list