0s autopkgtest [00:22:44]: starting date and time: 2025-01-08 00:22:44+0000 0s autopkgtest [00:22:44]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [00:22:44]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.sh1ld7_z/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:e2fsprogs --apt-upgrade cloud-utils --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=e2fsprogs/1.47.2-1ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-3.secgroup --name adt-plucky-arm64-cloud-utils-20250108-002244-juju-7f2275-prod-proposed-migration-environment-15-74373d11-69a0-4bea-aed1-fc4afa3ef25a --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 122s autopkgtest [00:24:46]: testbed dpkg architecture: arm64 122s autopkgtest [00:24:46]: testbed apt version: 2.9.18 123s autopkgtest [00:24:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 123s autopkgtest [00:24:47]: testbed release detected to be: None 124s autopkgtest [00:24:48]: updating testbed package index (apt update) 124s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 124s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 124s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 124s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 125s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [123 kB] 125s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 125s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [795 kB] 125s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [18.0 kB] 125s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [227 kB] 125s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 125s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [958 kB] 125s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [23.0 kB] 125s Fetched 2285 kB in 1s (2382 kB/s) 126s Reading package lists... 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 128s Calculating upgrade... 128s The following packages will be upgraded: 128s nano 128s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 128s Need to get 289 kB of archives. 128s After this operation, 0 B of additional disk space will be used. 128s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 nano arm64 8.3-1 [289 kB] 129s Fetched 289 kB in 0s (701 kB/s) 129s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 129s Preparing to unpack .../archives/nano_8.3-1_arm64.deb ... 129s Unpacking nano (8.3-1) over (8.2-1) ... 129s Setting up nano (8.3-1) ... 129s Installing new version of config file /etc/nanorc ... 129s Processing triggers for man-db (2.13.0-1) ... 130s Processing triggers for install-info (7.1.1-1) ... 130s Reading package lists... 131s Building dependency tree... 131s Reading state information... 131s 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 131s autopkgtest [00:24:55]: upgrading testbed (apt dist-upgrade and autopurge) 131s Reading package lists... 132s Building dependency tree... 132s Reading state information... 132s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 132s Starting 2 pkgProblemResolver with broken count: 0 132s Done 133s Entering ResolveByKeep 133s 134s The following packages will be upgraded: 134s e2fsprogs e2fsprogs-l10n libcom-err2 libext2fs2t64 libss2 logsave 134s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 134s Need to get 916 kB of archives. 134s After this operation, 22.5 kB of additional disk space will be used. 134s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 logsave arm64 1.47.2-1ubuntu1 [26.2 kB] 134s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 134s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libext2fs2t64 arm64 1.47.2-1ubuntu1 [231 kB] 134s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 e2fsprogs arm64 1.47.2-1ubuntu1 [608 kB] 134s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libcom-err2 arm64 1.47.2-1ubuntu1 [26.4 kB] 134s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libss2 arm64 1.47.2-1ubuntu1 [17.6 kB] 135s Fetched 916 kB in 1s (1635 kB/s) 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 135s Preparing to unpack .../logsave_1.47.2-1ubuntu1_arm64.deb ... 135s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 135s Preparing to unpack .../e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 135s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 135s Preparing to unpack .../libext2fs2t64_1.47.2-1ubuntu1_arm64.deb ... 135s Leaving 'diversion of /lib/aarch64-linux-gnu/libe2p.so.2 to /lib/aarch64-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' 135s Leaving 'diversion of /lib/aarch64-linux-gnu/libe2p.so.2.3 to /lib/aarch64-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 135s Leaving 'diversion of /lib/aarch64-linux-gnu/libext2fs.so.2 to /lib/aarch64-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' 135s Leaving 'diversion of /lib/aarch64-linux-gnu/libext2fs.so.2.4 to /lib/aarch64-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 135s Unpacking libext2fs2t64:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 135s Setting up libext2fs2t64:arm64 (1.47.2-1ubuntu1) ... 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 135s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_arm64.deb ... 135s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 135s Preparing to unpack .../libcom-err2_1.47.2-1ubuntu1_arm64.deb ... 135s Unpacking libcom-err2:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 135s Preparing to unpack .../libss2_1.47.2-1ubuntu1_arm64.deb ... 135s Unpacking libss2:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 135s Setting up libcom-err2:arm64 (1.47.2-1ubuntu1) ... 135s Setting up libss2:arm64 (1.47.2-1ubuntu1) ... 135s Setting up logsave (1.47.2-1ubuntu1) ... 135s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 135s update-initramfs: deferring update (trigger activated) 136s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 136s Processing triggers for man-db (2.13.0-1) ... 136s Processing triggers for libc-bin (2.40-4ubuntu1) ... 137s Processing triggers for initramfs-tools (0.142ubuntu35) ... 137s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 137s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 153s System running in EFI mode, skipping. 153s Reading package lists... 154s Building dependency tree... 154s Reading state information... 154s Starting pkgProblemResolver with broken count: 0 154s Starting 2 pkgProblemResolver with broken count: 0 154s Done 155s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 155s autopkgtest [00:25:19]: rebooting testbed after setup commands that affected boot 179s autopkgtest [00:25:43]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 181s autopkgtest [00:25:45]: @@@@@@@@@@@@@@@@@@@@ apt-source cloud-utils 184s Get:1 http://ftpmaster.internal/ubuntu plucky/main cloud-utils 0.33-1 (dsc) [1987 B] 184s Get:2 http://ftpmaster.internal/ubuntu plucky/main cloud-utils 0.33-1 (tar) [58.8 kB] 184s Get:3 http://ftpmaster.internal/ubuntu plucky/main cloud-utils 0.33-1 (diff) [9196 B] 185s gpgv: Signature made Fri Jun 3 11:29:56 2022 UTC 185s gpgv: using RSA key 561AD585EED766921BA8DD96D65861883E014DB9 185s gpgv: issuer "paride@debian.org" 185s gpgv: Can't check signature: No public key 185s dpkg-source: warning: cannot verify inline signature for ./cloud-utils_0.33-1.dsc: no acceptable signature found 185s autopkgtest [00:25:49]: testing package cloud-utils version 0.33-1 185s autopkgtest [00:25:49]: build not needed 185s autopkgtest [00:25:49]: test growpart-loop: preparing testbed 186s Reading package lists... 186s Building dependency tree... 186s Reading state information... 186s Starting pkgProblemResolver with broken count: 0 186s Starting 2 pkgProblemResolver with broken count: 0 186s Done 187s The following NEW packages will be installed: 187s dmeventd libdevmapper-event1.02.1 liblvm2cmd2.03 lvm2 187s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 187s Need to get 1930 kB of archives. 187s After this operation, 8116 kB of additional disk space will be used. 187s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libdevmapper-event1.02.1 arm64 2:1.02.196-1ubuntu2 [12.0 kB] 187s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 liblvm2cmd2.03 arm64 2.03.22-1ubuntu2 [742 kB] 188s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dmeventd arm64 2:1.02.196-1ubuntu2 [36.4 kB] 188s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 lvm2 arm64 2.03.22-1ubuntu2 [1139 kB] 188s Fetched 1930 kB in 1s (3023 kB/s) 188s Selecting previously unselected package libdevmapper-event1.02.1:arm64. 188s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 188s Preparing to unpack .../libdevmapper-event1.02.1_2%3a1.02.196-1ubuntu2_arm64.deb ... 188s Unpacking libdevmapper-event1.02.1:arm64 (2:1.02.196-1ubuntu2) ... 188s Selecting previously unselected package liblvm2cmd2.03:arm64. 188s Preparing to unpack .../liblvm2cmd2.03_2.03.22-1ubuntu2_arm64.deb ... 188s Unpacking liblvm2cmd2.03:arm64 (2.03.22-1ubuntu2) ... 188s Selecting previously unselected package dmeventd. 188s Preparing to unpack .../dmeventd_2%3a1.02.196-1ubuntu2_arm64.deb ... 188s Unpacking dmeventd (2:1.02.196-1ubuntu2) ... 188s Selecting previously unselected package lvm2. 188s Preparing to unpack .../lvm2_2.03.22-1ubuntu2_arm64.deb ... 188s Unpacking lvm2 (2.03.22-1ubuntu2) ... 188s Setting up libdevmapper-event1.02.1:arm64 (2:1.02.196-1ubuntu2) ... 188s Setting up liblvm2cmd2.03:arm64 (2.03.22-1ubuntu2) ... 188s Setting up dmeventd (2:1.02.196-1ubuntu2) ... 189s Created symlink '/etc/systemd/system/sockets.target.wants/dm-event.socket' → '/usr/lib/systemd/system/dm-event.socket'. 189s dm-event.service is a disabled or a static unit, not starting it. 189s Setting up lvm2 (2.03.22-1ubuntu2) ... 190s Created symlink '/etc/systemd/system/sysinit.target.wants/blk-availability.service' → '/usr/lib/systemd/system/blk-availability.service'. 190s Created symlink '/etc/systemd/system/sysinit.target.wants/lvm2-monitor.service' → '/usr/lib/systemd/system/lvm2-monitor.service'. 190s Created symlink '/etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket' → '/usr/lib/systemd/system/lvm2-lvmpolld.socket'. 191s Processing triggers for initramfs-tools (0.142ubuntu35) ... 191s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 191s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 207s System running in EFI mode, skipping. 207s Processing triggers for libc-bin (2.40-4ubuntu1) ... 207s Processing triggers for man-db (2.13.0-1) ... 209s autopkgtest [00:26:13]: test growpart-loop: [----------------------- 210s -- PT_TYPE=gpt GROWPART_RESIZER=auto -- 210s Partitioning gpt orig_size=500M grow_size=1000M. 210s growpart is /usr/bin/growpart 210s set up /dev/loop0 210s mounting to /tmp/test-growpart.QhIt8t/mp 210s ==== before ==== 210s 7 0 1024000 loop0 210s 259 0 509952 loop0p1 210s GPT PMBR size mismatch (1023999 != 2047999) will be corrected by write. 210s The backup GPT table is not on the end of the device. 210s Disk /dev/loop0: 1000 MiB, 1048576000 bytes, 2048000 sectors 210s Units: sectors of 1 * 512 = 512 bytes 210s Sector size (logical/physical): 512 bytes / 512 bytes 210s I/O size (minimum/optimal): 512 bytes / 512 bytes 210s Disklabel type: gpt 210s Disk identifier: 368A564D-DB64-490E-BBD1-059789F033E9 210s 210s Device Start End Sectors Size Type 210s /dev/loop0p1 2048 1021951 1019904 498M Linux filesystem 210s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2045919 end=2047966 210s === growpart stderr === 210s update-partition set to true 210s FLOCK: try exec open fd 9, on failure exec exits this program 210s running[flock][] flock -x 9 210s FLOCK: /dev/loop0: obtained exclusive lock 210s resizing 1 on /dev/loop0 using resize_sfdisk_gpt 210s running[sfd_list][erronly] sfdisk --list --unit=S /dev/loop0 210s 2048000 sectors of 512. total size=1048576000 bytes 210s running[sfd_dump][erronly] sfdisk --unit=S --dump /dev/loop0 210s ## sfdisk --unit=S --dump /dev/loop0 210s label: gpt 210s label-id: 368A564D-DB64-490E-BBD1-059789F033E9 210s device: /dev/loop0 210s unit: sectors 210s first-lba: 2048 210s last-lba: 1023966 210s sector-size: 512 210s 210s /dev/loop0p1 : start= 2048, size= 1019904, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=46FDA337-FC0A-471A-B2F8-97AADFE7CC89 210s padding 33 sectors for gpt secondary header 210s max_end=2047966 tot=2048000 pt_end=1021951 pt_start=2048 pt_size=1019904 210s resize of /dev/loop0 returned 0. 210s running[pt_update][] pt_update /dev/loop0 1 210s FLOCK: /dev/loop0: releasing exclusive lock 210s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 210s /dev/loop0p1 is not an lvm pv 210s ==== after ==== 210s 7 0 1024000 loop0 210s 259 0 1022959 loop0p1 210s resize2fs 1.47.2 (1-Jan-2025) 210s Filesystem at /dev/loop0p1 is mounted on /tmp/test-growpart.QhIt8t/mp; on-line resizing required 210s old_desc_blocks = 1, new_desc_blocks = 1 210s The filesystem on /dev/loop0p1 is now 255739 (4k) blocks long. 210s 210s == df == 210s Filesystem Size Used Avail Use% Mounted on 210s /dev/loop0p1 920M 152K 865M 1% /tmp/test-growpart.QhIt8t/mp 210s unmount /tmp/test-growpart.QhIt8t/mp 210s losetup -d /dev/loop0 210s 210s 210s -- PT_TYPE=gpt GROWPART_RESIZER=sfdisk -- 210s Partitioning gpt orig_size=500M grow_size=1000M. 210s growpart is /usr/bin/growpart 211s set up /dev/loop0 211s mounting to /tmp/test-growpart.7wLXYE/mp 211s GPT PMBR size mismatch (1023999 != 2047999) will be corrected by write. 211s The backup GPT table is not on the end of the device. 211s ==== before ==== 211s 7 0 1024000 loop0 211s 259 0 509952 loop0p1 211s Disk /dev/loop0: 1000 MiB, 1048576000 bytes, 2048000 sectors 211s Units: sectors of 1 * 512 = 512 bytes 211s Sector size (logical/physical): 512 bytes / 512 bytes 211s I/O size (minimum/optimal): 512 bytes / 512 bytes 211s Disklabel type: gpt 211s Disk identifier: 818F27B6-B4FE-4180-9D43-615AA3AFE7E0 211s 211s Device Start End Sectors Size Type 211s /dev/loop0p1 2048 1021951 1019904 498M Linux filesystem 211s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2045919 end=2047966 211s === growpart stderr === 211s update-partition set to true 211s FLOCK: try exec open fd 9, on failure exec exits this program 211s running[flock][] flock -x 9 211s FLOCK: /dev/loop0: obtained exclusive lock 211s resizing 1 on /dev/loop0 using resize_sfdisk_gpt 211s running[sfd_list][erronly] sfdisk --list --unit=S /dev/loop0 211s 2048000 sectors of 512. total size=1048576000 bytes 211s running[sfd_dump][erronly] sfdisk --unit=S --dump /dev/loop0 211s ## sfdisk --unit=S --dump /dev/loop0 211s label: gpt 211s label-id: 818F27B6-B4FE-4180-9D43-615AA3AFE7E0 211s device: /dev/loop0 211s unit: sectors 211s first-lba: 2048 211s last-lba: 1023966 211s sector-size: 512 211s 211s /dev/loop0p1 : start= 2048, size= 1019904, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=95686377-F57D-4345-A977-1924176610A1 211s padding 33 sectors for gpt secondary header 211s max_end=2047966 tot=2048000 pt_end=1021951 pt_start=2048 pt_size=1019904 211s resize of /dev/loop0 returned 0. 211s running[pt_update][] pt_update /dev/loop0 1 211s FLOCK: /dev/loop0: releasing exclusive lock 211s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 211s /dev/loop0p1 is not an lvm pv 211s ==== after ==== 211s 7 0 1024000 loop0 211s 259 0 1022959 loop0p1 211s resize2fs 1.47.2 (1-Jan-2025) 211s Filesystem at /dev/loop0p1 is mounted on /tmp/test-growpart.7wLXYE/mp; on-line resizing required 211s old_desc_blocks = 1, new_desc_blocks = 1 211s The filesystem on /dev/loop0p1 is now 255739 (4k) blocks long. 211s 211s == df == 211s Filesystem Size Used Avail Use% Mounted on 211s /dev/loop0p1 920M 152K 865M 1% /tmp/test-growpart.7wLXYE/mp 211s unmount /tmp/test-growpart.7wLXYE/mp 211s losetup -d /dev/loop0 211s 211s 211s -- PT_TYPE=gpt GROWPART_RESIZER=sgdisk -- 211s Partitioning gpt orig_size=500M grow_size=1000M. 211s growpart is /usr/bin/growpart 212s set up /dev/loop0 212s mounting to /tmp/test-growpart.kKRZEW/mp 212s ==== before ==== 212s 7 0 1024000 loop0 212s 259 1 509952 loop0p1 212s Disk /dev/loop0: 1000 MiB, 1048576000 bytes, 2048000 sectors 212s Units: sectors of 1 * 512 = 512 bytes 212s Sector size (logical/physical): 512 bytes / 512 bytes 212s I/O size (minimum/optimal): 512 bytes / 512 bytes 212s Disklabel type: gpt 212s Disk identifier: AB7D4E49-FB44-413F-8EB5-0F5E3FBF1E5A 212s 212s Device Start End Sectors Size Type 212s /dev/loop0p1 2048 1021951 1019904 498M Linux filesystem 212s GPT PMBR size mismatch (1023999 != 2047999) will be corrected by write. 212s The backup GPT table is not on the end of the device. 213s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2043904 end=2045951 213s === growpart stderr === 213s update-partition set to true 213s FLOCK: try exec open fd 9, on failure exec exits this program 213s running[flock][] flock -x 9 213s FLOCK: /dev/loop0: obtained exclusive lock 213s resizing 1 on /dev/loop0 using resize_sgdisk_gpt 213s running[sgd_info][erronly] sgdisk --info=1 --print /dev/loop0 213s disk=/dev/loop0 partition=1: original sgdisk info: 213s Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) 213s Partition unique GUID: 36DBC9A3-F278-4E40-B514-9DBD43B6E524 213s First sector: 2048 (at 1024.0 KiB) 213s Last sector: 1021951 (at 499.0 MiB) 213s Partition size: 1019904 sectors (498.0 MiB) 213s Attribute flags: 0000000000000000 213s Partition name: '' 213s Disk /dev/loop0: 2048000 sectors, 1000.0 MiB 213s Sector size (logical/physical): 512/512 bytes 213s Disk identifier (GUID): AB7D4E49-FB44-413F-8EB5-0F5E3FBF1E5A 213s Partition table holds up to 128 entries 213s Main partition table begins at sector 2 and ends at sector 33 213s First usable sector is 2048, last usable sector is 1023966 213s Partitions will be aligned on 2048-sector boundaries 213s Total free space is 2015 sectors (1007.5 KiB) 213s 213s Number Start (sector) End (sector) Size Code Name 213s 1 2048 1021951 498.0 MiB 8300 213s running[sgd_pretend][erronly] sgdisk --pretend --move-second-header --print /dev/loop0 213s disk=/dev/loop0 partition=1: pretend sgdisk info 213s Disk /dev/loop0: 2048000 sectors, 1000.0 MiB 213s Sector size (logical/physical): 512/512 bytes 213s Disk identifier (GUID): AB7D4E49-FB44-413F-8EB5-0F5E3FBF1E5A 213s Partition table holds up to 128 entries 213s Main partition table begins at sector 2 and ends at sector 33 213s First usable sector is 2048, last usable sector is 2045952 213s Partitions will be aligned on 2048-sector boundaries 213s Total free space is 1024001 sectors (500.0 MiB) 213s 213s Number Start (sector) End (sector) Size Code Name 213s 1 2048 1021951 498.0 MiB 8300 213s disk=/dev/loop0 partition=1: pt_start=2048 pt_end=1021951 pt_size=1019904 pt_max=2045951 last=2045952 213s disk=/dev/loop0 partition=1: code=0FC63DAF-8483-4772-8E79-3D69D8477DE4 guid=36DBC9A3-F278-4E40-B514-9DBD43B6E524 name='' 213s running[sgd_backup][] sgdisk --backup=/tmp/growpart.rtaWuQ/pt.backup /dev/loop0 213s running[sgdisk_mod][] sgdisk --move-second-header --delete=1 --new=1:2048:2045950 --typecode=1:0FC63DAF-8483-4772-8E79-3D69D8477DE4 --partition-guid=1:36DBC9A3-F278-4E40-B514-9DBD43B6E524 --change-name=1: /dev/loop0 213s running[pt_update][] pt_update /dev/loop0 1 213s FLOCK: /dev/loop0: releasing exclusive lock 213s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 213s /dev/loop0p1 is not an lvm pv 213s ==== after ==== 213s 7 0 1024000 loop0 213s 259 1 1021951 loop0p1 213s resize2fs 1.47.2 (1-Jan-2025) 213s Filesystem at /dev/loop0p1 is mounted on /tmp/test-growpart.kKRZEW/mp; on-line resizing required 213s old_desc_blocks = 1, new_desc_blocks = 1 213s The filesystem on /dev/loop0p1 is now 255487 (4k) blocks long. 213s 213s == df == 213s Filesystem Size Used Avail Use% Mounted on 213s /dev/loop0p1 919M 152K 864M 1% /tmp/test-growpart.kKRZEW/mp 213s unmount /tmp/test-growpart.kKRZEW/mp 213s losetup -d /dev/loop0 213s 213s 213s -- PT_TYPE=dos GROWPART_RESIZER=auto -- 213s Partitioning dos orig_size=500M grow_size=1000M. 213s growpart is /usr/bin/growpart 213s set up /dev/loop0 213s mounting to /tmp/test-growpart.Ah44E6/mp 213s ==== before ==== 213s 7 0 1024000 loop0 213s 259 1 510976 loop0p1 213s Disk /dev/loop0: 1000 MiB, 1048576000 bytes, 2048000 sectors 213s Units: sectors of 1 * 512 = 512 bytes 213s Sector size (logical/physical): 512 bytes / 512 bytes 213s I/O size (minimum/optimal): 512 bytes / 512 bytes 213s Disklabel type: dos 213s Disk identifier: 0xb1395840 213s 213s Device Boot Start End Sectors Size Id Type 213s /dev/loop0p1 2048 1023999 1021952 499M 83 Linux 213s CHANGED: partition=1 start=2048 old: size=1021952 end=1023999 new: size=2045919 end=2047966 214s === growpart stderr === 214s update-partition set to true 214s FLOCK: try exec open fd 9, on failure exec exits this program 214s running[flock][] flock -x 9 214s FLOCK: /dev/loop0: obtained exclusive lock 214s resizing 1 on /dev/loop0 using resize_sfdisk_dos 214s running[sfd_list][erronly] sfdisk --list --unit=S /dev/loop0 214s 2048000 sectors of 512. total size=1048576000 bytes 214s running[sfd_dump][erronly] sfdisk --unit=S --dump /dev/loop0 214s ## sfdisk --unit=S --dump /dev/loop0 214s label: dos 214s label-id: 0xb1395840 214s device: /dev/loop0 214s unit: sectors 214s sector-size: 512 214s 214s /dev/loop0p1 : start= 2048, size= 1021952, type=83 214s padding 33 sectors for gpt secondary header 214s max_end=2047966 tot=2048000 pt_end=1023999 pt_start=2048 pt_size=1021952 214s resize of /dev/loop0 returned 0. 214s running[pt_update][] pt_update /dev/loop0 1 214s FLOCK: /dev/loop0: releasing exclusive lock 214s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 214s /dev/loop0p1 is not an lvm pv 214s ==== after ==== 214s 7 0 1024000 loop0 214s 259 1 1022959 loop0p1 214s resize2fs 1.47.2 (1-Jan-2025) 214s Filesystem at /dev/loop0p1 is mounted on /tmp/test-growpart.Ah44E6/mp; on-line resizing required 214s old_desc_blocks = 1, new_desc_blocks = 1 214s The filesystem on /dev/loop0p1 is now 255739 (4k) blocks long. 214s 214s == df == 214s Filesystem Size Used Avail Use% Mounted on 214s /dev/loop0p1 920M 152K 865M 1% /tmp/test-growpart.Ah44E6/mp 214s unmount /tmp/test-growpart.Ah44E6/mp 214s losetup -d /dev/loop0 214s 214s 214s -- PT_TYPE=dos GROWPART_RESIZER=sfdisk -- 214s Partitioning dos orig_size=500M grow_size=1000M. 214s growpart is /usr/bin/growpart 214s set up /dev/loop0 214s mounting to /tmp/test-growpart.BxdvHO/mp 214s ==== before ==== 214s 7 0 1024000 loop0 214s 259 0 510976 loop0p1 214s Disk /dev/loop0: 1000 MiB, 1048576000 bytes, 2048000 sectors 214s Units: sectors of 1 * 512 = 512 bytes 214s Sector size (logical/physical): 512 bytes / 512 bytes 214s I/O size (minimum/optimal): 512 bytes / 512 bytes 214s Disklabel type: dos 214s Disk identifier: 0x2dad538f 214s 214s Device Boot Start End Sectors Size Id Type 214s /dev/loop0p1 2048 1023999 1021952 499M 83 Linux 214s CHANGED: partition=1 start=2048 old: size=1021952 end=1023999 new: size=2045919 end=2047966 214s === growpart stderr === 214s update-partition set to true 214s FLOCK: try exec open fd 9, on failure exec exits this program 214s running[flock][] flock -x 9 214s FLOCK: /dev/loop0: obtained exclusive lock 214s resizing 1 on /dev/loop0 using resize_sfdisk_dos 214s running[sfd_list][erronly] sfdisk --list --unit=S /dev/loop0 214s 2048000 sectors of 512. total size=1048576000 bytes 214s running[sfd_dump][erronly] sfdisk --unit=S --dump /dev/loop0 214s ## sfdisk --unit=S --dump /dev/loop0 214s label: dos 214s label-id: 0x2dad538f 214s device: /dev/loop0 214s unit: sectors 214s sector-size: 512 214s 214s /dev/loop0p1 : start= 2048, size= 1021952, type=83 214s padding 33 sectors for gpt secondary header 214s max_end=2047966 tot=2048000 pt_end=1023999 pt_start=2048 pt_size=1021952 214s resize of /dev/loop0 returned 0. 214s running[pt_update][] pt_update /dev/loop0 1 214s FLOCK: /dev/loop0: releasing exclusive lock 214s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 214s /dev/loop0p1 is not an lvm pv 214s ==== after ==== 214s 7 0 1024000 loop0 214s 259 0 1022959 loop0p1 214s resize2fs 1.47.2 (1-Jan-2025) 214s Filesystem at /dev/loop0p1 is mounted on /tmp/test-growpart.BxdvHO/mp; on-line resizing required 214s old_desc_blocks = 1, new_desc_blocks = 1 214s The filesystem on /dev/loop0p1 is now 255739 (4k) blocks long. 214s 214s == df == 214s Filesystem Size Used Avail Use% Mounted on 214s /dev/loop0p1 920M 152K 865M 1% /tmp/test-growpart.BxdvHO/mp 214s unmount /tmp/test-growpart.BxdvHO/mp 214s losetup -d /dev/loop0 214s 214s 214s -- PT_TYPE=dos GROWPART_RESIZER=sgdisk -- 214s Skipping resize test for dos/sgdisk. not supported. 215s autopkgtest [00:26:19]: test growpart-loop: -----------------------] 215s autopkgtest [00:26:19]: test growpart-loop: - - - - - - - - - - results - - - - - - - - - - 215s growpart-loop PASS 216s autopkgtest [00:26:20]: test growpart-lvm: preparing testbed 216s Reading package lists... 216s Building dependency tree... 216s Reading state information... 216s Starting pkgProblemResolver with broken count: 0 216s Starting 2 pkgProblemResolver with broken count: 0 216s Done 217s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 218s autopkgtest [00:26:22]: test growpart-lvm: [----------------------- 218s -- PT_TYPE=gpt GROWPART_RESIZER=auto -- 218s Partitioning gpt orig_size=500M grow_size=1000M. 218s growpart is /usr/bin/growpart 218s set up /dev/loop0 218s Physical volume "/dev/loop0p1" successfully created. 218s Volume group "testvg-7782" successfully created 218s ==== before ==== 219s === size=496. 219s --- Volume group --- 219s VG Name testvg-7782 219s System ID 219s Format lvm2 219s Metadata Areas 1 219s Metadata Sequence No 1 219s VG Access read/write 219s VG Status resizable 219s MAX LV 0 219s Cur LV 0 219s Open LV 0 219s Max PV 0 219s Cur PV 1 219s Act PV 1 219s VG Size 496.00 MiB 219s PE Size 4.00 MiB 219s Total PE 124 219s Alloc PE / Size 0 / 0 219s Free PE / Size 124 / 496.00 MiB 219s VG UUID kGaBU3-kZDy-vujT-RaLx-QAcS-Gi7U-h7bE2O 219s 219s update-partition set to true 219s FLOCK: try exec open fd 9, on failure exec exits this program 219s running[flock][] flock -x 9 219s FLOCK: /dev/loop0: obtained exclusive lock 219s resizing 1 on /dev/loop0 using resize_sfdisk_gpt 219s running[sfd_list][erronly] sfdisk --list --unit=S /dev/loop0 219s 2048000 sectors of 512. total size=1048576000 bytes 219s running[sfd_dump][erronly] sfdisk --unit=S --dump /dev/loop0 219s ## sfdisk --unit=S --dump /dev/loop0 219s label: gpt 219s label-id: 4490BB04-5908-4B81-8128-95576174B7FF 219s device: /dev/loop0 219s unit: sectors 219s first-lba: 2048 219s last-lba: 1023966 219s sector-size: 512 219s 219s /dev/loop0p1 : start= 2048, size= 1019904, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=D8144BD9-777A-4105-9D19-6150D2D28F9D 219s padding 33 sectors for gpt secondary header 219s max_end=2047966 tot=2048000 pt_end=1021951 pt_start=2048 pt_size=1019904 219s resize of /dev/loop0 returned 0. 219s running[pt_update][] pt_update /dev/loop0 1 219s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2045919 end=2047966 219s FLOCK: /dev/loop0: releasing exclusive lock 219s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 219s running[lvm_resize][] lvm pvresize /dev/loop0p1 219s ==== after ==== 219s --- Volume group --- 219s VG Name testvg-7782 219s System ID 219s Format lvm2 219s Metadata Areas 1 219s Metadata Sequence No 2 219s VG Access read/write 219s VG Status resizable 219s MAX LV 0 219s Cur LV 0 219s Open LV 0 219s Max PV 0 219s Cur PV 1 219s Act PV 1 219s VG Size 996.00 MiB 219s PE Size 4.00 MiB 219s Total PE 249 219s Alloc PE / Size 0 / 0 219s Free PE / Size 249 / 996.00 MiB 219s VG UUID kGaBU3-kZDy-vujT-RaLx-QAcS-Gi7U-h7bE2O 219s 219s === size=996. 219s size before=496 after=996 219s PASS - grew 500MiB 219s removing vg testvg-7782 219s removing pv /dev/loop0p1 219s losetup -d /dev/loop0 219s 219s 219s -- PT_TYPE=gpt GROWPART_RESIZER=sfdisk -- 219s Partitioning gpt orig_size=500M grow_size=1000M. 219s growpart is /usr/bin/growpart 219s set up /dev/loop0 219s Physical volume "/dev/loop0p1" successfully created. 219s Volume group "testvg-7871" successfully created 219s ==== before ==== 220s === size=496. 220s --- Volume group --- 220s VG Name testvg-7871 220s System ID 220s Format lvm2 220s Metadata Areas 1 220s Metadata Sequence No 1 220s VG Access read/write 220s VG Status resizable 220s MAX LV 0 220s Cur LV 0 220s Open LV 0 220s Max PV 0 220s Cur PV 1 220s Act PV 1 220s VG Size 496.00 MiB 220s PE Size 4.00 MiB 220s Total PE 124 220s Alloc PE / Size 0 / 0 220s Free PE / Size 124 / 496.00 MiB 220s VG UUID BiB70L-CALZ-M1NR-T2mA-a0Gl-PjMn-bCkxh4 220s 220s update-partition set to true 220s FLOCK: try exec open fd 9, on failure exec exits this program 220s running[flock][] flock -x 9 220s FLOCK: /dev/loop0: obtained exclusive lock 220s resizing 1 on /dev/loop0 using resize_sfdisk_gpt 220s running[sfd_list][erronly] sfdisk --list --unit=S /dev/loop0 220s 2048000 sectors of 512. total size=1048576000 bytes 220s running[sfd_dump][erronly] sfdisk --unit=S --dump /dev/loop0 220s ## sfdisk --unit=S --dump /dev/loop0 220s label: gpt 220s label-id: 38EA88F6-8713-488A-A547-2EA72F2DA1CA 220s device: /dev/loop0 220s unit: sectors 220s first-lba: 2048 220s last-lba: 1023966 220s sector-size: 512 220s 220s /dev/loop0p1 : start= 2048, size= 1019904, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=4B7D61F6-09B7-4D24-B0EB-268D60FE3506 220s padding 33 sectors for gpt secondary header 220s max_end=2047966 tot=2048000 pt_end=1021951 pt_start=2048 pt_size=1019904 220s resize of /dev/loop0 returned 0. 220s running[pt_update][] pt_update /dev/loop0 1 220s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2045919 end=2047966 220s FLOCK: /dev/loop0: releasing exclusive lock 220s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 220s running[lvm_resize][] lvm pvresize /dev/loop0p1 220s ==== after ==== 220s --- Volume group --- 220s VG Name testvg-7871 220s System ID 220s Format lvm2 220s Metadata Areas 1 220s Metadata Sequence No 2 220s VG Access read/write 220s VG Status resizable 220s MAX LV 0 220s Cur LV 0 220s Open LV 0 220s Max PV 0 220s Cur PV 1 220s Act PV 1 220s VG Size 996.00 MiB 220s PE Size 4.00 MiB 220s Total PE 249 220s Alloc PE / Size 0 / 0 220s Free PE / Size 249 / 996.00 MiB 220s VG UUID BiB70L-CALZ-M1NR-T2mA-a0Gl-PjMn-bCkxh4 220s 220s === size=996. 220s size before=496 after=996 220s PASS - grew 500MiB 220s removing vg testvg-7871 220s removing pv /dev/loop0p1 220s losetup -d /dev/loop0 220s 220s 220s -- PT_TYPE=gpt GROWPART_RESIZER=sgdisk -- 220s Partitioning gpt orig_size=500M grow_size=1000M. 220s growpart is /usr/bin/growpart 220s set up /dev/loop0 220s Physical volume "/dev/loop0p1" successfully created. 221s Volume group "testvg-7969" successfully created 221s ==== before ==== 221s === size=496. 221s --- Volume group --- 221s VG Name testvg-7969 221s System ID 221s Format lvm2 221s Metadata Areas 1 221s Metadata Sequence No 1 221s VG Access read/write 221s VG Status resizable 221s MAX LV 0 221s Cur LV 0 221s Open LV 0 221s Max PV 0 221s Cur PV 1 221s Act PV 1 221s VG Size 496.00 MiB 221s PE Size 4.00 MiB 221s Total PE 124 221s Alloc PE / Size 0 / 0 221s Free PE / Size 124 / 496.00 MiB 221s VG UUID 0cE9mD-0Qw4-Aq2X-FT5L-umak-J3Xx-HHlwJg 221s 221s update-partition set to true 221s FLOCK: try exec open fd 9, on failure exec exits this program 221s running[flock][] flock -x 9 221s FLOCK: /dev/loop0: obtained exclusive lock 221s resizing 1 on /dev/loop0 using resize_sgdisk_gpt 221s running[sgd_info][erronly] sgdisk --info=1 --print /dev/loop0 221s disk=/dev/loop0 partition=1: original sgdisk info: 221s Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) 221s Partition unique GUID: 559C87ED-8838-446B-8C4C-40C13B43E327 221s First sector: 2048 (at 1024.0 KiB) 221s Last sector: 1021951 (at 499.0 MiB) 221s Partition size: 1019904 sectors (498.0 MiB) 221s Attribute flags: 0000000000000000 221s Partition name: '' 221s Disk /dev/loop0: 2048000 sectors, 1000.0 MiB 221s Sector size (logical/physical): 512/512 bytes 221s Disk identifier (GUID): 975B2C3E-7E97-4B6E-A1BC-EB41857F4F97 221s Partition table holds up to 128 entries 221s Main partition table begins at sector 2 and ends at sector 33 221s First usable sector is 2048, last usable sector is 1023966 221s Partitions will be aligned on 2048-sector boundaries 221s Total free space is 2015 sectors (1007.5 KiB) 221s 221s Number Start (sector) End (sector) Size Code Name 221s 1 2048 1021951 498.0 MiB 8300 221s running[sgd_pretend][erronly] sgdisk --pretend --move-second-header --print /dev/loop0 221s disk=/dev/loop0 partition=1: pretend sgdisk info 221s Disk /dev/loop0: 2048000 sectors, 1000.0 MiB 221s Sector size (logical/physical): 512/512 bytes 221s Disk identifier (GUID): 975B2C3E-7E97-4B6E-A1BC-EB41857F4F97 221s Partition table holds up to 128 entries 221s Main partition table begins at sector 2 and ends at sector 33 221s First usable sector is 2048, last usable sector is 2045952 221s Partitions will be aligned on 2048-sector boundaries 221s Total free space is 1024001 sectors (500.0 MiB) 221s 221s Number Start (sector) End (sector) Size Code Name 221s 1 2048 1021951 498.0 MiB 8300 221s disk=/dev/loop0 partition=1: pt_start=2048 pt_end=1021951 pt_size=1019904 pt_max=2045951 last=2045952 221s disk=/dev/loop0 partition=1: code=0FC63DAF-8483-4772-8E79-3D69D8477DE4 guid=559C87ED-8838-446B-8C4C-40C13B43E327 name='' 221s running[sgd_backup][] sgdisk --backup=/tmp/growpart.rwiOlo/pt.backup /dev/loop0 221s running[sgdisk_mod][] sgdisk --move-second-header --delete=1 --new=1:2048:2045950 --typecode=1:0FC63DAF-8483-4772-8E79-3D69D8477DE4 --partition-guid=1:559C87ED-8838-446B-8C4C-40C13B43E327 --change-name=1: /dev/loop0 222s running[pt_update][] pt_update /dev/loop0 1 222s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2043904 end=2045951 222s FLOCK: /dev/loop0: releasing exclusive lock 222s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 222s running[lvm_resize][] lvm pvresize /dev/loop0p1 222s ==== after ==== 222s --- Volume group --- 222s VG Name testvg-7969 222s System ID 222s Format lvm2 222s Metadata Areas 1 222s Metadata Sequence No 2 222s VG Access read/write 222s VG Status resizable 222s MAX LV 0 222s Cur LV 0 222s Open LV 0 222s Max PV 0 222s Cur PV 1 222s Act PV 1 222s VG Size 996.00 MiB 222s PE Size 4.00 MiB 222s Total PE 249 222s Alloc PE / Size 0 / 0 222s Free PE / Size 249 / 996.00 MiB 222s VG UUID 0cE9mD-0Qw4-Aq2X-FT5L-umak-J3Xx-HHlwJg 222s 222s === size=996. 222s size before=496 after=996 222s PASS - grew 500MiB 222s removing vg testvg-7969 222s removing pv /dev/loop0p1 222s losetup -d /dev/loop0 222s 222s 222s -- PT_TYPE=dos GROWPART_RESIZER=auto -- 222s Partitioning dos orig_size=500M grow_size=1000M. 222s growpart is /usr/bin/growpart 222s set up /dev/loop0 222s Physical volume "/dev/loop0p1" successfully created. 222s Volume group "testvg-8071" successfully created 222s ==== before ==== 222s === size=496. 222s --- Volume group --- 222s VG Name testvg-8071 222s System ID 222s Format lvm2 222s Metadata Areas 1 222s Metadata Sequence No 1 222s VG Access read/write 222s VG Status resizable 222s MAX LV 0 222s Cur LV 0 222s Open LV 0 222s Max PV 0 222s Cur PV 1 222s Act PV 1 222s VG Size 496.00 MiB 222s PE Size 4.00 MiB 222s Total PE 124 222s Alloc PE / Size 0 / 0 222s Free PE / Size 124 / 496.00 MiB 222s VG UUID GdS5NK-GURe-kW8Y-Ti1Q-WTYM-pSsR-2twxDw 222s 222s update-partition set to true 222s FLOCK: try exec open fd 9, on failure exec exits this program 222s running[flock][] flock -x 9 222s FLOCK: /dev/loop0: obtained exclusive lock 222s resizing 1 on /dev/loop0 using resize_sfdisk_dos 222s running[sfd_list][erronly] sfdisk --list --unit=S /dev/loop0 222s 2048000 sectors of 512. total size=1048576000 bytes 222s running[sfd_dump][erronly] sfdisk --unit=S --dump /dev/loop0 222s ## sfdisk --unit=S --dump /dev/loop0 222s label: dos 222s label-id: 0x5a58730f 222s device: /dev/loop0 222s unit: sectors 222s sector-size: 512 222s 222s /dev/loop0p1 : start= 2048, size= 1021952, type=83 222s padding 33 sectors for gpt secondary header 222s max_end=2047966 tot=2048000 pt_end=1023999 pt_start=2048 pt_size=1021952 223s resize of /dev/loop0 returned 0. 223s running[pt_update][] pt_update /dev/loop0 1 223s CHANGED: partition=1 start=2048 old: size=1021952 end=1023999 new: size=2045919 end=2047966 223s FLOCK: /dev/loop0: releasing exclusive lock 223s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 223s running[lvm_resize][] lvm pvresize /dev/loop0p1 223s ==== after ==== 223s --- Volume group --- 223s VG Name testvg-8071 223s System ID 223s Format lvm2 223s Metadata Areas 1 223s Metadata Sequence No 2 223s VG Access read/write 223s VG Status resizable 223s MAX LV 0 223s Cur LV 0 223s Open LV 0 223s Max PV 0 223s Cur PV 1 223s Act PV 1 223s VG Size 996.00 MiB 223s PE Size 4.00 MiB 223s Total PE 249 223s Alloc PE / Size 0 / 0 223s Free PE / Size 249 / 996.00 MiB 223s VG UUID GdS5NK-GURe-kW8Y-Ti1Q-WTYM-pSsR-2twxDw 223s 223s === size=996. 223s size before=496 after=996 223s PASS - grew 500MiB 223s removing vg testvg-8071 223s removing pv /dev/loop0p1 223s losetup -d /dev/loop0 223s 223s 223s -- PT_TYPE=dos GROWPART_RESIZER=sfdisk -- 223s Partitioning dos orig_size=500M grow_size=1000M. 223s growpart is /usr/bin/growpart 223s set up /dev/loop0 223s Physical volume "/dev/loop0p1" successfully created. 223s Volume group "testvg-8169" successfully created 223s ==== before ==== 223s === size=496. 223s --- Volume group --- 223s VG Name testvg-8169 223s System ID 223s Format lvm2 223s Metadata Areas 1 223s Metadata Sequence No 1 223s VG Access read/write 223s VG Status resizable 223s MAX LV 0 223s Cur LV 0 223s Open LV 0 223s Max PV 0 223s Cur PV 1 223s Act PV 1 223s VG Size 496.00 MiB 223s PE Size 4.00 MiB 223s Total PE 124 223s Alloc PE / Size 0 / 0 223s Free PE / Size 124 / 496.00 MiB 223s VG UUID k44f3N-hmmn-0Q2t-lbaI-VmKY-6eWz-S8t8vq 223s 223s update-partition set to true 223s FLOCK: try exec open fd 9, on failure exec exits this program 223s running[flock][] flock -x 9 223s FLOCK: /dev/loop0: obtained exclusive lock 223s resizing 1 on /dev/loop0 using resize_sfdisk_dos 223s running[sfd_list][erronly] sfdisk --list --unit=S /dev/loop0 223s 2048000 sectors of 512. total size=1048576000 bytes 223s running[sfd_dump][erronly] sfdisk --unit=S --dump /dev/loop0 223s ## sfdisk --unit=S --dump /dev/loop0 223s label: dos 223s label-id: 0x27c9ea5d 223s device: /dev/loop0 223s unit: sectors 223s sector-size: 512 223s 223s /dev/loop0p1 : start= 2048, size= 1021952, type=83 223s padding 33 sectors for gpt secondary header 223s max_end=2047966 tot=2048000 pt_end=1023999 pt_start=2048 pt_size=1021952 224s resize of /dev/loop0 returned 0. 224s running[pt_update][] pt_update /dev/loop0 1 224s CHANGED: partition=1 start=2048 old: size=1021952 end=1023999 new: size=2045919 end=2047966 224s FLOCK: /dev/loop0: releasing exclusive lock 224s executing: lvm pvs --nolocking --readonly -o pvname /dev/loop0p1 224s running[lvm_resize][] lvm pvresize /dev/loop0p1 224s ==== after ==== 224s --- Volume group --- 224s VG Name testvg-8169 224s System ID 224s Format lvm2 224s Metadata Areas 1 224s Metadata Sequence No 2 224s VG Access read/write 224s VG Status resizable 224s MAX LV 0 224s Cur LV 0 224s Open LV 0 224s Max PV 0 224s Cur PV 1 224s Act PV 1 224s VG Size 996.00 MiB 224s PE Size 4.00 MiB 224s Total PE 249 224s Alloc PE / Size 0 / 0 224s Free PE / Size 249 / 996.00 MiB 224s VG UUID k44f3N-hmmn-0Q2t-lbaI-VmKY-6eWz-S8t8vq 224s 224s === size=996. 224s size before=496 after=996 224s PASS - grew 500MiB 224s removing vg testvg-8169 224s removing pv /dev/loop0p1 224s losetup -d /dev/loop0 224s 224s 224s -- PT_TYPE=dos GROWPART_RESIZER=sgdisk -- 224s Skipping resize test for dos/sgdisk. not supported. 224s autopkgtest [00:26:28]: test growpart-lvm: -----------------------] 225s growpart-lvm PASS 225s autopkgtest [00:26:29]: test growpart-lvm: - - - - - - - - - - results - - - - - - - - - - 225s autopkgtest [00:26:29]: test growpart-fsimage: preparing testbed 332s autopkgtest [00:28:16]: testbed dpkg architecture: arm64 333s autopkgtest [00:28:17]: testbed apt version: 2.9.18 333s autopkgtest [00:28:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 333s autopkgtest [00:28:17]: testbed release detected to be: plucky 334s autopkgtest [00:28:18]: updating testbed package index (apt update) 335s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 335s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 335s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 335s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 335s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [123 kB] 335s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [795 kB] 335s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [18.0 kB] 335s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 335s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [227 kB] 335s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 335s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [958 kB] 335s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [23.0 kB] 335s Fetched 2285 kB in 1s (2400 kB/s) 336s Reading package lists... 337s Reading package lists... 338s Building dependency tree... 338s Reading state information... 339s Calculating upgrade... 340s The following packages will be upgraded: 340s nano 341s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 341s Need to get 289 kB of archives. 341s After this operation, 0 B of additional disk space will be used. 341s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 nano arm64 8.3-1 [289 kB] 341s Fetched 289 kB in 0s (664 kB/s) 342s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 342s Preparing to unpack .../archives/nano_8.3-1_arm64.deb ... 342s Unpacking nano (8.3-1) over (8.2-1) ... 342s Setting up nano (8.3-1) ... 342s Installing new version of config file /etc/nanorc ... 342s Processing triggers for man-db (2.13.0-1) ... 343s Processing triggers for install-info (7.1.1-1) ... 343s Reading package lists... 344s Building dependency tree... 344s Reading state information... 344s 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 344s autopkgtest [00:28:28]: upgrading testbed (apt dist-upgrade and autopurge) 345s Reading package lists... 345s Building dependency tree... 345s Reading state information... 347s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 347s Starting 2 pkgProblemResolver with broken count: 0 347s Done 348s Entering ResolveByKeep 349s 349s The following packages will be upgraded: 349s e2fsprogs e2fsprogs-l10n libcom-err2 libext2fs2t64 libss2 logsave 349s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 349s Need to get 916 kB of archives. 349s After this operation, 22.5 kB of additional disk space will be used. 349s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 logsave arm64 1.47.2-1ubuntu1 [26.2 kB] 350s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 350s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libext2fs2t64 arm64 1.47.2-1ubuntu1 [231 kB] 350s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 e2fsprogs arm64 1.47.2-1ubuntu1 [608 kB] 350s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libcom-err2 arm64 1.47.2-1ubuntu1 [26.4 kB] 350s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libss2 arm64 1.47.2-1ubuntu1 [17.6 kB] 351s Fetched 916 kB in 1s (1659 kB/s) 351s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 351s Preparing to unpack .../logsave_1.47.2-1ubuntu1_arm64.deb ... 351s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 351s Preparing to unpack .../e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 351s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 351s Preparing to unpack .../libext2fs2t64_1.47.2-1ubuntu1_arm64.deb ... 351s Leaving 'diversion of /lib/aarch64-linux-gnu/libe2p.so.2 to /lib/aarch64-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' 351s Leaving 'diversion of /lib/aarch64-linux-gnu/libe2p.so.2.3 to /lib/aarch64-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 351s Leaving 'diversion of /lib/aarch64-linux-gnu/libext2fs.so.2 to /lib/aarch64-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' 351s Leaving 'diversion of /lib/aarch64-linux-gnu/libext2fs.so.2.4 to /lib/aarch64-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 351s Unpacking libext2fs2t64:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 351s Setting up libext2fs2t64:arm64 (1.47.2-1ubuntu1) ... 351s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 351s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_arm64.deb ... 351s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 351s Preparing to unpack .../libcom-err2_1.47.2-1ubuntu1_arm64.deb ... 351s Unpacking libcom-err2:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 351s Preparing to unpack .../libss2_1.47.2-1ubuntu1_arm64.deb ... 351s Unpacking libss2:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 351s Setting up libcom-err2:arm64 (1.47.2-1ubuntu1) ... 351s Setting up libss2:arm64 (1.47.2-1ubuntu1) ... 351s Setting up logsave (1.47.2-1ubuntu1) ... 351s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 351s update-initramfs: deferring update (trigger activated) 352s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 352s Processing triggers for man-db (2.13.0-1) ... 353s Processing triggers for libc-bin (2.40-4ubuntu1) ... 353s Processing triggers for initramfs-tools (0.142ubuntu35) ... 353s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 353s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 376s System running in EFI mode, skipping. 377s Reading package lists... 377s Building dependency tree... 377s Reading state information... 377s Starting pkgProblemResolver with broken count: 0 378s Starting 2 pkgProblemResolver with broken count: 0 378s Done 379s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 379s autopkgtest [00:29:03]: rebooting testbed after setup commands that affected boot 401s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 411s Reading package lists... 412s Building dependency tree... 412s Reading state information... 412s Starting pkgProblemResolver with broken count: 0 412s Starting 2 pkgProblemResolver with broken count: 0 412s Done 413s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 415s autopkgtest [00:29:39]: test growpart-fsimage: [----------------------- 415s -- PT_TYPE=gpt GROWPART_RESIZER=auto -- 415s ==== before ==== 415s GPT PMBR size mismatch (1023999 != 2047999) will be corrected by write. 415s The backup GPT table is not on the end of the device. 415s Disk /tmp/test-growpart-fsimage.CnxW0T/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 415s Units: sectors of 1 * 512 = 512 bytes 415s Sector size (logical/physical): 512 bytes / 512 bytes 415s I/O size (minimum/optimal): 512 bytes / 512 bytes 415s Disklabel type: gpt 415s Disk identifier: 747E3777-B148-436A-A67C-0F8DAF1BCA61 415s 415s Device Start End Sectors Size Type 415s /tmp/test-growpart-fsimage.CnxW0T/disk.img1 2048 1021951 1019904 498M Linux filesystem 415s ==== growpart-stderr === 415s update-partition set to true 415s resizing 1 on /tmp/test-growpart-fsimage.CnxW0T/disk.img using resize_sfdisk_gpt 415s running[sfd_list][erronly] sfdisk --list --unit=S /tmp/test-growpart-fsimage.CnxW0T/disk.img 415s 2048000 sectors of 512. total size=1048576000 bytes 415s running[sfd_dump][erronly] sfdisk --unit=S --dump /tmp/test-growpart-fsimage.CnxW0T/disk.img 415s ## sfdisk --unit=S --dump /tmp/test-growpart-fsimage.CnxW0T/disk.img 415s label: gpt 415s label-id: 747E3777-B148-436A-A67C-0F8DAF1BCA61 415s device: /tmp/test-growpart-fsimage.CnxW0T/disk.img 415s unit: sectors 415s first-lba: 2048 415s last-lba: 1023966 415s sector-size: 512 415s 415s /tmp/test-growpart-fsimage.CnxW0T/disk.img1 : start= 2048, size= 1019904, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=CD39AC4E-DFC9-4B20-9BBF-816621BB56DC 415s padding 33 sectors for gpt secondary header 415s max_end=2047966 tot=2048000 pt_end=1021951 pt_start=2048 pt_size=1019904 415s resize of /tmp/test-growpart-fsimage.CnxW0T/disk.img returned 0. 415s running[pt_update][] pt_update /tmp/test-growpart-fsimage.CnxW0T/disk.img 1 415s No lvm command, cannot attempt lvm resize of disk '/tmp/test-growpart-fsimage.CnxW0T/disk.img' part '1' 415s ==== growpart-stdout ==== 415s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2045919 end=2047966 415s ==== after ==== 415s Disk /tmp/test-growpart-fsimage.CnxW0T/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 415s Units: sectors of 1 * 512 = 512 bytes 415s Sector size (logical/physical): 512 bytes / 512 bytes 415s I/O size (minimum/optimal): 512 bytes / 512 bytes 415s Disklabel type: gpt 415s Disk identifier: 747E3777-B148-436A-A67C-0F8DAF1BCA61 415s 415s Device Start End Sectors Size Type 415s /tmp/test-growpart-fsimage.CnxW0T/disk.img1 2048 2047966 2045919 999M Linux filesystem 415s 415s 415s -- PT_TYPE=gpt GROWPART_RESIZER=sfdisk -- 416s ==== before ==== 416s GPT PMBR size mismatch (1023999 != 2047999) will be corrected by write. 416s The backup GPT table is not on the end of the device. 416s Disk /tmp/test-growpart-fsimage.5PSAlW/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 416s Units: sectors of 1 * 512 = 512 bytes 416s Sector size (logical/physical): 512 bytes / 512 bytes 416s I/O size (minimum/optimal): 512 bytes / 512 bytes 416s Disklabel type: gpt 416s Disk identifier: EEDA4721-8B51-4A56-BED7-E45723FEE4A9 416s 416s Device Start End Sectors Size Type 416s /tmp/test-growpart-fsimage.5PSAlW/disk.img1 2048 1021951 1019904 498M Linux filesystem 416s ==== growpart-stderr === 416s update-partition set to true 416s resizing 1 on /tmp/test-growpart-fsimage.5PSAlW/disk.img using resize_sfdisk_gpt 416s running[sfd_list][erronly] sfdisk --list --unit=S /tmp/test-growpart-fsimage.5PSAlW/disk.img 416s 2048000 sectors of 512. total size=1048576000 bytes 416s running[sfd_dump][erronly] sfdisk --unit=S --dump /tmp/test-growpart-fsimage.5PSAlW/disk.img 416s ## sfdisk --unit=S --dump /tmp/test-growpart-fsimage.5PSAlW/disk.img 416s label: gpt 416s label-id: EEDA4721-8B51-4A56-BED7-E45723FEE4A9 416s device: /tmp/test-growpart-fsimage.5PSAlW/disk.img 416s unit: sectors 416s first-lba: 2048 416s last-lba: 1023966 416s sector-size: 512 416s 416s /tmp/test-growpart-fsimage.5PSAlW/disk.img1 : start= 2048, size= 1019904, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=35E90366-4C53-47E1-8921-343AF7764F22 416s padding 33 sectors for gpt secondary header 416s max_end=2047966 tot=2048000 pt_end=1021951 pt_start=2048 pt_size=1019904 416s resize of /tmp/test-growpart-fsimage.5PSAlW/disk.img returned 0. 416s running[pt_update][] pt_update /tmp/test-growpart-fsimage.5PSAlW/disk.img 1 416s No lvm command, cannot attempt lvm resize of disk '/tmp/test-growpart-fsimage.5PSAlW/disk.img' part '1' 416s ==== growpart-stdout ==== 416s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2045919 end=2047966 416s ==== after ==== 416s Disk /tmp/test-growpart-fsimage.5PSAlW/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 416s Units: sectors of 1 * 512 = 512 bytes 416s Sector size (logical/physical): 512 bytes / 512 bytes 416s I/O size (minimum/optimal): 512 bytes / 512 bytes 416s Disklabel type: gpt 416s Disk identifier: EEDA4721-8B51-4A56-BED7-E45723FEE4A9 416s 416s Device Start End Sectors Size Type 416s /tmp/test-growpart-fsimage.5PSAlW/disk.img1 2048 2047966 2045919 999M Linux filesystem 416s 416s 416s -- PT_TYPE=gpt GROWPART_RESIZER=sgdisk -- 416s ==== before ==== 416s GPT PMBR size mismatch (1023999 != 2047999) will be corrected by write. 416s The backup GPT table is not on the end of the device. 416s Disk /tmp/test-growpart-fsimage.CjVJxh/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 416s Units: sectors of 1 * 512 = 512 bytes 416s Sector size (logical/physical): 512 bytes / 512 bytes 416s I/O size (minimum/optimal): 512 bytes / 512 bytes 416s Disklabel type: gpt 416s Disk identifier: BBE10092-2E90-470D-B7FF-347AC2C06FAD 416s 416s Device Start End Sectors Size Type 416s /tmp/test-growpart-fsimage.CjVJxh/disk.img1 2048 1021951 1019904 498M Linux filesystem 418s ==== growpart-stderr === 418s update-partition set to true 418s resizing 1 on /tmp/test-growpart-fsimage.CjVJxh/disk.img using resize_sgdisk_gpt 418s running[sgd_info][erronly] sgdisk --info=1 --print /tmp/test-growpart-fsimage.CjVJxh/disk.img 418s disk=/tmp/test-growpart-fsimage.CjVJxh/disk.img partition=1: original sgdisk info: 418s Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) 418s Partition unique GUID: DD99AB6B-B604-40BC-807E-5E6149FA592B 418s First sector: 2048 (at 1024.0 KiB) 418s Last sector: 1021951 (at 499.0 MiB) 418s Partition size: 1019904 sectors (498.0 MiB) 418s Attribute flags: 0000000000000000 418s Partition name: '' 418s Disk /tmp/test-growpart-fsimage.CjVJxh/disk.img: 2048000 sectors, 1000.0 MiB 418s Sector size (logical): 512 bytes 418s Disk identifier (GUID): BBE10092-2E90-470D-B7FF-347AC2C06FAD 418s Partition table holds up to 128 entries 418s Main partition table begins at sector 2 and ends at sector 33 418s First usable sector is 2048, last usable sector is 1023966 418s Partitions will be aligned on 2048-sector boundaries 418s Total free space is 2015 sectors (1007.5 KiB) 418s 418s Number Start (sector) End (sector) Size Code Name 418s 1 2048 1021951 498.0 MiB 8300 418s running[sgd_pretend][erronly] sgdisk --pretend --move-second-header --print /tmp/test-growpart-fsimage.CjVJxh/disk.img 418s disk=/tmp/test-growpart-fsimage.CjVJxh/disk.img partition=1: pretend sgdisk info 418s Disk /tmp/test-growpart-fsimage.CjVJxh/disk.img: 2048000 sectors, 1000.0 MiB 418s Sector size (logical): 512 bytes 418s Disk identifier (GUID): BBE10092-2E90-470D-B7FF-347AC2C06FAD 418s Partition table holds up to 128 entries 418s Main partition table begins at sector 2 and ends at sector 33 418s First usable sector is 2048, last usable sector is 2045952 418s Partitions will be aligned on 2048-sector boundaries 418s Total free space is 1024001 sectors (500.0 MiB) 418s 418s Number Start (sector) End (sector) Size Code Name 418s 1 2048 1021951 498.0 MiB 8300 418s disk=/tmp/test-growpart-fsimage.CjVJxh/disk.img partition=1: pt_start=2048 pt_end=1021951 pt_size=1019904 pt_max=2045951 last=2045952 418s disk=/tmp/test-growpart-fsimage.CjVJxh/disk.img partition=1: code=0FC63DAF-8483-4772-8E79-3D69D8477DE4 guid=DD99AB6B-B604-40BC-807E-5E6149FA592B name='' 418s running[sgd_backup][] sgdisk --backup=/tmp/growpart.Gr3i8v/pt.backup /tmp/test-growpart-fsimage.CjVJxh/disk.img 418s running[sgdisk_mod][] sgdisk --move-second-header --delete=1 --new=1:2048:2045950 --typecode=1:0FC63DAF-8483-4772-8E79-3D69D8477DE4 --partition-guid=1:DD99AB6B-B604-40BC-807E-5E6149FA592B --change-name=1: /tmp/test-growpart-fsimage.CjVJxh/disk.img 418s running[pt_update][] pt_update /tmp/test-growpart-fsimage.CjVJxh/disk.img 1 418s No lvm command, cannot attempt lvm resize of disk '/tmp/test-growpart-fsimage.CjVJxh/disk.img' part '1' 418s ==== growpart-stdout ==== 418s CHANGED: partition=1 start=2048 old: size=1019904 end=1021951 new: size=2043904 end=2045951 418s ==== after ==== 418s Disk /tmp/test-growpart-fsimage.CjVJxh/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 418s Units: sectors of 1 * 512 = 512 bytes 418s Sector size (logical/physical): 512 bytes / 512 bytes 418s I/O size (minimum/optimal): 512 bytes / 512 bytes 418s Disklabel type: gpt 418s Disk identifier: BBE10092-2E90-470D-B7FF-347AC2C06FAD 418s 418s Device Start End Sectors Size Type 418s /tmp/test-growpart-fsimage.CjVJxh/disk.img1 2048 2045950 2043903 998M Linux filesystem 418s 418s 418s -- PT_TYPE=dos GROWPART_RESIZER=auto -- 418s ==== before ==== 418s Disk /tmp/test-growpart-fsimage.L5DYWR/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 418s Units: sectors of 1 * 512 = 512 bytes 418s Sector size (logical/physical): 512 bytes / 512 bytes 418s I/O size (minimum/optimal): 512 bytes / 512 bytes 418s Disklabel type: dos 418s Disk identifier: 0x8df49221 418s 418s Device Boot Start End Sectors Size Id Type 418s /tmp/test-growpart-fsimage.L5DYWR/disk.img1 2048 1023999 1021952 499M 83 Linux 418s ==== growpart-stderr === 418s update-partition set to true 418s resizing 1 on /tmp/test-growpart-fsimage.L5DYWR/disk.img using resize_sfdisk_dos 418s running[sfd_list][erronly] sfdisk --list --unit=S /tmp/test-growpart-fsimage.L5DYWR/disk.img 418s 2048000 sectors of 512. total size=1048576000 bytes 418s running[sfd_dump][erronly] sfdisk --unit=S --dump /tmp/test-growpart-fsimage.L5DYWR/disk.img 418s ## sfdisk --unit=S --dump /tmp/test-growpart-fsimage.L5DYWR/disk.img 418s label: dos 418s label-id: 0x8df49221 418s device: /tmp/test-growpart-fsimage.L5DYWR/disk.img 418s unit: sectors 418s sector-size: 512 418s 418s /tmp/test-growpart-fsimage.L5DYWR/disk.img1 : start= 2048, size= 1021952, type=83 418s padding 33 sectors for gpt secondary header 418s max_end=2047966 tot=2048000 pt_end=1023999 pt_start=2048 pt_size=1021952 418s resize of /tmp/test-growpart-fsimage.L5DYWR/disk.img returned 0. 418s running[pt_update][] pt_update /tmp/test-growpart-fsimage.L5DYWR/disk.img 1 418s No lvm command, cannot attempt lvm resize of disk '/tmp/test-growpart-fsimage.L5DYWR/disk.img' part '1' 418s ==== growpart-stdout ==== 418s CHANGED: partition=1 start=2048 old: size=1021952 end=1023999 new: size=2045919 end=2047966 418s ==== after ==== 418s Disk /tmp/test-growpart-fsimage.L5DYWR/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 418s Units: sectors of 1 * 512 = 512 bytes 418s Sector size (logical/physical): 512 bytes / 512 bytes 418s I/O size (minimum/optimal): 512 bytes / 512 bytes 418s Disklabel type: dos 418s Disk identifier: 0x8df49221 418s 418s Device Boot Start End Sectors Size Id Type 418s /tmp/test-growpart-fsimage.L5DYWR/disk.img1 2048 2047966 2045919 999M 83 Linux 418s 418s 418s -- PT_TYPE=dos GROWPART_RESIZER=sfdisk -- 418s ==== before ==== 418s Disk /tmp/test-growpart-fsimage.kn1Hvj/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 418s Units: sectors of 1 * 512 = 512 bytes 418s Sector size (logical/physical): 512 bytes / 512 bytes 418s I/O size (minimum/optimal): 512 bytes / 512 bytes 418s Disklabel type: dos 418s Disk identifier: 0xb41bc2e4 418s 418s Device Boot Start End Sectors Size Id Type 418s /tmp/test-growpart-fsimage.kn1Hvj/disk.img1 2048 1023999 1021952 499M 83 Linux 419s ==== growpart-stderr === 419s update-partition set to true 419s resizing 1 on /tmp/test-growpart-fsimage.kn1Hvj/disk.img using resize_sfdisk_dos 419s running[sfd_list][erronly] sfdisk --list --unit=S /tmp/test-growpart-fsimage.kn1Hvj/disk.img 419s 2048000 sectors of 512. total size=1048576000 bytes 419s running[sfd_dump][erronly] sfdisk --unit=S --dump /tmp/test-growpart-fsimage.kn1Hvj/disk.img 419s ## sfdisk --unit=S --dump /tmp/test-growpart-fsimage.kn1Hvj/disk.img 419s label: dos 419s label-id: 0xb41bc2e4 419s device: /tmp/test-growpart-fsimage.kn1Hvj/disk.img 419s unit: sectors 419s sector-size: 512 419s 419s /tmp/test-growpart-fsimage.kn1Hvj/disk.img1 : start= 2048, size= 1021952, type=83 419s padding 33 sectors for gpt secondary header 419s max_end=2047966 tot=2048000 pt_end=1023999 pt_start=2048 pt_size=1021952 419s resize of /tmp/test-growpart-fsimage.kn1Hvj/disk.img returned 0. 419s running[pt_update][] pt_update /tmp/test-growpart-fsimage.kn1Hvj/disk.img 1 419s No lvm command, cannot attempt lvm resize of disk '/tmp/test-growpart-fsimage.kn1Hvj/disk.img' part '1' 419s ==== growpart-stdout ==== 419s CHANGED: partition=1 start=2048 old: size=1021952 end=1023999 new: size=2045919 end=2047966 419s ==== after ==== 419s Disk /tmp/test-growpart-fsimage.kn1Hvj/disk.img: 1000 MiB, 1048576000 bytes, 2048000 sectors 419s Units: sectors of 1 * 512 = 512 bytes 419s Sector size (logical/physical): 512 bytes / 512 bytes 419s I/O size (minimum/optimal): 512 bytes / 512 bytes 419s Disklabel type: dos 419s Disk identifier: 0xb41bc2e4 419s 419s Device Boot Start End Sectors Size Id Type 419s /tmp/test-growpart-fsimage.kn1Hvj/disk.img1 2048 2047966 2045919 999M 83 Linux 419s 419s 419s -- PT_TYPE=dos GROWPART_RESIZER=sgdisk -- 419s Skipping resize test for dos/sgdisk. not supported. 419s autopkgtest [00:29:43]: test growpart-fsimage: -----------------------] 420s autopkgtest [00:29:44]: test growpart-fsimage: - - - - - - - - - - results - - - - - - - - - - 420s growpart-fsimage PASS 420s autopkgtest [00:29:44]: test growpart-fsimage-middle: preparing testbed 420s Reading package lists... 421s Building dependency tree... 421s Reading state information... 421s Starting pkgProblemResolver with broken count: 0 421s Starting 2 pkgProblemResolver with broken count: 0 421s Done 422s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 423s autopkgtest [00:29:47]: test growpart-fsimage-middle: [----------------------- 423s ====== Testing with resizer=sfdisk ===== 424s ==== before ==== 424s label: gpt 424s label-id: 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 424s device: disk-sfdisk.img 424s unit: sectors 424s first-lba: 34 424s last-lba: 4194270 424s sector-size: 512 424s 424s disk-sfdisk.img1 : start= 2048, size= 204800, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=5ADB0402-936C-4AF3-8E56-74C161BCF925, name="misc fs" 424s disk-sfdisk.img2 : start= 206848, size= 524288, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=72174002-4428-427C-9DED-92479F1CDB4A, name="my swap" 424s disk-sfdisk.img3 : start= 731136, size= 819200, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=EE4FB792-DA02-4E1E-90DA-961D3A603225, name="root filesystem" 424s disk-sfdisk.img4 : start= 34, size= 2014, type=21686148-6449-6E6F-744E-656564454649, uuid=AC2AF951-6AD2-4B14-818F-BF457A4386AD, name="BIOS boot partition" 424s disk-sfdisk.img5 : start= 4061184, size= 133087, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=FC3742E9-53E2-410C-8036-8B64DD9F2ED6, name="config drive" 424s ==== after ==== 424s label: gpt 424s label-id: 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 424s device: disk-sfdisk.img 424s unit: sectors 424s first-lba: 34 424s last-lba: 4194270 424s sector-size: 512 424s 424s disk-sfdisk.img1 : start= 2048, size= 204800, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=5ADB0402-936C-4AF3-8E56-74C161BCF925, name="misc fs" 424s disk-sfdisk.img2 : start= 206848, size= 524288, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=72174002-4428-427C-9DED-92479F1CDB4A, name="my swap" 424s disk-sfdisk.img3 : start= 731136, size= 3330048, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=EE4FB792-DA02-4E1E-90DA-961D3A603225, name="root filesystem" 424s disk-sfdisk.img4 : start= 34, size= 2014, type=21686148-6449-6E6F-744E-656564454649, uuid=AC2AF951-6AD2-4B14-818F-BF457A4386AD, name="BIOS boot partition" 424s disk-sfdisk.img5 : start= 4061184, size= 133087, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=FC3742E9-53E2-410C-8036-8B64DD9F2ED6, name="config drive" 424s 424s ==== after sgdisk === 424s Disk disk-sfdisk.img: 4194304 sectors, 2.0 GiB 424s Sector size (logical): 512 bytes 424s Disk identifier (GUID): 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 424s Partition table holds up to 128 entries 424s Main partition table begins at sector 2 and ends at sector 33 424s First usable sector is 34, last usable sector is 4194270 424s Partitions will be aligned on 2-sector boundaries 424s Total free space is 0 sectors (0 bytes) 424s 424s Number Start (sector) End (sector) Size Code Name 424s 1 2048 206847 100.0 MiB 8300 misc fs 424s 2 206848 731135 256.0 MiB 8200 my swap 424s 3 731136 4061183 1.6 GiB 8300 root filesystem 424s 4 34 2047 1007.0 KiB EF02 BIOS boot partition 424s 5 4061184 4194270 65.0 MiB 8300 config drive 424s ==== growpart-stderr === 424s update-partition set to true 424s resizing 3 on /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img using resize_sfdisk_gpt 424s running[sfd_list][erronly] sfdisk --list --unit=S /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img 424s 4194304 sectors of 512. total size=2147483648 bytes 424s running[sfd_dump][erronly] sfdisk --unit=S --dump /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img 424s ## sfdisk --unit=S --dump /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img 424s label: gpt 424s label-id: 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 424s device: /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img 424s unit: sectors 424s first-lba: 34 424s last-lba: 4194270 424s sector-size: 512 424s 424s /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img1 : start= 2048, size= 204800, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=5ADB0402-936C-4AF3-8E56-74C161BCF925, name="misc fs" 424s /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img2 : start= 206848, size= 524288, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=72174002-4428-427C-9DED-92479F1CDB4A, name="my swap" 424s /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img3 : start= 731136, size= 819200, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=EE4FB792-DA02-4E1E-90DA-961D3A603225, name="root filesystem" 424s /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img4 : start= 34, size= 2014, type=21686148-6449-6E6F-744E-656564454649, uuid=AC2AF951-6AD2-4B14-818F-BF457A4386AD, name="BIOS boot partition" 424s /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img5 : start= 4061184, size= 133087, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=FC3742E9-53E2-410C-8036-8B64DD9F2ED6, name="config drive" 424s max_end=4061183 tot=4194304 pt_end=1550335 pt_start=731136 pt_size=819200 424s resize of /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img returned 0. 424s running[pt_update][] pt_update /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img 3 424s No lvm command, cannot attempt lvm resize of disk '/tmp/test-growpart-fsimage-middle.zrJzt4/disk-sfdisk.img' part '3' 424s ==== growpart-stdout ==== 424s CHANGED: partition=3 start=731136 old: size=819200 end=1550335 new: size=3330048 end=4061183 424s ====== Testing with resizer=sgdisk ===== 424s ==== before ==== 424s label: gpt 424s label-id: 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 424s device: disk-sgdisk.img 424s unit: sectors 424s first-lba: 34 424s last-lba: 4194270 424s sector-size: 512 424s 424s disk-sgdisk.img1 : start= 2048, size= 204800, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=5ADB0402-936C-4AF3-8E56-74C161BCF925, name="misc fs" 424s disk-sgdisk.img2 : start= 206848, size= 524288, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=72174002-4428-427C-9DED-92479F1CDB4A, name="my swap" 424s disk-sgdisk.img3 : start= 731136, size= 819200, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=EE4FB792-DA02-4E1E-90DA-961D3A603225, name="root filesystem" 424s disk-sgdisk.img4 : start= 34, size= 2014, type=21686148-6449-6E6F-744E-656564454649, uuid=AC2AF951-6AD2-4B14-818F-BF457A4386AD, name="BIOS boot partition" 424s disk-sgdisk.img5 : start= 4061184, size= 133087, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=FC3742E9-53E2-410C-8036-8B64DD9F2ED6, name="config drive" 425s ==== after ==== 425s label: gpt 425s label-id: 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 425s device: disk-sgdisk.img 425s unit: sectors 425s first-lba: 34 425s last-lba: 4194270 425s sector-size: 512 425s 425s disk-sgdisk.img1 : start= 2048, size= 204800, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=5ADB0402-936C-4AF3-8E56-74C161BCF925, name="misc fs" 425s disk-sgdisk.img2 : start= 206848, size= 524288, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=72174002-4428-427C-9DED-92479F1CDB4A, name="my swap" 425s disk-sgdisk.img3 : start= 731136, size= 3330047, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=EE4FB792-DA02-4E1E-90DA-961D3A603225, name="root filesystem" 425s disk-sgdisk.img4 : start= 34, size= 2014, type=21686148-6449-6E6F-744E-656564454649, uuid=AC2AF951-6AD2-4B14-818F-BF457A4386AD, name="BIOS boot partition" 425s disk-sgdisk.img5 : start= 4061184, size= 133087, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=FC3742E9-53E2-410C-8036-8B64DD9F2ED6, name="config drive" 425s 425s ==== after sgdisk === 425s Disk disk-sgdisk.img: 4194304 sectors, 2.0 GiB 425s Sector size (logical): 512 bytes 425s Disk identifier (GUID): 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 425s Partition table holds up to 128 entries 425s Main partition table begins at sector 2 and ends at sector 33 425s First usable sector is 34, last usable sector is 4194270 425s Partitions will be aligned on 2-sector boundaries 425s Total free space is 1 sectors (512 bytes) 425s 425s Number Start (sector) End (sector) Size Code Name 425s 1 2048 206847 100.0 MiB 8300 misc fs 425s 2 206848 731135 256.0 MiB 8200 my swap 425s 3 731136 4061182 1.6 GiB 8300 root filesystem 425s 4 34 2047 1007.0 KiB EF02 BIOS boot partition 425s 5 4061184 4194270 65.0 MiB 8300 config drive 425s ==== growpart-stderr === 425s update-partition set to true 425s resizing 3 on /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img using resize_sgdisk_gpt 425s running[sgd_info][erronly] sgdisk --info=3 --print /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img 425s disk=/tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img partition=3: original sgdisk info: 425s Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) 425s Partition unique GUID: EE4FB792-DA02-4E1E-90DA-961D3A603225 425s First sector: 731136 (at 357.0 MiB) 425s Last sector: 1550335 (at 757.0 MiB) 425s Partition size: 819200 sectors (400.0 MiB) 425s Attribute flags: 0000000000000000 425s Partition name: 'root filesystem' 425s Disk /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img: 4194304 sectors, 2.0 GiB 425s Sector size (logical): 512 bytes 425s Disk identifier (GUID): 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 425s Partition table holds up to 128 entries 425s Main partition table begins at sector 2 and ends at sector 33 425s First usable sector is 34, last usable sector is 4194270 425s Partitions will be aligned on 2-sector boundaries 425s Total free space is 2510848 sectors (1.2 GiB) 425s 425s Number Start (sector) End (sector) Size Code Name 425s 1 2048 206847 100.0 MiB 8300 misc fs 425s 2 206848 731135 256.0 MiB 8200 my swap 425s 3 731136 1550335 400.0 MiB 8300 root filesystem 425s 4 34 2047 1007.0 KiB EF02 BIOS boot partition 425s 5 4061184 4194270 65.0 MiB 8300 config drive 425s running[sgd_pretend][erronly] sgdisk --pretend --move-second-header --print /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img 425s disk=/tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img partition=3: pretend sgdisk info 425s Disk /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img: 4194304 sectors, 2.0 GiB 425s Sector size (logical): 512 bytes 425s Disk identifier (GUID): 67CCB7DB-DEE7-4A7F-8F67-4DAC2B2F09A9 425s Partition table holds up to 128 entries 425s Main partition table begins at sector 2 and ends at sector 33 425s First usable sector is 34, last usable sector is 4194270 425s Partitions will be aligned on 2-sector boundaries 425s Total free space is 2510848 sectors (1.2 GiB) 425s 425s Number Start (sector) End (sector) Size Code Name 425s 1 2048 206847 100.0 MiB 8300 misc fs 425s 2 206848 731135 256.0 MiB 8200 my swap 425s 3 731136 1550335 400.0 MiB 8300 root filesystem 425s 4 34 2047 1007.0 KiB EF02 BIOS boot partition 425s 5 4061184 4194270 65.0 MiB 8300 config drive 425s disk=/tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img partition=3: pt_start=731136 pt_end=1550335 pt_size=819200 pt_max=4061183 last=4194270 425s disk=/tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img partition=3: code=0FC63DAF-8483-4772-8E79-3D69D8477DE4 guid=EE4FB792-DA02-4E1E-90DA-961D3A603225 name='root filesystem' 425s running[sgd_backup][] sgdisk --backup=/tmp/growpart.ycvrY9/pt.backup /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img 425s running[sgdisk_mod][] sgdisk --move-second-header --delete=3 --new=3:731136:4061182 --typecode=3:0FC63DAF-8483-4772-8E79-3D69D8477DE4 --partition-guid=3:EE4FB792-DA02-4E1E-90DA-961D3A603225 '--change-name=3:root filesystem' /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img 425s running[pt_update][] pt_update /tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img 3 425s No lvm command, cannot attempt lvm resize of disk '/tmp/test-growpart-fsimage-middle.zrJzt4/disk-sgdisk.img' part '3' 425s ==== growpart-stdout ==== 425s CHANGED: partition=3 start=731136 old: size=819200 end=1550335 new: size=3330048 end=4061183 426s autopkgtest [00:29:50]: test growpart-fsimage-middle: -----------------------] 426s autopkgtest [00:29:50]: test growpart-fsimage-middle: - - - - - - - - - - results - - - - - - - - - - 426s growpart-fsimage-middle PASS 427s autopkgtest [00:29:51]: test growpart-start-matches-size: preparing testbed 427s Reading package lists... 427s Building dependency tree... 427s Reading state information... 428s Starting pkgProblemResolver with broken count: 0 428s Starting 2 pkgProblemResolver with broken count: 0 428s Done 429s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 430s autopkgtest [00:29:54]: test growpart-start-matches-size: [----------------------- 430s ====== Testing with resizer=sfdisk ===== 431s ====== Testing with resizer=sgdisk ===== 432s autopkgtest [00:29:56]: test growpart-start-matches-size: -----------------------] 433s growpart-start-matches-size PASS 433s autopkgtest [00:29:57]: test growpart-start-matches-size: - - - - - - - - - - results - - - - - - - - - - 433s autopkgtest [00:29:57]: test mic: preparing testbed 532s autopkgtest [00:31:36]: testbed dpkg architecture: arm64 532s autopkgtest [00:31:36]: testbed apt version: 2.9.18 533s autopkgtest [00:31:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 533s autopkgtest [00:31:37]: testbed release detected to be: plucky 534s autopkgtest [00:31:38]: updating testbed package index (apt update) 534s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 534s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 534s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 535s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 535s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [795 kB] 535s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [18.0 kB] 535s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [123 kB] 535s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 535s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [227 kB] 535s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 535s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [958 kB] 535s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [23.0 kB] 535s Fetched 2285 kB in 1s (2344 kB/s) 537s Reading package lists... 537s Reading package lists... 537s Building dependency tree... 537s Reading state information... 537s Calculating upgrade... 538s The following packages will be upgraded: 538s nano 538s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 538s Need to get 289 kB of archives. 538s After this operation, 0 B of additional disk space will be used. 538s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 nano arm64 8.3-1 [289 kB] 539s Fetched 289 kB in 0s (670 kB/s) 539s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 539s Preparing to unpack .../archives/nano_8.3-1_arm64.deb ... 539s Unpacking nano (8.3-1) over (8.2-1) ... 539s Setting up nano (8.3-1) ... 539s Installing new version of config file /etc/nanorc ... 539s Processing triggers for man-db (2.13.0-1) ... 540s Processing triggers for install-info (7.1.1-1) ... 540s Reading package lists... 540s Building dependency tree... 540s Reading state information... 541s 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 541s autopkgtest [00:31:45]: upgrading testbed (apt dist-upgrade and autopurge) 541s Reading package lists... 542s Building dependency tree... 542s Reading state information... 542s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 542s Starting 2 pkgProblemResolver with broken count: 0 542s Done 543s Entering ResolveByKeep 543s 544s The following packages will be upgraded: 544s e2fsprogs e2fsprogs-l10n libcom-err2 libext2fs2t64 libss2 logsave 544s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 544s Need to get 916 kB of archives. 544s After this operation, 22.5 kB of additional disk space will be used. 544s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 logsave arm64 1.47.2-1ubuntu1 [26.2 kB] 544s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 544s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libext2fs2t64 arm64 1.47.2-1ubuntu1 [231 kB] 544s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 e2fsprogs arm64 1.47.2-1ubuntu1 [608 kB] 544s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libcom-err2 arm64 1.47.2-1ubuntu1 [26.4 kB] 544s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libss2 arm64 1.47.2-1ubuntu1 [17.6 kB] 545s Fetched 916 kB in 1s (1660 kB/s) 545s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 545s Preparing to unpack .../logsave_1.47.2-1ubuntu1_arm64.deb ... 545s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 545s Preparing to unpack .../e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 545s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 545s Preparing to unpack .../libext2fs2t64_1.47.2-1ubuntu1_arm64.deb ... 545s Leaving 'diversion of /lib/aarch64-linux-gnu/libe2p.so.2 to /lib/aarch64-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' 545s Leaving 'diversion of /lib/aarch64-linux-gnu/libe2p.so.2.3 to /lib/aarch64-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 545s Leaving 'diversion of /lib/aarch64-linux-gnu/libext2fs.so.2 to /lib/aarch64-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' 545s Leaving 'diversion of /lib/aarch64-linux-gnu/libext2fs.so.2.4 to /lib/aarch64-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 545s Unpacking libext2fs2t64:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 545s Setting up libext2fs2t64:arm64 (1.47.2-1ubuntu1) ... 545s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 545s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_arm64.deb ... 545s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 545s Preparing to unpack .../libcom-err2_1.47.2-1ubuntu1_arm64.deb ... 545s Unpacking libcom-err2:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 545s Preparing to unpack .../libss2_1.47.2-1ubuntu1_arm64.deb ... 545s Unpacking libss2:arm64 (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 545s Setting up libcom-err2:arm64 (1.47.2-1ubuntu1) ... 545s Setting up libss2:arm64 (1.47.2-1ubuntu1) ... 545s Setting up logsave (1.47.2-1ubuntu1) ... 545s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 545s update-initramfs: deferring update (trigger activated) 546s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 546s Processing triggers for man-db (2.13.0-1) ... 546s Processing triggers for libc-bin (2.40-4ubuntu1) ... 546s Processing triggers for initramfs-tools (0.142ubuntu35) ... 546s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 546s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 563s System running in EFI mode, skipping. 564s Reading package lists... 564s Building dependency tree... 564s Reading state information... 564s Starting pkgProblemResolver with broken count: 0 564s Starting 2 pkgProblemResolver with broken count: 0 564s Done 565s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 565s autopkgtest [00:32:09]: rebooting testbed after setup commands that affected boot 592s Reading package lists... 592s Building dependency tree... 592s Reading state information... 593s Starting pkgProblemResolver with broken count: 0 593s Starting 2 pkgProblemResolver with broken count: 0 593s Done 593s The following NEW packages will be installed: 593s cloud-image-utils genisoimage liburing2 qemu-utils 594s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 594s Need to get 2577 kB of archives. 594s After this operation, 15.4 MB of additional disk space will be used. 594s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 genisoimage arm64 9:1.1.11-4 [383 kB] 594s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 liburing2 arm64 2.8-1 [23.9 kB] 594s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 qemu-utils arm64 1:9.0.2+ds-4ubuntu8 [2150 kB] 594s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-image-utils all 0.33-1 [19.6 kB] 595s Fetched 2577 kB in 1s (3849 kB/s) 595s Selecting previously unselected package genisoimage. 595s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 595s Preparing to unpack .../genisoimage_9%3a1.1.11-4_arm64.deb ... 595s Unpacking genisoimage (9:1.1.11-4) ... 595s Selecting previously unselected package liburing2:arm64. 595s Preparing to unpack .../liburing2_2.8-1_arm64.deb ... 595s Unpacking liburing2:arm64 (2.8-1) ... 595s Selecting previously unselected package qemu-utils. 595s Preparing to unpack .../qemu-utils_1%3a9.0.2+ds-4ubuntu8_arm64.deb ... 595s Unpacking qemu-utils (1:9.0.2+ds-4ubuntu8) ... 595s Selecting previously unselected package cloud-image-utils. 595s Preparing to unpack .../cloud-image-utils_0.33-1_all.deb ... 595s Unpacking cloud-image-utils (0.33-1) ... 595s Setting up genisoimage (9:1.1.11-4) ... 595s Setting up liburing2:arm64 (2.8-1) ... 595s Setting up qemu-utils (1:9.0.2+ds-4ubuntu8) ... 595s Setting up cloud-image-utils (0.33-1) ... 595s Processing triggers for libc-bin (2.40-4ubuntu1) ... 595s Processing triggers for man-db (2.13.0-1) ... 598s autopkgtest [00:32:42]: test mic: [----------------------- 598s testing partition 1 image 599s testing partition 2 image 599s testing --system-mounts on pt1 599s testing unexpected mount get unmounted. 599s writing hunks to disk image /tmp/test-mic.DLg3yy/disk-mbr.img 600s partitioning MBR disk image /tmp/test-mic.DLg3yy/disk-mbr.img 600s partitioning GPT disk image /tmp/test-mic.DLg3yy/disk-gpt.img 600s MBR: testing partition 1 in /tmp/test-mic.DLg3yy/disk-mbr.img 601s MBR: testing partition 2 in /tmp/test-mic.DLg3yy/disk-mbr.img 601s GPT: testing partition 1 in /tmp/test-mic.DLg3yy/disk-gpt.img 601s GPT: testing partition 2 in /tmp/test-mic.DLg3yy/disk-gpt.img 602s Finished tests. 602s autopkgtest [00:32:46]: test mic: -----------------------] 603s mic PASS 603s autopkgtest [00:32:47]: test mic: - - - - - - - - - - results - - - - - - - - - - 603s autopkgtest [00:32:47]: @@@@@@@@@@@@@@@@@@@@ summary 603s growpart-loop PASS 603s growpart-lvm PASS 603s growpart-fsimage PASS 603s growpart-fsimage-middle PASS 603s growpart-start-matches-size PASS 603s mic PASS 620s nova [W] Using flock in prodstack6-arm64 620s Creating nova instance adt-plucky-arm64-cloud-utils-20250108-002244-juju-7f2275-prod-proposed-migration-environment-15-74373d11-69a0-4bea-aed1-fc4afa3ef25a from image adt/ubuntu-plucky-arm64-server-20250107.img (UUID f1513a66-9218-43c0-bf67-63c4330d1399)... 620s nova [W] Timed out waiting for d8066d94-6121-400e-80c5-b0747de17d26 to get deleted. 620s nova [W] Using flock in prodstack6-arm64 620s Creating nova instance adt-plucky-arm64-cloud-utils-20250108-002244-juju-7f2275-prod-proposed-migration-environment-15-74373d11-69a0-4bea-aed1-fc4afa3ef25a from image adt/ubuntu-plucky-arm64-server-20250107.img (UUID f1513a66-9218-43c0-bf67-63c4330d1399)... 620s nova [W] Timed out waiting for 854b7a7a-87cf-4ed6-97e5-dac43a81660d to get deleted. 620s nova [W] Using flock in prodstack6-arm64 620s Creating nova instance adt-plucky-arm64-cloud-utils-20250108-002244-juju-7f2275-prod-proposed-migration-environment-15-74373d11-69a0-4bea-aed1-fc4afa3ef25a from image adt/ubuntu-plucky-arm64-server-20250107.img (UUID f1513a66-9218-43c0-bf67-63c4330d1399)... 620s nova [W] Timed out waiting for 67645621-8a5d-4b27-81b4-03164edc82da to get deleted.