0s autopkgtest [23:32:44]: starting date and time: 2024-03-25 23:32:44+0000 0s autopkgtest [23:32:44]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [23:32:44]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.p96omv4t/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-3@bos02-ppc64el-23.secgroup --name adt-noble-ppc64el-genimage-20240325-233244-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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/ 95s autopkgtest [23:34:19]: testbed dpkg architecture: ppc64el 95s autopkgtest [23:34:19]: testbed apt version: 2.7.12 95s autopkgtest [23:34:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 96s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 96s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [7592 B] 97s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [56.0 kB] 97s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3998 kB] 99s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [497 kB] 100s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [700 kB] 100s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 100s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 100s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 100s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4231 kB] 103s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 103s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [61.7 kB] 103s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 106s Fetched 9681 kB in 8s (1209 kB/s) 106s Reading package lists... 108s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s Calculating upgrade... 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s 0 upgraded, 0 newly installed, 0 to remove and 246 not upgraded. 110s sh: Attempting to set up Debian/Ubuntu apt sources automatically 110s sh: Distribution appears to be Ubuntu 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 112s eatmydata is already the newest version (131-1). 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s dbus is already the newest version (1.14.10-4ubuntu1). 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s rng-tools-debian is already the newest version (2.4). 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 113s The following packages will be REMOVED: 113s cloud-init* python3-configobj* python3-debconf* 113s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 113s After this operation, 3256 kB disk space will be freed. 113s (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 ... 70156 files and directories currently installed.) 113s Removing cloud-init (24.1.2-0ubuntu1) ... 114s Removing python3-configobj (5.0.8-3) ... 114s Removing python3-debconf (1.5.86) ... 114s Processing triggers for man-db (2.12.0-3) ... 114s (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 ... 69767 files and directories currently installed.) 114s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 115s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 115s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 115s invoke-rc.d: policy-rc.d denied execution of try-restart. 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 115s linux-generic is already the newest version (6.8.0-11.11+1). 115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 116s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 116s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 118s Reading package lists... 118s Reading package lists... 119s Building dependency tree... 119s Reading state information... 119s Calculating upgrade... 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 120s autopkgtest [23:34:44]: rebooting testbed after setup commands that affected boot 157s autopkgtest [23:35:21]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 160s autopkgtest [23:35:24]: @@@@@@@@@@@@@@@@@@@@ apt-source genimage 161s Get:1 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (dsc) [2008 B] 161s Get:2 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (tar) [94.9 kB] 161s Get:3 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (diff) [3828 B] 162s gpgv: Signature made Fri Feb 16 20:05:55 2024 UTC 162s gpgv: using RSA key B8340990283D8D9BC1949AC74799A35146D12B35 162s gpgv: Can't check signature: No public key 162s dpkg-source: warning: cannot verify inline signature for ./genimage_17-2.dsc: no acceptable signature found 162s autopkgtest [23:35:26]: testing package genimage version 17-2 162s autopkgtest [23:35:26]: build not needed 163s autopkgtest [23:35:27]: test upstream-tests: preparing testbed 164s Reading package lists... 164s Building dependency tree... 164s Reading state information... 164s Starting pkgProblemResolver with broken count: 0 164s Starting 2 pkgProblemResolver with broken count: 0 164s Done 165s The following additional packages will be installed: 165s arm-trusted-firmware-tools device-tree-compiler genext2fs genimage 165s genisoimage libconfuse-common libconfuse2 libfdt1 liburing2 mtools 165s qemu-utils u-boot-tools 165s Suggested packages: 165s android-sdk-libsparse-utils mtd-utils squashfs-tools wodim cdrkit-doc 165s floppyd 165s Recommended packages: 165s qemu-block-extra libubootenv-tool 165s The following NEW packages will be installed: 165s arm-trusted-firmware-tools autopkgtest-satdep device-tree-compiler genext2fs 165s genimage genisoimage libconfuse-common libconfuse2 libfdt1 liburing2 mtools 165s qemu-utils u-boot-tools 165s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 165s Need to get 3799 kB/3800 kB of archives. 165s After this operation, 21.9 MB of additional disk space will be used. 165s Get:1 /tmp/autopkgtest.2rWSn0/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [784 B] 165s Get:2 http://ftpmaster.internal/ubuntu noble/universe ppc64el arm-trusted-firmware-tools ppc64el 2.10.0+dfsg-1 [34.8 kB] 165s Get:3 http://ftpmaster.internal/ubuntu noble/universe ppc64el genext2fs ppc64el 1.5.0-3 [44.1 kB] 165s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el libconfuse-common all 3.3-3 [5780 B] 165s Get:5 http://ftpmaster.internal/ubuntu noble/universe ppc64el libconfuse2 ppc64el 3.3-3 [36.4 kB] 165s Get:6 http://ftpmaster.internal/ubuntu noble/universe ppc64el genimage ppc64el 17-2 [62.9 kB] 165s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el genisoimage ppc64el 9:1.1.11-3.4 [479 kB] 166s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el liburing2 ppc64el 2.5-1 [25.2 kB] 166s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el mtools ppc64el 4.0.43-1 [218 kB] 166s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el qemu-utils ppc64el 1:8.2.1+ds-1ubuntu1 [2298 kB] 167s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el u-boot-tools ppc64el 2024.01+dfsg-1ubuntu2 [321 kB] 167s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el libfdt1 ppc64el 1.7.0-2 [26.0 kB] 167s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el device-tree-compiler ppc64el 1.7.0-2 [248 kB] 167s Fetched 3799 kB in 2s (1603 kB/s) 167s Selecting previously unselected package arm-trusted-firmware-tools. 167s (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 ... 69712 files and directories currently installed.) 167s Preparing to unpack .../00-arm-trusted-firmware-tools_2.10.0+dfsg-1_ppc64el.deb ... 167s Unpacking arm-trusted-firmware-tools (2.10.0+dfsg-1) ... 167s Selecting previously unselected package genext2fs. 167s Preparing to unpack .../01-genext2fs_1.5.0-3_ppc64el.deb ... 167s Unpacking genext2fs (1.5.0-3) ... 167s Selecting previously unselected package libconfuse-common. 167s Preparing to unpack .../02-libconfuse-common_3.3-3_all.deb ... 168s Unpacking libconfuse-common (3.3-3) ... 168s Selecting previously unselected package libconfuse2:ppc64el. 168s Preparing to unpack .../03-libconfuse2_3.3-3_ppc64el.deb ... 168s Unpacking libconfuse2:ppc64el (3.3-3) ... 168s Selecting previously unselected package genimage. 168s Preparing to unpack .../04-genimage_17-2_ppc64el.deb ... 168s Unpacking genimage (17-2) ... 168s Selecting previously unselected package genisoimage. 168s Preparing to unpack .../05-genisoimage_9%3a1.1.11-3.4_ppc64el.deb ... 168s Unpacking genisoimage (9:1.1.11-3.4) ... 168s Selecting previously unselected package liburing2:ppc64el. 168s Preparing to unpack .../06-liburing2_2.5-1_ppc64el.deb ... 168s Unpacking liburing2:ppc64el (2.5-1) ... 168s Selecting previously unselected package mtools. 168s Preparing to unpack .../07-mtools_4.0.43-1_ppc64el.deb ... 168s Unpacking mtools (4.0.43-1) ... 168s Selecting previously unselected package qemu-utils. 168s Preparing to unpack .../08-qemu-utils_1%3a8.2.1+ds-1ubuntu1_ppc64el.deb ... 168s Unpacking qemu-utils (1:8.2.1+ds-1ubuntu1) ... 168s Selecting previously unselected package u-boot-tools. 168s Preparing to unpack .../09-u-boot-tools_2024.01+dfsg-1ubuntu2_ppc64el.deb ... 168s Unpacking u-boot-tools (2024.01+dfsg-1ubuntu2) ... 168s Selecting previously unselected package libfdt1:ppc64el. 168s Preparing to unpack .../10-libfdt1_1.7.0-2_ppc64el.deb ... 168s Unpacking libfdt1:ppc64el (1.7.0-2) ... 168s Selecting previously unselected package device-tree-compiler. 168s Preparing to unpack .../11-device-tree-compiler_1.7.0-2_ppc64el.deb ... 168s Unpacking device-tree-compiler (1.7.0-2) ... 168s Selecting previously unselected package autopkgtest-satdep. 168s Preparing to unpack .../12-1-autopkgtest-satdep.deb ... 168s Unpacking autopkgtest-satdep (0) ... 168s Setting up genisoimage (9:1.1.11-3.4) ... 168s Setting up mtools (4.0.43-1) ... 168s Setting up arm-trusted-firmware-tools (2.10.0+dfsg-1) ... 168s Setting up libfdt1:ppc64el (1.7.0-2) ... 168s Setting up device-tree-compiler (1.7.0-2) ... 168s Setting up u-boot-tools (2024.01+dfsg-1ubuntu2) ... 168s Setting up genext2fs (1.5.0-3) ... 168s Setting up libconfuse-common (3.3-3) ... 168s Setting up liburing2:ppc64el (2.5-1) ... 168s Setting up libconfuse2:ppc64el (3.3-3) ... 168s Setting up genimage (17-2) ... 168s Setting up qemu-utils (1:8.2.1+ds-1ubuntu1) ... 168s Setting up autopkgtest-satdep (0) ... 168s Processing triggers for man-db (2.12.0-3) ... 169s Processing triggers for install-info (7.1-3) ... 169s Processing triggers for libc-bin (2.39-0ubuntu6) ... 171s (Reading database ... 69916 files and directories currently installed.) 171s Removing autopkgtest-satdep (0) ... 172s autopkgtest [23:35:36]: test upstream-tests: [----------------------- 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/cpio.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/cpio.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/cramfs.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/cramfs.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/exec-check.sh' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/exec-check.sh' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/exec-fail.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/exec-fail.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/exec.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/exec.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext.test' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext.test' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext2.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext2percent.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2percent.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext2test-percent.0.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2test-percent.0.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext2test-percent.1.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2test-percent.1.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext2test.0.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2test.0.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext2test.1.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2test.1.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext3.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext3.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext3test.0.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext3test.0.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext3test.1.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext3test.1.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext4.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext4.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext4test.0.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext4test.0.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ext4test.1.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext4test.1.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/f2fs.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/f2fs.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/filesystem.test' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/filesystem.test' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/fip.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/fip.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/fit.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/fit.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/fit.its' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/fit.its' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/flash-types.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/flash-types.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/flash.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/flash.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/flash.md5' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/flash.md5' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/flash.test' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/flash.test' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/genimage.test' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/genimage.test' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/gpt-invalid-partition-type1.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/gpt-invalid-partition-type1.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/gpt-invalid-partition-type2.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/gpt-invalid-partition-type2.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/gpt-overlap1.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/gpt-overlap1.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/gpt-overlap2.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/gpt-overlap2.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/gpt-overlap3.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/gpt-overlap3.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/gpt-partition-types.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/gpt-partition-types.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/gpt-partition-types.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/gpt-partition-types.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-fail1.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-fail1.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-fail2.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-fail2.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-fail3.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-fail3.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-fail4.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-fail4.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-fail5.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-fail5.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-fail6.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-fail6.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-fail7.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-fail7.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-hybrid.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-hybrid.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-hybrid.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-hybrid.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-nopart.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-nopart.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage-nopart.hexdump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-nopart.hexdump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage.fdisk-2' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage.fdisk-2' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage2.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage2.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage4.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage4.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage4.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage4.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage5.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage5.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage5.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage5.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage6.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage6.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage6.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage6.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage7.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage7.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage7.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage7.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hole.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hole.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include-aaa.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include-aaa.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include-bbb.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include-bbb.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include-ccc.fdisk' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include-ccc.fdisk' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include-test.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include-test.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include/aaa' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/aaa' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include/aaa/include-test.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/aaa/include-test.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include/bbb' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/bbb' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/include/bbb/include-test.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/bbb/include-test.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/iso.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/iso.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/jffs2.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/jffs2.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/jffs2.md5' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/jffs2.md5' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/misc.test' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/misc.test' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/mke2fs.0.dump' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/mke2fs.0.dump' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/mke2fs.conf' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/mke2fs.conf' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/mke2fs.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/mke2fs.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/qemu.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/qemu.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/qemu.qcow.gz' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/qemu.qcow.gz' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/rauc-openssl-ca' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/rauc-openssl-ca' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/rauc-openssl-ca/ca.cert.pem' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/rauc-openssl-ca/ca.cert.pem' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/rauc-openssl-ca/rauc.cert.pem' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/rauc-openssl-ca/rauc.cert.pem' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/rauc-openssl-ca/rauc.key.pem' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/rauc-openssl-ca/rauc.key.pem' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/rauc.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/rauc.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/sharness.sh' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/sharness.sh' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/sparse.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/sparse.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/squashfs.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/squashfs.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/tar.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/tar.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/test-setup.sh' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test-setup.sh' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/test.raucb.info' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test.raucb.info' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/test.raucb.info.new' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test.raucb.info.new' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/test2.raucb.info' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test2.raucb.info' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/test2.raucb.info.new' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test2.raucb.info.new' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ubi.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ubi.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/ubifs.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ubifs.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/vfat.config' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/vfat.config' 172s '/tmp/autopkgtest.2rWSn0/build.lBZ/src/test/hdimage.test' -> '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage.test' 172s expecting success: 172s run_genimage_root ext2.config test.ext2 && 172s check_ext images/test.ext2 ext2test 4194304 genext2fs 172s 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000354353 s, 3.0 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 172s INFO: ext2(test.ext2): cmd: "genext2fs -d '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext2' " (stderr+stdout): 172s copying from directory /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root 172s INFO: ext2(test.ext2): cmd: "tune2fs -L 'ext2test' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 172s tune2fs 1.47.0 (5-Feb-2023) 172s INFO: ext2(test.ext2): cmd: "e2fsck -pvfD '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 172s ext2test: Filesystem did not have a UUID; generating one. 172s 172s 172s 51 inodes used (19.92%, out of 256) 172s 0 non-contiguous files (0.0%) 172s 0 non-contiguous directories (0.0%) 172s # of inodes with ind/dind/tind blocks: 1/0/0 172s 71 blocks used (1.73%, out of 4096) 172s 0 bad blocks 172s 0 large files 172s 172s 24 regular files 172s 18 directories 172s 0 character device files 172s 0 block device files 172s 0 fifos 172s 0 links 172s 0 symbolic links (0 fast symbolic links) 172s 0 sockets 172s ------------ 172s 42 files 172s INFO: ext2(test.ext2): cmd: "echo 'set_current_time 20000101000000 172s set_super_value mkfs_time 20000101000000 172s set_super_value lastcheck 20000101000000 172s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 172s debugfs 1.47.0 (5-Feb-2023) 172s debugfs: set_current_time 20000101000000 172s Setting current time to Sat Jan 1 00:00:00 2000 172s 172s debugfs: set_super_value mkfs_time 20000101000000 172s debugfs: set_super_value lastcheck 20000101000000 172s debugfs: set_super_value mtime 00000000 172s debugfs: ++ uuid='Filesystem UUID' 172s ++ seed='Directory Hash Seed:' 172s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 172s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 172s ++ dumpe2fs images/test.ext2 172s ++ 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\)' 172s dumpe2fs 1.47.0 (5-Feb-2023) 172s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 172s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 172s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 172s ++ 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 172s ++ '[' genext2fs = genext2fs ']' 172s +++ genext2fs --version 172s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 172s ++ version=1 172s ++ test_cmp /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2test.1.dump dump 172s ++ diff -u /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2test.1.dump dump 172s ++ e2fsck -nf images/test.ext2 172s e2fsck 1.47.0 (5-Feb-2023) 172s ++ debugfs -R 'ls -p' images/test.ext2 172s ++ IFS=/ 172s ++ read a b c d e x f 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s Pass 1: Checking inodes, blocks, and sizes 172s Pass 2: Checking directory structure 172s Pass 3: Checking directory connectivity 172s Pass 4: Checking reference counts 172s Pass 5: Checking group summary information 172s ext2test: 51/256 files (0.0% non-contiguous), 71/4096 blocks 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ check_size images/test.ext2 4194304 172s ++ local size 172s ++ get_size images/test.ext2 172s ++ local file=images/test.ext2 172s ++ '[' '!' -f images/test.ext2 ']' 172s +++ du -b images/test.ext2 172s ok 1 - ext2 172s 172s expecting success: 172s run_genimage_root ext2percent.config test.ext2 && 172s check_ext images/test.ext2 ext2test-percent 69632 genext2fs 172s 172s ++ set -- 4194304 images/test.ext2 172s ++ size=4194304 172s ++ '[' 4194304 -ne 4194304 ']' 172s ++ check_root 172s ++ diff -ru '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test' 172s ++ func_check 172s ++ local ret=0 172s ++ set +x 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000417372 s, 2.5 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 172s INFO: ext2(test.ext2): cmd: "genext2fs -d '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=68 -i 16384 '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext2' " (stderr+stdout): 172s copying from directory /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root 172s INFO: ext2(test.ext2): cmd: "tune2fs -L 'ext2test' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 172s tune2fs 1.47.0 (5-Feb-2023) 172s INFO: ext2(test.ext2): cmd: "e2fsck -pvfD '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 172s ext2test: Filesystem did not have a UUID; generating one. 172s 172s 172s 51 inodes used (91.07%, out of 56) 172s 0 non-contiguous files (0.0%) 172s 0 non-contiguous directories (0.0%) 172s # of inodes with ind/dind/tind blocks: 1/0/0 172s 46 blocks used (67.65%, out of 68) 172s 0 bad blocks 172s 0 large files 172s 172s 24 regular files 172s 18 directories 172s 0 character device files 172s 0 block device files 172s 0 fifos 172s 0 links 172s 0 symbolic links (0 fast symbolic links) 172s 0 sockets 172s ------------ 172s 42 files 172s INFO: ext2(test.ext2): cmd: "echo 'set_current_time 20000101000000 172s set_super_value mkfs_time 20000101000000 172s set_super_value lastcheck 20000101000000 172s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 172s debugfs 1.47.0 (5-Feb-2023) 172s debugfs: set_current_time 20000101000000 172s Setting current time to Sat Jan 1 00:00:00 2000 172s 172s debugfs: set_super_value mkfs_time 20000101000000 172s debugfs: set_super_value lastcheck 20000101000000 172s debugfs: set_super_value mtime 00000000 172s debugfs: ++ uuid='Filesystem UUID' 172s ++ seed='Directory Hash Seed:' 172s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 172s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 172s ++ dumpe2fs images/test.ext2 172s dumpe2fs 1.47.0 (5-Feb-2023) 172s ++ 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\)' 172s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 172s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 172s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 172s ++ 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 172s ++ '[' genext2fs = genext2fs ']' 172s +++ genext2fs --version 172s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 172s ++ version=1 172s ++ test_cmp /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2test-percent.1.dump dump 172s ++ diff -u /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext2test-percent.1.dump dump 172s ++ e2fsck -nf images/test.ext2 172s e2fsck 1.47.0 (5-Feb-2023) 172s ++ debugfs -R 'ls -p' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ IFS=/ 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ check_size images/test.ext2 69632 172s ++ local size 172s ++ get_size images/test.ext2 172s ++ local file=images/test.ext2 172s ++ '[' '!' -f images/test.ext2 ']' 172s +++ du -b images/test.ext2 172s ++ set -- 69632 images/test.ext2 172s Pass 1: Checking inodes, blocks, and sizes 172s Pass 2: Checking directory structure 172s Pass 3: Checking directory connectivity 172s Pass 4: Checking reference counts 172s Pass 5: Checking group summary information 172s ext2test: 51/56 files (0.0% non-contiguous), 46/68 blocks 172s ok 2 - ext2percent 172s 172s expecting success: 172s run_genimage_root ext3.config test.ext3 && 172s check_ext images/test.ext3 ext3test 4194304 genext2fs 172s 172s ++ size=69632 172s ++ '[' 69632 -ne 69632 ']' 172s ++ check_root 172s ++ diff -ru '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test' 172s ++ func_check 172s ++ local ret=0 172s ++ set +x 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000421325 s, 2.5 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 172s INFO: ext3(test.ext3): cmd: "genext2fs -d '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext3' " (stderr+stdout): 172s copying from directory /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root 172s INFO: ext3(test.ext3): cmd: "tune2fs -O 'has_journal' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 172s tune2fs 1.47.0 (5-Feb-2023) 172s Creating journal inode: done 172s This filesystem will be automatically checked every 20 mounts or 172s 0 days, whichever comes first. Use tune2fs -c or -i to override. 172s INFO: ext3(test.ext3): cmd: "tune2fs -L 'ext3test' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 172s tune2fs 1.47.0 (5-Feb-2023) 172s INFO: ext3(test.ext3): cmd: "e2fsck -pvfD '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 172s ext3test: Filesystem did not have a UUID; generating one. 172s 172s 172s 51 inodes used (19.92%, out of 256) 172s 0 non-contiguous files (0.0%) 172s 0 non-contiguous directories (0.0%) 172s # of inodes with ind/dind/tind blocks: 1/0/0 172s 1100 blocks used (26.86%, out of 4096) 172s 0 bad blocks 172s 0 large files 172s 172s 24 regular files 172s 18 directories 172s 0 character device files 172s 0 block device files 172s 0 fifos 172s 0 links 172s 0 symbolic links (0 fast symbolic links) 172s 0 sockets 172s ------------ 172s 42 files 172s INFO: ext3(test.ext3): cmd: "echo 'set_current_time 20000101000000 172s set_super_value mkfs_time 20000101000000 172s set_super_value lastcheck 20000101000000 172s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 172s debugfs 1.47.0 (5-Feb-2023) 172s debugfs: set_current_time 20000101000000 172s Setting current time to Sat Jan 1 00:00:00 2000 172s 172s debugfs: set_super_value mkfs_time 20000101000000 172s debugfs: set_super_value lastcheck 20000101000000 172s debugfs: set_super_value mtime 00000000 172s debugfs: ++ uuid='Filesystem UUID' 172s ++ seed='Directory Hash Seed:' 172s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 172s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 172s ++ dumpe2fs images/test.ext3 172s ++ 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\)' 172s dumpe2fs 1.47.0 (5-Feb-2023) 172s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 172s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 172s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 172s ++ 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 172s ++ '[' genext2fs = genext2fs ']' 172s +++ genext2fs --version 172s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 172s ++ version=1 172s ++ test_cmp /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext3test.1.dump dump 172s ++ diff -u /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext3test.1.dump dump 172s ++ e2fsck -nf images/test.ext3 172s e2fsck 1.47.0 (5-Feb-2023) 172s Pass 1: Checking ++ debugfs -R 'ls -p' images/test.ext3 172s ++ IFS=/ 172s ++ read a b c d e x f 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 172s debugfs 1.47.0 (5-Feb-2023) 172s inodes, blocks, and sizes 172s Pass 2: Checking directory structure 172s Pass 3: Checking directory connectivity 172s Pass 4: Checking reference counts 172s Pass 5: Checking group summary information 172s ext3test: 51/256 files (0.0% non-contiguous), 1100/4096 blocks 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ check_size images/test.ext3 4194304 172s ++ local size 172s ++ get_size images/test.ext3 172s ++ local file=images/test.ext3 172s ++ '[' '!' -f images/test.ext3 ']' 172s +++ du -b images/test.ext3 172s ++ set -- 4194304 images/test.ext3 172s ++ size=4194304 172s ++ '[' 4194304 -ne 4194304 ']' 172s ++ check_root 172s ++ diff -ru '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test' 172s ++ func_check 172s ++ local ret=0 172s ++ set +x 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00045923 s, 2.3 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 172s INFO: ext4(test.ext4): cmd: "genext2fs -d 'root.orig' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext4' " (stderr+stdout): 172s copying from directory root.orig 172s INFO: ext4(test.ext4): cmd: "tune2fs -O 'extents,uninit_bg,dir_index,has_journal' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 172s tune2fs 1.47.0 (5-Feb-2023) 172s Creating journal inode: done 172s This filesystem will be automatically checked every 20 mounts or 172s 0 days, whichever comes first. Use tune2fs -c or -i to override. 172s INFO: ext4(test.ext4): cmd: "tune2fs -L 'ext4test' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/testok 3 - ext3 172s 172s expecting success: 172s run_genimage ext4.config test.ext4 && 172s check_ext images/test.ext4 ext4test 4194304 genext2fs 172s 172s .ext4'" (stderr+stdout): 172s tune2fs 1.47.0 (5-Feb-2023) 172s INFO: ext4(test.ext4): cmd: "e2fsck -pvfD '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 172s ext4test: Filesystem did not have a UUID; generating one. 172s 172s ext4test: Adding dirhash hint to filesystem. 172s 172s 172s 51 inodes used (19.92%, out of 256) 172s 0 non-contiguous files (0.0%) 172s 0 non-contiguous directories (0.0%) 172s # of inodes with ind/dind/tind blocks: 1/0/0 172s Extent depth histogram: 1 172s 1095 blocks used (26.73%, out of 4096) 172s 0 bad blocks 172s 0 large files 172s 172s 24 regular files 172s 18 directories 172s 0 character device files 172s 0 block device files 172s 0 fifos 172s 0 links 172s 0 symbolic links (0 fast symbolic links) 172s 0 sockets 172s ------------ 172s 42 files 172s INFO: ext4(test.ext4): cmd: "echo 'set_current_time 20000101000000 172s set_super_value mkfs_time 20000101000000 172s set_super_value lastcheck 20000101000000 172s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 172s debugfs 1.47.0 (5-Feb-2023) 172s debugfs: set_current_time 20000101000000 172s Setting current time to Sat Jan 1 00:00:00 2000 172s 172s debugfs: set_super_value mkfs_time 20000101000000 172s debugfs: set_super_value lastcheck 20000101000000 172s debugfs: set_super_value mtime 00000000 172s debugfs: ++ uuid='Filesystem UUID' 172s ++ seed='Directory Hash Seed:' 172s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 172s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 172s ++ dumpe2fs images/test.ext4 172s ++ 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\)' 172s dumpe2fs 1.47.0 (5-Feb-2023) 172s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 172s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 172s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 172s ++ 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 172s ++ '[' genext2fs = genext2fs ']' 172s +++ genext2fs --version 172s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 172s ++ version=1 172s ++ test_cmp /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext4test.1.dump dump 172s ++ diff -u /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/ext4test.1.dump dump 172s ++ e2fsck -nf images/test.ext4 172s e2fsck 1.47.0 (5-Feb-2023) 172s Pass 1: Checking inodes, blocks, and sizes 172s Pass 2: Checking directory structure 172s Pass 3: Checking directory connectivity 172s Pass 4: Checking reference counts 172s Pass 5: Checking group summary information 172s ext4test: 51/256 files (0.0% non-contiguous), 1095/4096 blocks 172s ++ debugfs -R 'ls -p' images/test.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ IFS=/ 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ check_size images/test.ext4 4194304 172s ++ local size 172s ++ get_size images/test.ext4 172s ++ local file=images/test.ext4 172s ++ '[' '!' -f images/test.ext4 ']' 172s +++ du -b images/test.ext4 172s ++ set -- 4194304 images/test.ext4 172s ++ size=4194304 172s ++ '[' 4194304 -ne 4194304 ']' 172s ++ check_root 172s ++ diff -ru '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test' 172s ++ func_check 172s ++ local ret=0 172s ++ set +x 172s ok 4 - ext4 172s 172s expecting success: 172s run_genimage_root mke2fs.config mke2fs.ext4 && 172s check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs 172s 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000372246 s, 2.8 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 172s 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.2rWSn0/autopkgtest_tmp/trash directory.ext.test/tmp/root' -U 12345678-1234-1234-1234-1234567890ab -E quotatype= -L mke2fs -O '^resize_inode,quota' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4' 32768k" (stderr+stdout): 172s mke2fs 1.47.0 (5-Feb-2023) 172s Discarding device blocks: 0/32768 done 172s Creating filesystem with 32768 1k blocks and 8192 inodes 172s Filesystem UUID: 12345678-1234-1234-1234-1234567890ab 172s Superblock backups stored on blocks: 172s 8193, 24577 172s 172s Allocating group tables: 0/4 done 172s Writing inode tables: 0/4 done 172s Creating journal (4096 blocks): done 172s Copying files into the device: done 172s Writing superblocks and filesystem accounting information: 0/4 done 172s 172s INFO: ext4(mke2fs.ext4): cmd: "e2fsck -pvfD '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4'" (stderr+stdout): 172s 172s 51 inodes used (0.62%, out of 8192) 172s 0 non-contiguous files (0.0%) 172s 0 non-contiguous directories (0.0%) 172s # of inodes with ind/dind/tind blocks: 0/0/0 172s Extent depth histogram: 43 172s 6188 blocks used (18.88%, out of 32768) 172s 0 bad blocks 172s 0 large files 172s 172s 24 regular files 172s 18 directories 172s 0 character device files 172s 0 block device files 172s 0 fifos 172s 0 links 172s 0 symbolic links (0 fast symbolic links) 172s 0 sockets 172s ------------ 172s 42 files 172s INFO: ext4(mke2fs.ext4): cmd: "echo 'set_current_time 20000101000000 172s set_super_value mkfs_time 20000101000000 172s set_super_value lastcheck 20000101000000 172s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4'" (stderr+stdout): 172s debugfs 1.47.0 (5-Feb-2023) 172s debugfs: set_current_time 20000101000000 172s Setting current time to Sat Jan 1 00:00:00 2000 172s 172s debugfs: set_super_value mkfs_time 20000101000000 172s debugfs: set_super_value lastcheck 20000101000000 172s debugfs: set_super_value mtime 00000000 172s debugfs: ++ uuid='Filesystem UUID' 172s ++ seed='Directory Hash Seed:' 172s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 172s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 172s ++ dumpe2fs images/mke2fs.ext4 172s ++ 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\)' 172s dumpe2fs 1.47.0 (5-Feb-2023) 172s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 172s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 172s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 172s ++ 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 172s ++ '[' mke2fs = genext2fs ']' 172s ++ version=0 172s ++ test_cmp /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/mke2fs.0.dump dump 172s ++ diff -u /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/mke2fs.0.dump dump 172s ++ e2fsck -nf images/mke2fs.ext4 172s e2fsck 1.47.0 (5-Feb-2023) 172s Pass 1: Checking inodes, blocks, and sizes 172s Pass 2: Checking directory structure 172s Pass 3: Checking directory connectivity 172s Pass 4: Checking reference counts 172s Pass 5: Checking ++ debugfs -R 'ls -p' images/mke2fs.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ IFS=/ 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 172s group summary information 172s mke2fs: 51/8192 files (0.0% non-contiguous), 6188/32768 blocks 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 172s debugfs 1.47.0 (5-Feb-2023) 172s ++ read a b c d e x f 172s ++ case "${x}" in 172s ++ continue 172s ++ read a b c d e x f 172s ++ check_size images/mke2fs.ext4 33554432 172s ++ local size 172s ++ get_size images/mke2fs.ext4 172s ++ local file=images/mke2fs.ext4 172s ++ '[' '!' -f images/mke2fs.ext4 ']' 172s +++ du -b images/mke2fs.ext4 172s ++ set -- 33554432 images/mke2fs.ext4 172s ++ size=33554432 172s ++ '[' 33554432 -ne 33554432 ']' 172s ++ check_root 172s ++ diff -ru '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.ext.test/root.test' 172s ++ func_check 172s ++ local ret=0 172s ++ set +x 172s ok 5 - mke2fs 172s 172s # passed all 5 test(s) 172s 1..5 172s expecting success: 172s run_genimage_root cpio.config test.cpio && 172s zcat images/test.cpio | cpio --extract -t | grep -v '^\.$' | sort > '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 172s check_size_range images/test.cpio 400 550 && 172s check_filelist 172s 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00042277 s, 2.5 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 172s INFO: cpio(test.cpio): cmd: "(cd '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp/root' && find . | cpio -H 'newc' -o | gzip) > '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images/test.cpio'" (stderr+stdout): 172s 10 blocks 172s 10 blocks 172s ok 1 - cpio 172s 172s skipping test: cramfs 172s run_genimage_root cramfs.config test.cramfs && 172s check_size images/test.cramfs 4096 172s 172s ok 2 # skip cramfs (missing mkcramfs) 172s 172s expecting success: 172s run_genimage_root iso.config test.iso && 172s check_size_range images/test.iso 300000 400000 172s 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000416832 s, 2.5 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 172s INFO: iso(test.iso): cmd: "genisoimage -input-charset default -R -hide-rr-moved -V 'iso-test' -o '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images/test.iso' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp/root'" (stderr+stdout): 172s Total translation table size: 0 172s Total rockridge attributes bytes: 5297 172s Total directory bytes: 32768 172s Path table size(bytes): 182 172s Max brk space used 0 172s 191 extents written (0 MB) 172s ok 3 - iso 172s 172s skipping test: f2fs 172s run_genimage_root f2fs.config test.f2fs && 172s fsck.f2fs images/test.f2fs 172s 172s ok 4 # skip f2fs (missing fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs) 172s 172s skipping test: squashfs 172s run_genimage_root squashfs.config test.squashfs && 172s check_size_range images/test.squashfs 4000 4100 && 172s unsquashfs -ls images/test.squashfs | sed -n '/squashfs-root/s;squashfs-root/;;p' | sort > '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 172s check_filelist 172s 172s ok 5 # skip squashfs (missing mksquashfs) 172s 172s expecting success: 172s run_genimage_root tar.config test.tar.gz && 172s check_size_range images/test.tar.gz 500 600 && 172s zcat images/test.tar.gz | tar -t | sed -n -e 's;/$;;' -e 's;^\./\(..*\)$;\1;p' | sort > '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 172s check_filelist 172s 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000474439 s, 2.2 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.2rWSn0/aok 6 - tar 172s 172s expecting success: 172s run_genimage_root vfat.config test.vfat && 172s fsck.fat -p images/test.vfat | tee fsck.log && 172s test_must_fail grep -q 'Filesystem was changed' fsck.log && 172s check_size images/test.vfat 4193280 && 172s MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e 's;^::/;;' -e 's;/$;;' | sort > '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 172s check_filelist 172s 172s utopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 172s INFO: tar(test.tar.gz): cmd: "tar cz -f '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images/test.tar.gz' -C '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp/root' ." (stderr+stdout): 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000428231 s, 2.4 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 172s INFO: vfat(test.vfat): cmd: "mkdosfs -n 'vfat-test' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images/test.vfat'" (stderr+stdout): 172s mkfs.fat: Warning: lowercase labels might not work properly on some systems 172s mkfs.fat 4.2 (2021-01-31) 172s INFO: vfat(test.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -sp -i '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/images/test.vfat' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.filesystem.test/tmp/root'/* ::" (stderr+stdout): 172s fsck.fat 4.2 (2021-01-31) 172s images/test.vfat: 41 files, 16/2028 clusters 172s ok 7 - vfat 172s 172s # passed all 7 test(s) 172s 1..7 172s expecting success: 172s setup_test_images && 172s run_genimage flash.config test.flash && 172s md5sum -c '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/flash.md5' 172s 172s 7+0 records in 172s 7+0 records out 172s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.000110447 s, 32.4 MB/s 172s 11+0 records in 172s 11+0 records out 172s 5632 bytes (5.6 kB, 5.5 KiB) copied, 0.000105873 s, 53.2 MB/s 172s 1+0 records in 172s 1+0 records out 172s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00055475 s, 1.9 GB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.flash.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.flash.test/tmp"/*" (stderr+stdout): 172s DEBUG: flash(test.flash): adding implicit file rule for 'part1.img' 172s DEBUG: flash(test.flash): adding implicit file rule for 'part2.img' 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.flash.test/images"" (stderr+stdout): 172s INFO: flash(test.flash): writing image partition 'part1' (0x100000@0x0) 172s DEBUG: flash(test.flash): copying 1048576 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.flash.test/input/part1.img at offset 0 172s DEBUG: flash(test.flash): adding 1044992 0xff bytes at offset 3584 172s INFO: flash(test.flash): writing image partition 'part2' (0x100000@0x100000) 172s DEBUG: flash(test.flash): copying 1048576 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.flash.test/input/part2.img at offset 1048576 172s DEBUG: flash(test.flash): adding 1042944 0xff bytes at offset 1054208 172s images/test.flash: OK 172s ok 1 - flash 172s 172s skipping test: jffs2 172s run_genimage_root jffs2.config test.jffs2 && 172s md5sum -c '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/jffs2.md5' 172s 172s ok 2 # skip jffs2 (missing mkfs_jffs2) 172s 172s skipping test: ubifs 172s run_genimage_root ubifs.config test.ubifs && 172s check_size_range images/test.ubifs 200000 300000 172s 172s ok 3 # skip ubifs (missing mkfs_ubifs) 172s 172s skipping test: ubi 172s setup_ubi_images && 172s run_genimage ubi.config test.ubi && 172s check_size_range images/test.ubi 550000 600000 172s 172s ok 4 # skip ubi (missing ubinize) 172s 172s # passed all 4 test(s) 172s 1..4 172s expecting success: 172s setup_exec_files && 172s run_genimage_root exec.config 172s 7+0 records in 172s 7+0 records out 172s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.000118772 s, 30.2 MB/s 172s 7+0 records in 172s 7+0 records out 172s 3584 bytes (3.6 kB, 3.5 KiB) copied, 8.2808e-05 s, 43.3 MB/s 172s 7+0 records in 172s 7+0 records out 172s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.54e-05 s, 101 MB/s 172s 7+0 records in 172s 7+0 records out 172s 3584 bytes (3.6 kB, 3.5 KiB) copied, 7.9905e-05 s, 44.9 MB/s 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 172s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 172s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp/root"" (stderr+stdout): 172s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 172s INFO: file(file1.img): cmd: "./exec-check.sh file1.img" (stderr+stdout): 172s + : OUTPUTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images' 172s + : INPUTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input' 172s + : ROOTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig' 172s + : TMPPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp' 172s + : IMAGE 172s + test file1.img = file1.img 172s + : IMAGEOUTFILE 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file1.img' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file1.img' 172s + : IMAGENAME 172s + test exec-test = exec-test 172s + : IMAGESIZE 172s + test 3584 = 3584 172s + : IMAGEMOUNTPOINT 172s + test '' = '' 172s + : IMAGEMOUNTPATH 172s + '[' '' = empty ']' 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp/root' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp/root' 172s INFO: file(file1.img): cmd: "cp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input/file1.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file1.img'" (stderr+stdout): 172s INFO: file(file2.img): cmd: "cp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input/file2.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file2.img'" (stderr+stdout): 172s INFO: file(file2.img): cmd: "./exec-check.sh file2.img" (stderr+stdout): 172s + : OUTPUTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images' 172s + : INPUTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input' 172s + : ROOTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig' 172s + : TMPPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp' 172s + : IMAGE 172s + test file2.img = file2.img 172s + : IMAGEOUTFILE 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file2.img' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file2.img' 172s + : IMAGENAME 172s + test exec-test = exec-test 172s + : IMAGESIZE 172s + test 3584 = 3584 172s + : IMAGEMOUNTPOINT 172s + test '' = '' 172s + : IMAGEMOUNTPATH 172s + '[' '' = empty ']' 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp/root' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp/root' 172s INFO: file(file3.img): cmd: "./exec-check.sh file3.img empty" (stderr+stdout): 172s + : OUTPUTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images' 172s + : INPUTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input' 172s + : ROOTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig' 172s + : TMPPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp' 172s + : IMAGE 172s + test file3.img = file3.img 172s + : IMAGEOUTFILE 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file3.img' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file3.img' 172s + : IMAGENAME 172s + test exec-test = exec-test 172s + : IMAGESIZE 172s + test 3584 = 3584 172s + : IMAGEMOUNTPOINT 172s + test '' = '' 172s + : IMAGEMOUNTPATH 172s + '[' empty = empty ']' 172s + test '' = '' 172s INFO: file(file3.img): cmd: "cp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input/file3.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file3.img'" (stderr+stdout): 172s INFO: file(file4.img): cmd: "cp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input/file4.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file4.img'" (stderr+stdout): 172s INFO: file(file4.img): cmd: "./exec-check.sh file4.img empty" (stderr+stdout): 172s + : OUTPUTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images' 172s + : INPUTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/input' 172s + : ROOTPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig' 172s + : TMPPATH 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp' 172s + : IMAGE 172s + test file4.img = file4.img 172s + : IMAGEOUTFILE 172s + test '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file4.img' = '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images/file4.img' 172s + : IMAGENAME 172s + test exec-test = exec-test 172s + : IMAGESIZE 172s + test 3584 = 3584 172s + : IMAGEMOUNTPOINT 172s + test '' = '' 172s + : IMAGEMOUNTPATH 172s + '[' empty = empty ']' 172s + test '' = '' 172s ok 1 - exec 172s 172s expecting success: 172s setup_exec_files && 172s test_must_fail run_genimage_root exec-fail.config 172s 7+0 records in 172s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.000183805 s, 19.5 MB/s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.7431e-05 s, 53.2 MB/s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 7.3201e-05 s, 49.0 MB/s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.7763e-05 s, 52.9 MB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "cp -a "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/root.orig" "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp/root"" (stderr+stdout): 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 173s ok 2 - exec-fail 173s 173s expecting success: 173s run_genimage include.config && 173s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include-ccc.fdisk' include.fdisk 173s 173s ok 3 - includepath1 173s 173s expecting success: 173s extra_opts='--includepath=/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/aaa' run_genimage include.config && 173s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include-aaa.fdisk' include.fdisk 173s 173s INFO: file(file1.img): cmd: "false" (stderr+stdout): 173s ERROR: file(file1.img): failed to generate file1.img 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 173s INFO: hdimage(include.hdimage): adding partition 'ccc' (in MBR) ... 173s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 173s INFO: hdimage(include.hdimage): writing GPT 173s INFO: hdimage(include.hdimage): writing protective MBR 173s INFO: hdimage(include.hdimage): writing MBR 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 173s INFO: hdimage(include.hdimage): adding partition 'aaa' (in MBR) ... 173s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 173s INFO: hdimage(include.hdimage): writing GPT 173s INFO: hdimage(include.hdimage): writing protective MBR 173s INFO: hdimage(include.hdimage): writing MBR 173s ok 4 - includepath2 173s 173s expecting success: 173s extra_opts='--includepath=/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/bbb:/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/aaa' run_genimage include.config && 173s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include-bbb.fdisk' include.fdisk 173s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 173s INFO: hdimage(include.hdimage): adding partition 'bbb' (in MBR) ... 173s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 173s INFO: hdimage(include.hdimage): writing GPT 173s INFO: hdimage(include.hdimage): writing protective MBR 173s INFO: hdimage(include.hdimage): writing MBR 173s ok 5 - includepath3 173s 173s expecting success: 173s extra_opts='--includepath=.:/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/bbb' run_genimage include.config && 173s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include-ccc.fdisk' include.fdisk 173s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 173s ok 6 - includepath4 173s 173s skipping test: includepath5 173s extra_opts='--includepath=/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/include/aaa' test_must_fail run_genimage include.config 173s 173s ok 7 # skip includepath5 (missing !includepath) 173s 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 173s INFO: hdimage(include.hdimage): adding partition 'ccc' (in MBR) ... 173s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 173s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 173s INFO: hdimage(include.hdimage): writing GPT 173s INFO: hdimage(include.hdimage): writing protective MBR 173s INFO: hdimage(include.hdimage): writing MBR 173s # passed all 7 test(s) 173s 1..7 173s expecting success: 173s setup_test_images && 173s run_genimage hdimage.config test.hdimage && 173s check_size images/test.hdimage 10485760 && 173s sfdisk_validate images/test.hdimage && 173s check_disk_usage_range images/test.hdimage 40960 57344 && 173s sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage.fdisk' hdimage.fdisk && 173s check_size images/test.hdimage-2 11539968 && 173s sfdisk_validate images/test.hdimage-2 && 173s check_disk_usage_range images/test.hdimage-2 61290 65376 && 173s sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage.fdisk-2' hdimage.fdisk-2 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.00013707 s, 26.1 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 9.5463e-05 s, 59.0 MB/s 173s 1+0 records in 173s 1+0 records out 173s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00045499 s, 2.3 GB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part3.img' 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 173s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part3.img' ... 173s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 173s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 173s INFO: hdimage(test.hdimage): writing EBR 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 5242880 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5248512 173s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 173s INFO: hdimage(test.hdimage): writing EBR 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 7340032 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 7343616 173s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 173s INFO: hdimage(test.hdimage): writing EBR 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 9437184 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 9442816 173s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(test.hdimage): writing MBR 173s INFO: hdimage(test.hdimage-2): adding partition 'part1' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 173s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 1052160 173s INFO: hdimage(test.hdimage-2): adding partition 'part2' (in MBR) from 'part2.img' ... 173s INFO: hdimage(test.hdimage-2): writing EBR 173s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 3145728 173s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 3151360 173s INFO: hdimage(test.hdimage-2): adding partition 'part3' (in MBR) from 'part1.img' ... 173s INFO: hdimage(test.hdimage-2): writing EBR 173s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 173s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 5246464 173s INFO: hdimage(test.hdimage-2): adding partition 'part4' (in MBR) from 'part2.img' ... 173s INFO: hdimage(test.hdimage-2): writing EBR 173s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 7340032 173s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 7345664 173s INFO: hdimage(test.hdimage-2): adding partition 'part5' (in MBR) from 'part1.img' ... 173s INFO: hdimage(test.hdimage-2): writing EBR 173s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 9437184 173s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 9440768 173s INFO: hdimage(test.hdimage-2): adding partition 'part6' (in MBR) from 'part2.img' ... 173s INFO: hdimage(test.hdimage-2): writing EBR 173s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 11534336 173s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 11539968 173s INFO: hdimage(test.hdimage-2): adding partition '[MBR]' ... 173s INFO: hdimage(test.hdimage-2): writing MBR 173s ok 1 - hdimage 173s 173s expecting success: 173s setup_test_images && 173s test_must_fail run_genimage hdimage2.config test.hdimage 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.000102212 s, 35.1 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 5.0663e-05 s, 111 MB/s 173s 1+0 records in 173s 1+0 records out 173s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000440531 s, 2.4 GB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 173s ERROR: hdimage(test.hdimage): part part1 size (5120) too small for part2.img (5632) 173s ok 2 - hdimage2 173s 173s expecting success: 173s setup_test_images && 173s run_genimage hdimage4.config test.hdimage && 173s check_size images/test.hdimage 7360512 && 173s sfdisk_validate images/test.hdimage && 173s sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage4.fdisk' hdimage4.fdisk 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 9.5352e-05 s, 37.6 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 8.8221e-05 s, 63.8 MB/s 173s 1+0 records in 173s 1+0 records out 173s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000431894 s, 2.4 GB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 173s ok 3 - hdimage4 173s 173s expecting success: 173s setup_test_images && 173s run_genimage hdimage5.config test.hdimage && 173s check_size images/test.hdimage 7360512 && 173s sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage5.fdisk' hdimage5.fdisk 173s 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 173s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2102784 173s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 173s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 173s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5246464 173s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 6297088 173s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 173s INFO: hdimage(test.hdimage): writing GPT 173s INFO: hdimage(test.hdimage): writing protective MBR 173s INFO: hdimage(test.hdimage): writing MBR 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 9.1359e-05 s, 39.2 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 9.0704e-05 s, 62.1 MB/s 173s 1+0 records in 173s 1+0 records out 173s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000411364 s, 2.5 GB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 173s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2102784 173s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 173s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 173s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5246464 173s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 6297088 173s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 173s INFO: hdimage(test.hdimage): writing GPT 173s INFO: hdimage(test.hdimage): writing protective MBR 173s INFO: hdimage(test.hdimage): writing MBR 173s The backup GPT table is not on the end of the device. 173s ok 4 - hdimage5 173s 173s expecting success: 173s setup_test_images && 173s run_genimage hdimage6.config test.hdimage && 173s check_size images/test.hdimage 28082176 && 173s sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage6.fdisk' hdimage6.fdisk 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 9.7798e-05 s, 36.6 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 7.6041e-05 s, 74.1 MB/s 173s 1+0 records in 173s 1+0 records out 173s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00043791 s, 2.4 GB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) ... 173s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) ... 173s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) ... 173s INFO: hdimage(test.hdimage): writing EBR 173s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) ... 173s INFO: hdimage(test.hdimage): writing EBR 173s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) ... 173s INFO: hdimage(test.hdimage): writing EBR 173s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(test.hdimage): writing MBR 173s ok 5 - hdimage6 173s 173s expecting success: 173s setup_test_images && 173s run_genimage hdimage7.config && 173s sfdisk_validate images/test.hdimage && 173s sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage7.fdisk' hdimage7.fdisk 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 8.6176e-05 s, 41.6 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 7.8974e-05 s, 71.3 MB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(test.hdimage): adding partition 'rescue' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 2097152 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2100736 173s INFO: hdimage(test.hdimage): adding partition 'rootfs-A' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 173s INFO: hdimage(test.hdimage): adding partition 'rootfs-B' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 12582912 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 12588544 173s INFO: hdimage(test.hdimage): adding partition 'reserved' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 20971520 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 20975104 173s INFO: hdimage(test.hdimage): adding partition 'sys' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 21102592 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 21106176 173s INFO: hdimage(test.hdimage): adding partition 'data' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 25296896 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 25300480 173s INFO: hdimage(test.hdimage): adding partition 'bootloader' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 1048576 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1054208 173s INFO: hdimage(test.hdimage): adding partition 'env-1' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 819200 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 822784 173s INFO: hdimage(test.hdimage): adding partition 'env-2' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 851968 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 855552 173s INFO: hdimage(test.hdimage): adding partition 'ucode' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 983040 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 986624 173s INFO: hdimage(test.hdimage): adding partition 'SPL' from 'part1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1024 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4608 173s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 173s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 173s INFO: hdimage(test.hdimage): writing GPT 173s INFO: hdimage(test.hdimage): writing protective MBR 173s INFO: hdimage(test.hdimage): writing MBR 173s ok 6 - hdimage7 173s 173s expecting success: 173s setup_test_images && 173s run_genimage hdimage-hybrid.config && 173s sfdisk_validate images/hybrid.hdimage && 173s sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-hybrid.fdisk' hdimage-hybrid.fdisk && 173s dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && 173s dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && 173s test_cmp hybrid.sector0 mbr.sector0 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.000101786 s, 35.2 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.6893e-05 s, 120 MB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(hybrid.hdimage): adding implicit file rule for 'part1.img' 173s DEBUG: hdimage(hybrid.hdimage): adding implicit file rule for 'part2.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(hybrid.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 173s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 1052160 173s INFO: hdimage(hybrid.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 173s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 2102784 173s INFO: hdimage(hybrid.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 173s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 3149312 173s INFO: hdimage(hybrid.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 173s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 4199936 173s INFO: hdimage(hybrid.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 173s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 5246464 173s INFO: hdimage(hybrid.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 173s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 6297088 173s INFO: hdimage(hybrid.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(hybrid.hdimage): adding partition '[GPT header]' ... 173s INFO: hdimage(hybrid.hdimage): adding partition '[GPT array]' ... 173s INFO: hdimage(hybrid.hdimage): adding partition '[GPT backup]' ... 173s INFO: hdimage(hybrid.hdimage): writing GPT 173s INFO: hdimage(hybrid.hdimage): writing hybrid MBR 173s INFO: hdimage(mbr.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(mbr.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 173s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 1052160 173s INFO: hdimage(mbr.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 173s DEBUG: hdimage(mbr.hdimage): copying 5632 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 173s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 2102784 173s INFO: hdimage(mbr.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 173s DEBUG: hdimage(mbr.hdimage): copying 3584 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 173s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 3149312 173s INFO: hdimage(mbr.hdimage): adding partition 'fake-gpt' (in MBR) ... 173s INFO: hdimage(mbr.hdimage): adding partition '[MBR]' ... 173s INFO: hdimage(mbr.hdimage): writing MBR 173s 1+0 records in 173s 1+0 records out 173s 512 bytes copied, 0.000118717 s, 4.3 MB/s 173s 1+0 records in 173s 1+0 records out 173s 512 bytes copied, 2.2111e-05 s, 23.2 MB/s 173s ok 7 - hdimage-hybrid 173s 173s expecting success: 173s setup_test_images && 173s test_must_fail run_genimage hdimage-fail1.config && 173s test_must_fail run_genimage hdimage-fail2.config && 173s test_must_fail run_genimage hdimage-fail3.config && 173s test_must_fail run_genimage hdimage-fail4.config && 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 7.9492e-05 s, 45.1 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 7.9895e-05 s, 70.5 MB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(test.hdimage): part part1: 'partition-type-uuid' is only valid for gpt and hybrid partition-table-type 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(test.hdimage): part part1: 'partition-type' is only valid for mbr and hybrid partition-table-type 173s test_must_fail run_genimage hdimage-fail5.config && 173s test_must_fail run_genimage hdimage-fail6.config && 173s test_must_fail run_genimage hdimage-fail7.config 173s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(test.hdimage): part part1 size must not be zero 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(test.hdimage): 'disk-uuid' is only valid for gpt and hybrid partition-table-type 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(test.hdimage): 'disk-signature' is only valid for mbr and hybrid partition-table-type 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(test.hdimage): part part4 overlaps with previous partition 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(test.hdimage): hybrid MBR partitions (4) exceeds maximum of 3 173s ok 8 - hdimage syntax 173s 173s expecting success: 173s setup_gpt_files && 173s test_must_fail run_genimage gpt-overlap1.config 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '3K.img' 173s DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '70K.img' 173s ERROR: hdimage(test.gpt-overlap1): partition [GPT array] (offset 0x400, size 0x4000) overlaps previous partition SPL (offset 0x400, size 0x6000) 173s ERROR: hdimage(test.gpt-overlap1): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole. 173s ok 9 - gpt-overlap1 173s 173s expecting success: 173s setup_gpt_files && 173s run_genimage gpt-overlap2.config 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '3K.img' 173s DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '70K.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(test.gpt-overlap2): adding partition 'SPL' from '3K.img' ... 173s DEBUG: hdimage(test.gpt-overlap2): copying 3072 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 1024 173s DEBUG: hdimage(test.gpt-overlap2): adding 3072 0 bytes at offset 1024 173s INFO: hdimage(test.gpt-overlap2): adding partition 'aaa' (in MBR) from '70K.img' ... 173s DEBUG: hdimage(test.gpt-overlap2): copying 71680 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img at offset 1048576 173s DEBUG: hdimage(test.gpt-overlap2): adding 71680 0 bytes at offset 1048576 173s INFO: hdimage(test.gpt-overlap2): adding partition '[MBR]' ... 173s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT header]' ... 173s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT array]' ... 173s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT backup]' ... 173s INFO: hdimage(test.gpt-overlap2): writing GPT 173s INFO: hdimage(test.gpt-overlap2): writing protective MBR 173s INFO: hdimage(test.gpt-overlap2): writing MBR 173s ok 10 - gpt-overlap2 173s 173s expecting success: 173s setup_gpt_files && 173s test_must_fail run_genimage gpt-overlap3.config 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '3K.img' 173s DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '70K.img' 173s ERROR: hdimage(test.gpt-overlap3): partition [GPT array] (offset 0x7800, size 0x4000) overlaps previous partition aaa (offset 0x8000, size 0x100000) 173s ok 11 - gpt-overlap3 173s 173s expecting success: 173s run_genimage gpt-partition-types.config && 173s sfdisk_validate images/gpt-partition-types.img && 173s sanitized_fdisk_sfdisk images/gpt-partition-types.img > gpt-partition-types.fdisk && 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/gpt-partition-types.fdisk' gpt-partition-types.fdisk 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(gpt-partition-types.img): adding partition 'part1' (in MBR) ... 173s INFO: hdimage(gpt-partition-types.img): adding partition 'part2' (in MBR) ... 173s INFO: hdimage(gpt-partition-types.img): adding partition 'part3' (in MBR) ... 173s INFO: hdimage(gpt-partition-types.img): adding partition 'part4' (in MBR) ... 173s INFO: hdimage(gpt-partition-types.img): adding partition 'part5' (in MBR) ... 173s INFO: hdimage(gpt-partition-types.img): adding partition '[MBR]' ... 173s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT header]' ... 173s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT array]' ... 173s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT backup]' ... 173s INFO: hdimage(gpt-partition-types.img): writing GPT 173s INFO: hdimage(gpt-partition-types.img): writing protective MBR 173s INFO: hdimage(gpt-partition-types.img): writing MBR 173s ok 12 - gpt-partition-types 173s 173s expecting success: 173s test_must_fail run_genimage gpt-invalid-partition-type1.config && 173s test_must_fail run_genimage gpt-invalid-partition-type2.config 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(gpt-partition-types-fail.img): part part1 has invalid type shortcut: unknown-shortcut 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s ERROR: hdimage(gpt-partition-types-fail.img): part part1 has invalid type shortcut: 30f239f3-275c-4e0d-9b61-Ka385b7b80f9 173s ok 13 - gpt-invalid-partition-types 173s 173s expecting success: 173s setup_gpt_files && 173s run_genimage hole.config 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 173s DEBUG: file(70K.img): added hole (440, 33792) 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 173s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 173s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 0 173s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 0 173s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 173s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 173s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 173s INFO: hdimage(test.hole): adding partition '[MBR]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 173s INFO: hdimage(test.hole): writing GPT 173s INFO: hdimage(test.hole): writing protective MBR 173s INFO: hdimage(test.hole): writing MBR 173s ok 14 - bootloader-hole1 173s 173s expecting success: 173s setup_gpt_files && 173s GPT_LOCATION=64K test_must_fail run_genimage hole.config 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 173s DEBUG: file(70K.img): added hole (440, 33792) 173s ERROR: hdimage(test.hole): partition [GPT array] (offset 0x10000, size 0x4000) overlaps previous partition bootloader (offset 0xok 15 - bootloader-hole2 173s 173s expecting success: 173s setup_gpt_files && 173s GPT_LOCATION=70K run_genimage hole.config 173s 0, size 0x11800) 173s ERROR: hdimage(test.hole): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole. 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 173s DEBUG: file(70K.img): added hole (440, 33792) 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 173s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 173s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 0 173s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 0 173s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 173s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 173s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 173s INFO: hdimage(test.hole): adding partition '[MBR]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 173s INFO: hdimage(test.hole): writing GPT 173s INFO: hdimage(test.hole): writing protective MBR 173s INFO: hdimage(test.hole): writing MBR 173s ok 16 - bootloader-hole3 173s 173s expecting success: 173s setup_gpt_files && 173s OFFSET=64K test_must_fail run_genimage hole.config 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 173s DEBUG: file(70K.img): added hole (440, 33792) 173s ERROR: hdimage(test.hole): partition foo (offset 0x20400, size 0xc00) overlaps previous partition bootloader (offset 0x10000, size 0x11800) 173s ok 17 - bootloader-hole4 173s 173s expecting success: 173s setup_gpt_files && 173s OFFSET=128K run_genimage hole.config 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 173s DEBUG: file(70K.img): added hole (440, 33792) 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 173s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 173s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 131072 173s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 131072 173s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 173s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 173s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 173s INFO: hdimage(test.hole): adding partition '[MBR]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 173s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 173s INFO: hdimage(test.hole): writing GPT 173s INFO: hdimage(test.hole): writing protective MBR 173s INFO: hdimage(test.hole): writing MBR 173s ok 18 - bootloader-hole5 173s 173s expecting success: 173s dd if=/dev/zero bs=1 count=100 | tr '\000' '\377' > input/block1.img && 173s dd if=/dev/zero bs=1 count=50 | tr '\000' '\252' > input/block2.img && 173s dd if=/dev/zero bs=1 count=75 | tr '\000' '\167' > input/block3.img && 173s run_genimage hdimage-nopart.config && 173s hexdump -C images/test.hdimage > 'hdimage-nopart.hexdump' && 173s test_cmp 'hdimage-nopart.hexdump' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/hdimage-nopart.hexdump' 173s 173s 100+0 records in 173s 100+0 records out 173s 100 bytes copied, 0.00029056 s, 344 kB/s 173s 50+0 records in 173s 50+0 records out 173s 50 bytes copied, 7.5028e-05 s, 666 kB/s 173s 75+0 records in 173s 75+0 records out 173s 75 bytes copied, 0.00013234 s, 567 kB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block1.img' 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block2.img' 173s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block3.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 173s INFO: hdimage(test.hdimage): adding partition 'part1' from 'block1.img' ... 173s DEBUG: hdimage(test.hdimage): copying 100 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/block1.img at offset 0 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 100 173s INFO: hdimage(test.hdimage): adding partition 'part2' from 'block2.img' ... 173s DEBUG: hdimage(test.hdimage): copying 50 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/block2.img at offset 104 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 154 173s INFO: hdimage(test.hdimage): adding partition 'part3' from 'block3.img' ... 173s DEBUG: hdimage(test.hdimage): copying 75 bytes from /tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.hdimage.test/input/block3.img at offset 256 173s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 331 173s ok 19 - hdimage no-partition 173s 173s # passed all 19 test(s) 173s 1..19 173s expecting success: 173s setup_test_images && 173s run_genimage qemu.config test.qcow && 173s qemu-img check images/test.qcow && 173s zcat '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/qemu.qcow.gz' > qemu.qcow && 173s qemu-img compare images/test.qcow qemu.qcow 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.000104791 s, 34.2 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 9.1784e-05 s, 61.4 MB/s 173s 1+0 records in 173s 1+0 records out 173s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000442099 s, 2.4 GB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/tmp"/*" (stderr+stdout): 173s DEBUG: qemu(test.qcow): adding implicit file rule for 'part1.img' 173s DEBUG: qemu(test.qcow): adding implicit file rule for 'part2.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/images"" (stderr+stdout): 173s INFO: qemu(test.qcow): adding partition part1 from part1.img ... 173s INFO: qemu(test.qcow): adding partition part2 from part2.img ... 173s INFO: qemu(test.qcow): cmd: "qemu-img convert -O qcow2 '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/input/part1.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/input/part2.img' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/images/test.qcow'" (stderr+stdout): 173s No errors were found on the image. 173s Image end offset: 262144 173s Images are identical. 173s ok 1 - qemu 173s 173s expecting success: 173s setup_fit_its && 173s run_genimage fit.config test.fit 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.00027073 s, 13.2 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 9.9709e-05 s, 56.5 MB/s 173s 1+0 records in 173s 1+0 records out 173s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000576977 s, 1.8 GB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/tmp"/*" (stderr+stdout): 173s DEBUG: fit(test.fit): adding implicit file rule for 'part1.img' 173s DEBUG: fit(test.fit): adding implicit file rule for 'part2.img' 173s DEBUG: fit(test.fit): adding implicit file rule for 'fit.its' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/images"" (stderr+stdout): 173s INFO: fit(test.fit): cmd: "cat '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/input/fit.its' > '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/tmp/fit.its'" (stderr+stdout): 173s INFO: fit(test.fit): cmd: "mkimage -r -f '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/tmp/fit.its' '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/images/test.fit'" (stderr+stdout): 173s FIT description: Test FIT image 173s Created: Mon Mar 25 23:35:37 2024 173s Image 0 (kernel) 173s Description: kernel 173s Created: Mon Mar 25 23:35:37 2024 173s Type: Kernel Image 173s Compression: uncompressed 173s Data Size: 3584 Bytes = 3.50 KiB = 0.00 MiB 173s Architecture: ARM 173s OS: Linux 173s Load Address: unavailable 173s Entry Point: unavailable 173s Image 1 (ramdisk) 173s Description: ramdisk 173s Created: Mon Mar 25 23:35:37 2024 173s Type: RAMDisk Image 173s Compression: uncompressed 173s Data Size: 5632 Bytes = 5.50 KiB = 0.01 MiB 173s Architecture: ARM 173s OS: Linux 173s Load Address: unavailable 173s Entry Point: unavailable 173s Default Configuration: 'conf' 173s Configuration 0 (conf) 173s Description: test dummy config 173s Kernel: kernel 173s Init Ramdisk: ramdisk 173s ok 2 - fit 173s 173s skipping test: rauc 173s setup_rauc && 173s run_genimage rauc.config test.raucb && 173s rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test.raucb | grep -v cms_get_enveloped_type | sed -e 's;O = Test Org, CN = ;/O=Test Org/CN=;' -e '/Bundle Format:[ \t]*plain$/d' > test.raucb.info && 173s if ! grep -r 'Filename:' test.raucb.info; then 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test.raucb.info' test.raucb.info 173s else 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test.raucb.info.new' test.raucb.info 173s fi 173s rauc info --keyring input/rauc-openssl-ca/ca.cert.pem --cert input/rauc-openssl-ca/ca.cert.pem images/test2.raucb | grep -v cms_get_enveloped_type | sed -e 's;O = Test Org, CN = ;/O=Test Org/CN=;' -e '/Bundle Format:[ \t]*plain$/d' > test2.raucb.info && 173s if ! grep -r 'Filename:' test2.raucb.info; then 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test2.raucb.info' test2.raucb.info 173s else 173s test_cmp '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/test/test2.raucb.info.new' test2.raucb.info 173s fi 173s 173s ok 3 # skip rauc (missing rauc) 173s 173s skipping test: android-sparse 173s setup_test_images && 173s # make sure there is a 4*32k hole at the end 173s i=16 173s truncate --size=$[i*(i+1)*i*i*512+32768*4] input/interleaved 173s for i in `seq 16`; do 173s dd if=/dev/urandom of=input/interleaved conv=notrunc seek=$[i*i] count=$[i] bs=$[i*i*512] || break 173s done && 173s dd if=/dev/urandom of=input/not-aligned count=9 bs=1024 173s run_genimage sparse.config && 173s # simg2img will expand the partial block 173s truncate --size=12k input/not-aligned 173s md5sum images/test.hdimage input/interleaved input/not-aligned > md5sum && 173s rm images/test.hdimage input/interleaved input/not-aligned && 173s check_size_range images/interleaved.sparse 9732464 9732636 && 173s simg2img images/test.sparse images/test.hdimage && 173s simg2img images/interleaved.sparse input/interleaved && 173s simg2img images/not-aligned.sparse input/not-aligned && 173s md5sum -c md5sum 173s 173s ok 4 # skip android-sparse (missing simg2img) 173s 173s expecting success: 173s setup_test_images && 173s run_genimage fip.config test.fip && 173s check_size_range images/test.fip 12804 13056 && 173s fiptool info images/test.fip 173s 173s 7+0 records in 173s 7+0 records out 173s 3584 bytes (3.6 kB, 3.5 KiB) copied, 0.000261406 s, 13.7 MB/s 173s 11+0 records in 173s 11+0 records out 173s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.9937e-05 s, 113 MB/s 173s 1+0 records in 173s 1+0 records out 173s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000453217 s, 2.3 GB/s 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/tmp"" (stderr+stdout): 173s INFO: cmd: "rm -rf "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/tmp"/*" (stderr+stdout): 173s DEBUG: fip(test.fip): adding implicit file rule for 'part2.img' 173s DEBUG: fip(test.fip): adding implicit file rule for 'part1.img' 173s INFO: cmd: "mkdir -p "/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/images"" (stderr+stdout): 173s INFO: fip(test.fip): cmd: "fiptool create --tos-fw '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/input/part2.img' --tos-fw-extra1 '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/input/part1.img' --fw-config '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/input/part1.img' --align 64 '/tmp/autopkgtest.2rWSn0/autopkgtest_tmp/trash directory.misc.test/images/test.fip'" (stderr+stdout): 173s Secure Payload BL32 (Trusted OS): offset=0xC0, size=0x1600, cmdline="--tos-fw" 173s Secure Payload BL32 Extra1 (Trusted OS Extra1): offset=0x16C0, size=0xE00, cmdline="--tos-fw-extra1" 173s FW_CONFIG: offset=0x24C0, size=0xE00, cmdline="--fw-config" 173s ok 5 - fip 173s 173s # passed all 5 test(s) 173s 1..5 173s autopkgtest [23:35:37]: test upstream-tests: -----------------------] 174s autopkgtest [23:35:38]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 174s upstream-tests PASS 174s autopkgtest [23:35:38]: @@@@@@@@@@@@@@@@@@@@ summary 174s upstream-tests PASS 186s Creating nova instance adt-noble-ppc64el-genimage-20240325-233244-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-ppc64el-server-20240325.img (UUID ce50e202-ac12-4562-879d-419903f0141e)...