0s autopkgtest [23:49:17]: starting date and time: 2024-03-25 23:49:17+0000 0s autopkgtest [23:49:17]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [23:49:17]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.6nh02rpa/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed --apt-upgrade genimage --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=qemu/1:8.2.1+ds-1ubuntu8 alsa-lib/1.2.11-1build1 at-spi2-core/2.51.90-3 ceph/19.2.0~git20240301.4c76c50-0ubuntu3 cups/2.4.7-1.2ubuntu1 curl/8.5.0-2ubuntu8 glib2.0/2.79.3-3ubuntu5 gnutls28/3.8.3-1.1ubuntu2 gtk+3.0/3.24.41-1.1ubuntu3 libpng1.6/1.6.43-3 libpsl/0.21.2-1.1 nettle/3.9.1-2.2 openssl/3.0.13-0ubuntu2 pipewire/1.0.4-2ubuntu2 usbredir/0.13.0-2.1 wp2latex/4.4~ds-1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-2.secgroup --name adt-noble-s390x-genimage-20240325-234917-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 189s autopkgtest [23:52:26]: testbed dpkg architecture: s390x 189s autopkgtest [23:52:26]: testbed apt version: 2.7.12 189s autopkgtest [23:52:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 190s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 190s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [7592 B] 191s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [56.0 kB] 191s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [497 kB] 191s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3998 kB] 192s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [692 kB] 192s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 192s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 192s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 192s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4135 kB] 192s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 192s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [47.8 kB] 192s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 194s Fetched 9562 kB in 3s (2941 kB/s) 194s Reading package lists... 196s Reading package lists... 196s Building dependency tree... 196s Reading state information... 196s Calculating upgrade... 196s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 196s Reading package lists... 196s Building dependency tree... 196s Reading state information... 197s 0 upgraded, 0 newly installed, 0 to remove and 242 not upgraded. 197s Unknown architecture, assuming PC-style ttyS0 197s sh: Attempting to set up Debian/Ubuntu apt sources automatically 197s sh: Distribution appears to be Ubuntu 198s Reading package lists... 198s Building dependency tree... 198s Reading state information... 198s eatmydata is already the newest version (131-1). 198s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 198s Reading package lists... 198s Building dependency tree... 198s Reading state information... 198s dbus is already the newest version (1.14.10-4ubuntu1). 198s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 198s Reading package lists... 198s Building dependency tree... 198s Reading state information... 199s rng-tools-debian is already the newest version (2.4). 199s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 199s Reading package lists... 199s Building dependency tree... 199s Reading state information... 199s The following packages will be REMOVED: 199s cloud-init* python3-configobj* python3-debconf* 199s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 199s After this operation, 3256 kB disk space will be freed. 199s (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 ... 52170 files and directories currently installed.) 199s Removing cloud-init (24.1.2-0ubuntu1) ... 200s Removing python3-configobj (5.0.8-3) ... 200s Removing python3-debconf (1.5.86) ... 200s Processing triggers for man-db (2.12.0-3) ... 200s (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 ... 51781 files and directories currently installed.) 200s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 201s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 201s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 201s invoke-rc.d: policy-rc.d denied execution of try-restart. 201s Reading package lists... 201s Building dependency tree... 201s Reading state information... 201s linux-generic is already the newest version (6.8.0-11.11+1). 201s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 202s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 202s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 202s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 203s Reading package lists... 203s Reading package lists... 203s Building dependency tree... 203s Reading state information... 204s Calculating upgrade... 204s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 204s Reading package lists... 204s Building dependency tree... 204s Reading state information... 204s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 204s autopkgtest [23:52:41]: rebooting testbed after setup commands that affected boot 223s autopkgtest [23:53:00]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 226s autopkgtest [23:53:03]: @@@@@@@@@@@@@@@@@@@@ apt-source genimage 228s Get:1 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (dsc) [2008 B] 228s Get:2 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (tar) [94.9 kB] 228s Get:3 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (diff) [3828 B] 228s gpgv: Signature made Fri Feb 16 20:05:55 2024 UTC 228s gpgv: using RSA key B8340990283D8D9BC1949AC74799A35146D12B35 228s gpgv: Can't check signature: No public key 228s dpkg-source: warning: cannot verify inline signature for ./genimage_17-2.dsc: no acceptable signature found 228s autopkgtest [23:53:05]: testing package genimage version 17-2 228s autopkgtest [23:53:05]: build not needed 229s autopkgtest [23:53:06]: test upstream-tests: preparing testbed 231s Reading package lists... 231s Building dependency tree... 231s Reading state information... 231s Starting pkgProblemResolver with broken count: 0 231s Starting 2 pkgProblemResolver with broken count: 0 231s Done 231s The following additional packages will be installed: 231s arm-trusted-firmware-tools device-tree-compiler genext2fs genimage 231s genisoimage libconfuse-common libconfuse2 libfdt1 liburing2 mtools 231s qemu-utils u-boot-tools 231s Suggested packages: 231s android-sdk-libsparse-utils mtd-utils squashfs-tools wodim cdrkit-doc 231s floppyd 231s Recommended packages: 231s qemu-block-extra libubootenv-tool 231s The following NEW packages will be installed: 231s arm-trusted-firmware-tools autopkgtest-satdep device-tree-compiler genext2fs 231s genimage genisoimage libconfuse-common libconfuse2 libfdt1 liburing2 mtools 231s qemu-utils u-boot-tools 231s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 231s Need to get 3328 kB/3328 kB of archives. 231s After this operation, 16.2 MB of additional disk space will be used. 231s Get:1 /tmp/autopkgtest.P2obpK/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [784 B] 232s Get:2 http://ftpmaster.internal/ubuntu noble/universe s390x arm-trusted-firmware-tools s390x 2.10.0+dfsg-1 [31.9 kB] 232s Get:3 http://ftpmaster.internal/ubuntu noble/universe s390x genext2fs s390x 1.5.0-3 [30.8 kB] 232s Get:4 http://ftpmaster.internal/ubuntu noble/universe s390x libconfuse-common all 3.3-3 [5780 B] 232s Get:5 http://ftpmaster.internal/ubuntu noble/universe s390x libconfuse2 s390x 3.3-3 [25.9 kB] 232s Get:6 http://ftpmaster.internal/ubuntu noble/universe s390x genimage s390x 17-2 [54.7 kB] 232s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x genisoimage s390x 9:1.1.11-3.4 [373 kB] 232s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x liburing2 s390x 2.5-1 [22.9 kB] 232s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x mtools s390x 4.0.43-1 [202 kB] 232s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x qemu-utils s390x 1:8.2.1+ds-1ubuntu1 [2022 kB] 234s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x u-boot-tools s390x 2024.01+dfsg-1ubuntu2 [307 kB] 234s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libfdt1 s390x 1.7.0-2 [21.1 kB] 234s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x device-tree-compiler s390x 1.7.0-2 [231 kB] 234s Fetched 3328 kB in 2s (1336 kB/s) 234s Selecting previously unselected package arm-trusted-firmware-tools. 234s (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 ... 51726 files and directories currently installed.) 234s Preparing to unpack .../00-arm-trusted-firmware-tools_2.10.0+dfsg-1_s390x.deb ... 234s Unpacking arm-trusted-firmware-tools (2.10.0+dfsg-1) ... 234s Selecting previously unselected package genext2fs. 234s Preparing to unpack .../01-genext2fs_1.5.0-3_s390x.deb ... 234s Unpacking genext2fs (1.5.0-3) ... 234s Selecting previously unselected package libconfuse-common. 234s Preparing to unpack .../02-libconfuse-common_3.3-3_all.deb ... 234s Unpacking libconfuse-common (3.3-3) ... 234s Selecting previously unselected package libconfuse2:s390x. 234s Preparing to unpack .../03-libconfuse2_3.3-3_s390x.deb ... 234s Unpacking libconfuse2:s390x (3.3-3) ... 234s Selecting previously unselected package genimage. 234s Preparing to unpack .../04-genimage_17-2_s390x.deb ... 234s Unpacking genimage (17-2) ... 234s Selecting previously unselected package genisoimage. 234s Preparing to unpack .../05-genisoimage_9%3a1.1.11-3.4_s390x.deb ... 234s Unpacking genisoimage (9:1.1.11-3.4) ... 234s Selecting previously unselected package liburing2:s390x. 234s Preparing to unpack .../06-liburing2_2.5-1_s390x.deb ... 234s Unpacking liburing2:s390x (2.5-1) ... 234s Selecting previously unselected package mtools. 234s Preparing to unpack .../07-mtools_4.0.43-1_s390x.deb ... 234s Unpacking mtools (4.0.43-1) ... 234s Selecting previously unselected package qemu-utils. 234s Preparing to unpack .../08-qemu-utils_1%3a8.2.1+ds-1ubuntu1_s390x.deb ... 234s Unpacking qemu-utils (1:8.2.1+ds-1ubuntu1) ... 235s Selecting previously unselected package u-boot-tools. 235s Preparing to unpack .../09-u-boot-tools_2024.01+dfsg-1ubuntu2_s390x.deb ... 235s Unpacking u-boot-tools (2024.01+dfsg-1ubuntu2) ... 235s Selecting previously unselected package libfdt1:s390x. 235s Preparing to unpack .../10-libfdt1_1.7.0-2_s390x.deb ... 235s Unpacking libfdt1:s390x (1.7.0-2) ... 235s Selecting previously unselected package device-tree-compiler. 235s Preparing to unpack .../11-device-tree-compiler_1.7.0-2_s390x.deb ... 235s Unpacking device-tree-compiler (1.7.0-2) ... 235s Selecting previously unselected package autopkgtest-satdep. 235s Preparing to unpack .../12-1-autopkgtest-satdep.deb ... 235s Unpacking autopkgtest-satdep (0) ... 235s Setting up genisoimage (9:1.1.11-3.4) ... 235s Setting up mtools (4.0.43-1) ... 235s Setting up arm-trusted-firmware-tools (2.10.0+dfsg-1) ... 235s Setting up libfdt1:s390x (1.7.0-2) ... 235s Setting up device-tree-compiler (1.7.0-2) ... 235s Setting up u-boot-tools (2024.01+dfsg-1ubuntu2) ... 235s Setting up genext2fs (1.5.0-3) ... 235s Setting up libconfuse-common (3.3-3) ... 235s Setting up liburing2:s390x (2.5-1) ... 235s Setting up libconfuse2:s390x (3.3-3) ... 235s Setting up genimage (17-2) ... 235s Setting up qemu-utils (1:8.2.1+ds-1ubuntu1) ... 235s Setting up autopkgtest-satdep (0) ... 235s Processing triggers for man-db (2.12.0-3) ... 235s Processing triggers for install-info (7.1-3) ... 235s Processing triggers for libc-bin (2.39-0ubuntu6) ... 237s (Reading database ... 51930 files and directories currently installed.) 237s Removing autopkgtest-satdep (0) ... 238s autopkgtest [23:53:15]: test upstream-tests: [----------------------- 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/cpio.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/cpio.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/cramfs.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/cramfs.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/exec-check.sh' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/exec-check.sh' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/exec-fail.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/exec-fail.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/exec.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/exec.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext.test' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext.test' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext2.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext2percent.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2percent.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext2test-percent.0.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2test-percent.0.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext2test-percent.1.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2test-percent.1.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext2test.0.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2test.0.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext2test.1.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2test.1.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext3.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext3.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext3test.0.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext3test.0.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext3test.1.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext3test.1.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext4.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext4.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext4test.0.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext4test.0.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ext4test.1.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext4test.1.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/f2fs.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/f2fs.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/filesystem.test' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/filesystem.test' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/fip.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/fip.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/fit.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/fit.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/fit.its' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/fit.its' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/flash-types.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/flash-types.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/flash.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/flash.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/flash.md5' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/flash.md5' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/flash.test' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/flash.test' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/genimage.test' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/genimage.test' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/gpt-invalid-partition-type1.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/gpt-invalid-partition-type1.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/gpt-invalid-partition-type2.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/gpt-invalid-partition-type2.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/gpt-overlap1.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/gpt-overlap1.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/gpt-overlap2.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/gpt-overlap2.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/gpt-overlap3.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/gpt-overlap3.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/gpt-partition-types.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/gpt-partition-types.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/gpt-partition-types.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/gpt-partition-types.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-fail1.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-fail1.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-fail2.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-fail2.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-fail3.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-fail3.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-fail4.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-fail4.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-fail5.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-fail5.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-fail6.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-fail6.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-fail7.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-fail7.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-hybrid.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-hybrid.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-hybrid.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-hybrid.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-nopart.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-nopart.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage-nopart.hexdump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-nopart.hexdump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage.fdisk-2' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage.fdisk-2' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage2.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage2.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage4.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage4.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage4.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage4.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage5.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage5.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage5.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage5.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage6.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage6.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage6.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage6.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage7.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage7.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage7.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage7.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hole.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hole.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include-aaa.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include-aaa.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include-bbb.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include-bbb.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include-ccc.fdisk' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include-ccc.fdisk' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include-test.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include-test.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include/aaa' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/aaa' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include/aaa/include-test.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/aaa/include-test.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include/bbb' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/bbb' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/include/bbb/include-test.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/bbb/include-test.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/iso.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/iso.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/jffs2.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/jffs2.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/jffs2.md5' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/jffs2.md5' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/misc.test' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/misc.test' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/mke2fs.0.dump' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/mke2fs.0.dump' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/mke2fs.conf' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/mke2fs.conf' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/mke2fs.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/mke2fs.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/qemu.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/qemu.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/qemu.qcow.gz' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/qemu.qcow.gz' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/rauc-openssl-ca' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/rauc-openssl-ca' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/rauc-openssl-ca/ca.cert.pem' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/rauc-openssl-ca/ca.cert.pem' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/rauc-openssl-ca/rauc.cert.pem' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/rauc-openssl-ca/rauc.cert.pem' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/rauc-openssl-ca/rauc.key.pem' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/rauc-openssl-ca/rauc.key.pem' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/rauc.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/rauc.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/sharness.sh' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/sharness.sh' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/sparse.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/sparse.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/squashfs.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/squashfs.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/tar.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/tar.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/test-setup.sh' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/test-setup.sh' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/test.raucb.info' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/test.raucb.info' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/test.raucb.info.new' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/test.raucb.info.new' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/test2.raucb.info' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/test2.raucb.info' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/test2.raucb.info.new' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/test2.raucb.info.new' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ubi.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ubi.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/ubifs.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ubifs.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/vfat.config' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/vfat.config' 238s '/tmp/autopkgtest.P2obpK/build.KKo/src/test/hdimage.test' -> '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage.test' 238s expecting success: 238s run_genimage_root ext2.config test.ext2 && 238s check_ext images/test.ext2 ext2test 4194304 genext2fs 238s 238s 1+0 records in 238s 1+0 records out 238s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00114106 s, 919 MB/s 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 238s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 238s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 238s INFO: ext2(test.ext2): cmd: "genext2fs -d '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext2' " (stderr+stdout): 238s copying from directory /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root 238s INFO: ext2(test.ext2): cmd: "tune2fs -L 'ext2test' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 238s tune2fs 1.47.0 (5-Feb-2023) 238s INFO: ext2(test.ext2): cmd: "e2fsck -pvfD '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 238s ext2test: Filesystem did not have a UUID; generating one. 238s 238s 238s 51 inodes used (19.92%, out of 256) 238s 0 non-contiguous files (0.0%) 238s 0 non-contiguous directories (0.0%) 238s # of inodes with ind/dind/tind blocks: 1/0/0 238s 71 blocks used (1.73%, out of 4096) 238s 0 bad blocks 238s 0 large files 238s 238s 24 regular files 238s 18 directories 238s 0 character device files 238s 0 block device files 238s 0 fifos 238s 0 links 238s 0 symbolic links (0 fast symbolic links) 238s 0 sockets 238s ------------ 238s 42 files 238s INFO: ext2(test.ext2): cmd: "echo 'set_current_time 20000101000000 238s set_super_value mkfs_time 20000101000000 238s set_super_value lastcheck 20000101000000 238s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 238s debugfs 1.47.0 (5-Feb-2023) 238s debugfs: set_current_time 20000101000000 238s Setting current time to Sat Jan 1 00:00:00 2000 238s 238s debugfs: set_super_value mkfs_time 20000101000000 238s debugfs: set_super_value lastcheck 20000101000000 238s debugfs: set_super_value mtime 00000000 238s debugfs: ++ uuid='Filesystem UUID' 238s ++ seed='Directory Hash Seed:' 238s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 238s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 238s ++ dumpe2fs images/test.ext2 238s ++ grep -v '^\(Filesystem UUID\|Directory Hash Seed:\|Checksum: \|Group 0: (Blocks 1-4095) csum\|Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205\)' 238s dumpe2fs 1.47.0 (5-Feb-2023) 238s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 238s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 238s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 238s ++ sed -i -e 's/^J\(ournal size:\) /Total j\1/' -e 's/^Journal length: \( *\)\(.*\)$/Total journal blocks:\1\2\nMax transaction length: \2\nFast commit length: 0/' -e '/^Overhead clusters:/d' dump 238s ++ '[' genext2fs = genext2fs ']' 238s +++ genext2fs --version 238s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 238s ++ version=1 238s ++ test_cmp /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2test.1.dump dump 238s ++ diff -u /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2test.1.dump dump 238s ++ e2fsck -nf images/test.ext2 238s e2fsck 1.47.0 (5-Feb-2023) 238s Pass 1: Checking inodes, blocks, and sizes 238s Pass 2: Checking directory structure 238s Pass 3: Checking directory connectivity 238s Pass 4: Checking reference counts 238s Pass 5: Checking group summary information 238s ext2test: 51/256 files (0.0% non-contiguous), 71/4096 blocks 238s ok 1 - ext2 238s 238s ++ debugfs -R 'ls -p' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ IFS=/ 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ continue 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ continue 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ continue 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ continue 238s ++ read a b c d e x f 238s ++ check_size images/test.ext2 4194304 238s ++ local size 238s ++ get_size images/test.ext2 238s ++ local file=images/test.ext2 238s ++ '[' '!' -f images/test.ext2 ']' 238s +++ du -b images/test.ext2 238s ++ set -- 4194304 images/test.ext2 238s ++ size=4194304 238s ++ '[' 4194304 -ne 4194304 ']' 238s ++ check_root 238s ++ diff -ru '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test' 238s ++ func_check 238s ++ local ret=0 238s ++ set +x 238s 1+0 records in 238s 1+0 records out 238s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.001136 s, 923 MB/s 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 238s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 238s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 238s INFO: ext2(test.ext2): cmd: "genext2fs -d '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=68 -i 16384 '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext2' " (stderr+stdout): 238s expecting success: 238s run_genimage_root ext2percent.config test.ext2 && 238s check_ext images/test.ext2 ext2test-percent 69632 genext2fs 238s 238s copying from directory /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root 238s INFO: ext2(test.ext2): cmd: "tune2fs -L 'ext2test' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 238s tune2fs 1.47.0 (5-Feb-2023) 238s INFO: ext2(test.ext2): cmd: "e2fsck -pvfD '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 238s ext2test: Filesystem did not have a UUID; generating one. 238s 238s 238s 51 inodes used (91.07%, out of 56) 238s 0 non-contiguous files (0.0%) 238s 0 non-contiguous directories (0.0%) 238s # of inodes with ind/dind/tind blocks: 1/0/0 238s 46 blocks used (67.65%, out of 68) 238s 0 bad blocks 238s 0 large files 238s 238s 24 regular files 238s 18 directories 238s 0 character device files 238s 0 block device files 238s 0 fifos 238s 0 links 238s 0 symbolic links (0 fast symbolic links) 238s 0 sockets 238s ------------ 238s 42 files 238s INFO: ext2(test.ext2): cmd: "echo 'set_current_time 20000101000000 238s set_super_value mkfs_time 20000101000000 238s set_super_value lastcheck 20000101000000 238s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 238s debugfs 1.47.0 (5-Feb-2023) 238s debugfs: set_current_time 20000101000000 238s Setting current time to Sat Jan 1 00:00:00 2000 238s 238s debugfs: set_super_value mkfs_time 20000101000000 238s debugfs: set_super_value lastcheck 20000101000000 238s debugfs: set_super_value mtime 00000000 238s debugfs: ++ uuid='Filesystem UUID' 238s ++ seed='Directory Hash Seed:' 238s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 238s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 238s ++ dumpe2fs images/test.ext2 238s ++ grep -v '^\(Filesystem UUID\|Directory Hash Seed:\|Checksum: \|Group 0: (Blocks 1-4095) csum\|Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205\)' 238s dumpe2fs 1.47.0 (5-Feb-2023) 238s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 238s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 238s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 238s ++ sed -i -e 's/^J\(ournal size:\) /Total j\1/' -e 's/^Journal length: \( *\)\(.*\)$/Total journal blocks:\1\2\nMax transaction length: \2\nFast commit length: 0/' -e '/^Overhead clusters:/d' dump 238s ++ '[' genext2fs = genext2fs ']' 238s Pass 1: Checking inodes, blocks, and sizes 238s Pass 2: Checking directory structure 238s Pass 3: Checking directory connectivity 238s Pass 4: Checking reference counts 238s Pass 5: Checking group summary information 238s ext2test: 51/56 files (0.0% non-contiguous), 46/68 blocks 238s ok 2 - ext2percent 238s 238s expecting success: 238s run_genimage_root ext3.config test.ext3 && 238s check_ext images/test.ext3 ext3test 4194304 genext2fs 238s 238s +++ genext2fs --version 238s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 238s ++ version=1 238s ++ test_cmp /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2test-percent.1.dump dump 238s ++ diff -u /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext2test-percent.1.dump dump 238s ++ e2fsck -nf images/test.ext2 238s e2fsck 1.47.0 (5-Feb-2023) 238s ++ debugfs -R 'ls -p' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ IFS=/ 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ continue 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ continue 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ continue 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 238s debugfs 1.47.0 (5-Feb-2023) 238s ++ read a b c d e x f 238s ++ case "${x}" in 238s ++ continue 238s ++ read a b c d e x f 238s ++ check_size images/test.ext2 69632 238s ++ local size 238s ++ get_size images/test.ext2 238s ++ local file=images/test.ext2 238s ++ '[' '!' -f images/test.ext2 ']' 238s +++ du -b images/test.ext2 238s ++ set -- 69632 images/test.ext2 238s ++ size=69632 238s ++ '[' 69632 -ne 69632 ']' 238s ++ check_root 238s ++ diff -ru '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test' 238s ++ func_check 238s ++ local ret=0 238s ++ set +x 238s 1+0 records in 238s 1+0 records out 238s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00101249 s, 1.0 GB/s 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 238s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 238s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 238s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 238s INFO: ext3(test.ext3): cmd: "genext2fs -d '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext3' " (stderr+stdout): 238s copying from directory /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root 238s INFO: ext3(test.ext3): cmd: "tune2fs -O 'has_journal' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 238s tune2fs 1.47.0 (5-Feb-2023) 239s Creating journal inode: done 239s This filesystem will be automatically checked every 20 mounts or 239s 0 days, whichever comes first. Use tune2fs -c or -i to override. 239s INFO: ext3(test.ext3): cmd: "tune2fs -L 'ext3test' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 239s tune2fs 1.47.0 (5-Feb-2023) 239s INFO: ext3(test.ext3): cmd: "e2fsck -pvfD '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 239s ext3test: Filesystem did not have a UUID; generating one. 239s 239s 239s 51 inodes used (19.92%, out of 256) 239s 0 non-contiguous files (0.0%) 239s 0 non-contiguous directories (0.0%) 239s # of inodes with ind/dind/tind blocks: 1/0/0 239s 1100 blocks used (26.86%, out of 4096) 239s 0 bad blocks 239s 0 large files 239s 239s 24 regular files 239s 18 directories 239s 0 character device files 239s 0 block device files 239s 0 fifos 239s 0 links 239s 0 symbolic links (0 fast symbolic links) 239s 0 sockets 239s ------------ 239s 42 files 239s INFO: ext3(test.ext3): cmd: "echo 'set_current_time 20000101000000 239s set_super_value mkfs_time 20000101000000 239s set_super_value lastcheck 20000101000000 239s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 239s debugfs 1.47.0 (5-Feb-2023) 239s debugfs: set_current_time 20000101000000 239s Setting current time to Sat Jan 1 00:00:00 2000 239s 239s debugfs: set_super_value mkfs_time 20000101000000 239s debugfs: set_super_value lastcheck 20000101000000 239s debugfs: set_super_value mtime 00000000 239s debugfs: ++ uuid='Filesystem UUID' 239s ++ seed='Directory Hash Seed:' 239s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 239s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 239s ++ dumpe2fs images/test.ext3 239s ++ grep -v '^\(Filesystem UUID\|Directory Hash Seed:\|Checksum: \|Group 0: (Blocks 1-4095) csum\|Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205\)' 239s dumpe2fs 1.47.0 (5-Feb-2023) 239s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 239s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 239s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 239s ++ sed -i -e 's/^J\(ournal size:\) /Total j\1/' -e 's/^Journal length: \( *\)\(.*\)$/Total journal blocks:\1\2\nMax transaction length: \2\nFast commit length: 0/' -e '/^Overhead clusters:/d' dump 239s ++ '[' genext2fs = genext2fs ']' 239s +++ genext2fs --version 239s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 239s ++ version=1 239s ++ test_cmp /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext3test.1.dump dump 239s ++ diff -u /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext3test.1.dump dump 239s ++ e2fsck -nf images/test.ext3 239s e2fsck 1.47.0 (5-Feb-2023) 239s Pass 1: Checking inodes, blocks, and sizes 239s Pass 2: Checking directory structure 239s Pass 3: Checking directory connectivity 239s Pass 4: Checking reference counts 239s Pass 5: Checking group summary information 239s ext3test: 51/256 files (0.0% non-contiguous), 1100/4096 blocks 239s ++ debugfs -R 'ls -p' images/test.ext3 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ IFS=/ 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ check_size images/test.ext3 4194304 239s ++ local size 239s ++ get_size images/test.ext3 239s ++ local file=images/test.ext3 239s ++ '[' '!' -f images/test.ext3 ']' 239s ok 3 - ext3 239s 239s expecting success: 239s run_genimage ext4.config test.ext4 && 239s check_ext images/test.ext4 ext4test 4194304 genext2fs 239s 239s +++ du -b images/test.ext3 239s ++ set -- 4194304 images/test.ext3 239s ++ size=4194304 239s ++ '[' 4194304 -ne 4194304 ']' 239s ++ check_root 239s ++ diff -ru '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test' 239s ++ func_check 239s ++ local ret=0 239s ++ set +x 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000994632 s, 1.1 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 239s INFO: ext4(test.ext4): cmd: "genext2fs -d 'root.orig' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext4' " (stderr+stdout): 239s copying from directory root.orig 239s INFO: ext4(test.ext4): cmd: "tune2fs -O 'extents,uninit_bg,dir_index,has_journal' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 239s tune2fs 1.47.0 (5-Feb-2023) 239s Creating journal inode: done 239s This filesystem will be automatically checked every 20 mounts or 239s 0 days, whichever comes first. Use tune2fs -c or -i to override. 239s INFO: ext4(test.ext4): cmd: "tune2fs -L 'ext4test' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 239s tune2fs 1.47.0 (5-Feb-2023) 239s INFO: ext4(test.ext4): cmd: "e2fsck -pvfD '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 239s ext4test: Filesystem did not have a UUID; generating one. 239s 239s ext4test: Adding dirhash hint to filesystem. 239s 239s 239s 51 inodes used (19.92%, out of 256) 239s 0 non-contiguous files (0.0%) 239s 0 non-contiguous directories (0.0%) 239s # of inodes with ind/dind/tind blocks: 1/0/0 239s Extent depth histogram: 1 239s 1095 blocks used (26.73%, out of 4096) 239s 0 bad blocks 239s 0 large files 239s 239s 24 regular files 239s 18 directories 239s 0 character device files 239s 0 block device files 239s 0 fifos 239s 0 links 239s 0 symbolic links (0 fast symbolic links) 239s 0 sockets 239s ------------ 239s 42 files 239s INFO: ext4(test.ext4): cmd: "echo 'set_current_time 20000101000000 239s set_super_value mkfs_time 20000101000000 239s set_super_value lastcheck 20000101000000 239s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 239s debugfs 1.47.0 (5-Feb-2023) 239s debugfs: set_current_time 20000101000000 239s Setting current time to Sat Jan 1 00:00:00 2000 239s 239s debugfs: set_super_value mkfs_time 20000101000000 239s debugfs: set_super_value lastcheck 20000101000000 239s debugfs: set_super_value mtime 00000000 239s debugfs: ++ uuid='Filesystem UUID' 239s ++ seed='Directory Hash Seed:' 239s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 239s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 239s ++ dumpe2fs images/test.ext4 239s ++ grep -v '^\(Filesystem UUID\|Directory Hash Seed:\|Checksum: \|Group 0: (Blocks 1-4095) csum\|Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205\)' 239s dumpe2fs 1.47.0 (5-Feb-2023) 239s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 239s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 239s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 239s ++ sed -i -e 's/^J\(ournal size:\) /Total j\1/' -e 's/^Journal length: \( *\)\(.*\)$/Total journal blocks:\1\2\nMax transaction length: \2\nFast commit length: 0/' -e '/^Overhead clusters:/d' dump 239s ++ '[' genext2fs = genext2fs ']' 239s +++ genext2fs --version 239s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 239s ++ version=1 239s ++ test_cmp /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext4test.1.dump dump 239s ++ diff -u /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/ext4test.1.dump dump 239s ++ e2fsck -nf images/test.ext4 239s e2fsck 1.47.0 (5-Feb-2023) 239s ++ debugfs -R 'ls -p' images/test.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ IFS=/ 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s Pass 1: Checking inodes, blocks, and sizes 239s Pass 2: Checking directory structure 239s Pass 3: Checking directory connectivity 239s Pass 4: Checking reference counts 239s Pass 5: Checking group summary information 239s ext4test: 51/256 files (0.0% non-contiguous), 1095/4096 blocks 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ check_size images/test.ext4 4194304 239s ++ local size 239s ++ get_size images/test.ext4 239s ++ local file=images/test.ext4 239s ++ '[' '!' -f images/test.ext4 ']' 239s +++ du -b images/test.ext4 239s ++ set -- 4194304 images/test.ext4 239s ++ size=4194304 239s ++ '[' 4194304 -ne 4194304 ']' 239s ++ check_root 239s ++ diff -ru '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test' 239s ++ func_check 239s ++ local ret=0 239s ++ set +x 239s ok 4 - ext4 239s 239s expecting success: 239s run_genimage_root mke2fs.config mke2fs.ext4 && 239s check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs 239s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000989752 s, 1.1 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 239s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 239s INFO: ext4(mke2fs.ext4): cmd: "MKE2FS_CONFIG="mke2fs.conf" mke2fs -t ext4 -I 256 -E 'root_owner=0:0,lazy_itable_init=0,lazy_journal_init=0' -O '^large_file' -O '^huge_file' -d '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/tmp/root' -U 12345678-1234-1234-1234-1234567890ab -E quotatype= -L mke2fs -O '^resize_inode,quota' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4' 32768k" (stderr+stdout): 239s mke2fs 1.47.0 (5-Feb-2023) 239s Discarding device blocks: 0/32768 done 239s Creating filesystem with 32768 1k blocks and 8192 inodes 239s Filesystem UUID: 12345678-1234-1234-1234-1234567890ab 239s Superblock backups stored on blocks: 239s 8193, 24577 239s 239s Allocating group tables: 0/4 done 239s Writing inode tables: 0/4 done 239s Creating journal (4096 blocks): done 239s Copying files into the device: done 239s Writing superblocks and filesystem accounting information: 0/4 done 239s 239s INFO: ext4(mke2fs.ext4): cmd: "e2fsck -pvfD '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4'" (stderr+stdout): 239s 239s 51 inodes used (0.62%, out of 8192) 239s 0 non-contiguous files (0.0%) 239s 0 non-contiguous directories (0.0%) 239s # of inodes with ind/dind/tind blocks: 0/0/0 239s Extent depth histogram: 43 239s 6188 blocks used (18.88%, out of 32768) 239s 0 bad blocks 239s 0 large files 239s 239s 24 regular files 239s 18 directories 239s 0 character device files 239s 0 block device files 239s 0 fifos 239s 0 links 239s 0 symbolic links (0 fast symbolic links) 239s 0 sockets 239s ------------ 239s 42 files 239s INFO: ext4(mke2fs.ext4): cmd: "echo 'set_current_time 20000101000000 239s set_super_value mkfs_time 20000101000000 239s set_super_value lastcheck 20000101000000 239s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4'" (stderr+stdout): 239s debugfs 1.47.0 (5-Feb-2023) 239s debugfs: set_current_time 20000101000000 239s Setting current time to Sat Jan 1 00:00:00 2000 239s 239s debugfs: set_super_value mkfs_time 20000101000000 239s debugfs: set_super_value lastcheck 20000101000000 239s debugfs: set_super_value mtime 00000000 239s debugfs: ++ uuid='Filesystem UUID' 239s ++ seed='Directory Hash Seed:' 239s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 239s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 239s ++ dumpe2fs images/mke2fs.ext4 239s dumpe2fs 1.47.0 (5-Feb-2023) 239s ++ grep -v '^\(Filesystem UUID\|Directory Hash Seed:\|Checksum: \|Group 0: (Blocks 1-4095) csum\|Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205\)' 239s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 239s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 239s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 239s ++ sed -i -e 's/^J\(ournal size:\) /Total j\1/' -e 's/^Journal length: \( *\)\(.*\)$/Total journal blocks:\1\2\nMax transaction length: \2\nFast commit length: 0/' -e '/^Overhead clusters:/d' dump 239s ++ '[' mke2fs = genext2fs ']' 239s ++ version=0 239s ++ test_cmp /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/mke2fs.0.dump dump 239s ++ diff -u /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/mke2fs.0.dump dump 239s ++ e2fsck -nf images/mke2fs.ext4 239s e2fsck 1.47.0 (5-Feb-2023) 239s Pass 1: Checking inodes, blocks, and sizes 239s Pass 2: Checking directory structure 239s Pass 3: Checking directory connectivity 239s Pass 4: Checking reference counts 239s Pass 5: Checking group summary information 239s mke2fs: 51/8192 files (0.0% non-contiguous), 6188/32768 blocks 239s ++ debugfs -R 'ls -p' images/mke2fs.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ IFS=/ 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 239s ok 5 - mke2fs 239s 239s # passed all 5 test(s) 239s 1..5 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 239s debugfs 1.47.0 (5-Feb-2023) 239s ++ read a b c d e x f 239s ++ case "${x}" in 239s ++ continue 239s ++ read a b c d e x f 239s ++ check_size images/mke2fs.ext4 33554432 239s ++ local size 239s ++ get_size images/mke2fs.ext4 239s ++ local file=images/mke2fs.ext4 239s ++ '[' '!' -f images/mke2fs.ext4 ']' 239s +++ du -b images/mke2fs.ext4 239s ++ set -- 33554432 images/mke2fs.ext4 239s ++ size=33554432 239s ++ '[' 33554432 -ne 33554432 ']' 239s ++ check_root 239s ++ diff -ru '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.ext.test/root.test' 239s ++ func_check 239s ++ local ret=0 239s ++ set +x 239s expecting success: 239s run_genimage_root cpio.config test.cpio && 239s zcat images/test.cpio | cpio --extract -t | grep -v '^\.$' | sort > '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 239s check_size_range images/test.cpio 400 550 && 239s check_filelist 239s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00131438 s, 798 MB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 239s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 239s ok 1 - cpio 239s 239s skipping test: cramfs 239s run_genimage_root cramfs.config test.cramfs && 239s check_size images/test.cramfs 4096 239s 239s ok 2 # skip cramfs (missing mkcramfs) 239s 239s expecting success: 239s run_genimage_root iso.config test.iso && 239s check_size_range images/test.iso 300000 400000 239s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 239s INFO: cpio(test.cpio): cmd: "(cd '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp/root' && find . | cpio -H 'newc' -o | gzip) > '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images/test.cpio'" (stderr+stdout): 239s 10 blocks 239s 10 blocks 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00102156 s, 1.0 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 239s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 239s ok 3 - iso 239s 239s skipping test: f2fs 239s run_genimage_root f2fs.config test.f2fs && 239s fsck.f2fs images/test.f2fs 239s 239s ok 4 # skip f2fs (missing fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs) 239s 239s skipping test: squashfs 239s run_genimage_root squashfs.config test.squashfs && 239s check_size_range images/test.squashfs 4000 4100 && 239s unsquashfs -ls images/test.squashfs | sed -n '/squashfs-root/s;squashfs-root/;;p' | sort > '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 239s check_filelist 239s 239s ok 5 # skip squashfs (missing mksquashfs) 239s 239s expecting success: 239s run_genimage_root tar.config test.tar.gz && 239s check_size_range images/test.tar.gz 500 600 && 239s zcat images/test.tar.gz | tar -t | sed -n -e 's;/$;;' -e 's;^\./\(..*\)$;\1;p' | sort > '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 239s check_filelist 239s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 239s INFO: iso(test.iso): cmd: "genisoimage -input-charset default -R -hide-rr-moved -V 'iso-test' -o '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images/test.iso' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp/root'" (stderr+stdout): 239s Total translation table size: 0 239s Total rockridge attributes bytes: 5297 239s Total directory bytes: 33468 239s Path table size(bytes): 182 239s Max brk space used 1a000 239s 191 extents written (0 MB) 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000964625 s, 1.1 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 239s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 239s INFO: tar(test.tar.gz): cmd: "tar cz -f '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images/test.tar.gz' -C '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp/root' ." (stderr+stdout): 239s ok 6 - tar 239s 239s expecting success: 239s run_genimage_root vfat.config test.vfat && 239s fsck.fat -p images/test.vfat | tee fsck.log && 239s test_must_fail grep -q 'Filesystem was changed' fsck.log && 239s check_size images/test.vfat 4193280 && 239s MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e 's;^::/;;' -e 's;/$;;' | sort > '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 239s check_filelist 239s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000942375 s, 1.1 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 239s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 239s INFO: vfat(test.vfat): cmd: "mkdosfs -n 'vfat-test' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images/test.vfat'" (stderr+stdout): 239s mkfs.fat: Warning: lowercase labels might not work properly on some systems 239s mkfs.fat 4.2 (2021-01-31) 239s INFO: vfat(test.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -sp -i '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/images/test.vfat' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.filesystem.test/tmp/root'/* ::" (stderr+stdout): 239s fsck.fat 4.2 (2021-01-31) 239s images/test.vfat: 41 files, 16/2028 clusters 239s ok 7 - vfat 239s 239s # passed all 7 test(s) 239s 1..7 239s expecting success: 239s setup_test_images && 239s run_genimage flash.config test.flash && 239s md5sum -c '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/flash.md5' 239s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.4536e-05 s, 55.5 MB/s 239s 11+0 records in 239s 11+0 records out 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 5.783e-05 s, 97.4 MB/s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000983178 s, 1.1 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.flash.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.flash.test/tmp"/*" (stderr+stdout): 239s DEBUG: flash(test.flash): adding implicit file rule for 'part1.img' 239s DEBUG: flash(test.flash): adding implicit file rule for 'part2.img' 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.flash.test/images"" (stderr+stdout): 239s INFO: flash(test.flash): writing image partition 'part1' (0x100000@0x0) 239s DEBUG: flash(test.flash): copying 1048576 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.flash.test/input/part1.img at offset 0 239s DEBUG: flash(test.flash): adding 1044992 0xff bytes at offset 3584 239s INFO: flash(test.flash): writing image partition 'part2' (0x100000@0x100000) 239s DEBUG: flash(test.flash): copying 1048576 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.flash.test/input/part2.img at offset 1048576 239s DEBUG: flash(test.flash): adding 1042944 0xff bytes at offset 1054208 239s images/test.flash: OK 239s ok 1 - flash 239s 239s skipping test: jffs2 239s run_genimage_root jffs2.config test.jffs2 && 239s md5sum -c '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/jffs2.md5' 239s 239s ok 2 # skip jffs2 (missing mkfs_jffs2) 239s 239s skipping test: ubifs 239s run_genimage_root ubifs.config test.ubifs && 239s check_size_range images/test.ubifs 200000 300000 239s 239s ok 3 # skip ubifs (missing mkfs_ubifs) 239s 239s skipping test: ubi 239s setup_ubi_images && 239s run_genimage ubi.config test.ubi && 239s check_size_range images/test.ubi 550000 600000 239s 239s ok 4 # skip ubi (missing ubinize) 239s 239s # passed all 4 test(s) 239s 1..4 239s expecting success: 239s setup_exec_files && 239s run_genimage_root exec.config 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.8169e-05 s, 52.6 MB/s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 5.3158e-05 s, 67.4 MB/s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.8925e-05 s, 73.3 MB/s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.8851e-05 s, 73.4 MB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp/root"" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 239s INFO: file(file1.img): cmd: "./exec-check.sh file1.img" (stderr+stdout): 239s + : OUTPUTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images' 239s + : INPUTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input' 239s + : ROOTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig' 239s + : TMPPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp' 239s + : IMAGE 239s + test file1.img = file1.img 239s + : IMAGEOUTFILE 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file1.img' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file1.img' 239s + : IMAGENAME 239s + test exec-test = exec-test 239s + : IMAGESIZE 239s + test 3584 = 3584 239s + : IMAGEMOUNTPOINT 239s + test '' = '' 239s + : IMAGEMOUNTPATH 239s + '[' '' = empty ']' 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp/root' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp/root' 239s INFO: file(file1.img): cmd: "cp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input/file1.img' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file1.img'" (stderr+stdout): 239s INFO: file(file2.img): cmd: "cp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input/file2.img' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file2.img'" (stderr+stdout): 239s INFO: file(file2.img): cmd: "./exec-check.sh file2.img" (stderr+stdout): 239s ok 1 - exec 239s 239s expecting success: 239s setup_exec_files && 239s test_must_fail run_genimage_root exec-fail.config 239s + : OUTPUTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images' 239s + : INPUTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input' 239s + : ROOTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig' 239s + : TMPPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp' 239s + : IMAGE 239s + test file2.img = file2.img 239s + : IMAGEOUTFILE 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file2.img' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file2.img' 239s + : IMAGENAME 239s + test exec-test = exec-test 239s + : IMAGESIZE 239s + test 3584 = 3584 239s + : IMAGEMOUNTPOINT 239s + test '' = '' 239s + : IMAGEMOUNTPATH 239s + '[' '' = empty ']' 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp/root' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp/root' 239s INFO: file(file3.img): cmd: "./exec-check.sh file3.img empty" (stderr+stdout): 239s + : OUTPUTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images' 239s + : INPUTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input' 239s + : ROOTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig' 239s + : TMPPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp' 239s + : IMAGE 239s + test file3.img = file3.img 239s + : IMAGEOUTFILE 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file3.img' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file3.img' 239s + : IMAGENAME 239s + test exec-test = exec-test 239s + : IMAGESIZE 239s + test 3584 = 3584 239s + : IMAGEMOUNTPOINT 239s + test '' = '' 239s + : IMAGEMOUNTPATH 239s + '[' empty = empty ']' 239s + test '' = '' 239s INFO: file(file3.img): cmd: "cp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input/file3.img' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file3.img'" (stderr+stdout): 239s INFO: file(file4.img): cmd: "cp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input/file4.img' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file4.img'" (stderr+stdout): 239s INFO: file(file4.img): cmd: "./exec-check.sh file4.img empty" (stderr+stdout): 239s + : OUTPUTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images' 239s + : INPUTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/input' 239s + : ROOTPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig' 239s + : TMPPATH 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp' 239s + : IMAGE 239s + test file4.img = file4.img 239s + : IMAGEOUTFILE 239s + test '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file4.img' = '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images/file4.img' 239s + : IMAGENAME 239s + test exec-test = exec-test 239s + : IMAGESIZE 239s + test 3584 = 3584 239s + : IMAGEMOUNTPOINT 239s + test '' = '' 239s + : IMAGEMOUNTPATH 239s + '[' empty = empty ']' 239s + test '' = '' 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.8913e-05 s, 73.3 MB/s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 7.4127e-05 s, 48.3 MB/s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.4145e-05 s, 81.2 MB/s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.7913e-05 s, 74.8 MB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "cp -a "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/root.orig" "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp/root"" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 239s INFO: file(file1.img): cmd: "false" (stderr+stdout): 239s ERROR: file(file1.img): failed to generate file1.img 239s ok 2 - exec-fail 239s 239s expecting success: 239s run_genimage include.config && 239s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include-ccc.fdisk' include.fdisk 239s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 239s INFO: hdimage(include.hdimage): adding partition 'ccc' (in MBR) ... 239s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 239s ok 3 - includepath1 239s 239s expecting success: 239s extra_opts='--includepath=/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/aaa' run_genimage include.config && 239s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include-aaa.fdisk' include.fdisk 239s 239s ok 4 - includepath2 239s 239s expecting success: 239s extra_opts='--includepath=/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/bbb:/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/aaa' run_genimage include.config && 239s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include-bbb.fdisk' include.fdisk 239s 239s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 239s INFO: hdimage(include.hdimage): writing GPT 239s INFO: hdimage(include.hdimage): writing protective MBR 239s INFO: hdimage(include.hdimage): writing MBR 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 239s INFO: hdimage(include.hdimage): adding partition 'aaa' (in MBR) ... 239s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 239s INFO: hdimage(include.hdimage): writing GPT 239s INFO: hdimage(include.hdimage): writing protective MBR 239s INFO: hdimage(include.hdimage): writing MBR 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 239s ok 5 - includepath3 239s 239s expecting success: 239s extra_opts='--includepath=.:/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/bbb' run_genimage include.config && 239s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include-ccc.fdisk' include.fdisk 239s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 239s INFO: hdimage(include.hdimage): adding partition 'bbb' (in MBR) ... 239s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 239s INFO: hdimage(include.hdimage): writing GPT 239s INFO: hdimage(include.hdimage): writing protective MBR 239s INFO: hdimage(include.hdimage): writing MBR 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 239s INFO: hdimage(include.hdimage): adding partition 'ccc' (in MBR) ... 239s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 239s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 239s INFO: hdimage(include.hdimage): writing GPT 239s INFO: hdimage(include.hdimage): writing protective MBR 239s INFO: hdimage(include.hdimage): writing MBR 239s ok 6 - includepath4 239s 239s skipping test: includepath5 239s extra_opts='--includepath=/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/include/aaa' test_must_fail run_genimage include.config 239s 239s ok 7 # skip includepath5 (missing !includepath) 239s 239s # passed all 7 test(s) 239s 1..7 239s expecting success: 239s setup_test_images && 239s run_genimage hdimage.config test.hdimage && 239s check_size images/test.hdimage 10485760 && 239s sfdisk_validate images/test.hdimage && 239s check_disk_usage_range images/test.hdimage 40960 57344 && 239s sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage.fdisk' hdimage.fdisk && 239s check_size images/test.hdimage-2 11539968 && 239s sfdisk_validate images/test.hdimage-2 && 239s check_disk_usage_range images/test.hdimage-2 61290 65376 && 239s sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage.fdisk-2' hdimage.fdisk-2 239s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.3007e-05 s, 56.9 MB/s 239s 11+0 records in 239s 11+0 records out 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 5.39e-05 s, 104 MB/s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.001032 s, 1.0 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part3.img' 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 239s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part3.img' ... 239s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 239s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 239s INFO: hdimage(test.hdimage): writing EBR 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 5242880 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5248512 239s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 239s INFO: hdimage(test.hdimage): writing EBR 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 7340032 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 7343616 239s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 239s INFO: hdimage(test.hdimage): writing EBR 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 9437184 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 9442816 239s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(test.hdimage): writing MBR 239s INFO: hdimage(test.hdimage-2): adding partition 'part1' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 239s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 1052160 239s INFO: hdimage(test.hdimage-2): adding partition 'part2' (in MBR) from 'part2.img' ... 239s INFO: hdimage(test.hdimage-2): writing EBR 239s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 3145728 239s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 3151360 239s INFO: hdimage(test.hdimage-2): adding partition 'part3' (in MBR) from 'part1.img' ... 239s INFO: hdimage(test.hdimage-2): writing EBR 239s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 239s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 5246464 239s INFO: hdimage(test.hdimage-2): adding partition 'part4' (in MBR) from 'part2.img' ... 239s INFO: hdimage(test.hdimage-2): writing EBR 239s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 7340032 239s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 7345664 239s INFO: hdimage(test.hdimage-2): adding partition 'part5' (in MBR) from 'part1.img' ... 239s INFO: hdimage(test.hdimage-2): writing EBR 239s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 9437184 239s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 9440768 239s INFO: hdimage(test.hdimage-2): adding partition 'part6' (in MBR) from 'part2.img' ... 239s INFO: hdimage(test.hdimage-2): writing EBR 239s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 11534336 239s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 11539968 239s INFO: hdimage(test.hdimage-2): adding partition '[MBR]' ... 239s INFO: hdimage(test.hdimage-2): writing MBR 239s 'sfdisk -V' failed with: 239s Failed to read extended partition table (offset=2097152): Success 239s images/test.hdimage: 239s No errors detected. 239s Total allocated sectors 2097152 greater than the maximum 20480. 239s not ok 1 - hdimage 239s # 239s # setup_test_images && 239s # run_genimage hdimage.config test.hdimage && 239s # check_size images/test.hdimage 10485760 && 239s # sfdisk_validate images/test.hdimage && 239s # check_disk_usage_range images/test.hdimage 40960 57344 && 239s # sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && 239s # test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage.fdisk' hdimage.fdisk && 239s # check_size images/test.hdimage-2 11539968 && 239s # sfdisk_validate images/test.hdimage-2 && 239s # check_disk_usage_range images/test.hdimage-2 61290 65376 && 239s # sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && 239s # test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage.fdisk-2' hdimage.fdisk-2 239s # 239s 239s expecting success: 239s setup_test_images && 239s test_must_fail run_genimage hdimage2.config test.hdimage 239s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.2499e-05 s, 57.3 MB/s 239s 11+0 records in 239s 11+0 records out 239s ok 2 - hdimage2 239s 239s expecting success: 239s setup_test_images && 239s run_genimage hdimage4.config test.hdimage && 239s check_size images/test.hdimage 7360512 && 239s sfdisk_validate images/test.hdimage && 239s sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage4.fdisk' hdimage4.fdisk 239s 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 5.7643e-05 s, 97.7 MB/s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000954381 s, 1.1 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 239s ERROR: hdimage(test.hdimage): part part1 size (5120) too small for part2.img (5632) 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.3715e-05 s, 82.0 MB/s 239s 11+0 records in 239s 11+0 records out 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.4101e-05 s, 128 MB/s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000906437 s, 1.2 GB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 239s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2102784 239s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 239s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 239s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5246464 239s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 6297088 239s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 239s INFO: hdimage(test.hdimage): writing GPT 239s INFO: hdimage(test.hdimage): writing protective MBR 239s INFO: hdimage(test.hdimage): writing MBR 239s ok 3 - hdimage4 239s 239s expecting success: 239s setup_test_images && 239s run_genimage hdimage5.config test.hdimage && 239s check_size images/test.hdimage 7360512 && 239s sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage5.fdisk' hdimage5.fdisk 239s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.0942e-05 s, 58.8 MB/s 239s 11+0 records in 239s 11+0 records out 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 2.7392e-05 s, 206 MB/s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00132768 s, 790 MB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 239s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2102784 239s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 239s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 239s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5246464 239s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 6297088 239s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 239s INFO: hdimage(test.hdimage): writing GPT 239s INFO: hdimage(test.hdimage): writing protective MBR 239s INFO: hdimage(test.hdimage): writing MBR 239s The backup GPT table is not on the end of the device. 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 5.0126e-05 s, 71.5 MB/s 239s 11+0 records in 239s 11+0 records out 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.7532e-05 s, 118 MB/s 239s 1+0 records in 239s 1+0 records out 239s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000965813 s, 1.1 GB/s 239s ok 4 - hdimage5 239s 239s expecting success: 239s setup_test_images && 239s run_genimage hdimage6.config test.hdimage && 239s check_size images/test.hdimage 28082176 && 239s sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage6.fdisk' hdimage6.fdisk 239s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) ... 239s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) ... 239s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) ... 239s INFO: hdimage(test.hdimage): writing EBR 239s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) ... 239s INFO: hdimage(test.hdimage): writing EBR 239s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) ... 239s INFO: hdimage(test.hdimage): writing EBR 239s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(test.hdimage): writing MBR 239s Failed to read extended partition table (offset=521928704): Success 239s --- /tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage6.fdisk 2024-03-25 23:53:14.158766376 +0000 239s +++ hdimage6.fdisk 2024-03-25 23:53:14.998766376 +0000 239s @@ -1,7 +1,4 @@ 239s Disk identifier: 0x00000000 239s -images/test.hdimage1:start=256,size=512,type=83 239s -images/test.hdimage2:start=768,size=6144,type=83 239s -images/test.hdimage3:start=7199,size=79393,type=f 239s -images/test.hdimage5:start=7200,size=15872,type=83 239s -images/test.hdimage6:start=23088,size=31744,type=83 239s -images/test.hdimage7:start=54848,size=31744,type=83 239s +images/test.hdimage1:start=65536,size=131072,type=83 239s +images/test.hdimage2:start=196608,size=1572864,type=83 239s +images/test.hdimage3:start=521928704,size=557187328,type=f 239s not ok 5 - hdimage6 239s # 239s # setup_test_images && 239s # run_genimage hdimage6.config test.hdimage && 239s # check_size images/test.hdimage 28082176 && 239s # sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && 239s # test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage6.fdisk' hdimage6.fdisk 239s # 239s 239s expecting success: 239s setup_test_images && 239s run_genimage hdimage7.config && 239s sfdisk_validate images/test.hdimage && 239s sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage7.fdisk' hdimage7.fdisk 239s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.2037e-05 s, 57.8 MB/s 239s 11+0 records in 239s 11+0 records out 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 5.8285e-05 s, 96.6 MB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(test.hdimage): adding partition 'rescue' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 2097152 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2100736 239s INFO: hdimage(test.hdimage): adding partition 'rootfs-A' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 239s INFO: hdimage(test.hdimage): adding partition 'rootfs-B' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 12582912 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 12588544 239s INFO: hdimage(test.hdimage): adding partition 'reserved' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 20971520 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 20975104 239s INFO: hdimage(test.hdimage): adding partition 'sys' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 21102592 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 21106176 239s INFO: hdimage(test.hdimage): adding partition 'data' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 25296896 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 25300480 239s INFO: hdimage(test.hdimage): adding partition 'bootloader' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 1048576 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1054208 239s INFO: hdimage(test.hdimage): adding partition 'env-1' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 819200 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 822784 239s INFO: hdimage(test.hdimage): adding partition 'env-2' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 851968 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 855552 239s INFO: hdimage(test.hdimage): adding partition 'ucode' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 983040 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 986624 239s INFO: hdimage(test.hdimage): adding partition 'SPL' from 'part1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1024 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4608 239s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 239s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 239s INFO: hdimage(test.hdimage): writing GPT 239s INFO: hdimage(test.hdimage): writing protective MBR 239s INFO: hdimage(test.hdimage): writing MBR 239s ok 6 - hdimage7 239s 239s expecting success: 239s setup_test_images && 239s run_genimage hdimage-hybrid.config && 239s sfdisk_validate images/hybrid.hdimage && 239s sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-hybrid.fdisk' hdimage-hybrid.fdisk && 239s dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && 239s dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && 239s test_cmp hybrid.sector0 mbr.sector0 239s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 5.9521e-05 s, 60.2 MB/s 239s 11+0 records in 239s 11+0 records out 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 5.9459e-05 s, 94.7 MB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(hybrid.hdimage): adding implicit file rule for 'part1.img' 239s DEBUG: hdimage(hybrid.hdimage): adding implicit file rule for 'part2.img' 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(hybrid.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 239s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 1052160 239s INFO: hdimage(hybrid.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 239s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 2102784 239s INFO: hdimage(hybrid.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 239s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 3149312 239s INFO: hdimage(hybrid.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 239s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 4199936 239s INFO: hdimage(hybrid.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 239s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 5246464 239s INFO: hdimage(hybrid.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 239s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 6297088 239s INFO: hdimage(hybrid.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(hybrid.hdimage): adding partition '[GPT header]' ... 239s INFO: hdimage(hybrid.hdimage): adding partition '[GPT array]' ... 239s INFO: hdimage(hybrid.hdimage): adding partition '[GPT backup]' ... 239s INFO: hdimage(hybrid.hdimage): writing GPT 239s INFO: hdimage(hybrid.hdimage): writing hybrid MBR 239s INFO: hdimage(mbr.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(mbr.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 239s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 1052160 239s INFO: hdimage(mbr.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 239s DEBUG: hdimage(mbr.hdimage): copying 5632 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 239s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 2102784 239s INFO: hdimage(mbr.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 239s DEBUG: hdimage(mbr.hdimage): copying 3584 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 239s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 3149312 239s INFO: hdimage(mbr.hdimage): adding partition 'fake-gpt' (in MBR) ... 239s INFO: hdimage(mbr.hdimage): adding partition '[MBR]' ... 239s INFO: hdimage(mbr.hdimage): writing MBR 239s 1+0 records in 239s 1+0 records out 239s 512 bytes copied, 1.6809e-05 s, 30.5 MB/s 239s 1+0 records in 239s 1+0 records out 239s 512 bytes copied, 1.5031e-05 s, 34.1 MB/s 239s ok 7 - hdimage-hybrid 239s 239s expecting success: 239s setup_test_images && 239s test_must_fail run_genimage hdimage-fail1.config && 239s test_must_fail run_genimage hdimage-fail2.config && 239s test_must_fail run_genimage hdimage-fail3.config && 239s test_must_fail run_genimage hdimage-fail4.config && 239s test_must_fail run_genimage hdimage-fail5.config && 239s test_must_fail run_genimage hdimage-fail6.config && 239s test_must_fail run_genimage hdimage-fail7.config 239s 239s 7+0 records in 239s 7+0 records out 239s 3584 bytes (3.6 kB, 3.5 KiB) copied, 7.2487e-05 s, 49.4 MB/s 239s 11+0 records in 239s 11+0 records out 239s 5632 bytes (5.6 kB, 5.5 KiB) copied, 5.9068e-05 s, 95.3 MB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ERROR: hdimage(test.hdimage): part part1: 'partition-type-uuid' is only valid for gpt and hybrid partition-table-type 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ERROR: hdimage(test.hdimage): part part1: 'partition-type' is only valid for mbr and hybrid partition-table-type 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ERROR: hdimage(test.hdimage): part part1 size must not be zero 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ERROR: hdimage(test.hdimage): 'disk-uuid' is only valid for gpt and hybrid partition-table-type 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ERROR: hdimage(test.hdimage): 'disk-signature' is only valid for mbr and hybrid partition-table-type 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ERROR: hdimage(test.hdimage): part part4 overlaps with previous partition 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ok 8 - hdimage syntax 239s ERROR: hdimage(test.hdimage): hybrid MBR partitions (4) exceeds maximum of 3 239s 239s expecting success: 239s setup_gpt_files && 239s test_must_fail run_genimage gpt-overlap1.config 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '3K.img' 239s DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '70K.img' 239s ERROR: hdimage(test.gpt-overlap1): partition [GPT array] (offset 0x400, size 0x4000) overlaps previous partition SPL (offset 0x400, size 0x6000) 239s ERROR: hdimage(test.gpt-overlap1): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole. 239s ok 9 - gpt-overlap1 239s 239s expecting success: 239s setup_gpt_files && 239s run_genimage gpt-overlap2.config 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '3K.img' 239s DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '70K.img' 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(test.gpt-overlap2): adding partition 'SPL' from '3K.img' ... 239s DEBUG: hdimage(test.gpt-overlap2): copying 3072 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 1024 239s DEBUG: hdimage(test.gpt-overlap2): adding 3072 0 bytes at offset 1024 239s INFO: hdimage(test.gpt-overlap2): adding partition 'aaa' (in MBR) from '70K.img' ... 239s DEBUG: hdimage(test.gpt-overlap2): copying 71680 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img at offset 1048576 239s DEBUG: hdimage(test.gpt-overlap2): adding 71680 0 bytes at offset 1048576 239s INFO: hdimage(test.gpt-overlap2): adding partition '[MBR]' ... 239s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT header]' ... 239s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT array]' ... 239s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT backup]' ... 239s INFO: hdimage(test.gpt-overlap2): writing GPT 239s INFO: hdimage(test.gpt-overlap2): writing protective MBR 239s INFO: hdimage(test.gpt-overlap2): writing MBR 239s ok 10 - gpt-overlap2 239s 239s expecting success: 239s setup_gpt_files && 239s test_must_fail run_genimage gpt-overlap3.config 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '3K.img' 239s DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '70K.img' 239s ERROR: hdimage(test.gpt-overlap3): partition [GPT array] (offset 0x7800, size 0x4000) overlaps previous partition aaa (offset 0x8000, size 0x100000) 239s ok 11 - gpt-overlap3 239s 239s expecting success: 239s run_genimage gpt-partition-types.config && 239s sfdisk_validate images/gpt-partition-types.img && 239s sanitized_fdisk_sfdisk images/gpt-partition-types.img > gpt-partition-types.fdisk && 239s test_cmp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/gpt-partition-types.fdisk' gpt-partition-types.fdisk 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(gpt-partition-types.img): adding partition 'part1' (in MBR) ... 239s INFO: hdimage(gpt-partition-types.img): adding partition 'part2' (in MBR) ... 239s INFO: hdimage(gpt-partition-types.img): adding partition 'part3' (in MBR) ... 239s INFO: hdimage(gpt-partition-types.img): adding partition 'part4' (in MBR) ... 239s INFO: hdimage(gpt-partition-types.img): adding partition 'part5' (in MBR) ... 239s INFO: hdimage(gpt-partition-types.img): adding partition '[MBR]' ... 239s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT header]' ... 239s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT array]' ... 239s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT backup]' ... 239s INFO: hdimage(gpt-partition-types.img): writing GPT 239s INFO: hdimage(gpt-partition-types.img): writing protective MBR 239s INFO: hdimage(gpt-partition-types.img): writing MBR 239s ok 12 - gpt-partition-types 239s 239s expecting success: 239s test_must_fail run_genimage gpt-invalid-partition-type1.config && 239s test_must_fail run_genimage gpt-invalid-partition-type2.config 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ERROR: hdimage(gpt-partition-types-fail.img): part part1 has invalid type shortcut: unknown-shortcut 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s ERROR: hdimage(gpt-partition-types-fail.img): part part1 has invalid type shortcut: 30f239f3-275c-4e0d-9b61-Ka385b7b80f9 239s ok 13 - gpt-invalid-partition-types 239s 239s expecting success: 239s setup_gpt_files && 239s run_genimage hole.config 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 239s DEBUG: file(70K.img): added hole (440, 33792) 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 239s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 239s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 0 239s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 0 239s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 239s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 239s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 239s INFO: hdimage(test.hole): adding partition '[MBR]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 239s INFO: hdimage(test.hole): writing GPT 239s INFO: hdimage(test.hole): writing protective MBR 239s INFO: hdimage(test.hole): writing MBR 239s ok 14 - bootloader-hole1 239s 239s expecting success: 239s setup_gpt_files && 239s GPT_LOCATION=64K test_must_fail run_genimage hole.config 239s ok 15 - bootloader-hole2 239s 239s expecting success: 239s setup_gpt_files && 239s GPT_LOCATION=70K run_genimage hole.config 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 239s DEBUG: file(70K.img): added hole (440, 33792) 239s ERROR: hdimage(test.hole): partition [GPT array] (offset 0x10000, size 0x4000) overlaps previous partition bootloader (offset 0x0, size 0x11800) 239s ERROR: hdimage(test.hole): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole. 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 239s DEBUG: file(70K.img): added hole (440, 33792) 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 239s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 239s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 0 239s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 0 239s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 239s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 239s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 239s INFO: hdimage(test.hole): adding partition '[MBR]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 239s INFO: hdimage(test.hole): writing GPT 239s INFO: hdimage(test.hole): writing protective MBR 239s INFO: hdimage(test.hole): writing MBR 239s ok 16 - bootloader-hole3 239s 239s expecting success: 239s setup_gpt_files && 239s OFFSET=64K test_must_fail run_genimage hole.config 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 239s DEBUG: file(70K.img): added hole (440, 33792) 239s ERROR: hdimage(test.hole): partition foo (offset 0x20400, size 0xc00) overlaps previous partition bootloader (offset 0x10000, size 0x11800) 239s ok 17 - bootloader-hole4 239s 239s expecting success: 239s setup_gpt_files && 239s OFFSET=128K run_genimage hole.config 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 239s DEBUG: file(70K.img): added hole (440, 33792) 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 239s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 239s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 131072 239s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 131072 239s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 239s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 239s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 239s INFO: hdimage(test.hole): adding partition '[MBR]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 239s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 239s INFO: hdimage(test.hole): writing GPT 239s INFO: hdimage(test.hole): writing protective MBR 239s INFO: hdimage(test.hole): writing MBR 239s ok 18 - bootloader-hole5 239s 239s expecting success: 239s dd if=/dev/zero bs=1 count=100 | tr '\000' '\377' > input/block1.img && 239s dd if=/dev/zero bs=1 count=50 | tr '\000' '\252' > input/block2.img && 239s dd if=/dev/zero bs=1 count=75 | tr '\000' '\167' > input/block3.img && 239s run_genimage hdimage-nopart.config && 239s hexdump -C images/test.hdimage > 'hdimage-nopart.hexdump' && 239s test_cmp 'hdimage-nopart.hexdump' '/tmp/autopkgtest.P2obpK/autopkgtest_tmp/test/hdimage-nopart.hexdump' 239s 239s 100+0 records in 239s 100+0 records out 239s 100 bytes copied, 7.7563e-05 s, 1.3 MB/s 239s 50+0 records in 239s 50+0 records out 239s 50 bytes copied, 4.308e-05 s, 1.2 MB/s 239s 75+0 records in 239s 75+0 records out 239s 75 bytes copied, 6.0155e-05 s, 1.2 MB/s 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 239s INFO: cmd: "rm -rf "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block1.img' 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block2.img' 239s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block3.img' 239s INFO: cmd: "mkdir -p "/tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 239s INFO: hdimage(test.hdimage): adding partition 'part1' from 'block1.img' ... 239s DEBUG: hdimage(test.hdimage): copying 100 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/block1.img at offset 0 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 100 239s INFO: hdimage(test.hdimage): adding partition 'part2' from 'block2.img' ... 239s DEBUG: hdimage(test.hdimage): copying 50 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/block2.img at offset 104 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 154 239s INFO: hdimage(test.hdimage): adding partition 'part3' from 'block3.img' ... 239s DEBUG: hdimage(test.hdimage): copying 75 bytes from /tmp/autopkgtest.P2obpK/autopkgtest_tmp/trash directory.hdimage.test/input/block3.img at offset 256 239s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 331 239s ok 19 - hdimage no-partition 239s 239s # failed 2 among 19 test(s) 239s 1..19 240s autopkgtest [23:53:17]: test upstream-tests: -----------------------] 240s autopkgtest [23:53:17]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 240s upstream-tests FAIL non-zero exit status 1 240s autopkgtest [23:53:17]: @@@@@@@@@@@@@@@@@@@@ summary 240s upstream-tests FAIL non-zero exit status 1 253s Creating nova instance adt-noble-s390x-genimage-20240325-234917-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240325.img (UUID 9f25d9bc-613c-4979-9452-2ea8e4d84cd0)...