0s autopkgtest [23:48:51]: starting date and time: 2024-03-25 23:48:51+0000 0s autopkgtest [23:48:51]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [23:48:51]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.62zmnfjh/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 e2fsprogs/1.47.0-2.4~exp1ubuntu2 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 xen/4.17.3+10-g091466ba55-1.1ubuntu2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-50.secgroup --name adt-noble-amd64-genimage-20240325-234851-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 646s autopkgtest [23:59:37]: testbed dpkg architecture: amd64 646s autopkgtest [23:59:37]: testbed apt version: 2.7.12 646s autopkgtest [23:59:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 647s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 647s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [56.0 kB] 647s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [7592 B] 647s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [497 kB] 647s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3998 kB] 647s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main i386 Packages [484 kB] 647s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 Packages [731 kB] 647s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 c-n-f Metadata [3508 B] 647s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted i386 Packages [6700 B] 647s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 Packages [37.9 kB] 647s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 c-n-f Metadata [116 B] 647s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe i386 Packages [1267 kB] 647s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 Packages [4427 kB] 647s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 c-n-f Metadata [9396 B] 647s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse i386 Packages [28.6 kB] 647s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 Packages [96.8 kB] 647s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 c-n-f Metadata [196 B] 650s Fetched 11.8 MB in 1s (8256 kB/s) 650s Reading package lists... 652s Reading package lists... 652s Building dependency tree... 652s Reading state information... 652s Calculating upgrade... 652s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 652s Reading package lists... 653s Building dependency tree... 653s Reading state information... 653s 0 upgraded, 0 newly installed, 0 to remove and 248 not upgraded. 653s sh: Attempting to set up Debian/Ubuntu apt sources automatically 653s sh: Distribution appears to be Ubuntu 654s Reading package lists... 654s Building dependency tree... 654s Reading state information... 655s eatmydata is already the newest version (131-1). 655s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 655s Reading package lists... 655s Building dependency tree... 655s Reading state information... 655s dbus is already the newest version (1.14.10-4ubuntu1). 655s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 655s Reading package lists... 655s Building dependency tree... 655s Reading state information... 655s rng-tools-debian is already the newest version (2.4). 655s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 655s Reading package lists... 656s Building dependency tree... 656s Reading state information... 656s The following packages will be REMOVED: 656s cloud-init* python3-configobj* python3-debconf* 656s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 656s After this operation, 3256 kB disk space will be freed. 656s (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 ... 71864 files and directories currently installed.) 656s Removing cloud-init (24.1.2-0ubuntu1) ... 657s Removing python3-configobj (5.0.8-3) ... 657s Removing python3-debconf (1.5.86) ... 657s Processing triggers for man-db (2.12.0-3) ... 657s (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 ... 71475 files and directories currently installed.) 657s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 658s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 658s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 658s invoke-rc.d: policy-rc.d denied execution of try-restart. 659s Reading package lists...Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 659s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 659s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 659s 659s Building dependency tree... 659s Reading state information... 659s linux-generic is already the newest version (6.8.0-11.11+1). 659s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 661s Reading package lists... 661s Reading package lists... 661s Building dependency tree... 661s Reading state information... 661s Calculating upgrade... 661s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 661s Reading package lists... 662s Building dependency tree... 662s Reading state information... 662s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 662s autopkgtest [23:59:53]: rebooting testbed after setup commands that affected boot 826s autopkgtest [00:02:37]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 00:29:05 UTC 2024 827s autopkgtest [00:02:38]: @@@@@@@@@@@@@@@@@@@@ apt-source genimage 828s Get:1 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (dsc) [2008 B] 828s Get:2 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (tar) [94.9 kB] 828s Get:3 http://ftpmaster.internal/ubuntu noble/universe genimage 17-2 (diff) [3828 B] 828s gpgv: Signature made Fri Feb 16 20:05:55 2024 UTC 828s gpgv: using RSA key B8340990283D8D9BC1949AC74799A35146D12B35 828s gpgv: Can't check signature: No public key 828s dpkg-source: warning: cannot verify inline signature for ./genimage_17-2.dsc: no acceptable signature found 828s autopkgtest [00:02:39]: testing package genimage version 17-2 829s autopkgtest [00:02:40]: build not needed 829s autopkgtest [00:02:40]: test upstream-tests: preparing testbed 832s Reading package lists... 832s Building dependency tree... 832s Reading state information... 833s Starting pkgProblemResolver with broken count: 0 833s Starting 2 pkgProblemResolver with broken count: 0 833s Done 833s The following additional packages will be installed: 833s arm-trusted-firmware-tools device-tree-compiler genext2fs genimage 833s genisoimage libconfuse-common libconfuse2 libfdt1 liburing2 mtools 833s qemu-utils u-boot-tools 833s Suggested packages: 833s android-sdk-libsparse-utils mtd-utils squashfs-tools wodim cdrkit-doc 833s floppyd 833s Recommended packages: 833s qemu-block-extra libubootenv-tool 833s The following NEW packages will be installed: 833s arm-trusted-firmware-tools autopkgtest-satdep device-tree-compiler genext2fs 833s genimage genisoimage libconfuse-common libconfuse2 libfdt1 liburing2 mtools 833s qemu-utils u-boot-tools 833s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 833s Need to get 3503 kB/3504 kB of archives. 833s After this operation, 15.7 MB of additional disk space will be used. 833s Get:1 /tmp/autopkgtest.3mGmpw/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [780 B] 833s Get:2 http://ftpmaster.internal/ubuntu noble/universe amd64 arm-trusted-firmware-tools amd64 2.10.0+dfsg-1 [32.2 kB] 833s Get:3 http://ftpmaster.internal/ubuntu noble/universe amd64 genext2fs amd64 1.5.0-3 [30.8 kB] 833s Get:4 http://ftpmaster.internal/ubuntu noble/universe amd64 libconfuse-common all 3.3-3 [5780 B] 833s Get:5 http://ftpmaster.internal/ubuntu noble/universe amd64 libconfuse2 amd64 3.3-3 [26.8 kB] 833s Get:6 http://ftpmaster.internal/ubuntu noble/universe amd64 genimage amd64 17-2 [54.8 kB] 833s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 genisoimage amd64 9:1.1.11-3.4 [375 kB] 833s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 liburing2 amd64 2.5-1 [21.0 kB] 833s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 mtools amd64 4.0.43-1 [195 kB] 833s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 qemu-utils amd64 1:8.2.1+ds-1ubuntu1 [2217 kB] 833s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 u-boot-tools amd64 2024.01+dfsg-1ubuntu2 [296 kB] 833s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 libfdt1 amd64 1.7.0-2 [20.0 kB] 833s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 device-tree-compiler amd64 1.7.0-2 [228 kB] 833s Fetched 3503 kB in 0s (50.2 MB/s) 833s Selecting previously unselected package arm-trusted-firmware-tools. 834s (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 ... 71420 files and directories currently installed.) 834s Preparing to unpack .../00-arm-trusted-firmware-tools_2.10.0+dfsg-1_amd64.deb ... 834s Unpacking arm-trusted-firmware-tools (2.10.0+dfsg-1) ... 834s Selecting previously unselected package genext2fs. 834s Preparing to unpack .../01-genext2fs_1.5.0-3_amd64.deb ... 834s Unpacking genext2fs (1.5.0-3) ... 834s Selecting previously unselected package libconfuse-common. 834s Preparing to unpack .../02-libconfuse-common_3.3-3_all.deb ... 834s Unpacking libconfuse-common (3.3-3) ... 834s Selecting previously unselected package libconfuse2:amd64. 834s Preparing to unpack .../03-libconfuse2_3.3-3_amd64.deb ... 834s Unpacking libconfuse2:amd64 (3.3-3) ... 834s Selecting previously unselected package genimage. 834s Preparing to unpack .../04-genimage_17-2_amd64.deb ... 834s Unpacking genimage (17-2) ... 834s Selecting previously unselected package genisoimage. 834s Preparing to unpack .../05-genisoimage_9%3a1.1.11-3.4_amd64.deb ... 834s Unpacking genisoimage (9:1.1.11-3.4) ... 834s Selecting previously unselected package liburing2:amd64. 834s Preparing to unpack .../06-liburing2_2.5-1_amd64.deb ... 834s Unpacking liburing2:amd64 (2.5-1) ... 834s Selecting previously unselected package mtools. 834s Preparing to unpack .../07-mtools_4.0.43-1_amd64.deb ... 834s Unpacking mtools (4.0.43-1) ... 834s Selecting previously unselected package qemu-utils. 834s Preparing to unpack .../08-qemu-utils_1%3a8.2.1+ds-1ubuntu1_amd64.deb ... 834s Unpacking qemu-utils (1:8.2.1+ds-1ubuntu1) ... 834s Selecting previously unselected package u-boot-tools. 834s Preparing to unpack .../09-u-boot-tools_2024.01+dfsg-1ubuntu2_amd64.deb ... 834s Unpacking u-boot-tools (2024.01+dfsg-1ubuntu2) ... 834s Selecting previously unselected package libfdt1:amd64. 834s Preparing to unpack .../10-libfdt1_1.7.0-2_amd64.deb ... 834s Unpacking libfdt1:amd64 (1.7.0-2) ... 834s Selecting previously unselected package device-tree-compiler. 834s Preparing to unpack .../11-device-tree-compiler_1.7.0-2_amd64.deb ... 834s Unpacking device-tree-compiler (1.7.0-2) ... 834s Selecting previously unselected package autopkgtest-satdep. 834s Preparing to unpack .../12-1-autopkgtest-satdep.deb ... 834s Unpacking autopkgtest-satdep (0) ... 834s Setting up genisoimage (9:1.1.11-3.4) ... 834s Setting up mtools (4.0.43-1) ... 834s Setting up arm-trusted-firmware-tools (2.10.0+dfsg-1) ... 834s Setting up libfdt1:amd64 (1.7.0-2) ... 834s Setting up device-tree-compiler (1.7.0-2) ... 834s Setting up u-boot-tools (2024.01+dfsg-1ubuntu2) ... 834s Setting up genext2fs (1.5.0-3) ... 834s Setting up libconfuse-common (3.3-3) ... 834s Setting up liburing2:amd64 (2.5-1) ... 834s Setting up libconfuse2:amd64 (3.3-3) ... 834s Setting up genimage (17-2) ... 834s Setting up qemu-utils (1:8.2.1+ds-1ubuntu1) ... 834s Setting up autopkgtest-satdep (0) ... 834s Processing triggers for man-db (2.12.0-3) ... 835s Processing triggers for install-info (7.1-3) ... 835s Processing triggers for libc-bin (2.39-0ubuntu6) ... 837s (Reading database ... 71624 files and directories currently installed.) 837s Removing autopkgtest-satdep (0) ... 837s autopkgtest [00:02:48]: test upstream-tests: [----------------------- 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/cpio.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/cpio.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/cramfs.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/cramfs.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/exec-check.sh' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/exec-check.sh' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/exec-fail.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/exec-fail.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/exec.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/exec.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext.test' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext.test' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext2.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext2percent.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2percent.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext2test-percent.0.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2test-percent.0.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext2test-percent.1.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2test-percent.1.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext2test.0.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2test.0.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext2test.1.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2test.1.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext3.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext3.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext3test.0.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext3test.0.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext3test.1.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext3test.1.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext4.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext4.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext4test.0.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext4test.0.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ext4test.1.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext4test.1.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/f2fs.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/f2fs.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/filesystem.test' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/filesystem.test' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/fip.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/fip.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/fit.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/fit.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/fit.its' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/fit.its' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/flash-types.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/flash-types.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/flash.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/flash.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/flash.md5' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/flash.md5' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/flash.test' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/flash.test' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/genimage.test' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/genimage.test' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/gpt-invalid-partition-type1.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/gpt-invalid-partition-type1.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/gpt-invalid-partition-type2.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/gpt-invalid-partition-type2.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/gpt-overlap1.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/gpt-overlap1.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/gpt-overlap2.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/gpt-overlap2.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/gpt-overlap3.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/gpt-overlap3.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/gpt-partition-types.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/gpt-partition-types.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/gpt-partition-types.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/gpt-partition-types.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-fail1.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-fail1.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-fail2.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-fail2.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-fail3.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-fail3.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-fail4.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-fail4.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-fail5.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-fail5.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-fail6.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-fail6.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-fail7.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-fail7.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-hybrid.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-hybrid.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-hybrid.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-hybrid.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-nopart.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-nopart.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage-nopart.hexdump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-nopart.hexdump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage.fdisk-2' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage.fdisk-2' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage2.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage2.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage4.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage4.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage4.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage4.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage5.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage5.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage5.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage5.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage6.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage6.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage6.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage6.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage7.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage7.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage7.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage7.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hole.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hole.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include-aaa.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include-aaa.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include-bbb.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include-bbb.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include-ccc.fdisk' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include-ccc.fdisk' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include-test.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include-test.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include/aaa' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/aaa' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include/aaa/include-test.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/aaa/include-test.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include/bbb' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/bbb' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/include/bbb/include-test.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/bbb/include-test.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/iso.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/iso.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/jffs2.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/jffs2.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/jffs2.md5' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/jffs2.md5' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/misc.test' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/misc.test' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/mke2fs.0.dump' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/mke2fs.0.dump' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/mke2fs.conf' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/mke2fs.conf' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/mke2fs.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/mke2fs.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/qemu.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/qemu.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/qemu.qcow.gz' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/qemu.qcow.gz' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/rauc-openssl-ca' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/rauc-openssl-ca' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/rauc-openssl-ca/ca.cert.pem' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/rauc-openssl-ca/ca.cert.pem' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/rauc-openssl-ca/rauc.cert.pem' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/rauc-openssl-ca/rauc.cert.pem' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/rauc-openssl-ca/rauc.key.pem' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/rauc-openssl-ca/rauc.key.pem' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/rauc.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/rauc.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/sharness.sh' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/sharness.sh' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/sparse.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/sparse.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/squashfs.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/squashfs.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/tar.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/tar.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/test-setup.sh' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test-setup.sh' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/test.raucb.info' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test.raucb.info' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/test.raucb.info.new' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test.raucb.info.new' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/test2.raucb.info' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test2.raucb.info' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/test2.raucb.info.new' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test2.raucb.info.new' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ubi.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ubi.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/ubifs.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ubifs.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/vfat.config' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/vfat.config' 837s '/tmp/autopkgtest.3mGmpw/build.yAl/src/test/hdimage.test' -> '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage.test' 837s expecting success: 837s run_genimage_root ext2.config test.ext2 && 837s check_ext images/test.ext2 ext2test 4194304 genext2fs 837s 837s 1+0 records in 837s 1+0 records out 837s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00147951 s, 709 MB/s 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 837s INFO: ext2(test.ext2): cmd: "genext2fs -d '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext2' " (stderr+stdout): 837s copying from directory /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root 837s INFO: ext2(test.ext2): cmd: "tune2fs -L 'ext2test' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 837s tune2fs 1.47.0 (5-Feb-2023) 837s INFO: ext2(test.ext2): cmd: "e2fsck -pvfD '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 837s ext2test: Filesystem did not have a UUID; generating one. 837s 837s 837s 51 inodes used (19.92%, out of 256) 837s 0 non-contiguous files (0.0%) 837s 0 non-contiguous directories (0.0%) 837s # of inodes with ind/dind/tind blocks: 1/0/0 837s 71 blocks used (1.73%, out of 4096) 837s 0 bad blocks 837s 0 large files 837s 837s 24 regular files 837s 18 directories 837s 0 character device files 837s 0 block device files 837s 0 fifos 837s 0 links 837s 0 symbolic links (0 fast symbolic links) 837s 0 sockets 837s ------------ 837s 42 files 837s INFO: ext2(test.ext2): cmd: "echo 'set_current_time 20000101000000 837s set_super_value mkfs_time 20000101000000 837s set_super_value lastcheck 20000101000000 837s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 837s debugfs 1.47.0 (5-Feb-2023) 837s debugfs: set_current_time 20000101000000 837s Setting current time to Sat Jan 1 00:00:00 2000 837s 837s debugfs: set_super_value mkfs_time 20000101000000 837s debugfs: set_super_value lastcheck 20000101000000 837s debugfs: set_super_value mtime 00000000 837s debugfs: ++ uuid='Filesystem UUID' 837s ++ seed='Directory Hash Seed:' 837s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 837s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 837s ++ dumpe2fs images/test.ext2 837s ++ 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\)' 837s dumpe2fs 1.47.0 (5-Feb-2023) 837s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 837s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 837s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 837s ++ 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 837s ++ '[' genext2fs = genext2fs ']' 837s +++ genext2fs --version 837s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 837s ++ version=1 837s ++ test_cmp /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2test.1.dump dump 837s ++ diff -u /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2test.1.dump dump 837s ++ e2fsck -nf images/test.ext2 837s Pass 1: Checking inodes, blocks, and sizes 837s Pass 2: Checking directory structure 837s Pass 3: Checking directory connectivity 837s Pass 4: Checking reference counts 837s Pass 5: Checking group summary information 837s ext2test: 51/256 files (0.0% non-contiguous), 71/4096 blocks 837s e2fsck 1.47.0 (5-Feb-2023) 837s ++ debugfs -R 'ls -p' images/test.ext2 837s ++ IFS=/ 837s ++ read a b c d e x f 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ check_size images/test.ext2 4194304 837s ++ local size 837s ++ get_size images/test.ext2 837s ++ local file=images/test.ext2 837s ++ '[' '!' -f images/test.ext2 ']' 837s +++ du -b images/test.ext2 837s ++ set -- 4194304 images/test.ext2 837s ++ size=4194304 837s ++ '[' 4194304 -ne 4194304 ']' 837s ++ check_root 837s ++ diff -ru '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test' 837s ok 1 - ext2 837s 837s expecting success: 837s run_genimage_root ext2percent.config test.ext2 && 837s check_ext images/test.ext2 ext2test-percent 69632 genext2fs 837s 837s ++ func_check 837s ++ local ret=0 837s ++ set +x 837s 1+0 records in 837s 1+0 records out 837s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00142739 s, 735 MB/s 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 837s INFO: ext2(test.ext2): cmd: "genext2fs -d '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=68 -i 16384 '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext2' " (stderr+stdout): 837s copying from directory /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root 837s INFO: ext2(test.ext2): cmd: "tune2fs -L 'ext2test' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 837s tune2fs 1.47.0 (5-Feb-2023) 837s INFO: ext2(test.ext2): cmd: "e2fsck -pvfD '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 837s ext2test: Filesystem did not have a UUID; generating one. 837s 837s 837s 51 inodes used (91.07%, out of 56) 837s 0 non-contiguous files (0.0%) 837s 0 non-contiguous directories (0.0%) 837s # of inodes with ind/dind/tind blocks: 1/0/0 837s 46 blocks used (67.65%, out of 68) 837s 0 bad blocks 837s 0 large files 837s 837s 24 regular files 837s 18 directories 837s 0 character device files 837s 0 block device files 837s 0 fifos 837s 0 links 837s 0 symbolic links (0 fast symbolic links) 837s 0 sockets 837s ------------ 837s 42 files 837s INFO: ext2(test.ext2): cmd: "echo 'set_current_time 20000101000000 837s set_super_value mkfs_time 20000101000000 837s set_super_value lastcheck 20000101000000 837s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext2'" (stderr+stdout): 837s debugfs 1.47.0 (5-Feb-2023) 837s debugfs: set_current_time 20000101000000 837s Setting current time to Sat Jan 1 00:00:00 2000 837s 837s debugfs: set_super_value mkfs_time 20000101000000 837s debugfs: set_super_value lastcheck 20000101000000 837s debugfs: set_super_value mtime 00000000 837s debugfs: ++ uuid='Filesystem UUID' 837s ++ seed='Directory Hash Seed:' 837s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 837s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 837s ++ dumpe2fs images/test.ext2 837s ++ 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\)' 837s dumpe2fs 1.47.0 (5-Feb-2023) 837s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 837s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 837s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 837s ++ 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 837s ++ '[' genext2fs = genext2fs ']' 837s +++ genext2fs --version 837s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 837s ++ version=1 837s ++ test_cmp /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2test-percent.1.dump dump 837s ++ diff -u /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext2test-percent.1.dump dump 837s ++ e2fsck -nf images/test.ext2 837s e2fsck 1.47.0 (5-Feb-2023) 837s Pass 1: Checking inodes, blocks, and sizes 837s Pass 2: Checking directory structure 837s ++ debugfs -R 'ls -p' images/test.ext2 837s ++ IFS=/ 837s ++ read a b c d e x f 837s Pass 3: Checking directory connectivity 837s Pass 4: Checking reference counts 837s Pass 5: Checking group summary information 837s ext2test: 51/56 files (0.0% non-contiguous), 46/68 blocks 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext2 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ check_size images/test.ext2 69632 837s ++ local size 837s ++ get_size images/test.ext2 837s ++ local file=images/test.ext2 837s ++ '[' '!' -f images/test.ext2 ']' 837s +++ du -b images/test.ext2 837s ++ set -- 69632 images/test.ext2 837s ++ size=69632 837s ++ '[' 69632 -ne 69632 ']' 837s ++ check_root 837s ++ diff -ru '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test' 837s ok 2 - ext2percent 837s 837s expecting success: 837s run_genimage_root ext3.config test.ext3 && 837s check_ext images/test.ext3 ext3test 4194304 genext2fs 837s 837s ++ func_check 837s ++ local ret=0 837s ++ set +x 837s 1+0 records in 837s 1+0 records out 837s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00152483 s, 688 MB/s 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 837s INFO: ext3(test.ext3): cmd: "genext2fs -d '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext3' " (stderr+stdout): 837s copying from directory /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root 837s INFO: ext3(test.ext3): cmd: "tune2fs -O 'has_journal' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 837s tune2fs 1.47.0 (5-Feb-2023) 837s Creating journal inode: done 837s This filesystem will be automatically checked every 20 mounts or 837s 0 days, whichever comes first. Use tune2fs -c or -i to override. 837s INFO: ext3(test.ext3): cmd: "tune2fs -L 'ext3test' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 837s tune2fs 1.47.0 (5-Feb-2023) 837s INFO: ext3(test.ext3): cmd: "e2fsck -pvfD '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 837s ext3test: Filesystem did not have a UUID; generating one. 837s 837s 837s 51 inodes used (19.92%, out of 256) 837s 0 non-contiguous files (0.0%) 837s 0 non-contiguous directories (0.0%) 837s # of inodes with ind/dind/tind blocks: 1/0/0 837s 1100 blocks used (26.86%, out of 4096) 837s 0 bad blocks 837s 0 large files 837s 837s 24 regular files 837s 18 directories 837s 0 character device files 837s 0 block device files 837s 0 fifos 837s 0 links 837s 0 symbolic links (0 fast symbolic links) 837s 0 sockets 837s ------------ 837s 42 files 837s INFO: ext3(test.ext3): cmd: "echo 'set_current_time 20000101000000 837s set_super_value mkfs_time 20000101000000 837s set_super_value lastcheck 20000101000000 837s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext3'" (stderr+stdout): 837s debugfs 1.47.0 (5-Feb-2023) 837s debugfs: set_current_time 20000101000000 837s Setting current time to Sat Jan 1 00:00:00 2000 837s 837s debugfs: set_super_value mkfs_time 20000101000000 837s debugfs: set_super_value lastcheck 20000101000000 837s debugfs: set_super_value mtime 00000000 837s debugfs: ++ uuid='Filesystem UUID' 837s ++ seed='Directory Hash Seed:' 837s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 837s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 837s ++ dumpe2fs images/test.ext3 837s ++ 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\)' 837s dumpe2fs 1.47.0 (5-Feb-2023) 837s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 837s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 837s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 837s ++ 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 837s ++ '[' genext2fs = genext2fs ']' 837s +++ genext2fs --version 837s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 837s ++ version=1 837s ++ test_cmp /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext3test.1.dump dump 837s ++ diff -u /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext3test.1.dump dump 837s ++ e2fsck -nf images/test.ext3 837s e2fsck 1.47.0 (5-Feb-2023) 837s Pass 1: Checking inodes, blocks, and sizes 837s Pass 2: Checking directory structure 837s Pass 3: Checking directory connectivity 837s Pass 4: Checking reference counts 837s Pass 5: Checking group summary information 837s ext3test: 51/256 files (0.0% non-contiguous), 1100/4096 blocks 837s ++ debugfs -R 'ls -p' images/test.ext3 837s ++ IFS=/ 837s ++ read a b c d e x f 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext3 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ check_size images/test.ext3 4194304 837s ++ local size 837s ++ get_size images/test.ext3 837s ++ local file=images/test.ext3 837s ++ '[' '!' -f images/test.ext3 ']' 837s +++ du -b images/test.ext3 837s ++ set -- 4194304 images/test.ext3 837s ++ size=4194304 837s ++ '[' 4194304 -ne 4194304 ']' 837s ++ check_root 837s ++ diff -ru '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test' 837s ++ func_check 837s ++ local ret=0 837s ++ set +x 837s ok 3 - ext3 837s 837s expecting success: 837s run_genimage ext4.config test.ext4 && 837s check_ext images/test.ext4 ext4test 4194304 genext2fs 837s 837s 1+0 records in 837s 1+0 records out 837s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00165158 s, 635 MB/s 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 837s INFO: ext4(test.ext4): cmd: "genext2fs -d 'root.orig' --size-in-blocks=4096 -i 16384 '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext4' " (stderr+stdout): 837s copying from directory root.orig 837s INFO: ext4(test.ext4): cmd: "tune2fs -O 'extents,uninit_bg,dir_index,has_journal' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 837s tune2fs 1.47.0 (5-Feb-2023) 837s Creating journal inode: done 837s This filesystem will be automatically checked every 20 mounts or 837s 0 days, whichever comes first. Use tune2fs -c or -i to override. 837s INFO: ext4(test.ext4): cmd: "tune2fs -L 'ext4test' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 837s tune2fs 1.47.0 (5-Feb-2023) 837s INFO: ext4(test.ext4): cmd: "e2fsck -pvfD '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 837s ext4test: Filesystem did not have a UUID; generating one. 837s 837s ext4test: Adding dirhash hint to filesystem. 837s 837s 837s 51 inodes used (19.92%, out of 256) 837s 0 non-contiguous files (0.0%) 837s 0 non-contiguous directories (0.0%) 837s # of inodes with ind/dind/tind blocks: 1/0/0 837s Extent depth histogram: 1 837s 1095 blocks used (26.73%, out of 4096) 837s 0 bad blocks 837s 0 large files 837s 837s 24 regular files 837s 18 directories 837s 0 character device files 837s 0 block device files 837s 0 fifos 837s 0 links 837s 0 symbolic links (0 fast symbolic links) 837s 0 sockets 837s ------------ 837s 42 files 837s INFO: ext4(test.ext4): cmd: "echo 'set_current_time 20000101000000 837s set_super_value mkfs_time 20000101000000 837s set_super_value lastcheck 20000101000000 837s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/test.ext4'" (stderr+stdout): 837s debugfs 1.47.0 (5-Feb-2023) 837s debugfs: set_current_time 20000101000000 837s Setting current time to Sat Jan 1 00:00:00 2000 837s 837s debugfs: set_super_value mkfs_time 20000101000000 837s debugfs: set_super_value lastcheck 20000101000000 837s debugfs: set_super_value mtime 00000000 837s debugfs: ++ uuid='Filesystem UUID' 837s ++ seed='Directory Hash Seed:' 837s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 837s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 837s ++ dumpe2fs images/test.ext4 837s ++ 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\)' 837s dumpe2fs 1.47.0 (5-Feb-2023) 837s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 837s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 837s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 837s ++ 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 837s ++ '[' genext2fs = genext2fs ']' 837s +++ genext2fs --version 837s ++ '[' 'genext2fs 1.4.2' = 'genext2fs 1.4.1' ']' 837s ++ version=1 837s ++ test_cmp /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext4test.1.dump dump 837s ++ diff -u /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/ext4test.1.dump dump 837s ++ e2fsck -nf images/test.ext4 837s e2fsck 1.47.0 (5-Feb-2023) 837s Pass 1: Checking inodes, blocks, and sizes 837s Pass 2: Checking directory structure 837s Pass 3: Checking directory connectivity 837s Pass 4: Checking reference counts 837s Pass 5: Checking group summary information 837s ext4test: 51/256 files (0.0% non-contiguous), 1095/4096 blocks 837s ++ debugfs -R 'ls -p' images/test.ext4 837s ++ IFS=/ 837s ++ read a b c d e x f 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/test.ext4 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ check_size images/test.ext4 4194304 837s ++ local size 837s ++ get_size images/test.ext4 837s ++ local file=images/test.ext4 837s ++ '[' '!' -f images/test.ext4 ']' 837s +++ du -b images/test.ext4 837s ++ set -- 4194304 images/test.ext4 837s ++ size=4194304 837s ++ '[' 4194304 -ne 4194304 ']' 837s ++ check_root 837s ++ diff -ru '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test' 837s ++ func_check 837s ++ local ret=0 837s ++ set +x 837s ok 4 - ext4 837s 837s expecting success: 837s run_genimage_root mke2fs.config mke2fs.ext4 && 837s check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs 837s 837s 1+0 records in 837s 1+0 records out 837s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00138692 s, 756 MB/s 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"/*" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp"" (stderr+stdout): 837s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root"" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images"" (stderr+stdout): 837s 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.3mGmpw/autopkgtest_tmp/trash directory.ext.test/tmp/root' -U 12345678-1234-1234-1234-1234567890ab -E quotatype= -L mke2fs -O '^resize_inode,quota' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4' 32768k" (stderr+stdout): 837s mke2fs 1.47.0 (5-Feb-2023) 837s Discarding device blocks: 0/32768 done 837s Creating filesystem with 32768 1k blocks and 8192 inodes 837s Filesystem UUID: 12345678-1234-1234-1234-1234567890ab 837s Superblock backups stored on blocks: 837s 8193, 24577 837s 837s Allocating group tables: 0/4 done 837s Writing inode tables: 0/4 done 837s Creating journal (4096 blocks): done 837s Copying files into the device: done 837s Writing superblocks and filesystem accounting information: 0/4 done 837s 837s INFO: ext4(mke2fs.ext4): cmd: "e2fsck -pvfD '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4'" (stderr+stdout): 837s 837s 51 inodes used (0.62%, out of 8192) 837s 0 non-contiguous files (0.0%) 837s 0 non-contiguous directories (0.0%) 837s # of inodes with ind/dind/tind blocks: 0/0/0 837s Extent depth histogram: 43 837s 6188 blocks used (18.88%, out of 32768) 837s 0 bad blocks 837s 0 large files 837s 837s 24 regular files 837s 18 directories 837s 0 character device files 837s 0 block device files 837s 0 fifos 837s 0 links 837s 0 symbolic links (0 fast symbolic links) 837s 0 sockets 837s ------------ 837s 42 files 837s INFO: ext4(mke2fs.ext4): cmd: "echo 'set_current_time 20000101000000 837s set_super_value mkfs_time 20000101000000 837s set_super_value lastcheck 20000101000000 837s set_super_value mtime 00000000' | debugfs -w '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/images/mke2fs.ext4'" (stderr+stdout): 837s debugfs 1.47.0 (5-Feb-2023) 837s debugfs: set_current_time 20000101000000 837s Setting current time to Sat Jan 1 00:00:00 2000 837s 837s debugfs: set_super_value mkfs_time 20000101000000 837s debugfs: set_super_value lastcheck 20000101000000 837s debugfs: set_super_value mtime 00000000 837s debugfs: ++ uuid='Filesystem UUID' 837s ++ seed='Directory Hash Seed:' 837s ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum' 837s ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\| Checksum .*, unused inodes 205' 837s ++ dumpe2fs images/mke2fs.ext4 837s ++ 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\)' 837s dumpe2fs 1.47.0 (5-Feb-2023) 837s ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump 837s ++ sed -i 's/^\(Journal size: \)1029k$/\11024k/' dump 837s ++ sed -i 's/^\( Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump 837s ++ 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 837s ++ '[' mke2fs = genext2fs ']' 837s ++ version=0 837s ++ test_cmp /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/mke2fs.0.dump dump 837s ++ diff -u /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/mke2fs.0.dump dump 837s ++ e2fsck -nf images/mke2fs.ext4 837s e2fsck 1.47.0 (5-Feb-2023) 837s Pass 1: Checking inodes, blocks, and sizes 837s Pass 2: Checking directory structure 837s Pass 3: Checking directory connectivity 837s Pass 4: Checking reference counts 837s Pass 5: Checking group summary information 837s mke2fs: 51/8192 files (0.0% non-contiguous), 6188/32768 blocks 837s ++ debugfs -R 'ls -p' images/mke2fs.ext4 837s ++ IFS=/ 837s ++ read a b c d e x f 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "bar" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "baz" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "foo" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ debugfs -R 'rdump "with spaces" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test"' images/mke2fs.ext4 837s debugfs 1.47.0 (5-Feb-2023) 837s ++ read a b c d e x f 837s ++ case "${x}" in 837s ++ continue 837s ++ read a b c d e x f 837s ++ check_size images/mke2fs.ext4 33554432 837s ++ local size 837s ++ get_size images/mke2fs.ext4 837s ++ local file=images/mke2fs.ext4 837s ++ '[' '!' -f images/mke2fs.ext4 ']' 837s +++ du -b images/mke2fs.ext4 837s ++ set -- 33554432 images/mke2fs.ext4 837s ++ size=33554432 837s ++ '[' 33554432 -ne 33554432 ']' 837s ++ check_root 837s ++ diff -ru '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.orig' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.ext.test/root.test' 837s ++ func_check 837s ++ local ret=0 837s ++ set +x 837s ok 5 - mke2fs 837s 837s # passed all 5 test(s) 837s 1..5 837s expecting success: 837s run_genimage_root cpio.config test.cpio && 837s zcat images/test.cpio | cpio --extract -t | grep -v '^\.$' | sort > '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 837s check_size_range images/test.cpio 400 550 && 837s check_filelist 837s 837s 1+0 records in 837s 1+0 records out 837s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00145794 s, 719 MB/s 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 837s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 837s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 837s INFO: cpio(test.cpio): cmd: "(cd '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp/root' && find . | cpio -H 'newc' -o | gzip) > '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images/test.cpio'" (stderr+stdout): 837s 10 blocks 837s 10 blocks 837s ok 1 - cpio 837s 837s skipping test: cramfs 837s run_genimage_root cramfs.config test.cramfs && 837s check_size images/test.cramfs 4096 837s 837s ok 2 # skip cramfs (missing mkcramfs) 837s 837s expecting success: 837s run_genimage_root iso.config test.iso && 837s check_size_range images/test.iso 300000 400000 837s 837s 1+0 records in 837s 1+0 records out 837s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00140952 s, 744 MB/s 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 837s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 837s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 837s INFO: iso(test.iso): cmd: "genisoimage -input-charset default -R -hide-rr-moved -V 'iso-test' -o '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images/test.iso' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp/root'" (stderr+stdout): 837s Total translation table size: 0 837s Total rockridge attributes bytes: 5297 837s Total directory bytes: 32768 837s Path table size(bytes): 182 837s Max brk space used 1a000 837s 191 extents written (0 MB) 837s ok 3 - iso 837s 837s skipping test: f2fs 837s run_genimage_root f2fs.config test.f2fs && 837s fsck.f2fs images/test.f2fs 837s 837s ok 4 # skip f2fs (missing fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs) 837s 837s skipping test: squashfs 837s run_genimage_root squashfs.config test.squashfs && 837s check_size_range images/test.squashfs 4000 4100 && 837s unsquashfs -ls images/test.squashfs | sed -n '/squashfs-root/s;squashfs-root/;;p' | sort > '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 837s check_filelist 837s 837s ok 5 # skip squashfs (missing mksquashfs) 837s 837s expecting success: 837s run_genimage_root tar.config test.tar.gz && 837s check_size_range images/test.tar.gz 500 600 && 837s zcat images/test.tar.gz | tar -t | sed -n -e 's;/$;;' -e 's;^\./\(..*\)$;\1;p' | sort > '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 837s check_filelist 837s 837s 1+0 records in 837s 1+0 records out 837s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00147586 s, 710 MB/s 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 837s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 837s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 837s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 837s INFO: tar(test.tar.gz): cmd: "tar cz -f '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images/test.tar.gz' -C '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp/root' ." (stderr+stdout): 837s ok 6 - tar 837s 837s expecting success: 837s run_genimage_root vfat.config test.vfat && 837s fsck.fat -p images/test.vfat | tee fsck.log && 837s test_must_fail grep -q 'Filesystem was changed' fsck.log && 837s check_size images/test.vfat 4193280 && 837s MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e 's;^::/;;' -e 's;/$;;' | sort > '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/file-list.test' && 837s check_filelist 837s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00148829 s, 705 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp"" (stderr+stdout): 838s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp/root"" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images"" (stderr+stdout): 838s INFO: vfat(test.vfat): cmd: "mkdosfs -n 'vfat-test' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images/test.vfat'" (stderr+stdout): 838s mkfs.fat: Warning: lowercase labels might not work properly on some systems 838s mkfs.fat 4.2 (2021-01-31) 838s INFO: vfat(test.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -sp -i '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/images/test.vfat' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.filesystem.test/tmp/root'/* ::" (stderr+stdout): 838s fsck.fat 4.2 (2021-01-31) 838s images/test.vfat: 41 files, 16/2028 clusters 838s ok 7 - vfat 838s 838s # passed all 7 test(s) 838s 1..7 838s expecting success: 838s setup_test_images && 838s run_genimage flash.config test.flash && 838s md5sum -c '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/flash.md5' 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.065e-05 s, 88.2 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 7.392e-05 s, 76.2 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00142524 s, 736 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.flash.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.flash.test/tmp"/*" (stderr+stdout): 838s DEBUG: flash(test.flash): adding implicit file rule for 'part1.img' 838s DEBUG: flash(test.flash): adding implicit file rule for 'part2.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.flash.test/images"" (stderr+stdout): 838s INFO: flash(test.flash): writing image partition 'part1' (0x100000@0x0) 838s DEBUG: flash(test.flash): copying 1048576 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.flash.test/input/part1.img at offset 0 838s DEBUG: flash(test.flash): adding 1044992 0xff bytes at offset 3584 838s INFO: flash(test.flash): writing image partition 'part2' (0x100000@0x100000) 838s DEBUG: flash(test.flash): copying 1048576 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.flash.test/input/part2.img at offset 1048576 838s DEBUG: flash(test.flash): adding 1042944 0xff bytes at offset 1054208 838s images/test.flash: OK 838s ok 1 - flash 838s 838s skipping test: jffs2 838s run_genimage_root jffs2.config test.jffs2 && 838s md5sum -c '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/jffs2.md5' 838s 838s ok 2 # skip jffs2 (missing mkfs_jffs2) 838s 838s skipping test: ubifs 838s run_genimage_root ubifs.config test.ubifs && 838s check_size_range images/test.ubifs 200000 300000 838s 838s ok 3 # skip ubifs (missing mkfs_ubifs) 838s 838s skipping test: ubi 838s setup_ubi_images && 838s run_genimage ubi.config test.ubi && 838s check_size_range images/test.ubi 550000 600000 838s 838s ok 4 # skip ubi (missing ubinize) 838s 838s # passed all 4 test(s) 838s 1..4 838s expecting success: 838s setup_exec_files && 838s run_genimage_root exec.config 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.18e-05 s, 85.7 MB/s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.797e-05 s, 94.4 MB/s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.642e-05 s, 98.4 MB/s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.622e-05 s, 99.0 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp/root"" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 838s INFO: file(file1.img): cmd: "./exec-check.sh file1.img" (stderr+stdout): 838s + : OUTPUTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images' 838s + : INPUTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input' 838s + : ROOTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig' 838s + : TMPPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp' 838s + : IMAGE 838s + test file1.img = file1.img 838s + : IMAGEOUTFILE 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file1.img' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file1.img' 838s + : IMAGENAME 838s + test exec-test = exec-test 838s + : IMAGESIZE 838s + test 3584 = 3584 838s + : IMAGEMOUNTPOINT 838s + test '' = '' 838s + : IMAGEMOUNTPATH 838s + '[' '' = empty ']' 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp/root' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp/root' 838s INFO: file(file1.img): cmd: "cp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input/file1.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file1.img'" (stderr+stdout): 838s INFO: file(file2.img): cmd: "cp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input/file2.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file2.img'" (stderr+stdout): 838s INFO: file(file2.img): cmd: "./exec-check.sh file2.img" (stderr+stdout): 838s + : OUTPUTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images' 838s + : INPUTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input' 838s + : ROOTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig' 838s + : TMPPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp' 838s + : IMAGE 838s + test file2.img = file2.img 838s + : IMAGEOUTFILE 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file2.img' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file2.img' 838s + : IMAGENAME 838s + test exec-test = exec-test 838s + : IMAGESIZE 838s + test 3584 = 3584 838s + : IMAGEMOUNTPOINT 838s + test '' = '' 838s + : IMAGEMOUNTPATH 838s + '[' '' = empty ']' 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp/root' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp/root' 838s INFO: file(file3.img): cmd: "./exec-check.sh file3.img empty" (stderr+stdout): 838s + : OUTPUTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images' 838s + : INPUTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input' 838s + : ROOTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig' 838s + : TMPPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp' 838s + : IMAGE 838s + test file3.img = file3.img 838s + : IMAGEOUTFILE 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file3.img' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file3.img' 838s + : IMAGENAME 838s + test exec-test = exec-test 838s + : IMAGESIZE 838s + test 3584 = 3584 838s + : IMAGEMOUNTPOINT 838s + test '' = '' 838s + : IMAGEMOUNTPATH 838s + '[' empty = empty ']' 838s + test '' = '' 838s INFO: file(file3.img): cmd: "cp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input/file3.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file3.img'" (stderr+stdout): 838s INFO: file(file4.img): cmd: "cp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input/file4.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file4.img'" (stderr+stdout): 838s INFO: file(file4.img): cmd: "./exec-check.sh file4.img empty" (stderr+stdout): 838s + : OUTPUTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images' 838s + : INPUTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/input' 838s + : ROOTPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig' 838s + : TMPPATH 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp' 838s + : IMAGE 838s + test file4.img = file4.img 838s + : IMAGEOUTFILE 838s + test '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file4.img' = '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images/file4.img' 838s + : IMAGENAME 838s + test exec-test = exec-test 838s + : IMAGESIZE 838s + test 3584 = 3584 838s + : IMAGEMOUNTPOINT 838s + test '' = '' 838s + : IMAGEMOUNTPATH 838s + '[' empty = empty ']' 838s + test '' = '' 838s ok 1 - exec 838s 838s expecting success: 838s setup_exec_files && 838s test_must_fail run_genimage_root exec-fail.config 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.788e-05 s, 94.6 MB/s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.472e-05 s, 103 MB/s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.439e-05 s, 104 MB/s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.66e-05 s, 97.9 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "cp -a "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/root.orig" "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp/root"" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 838s INFO: file(file1.img): cmd: "false" (stderr+stdout): 838s ERROR: file(file1.img): failed to generate file1.img 838s ok 2 - exec-fail 838s 838s expecting success: 838s run_genimage include.config && 838s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include-ccc.fdisk' include.fdisk 838s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 838s INFO: hdimage(include.hdimage): adding partition 'ccc' (in MBR) ... 838s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 838s INFO: hdimage(include.hdimage): writing GPT 838s INFO: hdimage(include.hdimage): writing protective MBR 838s INFO: hdimage(include.hdimage): writing MBR 838s ok 3 - includepath1 838s 838s expecting success: 838s extra_opts='--includepath=/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/aaa' run_genimage include.config && 838s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include-aaa.fdisk' include.fdisk 838s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 838s INFO: hdimage(include.hdimage): adding partition 'aaa' (in MBR) ... 838s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 838s INFO: hdimage(include.hdimage): writing GPT 838s INFO: hdimage(include.hdimage): writing protective MBR 838s INFO: hdimage(include.hdimage): writing MBR 838s ok 4 - includepath2 838s 838s expecting success: 838s extra_opts='--includepath=/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/bbb:/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/aaa' run_genimage include.config && 838s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include-bbb.fdisk' include.fdisk 838s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 838s INFO: hdimage(include.hdimage): adding partition 'bbb' (in MBR) ... 838s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 838s INFO: hdimage(include.hdimage): writing GPT 838s INFO: hdimage(include.hdimage): writing protective MBR 838s INFO: hdimage(include.hdimage): writing MBR 838s ok 5 - includepath3 838s 838s expecting success: 838s extra_opts='--includepath=.:/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/bbb' run_genimage include.config && 838s sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include-ccc.fdisk' include.fdisk 838s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.genimage.test/images"" (stderr+stdout): 838s INFO: hdimage(include.hdimage): adding partition 'ccc' (in MBR) ... 838s INFO: hdimage(include.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT header]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT array]' ... 838s INFO: hdimage(include.hdimage): adding partition '[GPT backup]' ... 838s INFO: hdimage(include.hdimage): writing GPT 838s INFO: hdimage(include.hdimage): writing protective MBR 838s INFO: hdimage(include.hdimage): writing MBR 838s ok 6 - includepath4 838s 838s skipping test: includepath5 838s extra_opts='--includepath=/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/include/aaa' test_must_fail run_genimage include.config 838s 838s ok 7 # skip includepath5 (missing !includepath) 838s 838s # passed all 7 test(s) 838s 1..7 838s expecting success: 838s setup_test_images && 838s run_genimage hdimage.config test.hdimage && 838s check_size images/test.hdimage 10485760 && 838s sfdisk_validate images/test.hdimage && 838s check_disk_usage_range images/test.hdimage 40960 57344 && 838s sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage.fdisk' hdimage.fdisk && 838s check_size images/test.hdimage-2 11539968 && 838s sfdisk_validate images/test.hdimage-2 && 838s check_disk_usage_range images/test.hdimage-2 61290 65376 && 838s sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage.fdisk-2' hdimage.fdisk-2 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.0369e-05 s, 88.8 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.754e-05 s, 118 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00137141 s, 765 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part3.img' 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 838s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part3.img' ... 838s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 838s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 838s INFO: hdimage(test.hdimage): writing EBR 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 5242880 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5248512 838s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 838s INFO: hdimage(test.hdimage): writing EBR 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 7340032 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 7343616 838s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 838s INFO: hdimage(test.hdimage): writing EBR 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 9437184 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 9442816 838s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(test.hdimage): writing MBR 838s INFO: hdimage(test.hdimage-2): adding partition 'part1' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 838s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 1052160 838s INFO: hdimage(test.hdimage-2): adding partition 'part2' (in MBR) from 'part2.img' ... 838s INFO: hdimage(test.hdimage-2): writing EBR 838s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 3145728 838s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 3151360 838s INFO: hdimage(test.hdimage-2): adding partition 'part3' (in MBR) from 'part1.img' ... 838s INFO: hdimage(test.hdimage-2): writing EBR 838s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 838s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 5246464 838s INFO: hdimage(test.hdimage-2): adding partition 'part4' (in MBR) from 'part2.img' ... 838s INFO: hdimage(test.hdimage-2): writing EBR 838s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 7340032 838s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 7345664 838s INFO: hdimage(test.hdimage-2): adding partition 'part5' (in MBR) from 'part1.img' ... 838s INFO: hdimage(test.hdimage-2): writing EBR 838s DEBUG: hdimage(test.hdimage-2): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 9437184 838s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 9440768 838s INFO: hdimage(test.hdimage-2): adding partition 'part6' (in MBR) from 'part2.img' ... 838s INFO: hdimage(test.hdimage-2): writing EBR 838s DEBUG: hdimage(test.hdimage-2): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 11534336 838s DEBUG: hdimage(test.hdimage-2): adding 0 0 bytes at offset 11539968 838s INFO: hdimage(test.hdimage-2): adding partition '[MBR]' ... 838s INFO: hdimage(test.hdimage-2): writing MBR 838s ok 1 - hdimage 838s 838s expecting success: 838s setup_test_images && 838s test_must_fail run_genimage hdimage2.config test.hdimage 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.9111e-05 s, 91.6 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 5.394e-05 s, 104 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00137985 s, 760 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 838s ERROR: hdimage(test.hdimage): part part1 size (5120) too small for part2.img (5632) 838s ok 2 - hdimage2 838s 838s expecting success: 838s setup_test_images && 838s run_genimage hdimage4.config test.hdimage && 838s check_size images/test.hdimage 7360512 && 838s sfdisk_validate images/test.hdimage && 838s sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage4.fdisk' hdimage4.fdisk 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.248e-05 s, 84.4 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.473e-05 s, 126 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00142143 s, 738 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 838s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2102784 838s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 838s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 838s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5246464 838s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 6297088 838s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 838s INFO: hdimage(test.hdimage): writing GPT 838s INFO: hdimage(test.hdimage): writing protective MBR 838s INFO: hdimage(test.hdimage): writing MBR 838s ok 3 - hdimage4 838s 838s expecting success: 838s setup_test_images && 838s run_genimage hdimage5.config test.hdimage && 838s check_size images/test.hdimage 7360512 && 838s sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage5.fdisk' hdimage5.fdisk 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.861e-05 s, 92.8 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.486e-05 s, 126 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0013672 s, 767 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1052160 838s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2102784 838s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 3149312 838s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 838s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 5246464 838s INFO: hdimage(test.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 6297088 838s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 838s INFO: hdimage(test.hdimage): writing GPT 838s INFO: hdimage(test.hdimage): writing protective MBR 838s INFO: hdimage(test.hdimage): writing MBR 838s The backup GPT table is not on the end of the device. 838s ok 4 - hdimage5 838s 838s expecting success: 838s setup_test_images && 838s run_genimage hdimage6.config test.hdimage && 838s check_size images/test.hdimage 28082176 && 838s sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage6.fdisk' hdimage6.fdisk 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.85e-05 s, 93.1 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.57e-05 s, 123 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00148788 s, 705 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(test.hdimage): adding partition 'part1' (in MBR) ... 838s INFO: hdimage(test.hdimage): adding partition 'part2' (in MBR) ... 838s INFO: hdimage(test.hdimage): adding partition 'part3' (in MBR) ... 838s INFO: hdimage(test.hdimage): writing EBR 838s INFO: hdimage(test.hdimage): adding partition 'part4' (in MBR) ... 838s INFO: hdimage(test.hdimage): writing EBR 838s INFO: hdimage(test.hdimage): adding partition 'part5' (in MBR) ... 838s INFO: hdimage(test.hdimage): writing EBR 838s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(test.hdimage): writing MBR 838s ok 5 - hdimage6 838s 838s expecting success: 838s setup_test_images && 838s run_genimage hdimage7.config && 838s sfdisk_validate images/test.hdimage && 838s sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage7.fdisk' hdimage7.fdisk 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.764e-05 s, 95.2 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.506e-05 s, 125 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part1.img' 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(test.hdimage): adding partition 'rescue' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 2097152 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 2100736 838s INFO: hdimage(test.hdimage): adding partition 'rootfs-A' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4199936 838s INFO: hdimage(test.hdimage): adding partition 'rootfs-B' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 12582912 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 12588544 838s INFO: hdimage(test.hdimage): adding partition 'reserved' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 20971520 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 20975104 838s INFO: hdimage(test.hdimage): adding partition 'sys' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 21102592 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 21106176 838s INFO: hdimage(test.hdimage): adding partition 'data' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 25296896 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 25300480 838s INFO: hdimage(test.hdimage): adding partition 'bootloader' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 1048576 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 1054208 838s INFO: hdimage(test.hdimage): adding partition 'env-1' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 819200 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 822784 838s INFO: hdimage(test.hdimage): adding partition 'env-2' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 851968 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 855552 838s INFO: hdimage(test.hdimage): adding partition 'ucode' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 983040 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 986624 838s INFO: hdimage(test.hdimage): adding partition 'SPL' from 'part1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1024 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 4608 838s INFO: hdimage(test.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT header]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT array]' ... 838s INFO: hdimage(test.hdimage): adding partition '[GPT backup]' ... 838s INFO: hdimage(test.hdimage): writing GPT 838s INFO: hdimage(test.hdimage): writing protective MBR 838s INFO: hdimage(test.hdimage): writing MBR 838s ok 6 - hdimage7 838s 838s expecting success: 838s setup_test_images && 838s run_genimage hdimage-hybrid.config && 838s sfdisk_validate images/hybrid.hdimage && 838s sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-hybrid.fdisk' hdimage-hybrid.fdisk && 838s dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 && 838s dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 && 838s test_cmp hybrid.sector0 mbr.sector0 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.5491e-05 s, 101 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 6.25e-05 s, 90 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(hybrid.hdimage): adding implicit file rule for 'part1.img' 838s DEBUG: hdimage(hybrid.hdimage): adding implicit file rule for 'part2.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(hybrid.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 838s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 1052160 838s INFO: hdimage(hybrid.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 838s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 2102784 838s INFO: hdimage(hybrid.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 838s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 3149312 838s INFO: hdimage(hybrid.hdimage): adding partition 'part4' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 4194304 838s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 4199936 838s INFO: hdimage(hybrid.hdimage): adding partition 'part5' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(hybrid.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 5242880 838s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 5246464 838s INFO: hdimage(hybrid.hdimage): adding partition 'part6' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(hybrid.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 6291456 838s DEBUG: hdimage(hybrid.hdimage): adding 0 0 bytes at offset 6297088 838s INFO: hdimage(hybrid.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(hybrid.hdimage): adding partition '[GPT header]' ... 838s INFO: hdimage(hybrid.hdimage): adding partition '[GPT array]' ... 838s INFO: hdimage(hybrid.hdimage): adding partition '[GPT backup]' ... 838s INFO: hdimage(hybrid.hdimage): writing GPT 838s INFO: hdimage(hybrid.hdimage): writing hybrid MBR 838s INFO: hdimage(mbr.hdimage): adding partition 'part1' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(mbr.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 1048576 838s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 1052160 838s INFO: hdimage(mbr.hdimage): adding partition 'part2' (in MBR) from 'part2.img' ... 838s DEBUG: hdimage(mbr.hdimage): copying 5632 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part2.img at offset 2097152 838s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 2102784 838s INFO: hdimage(mbr.hdimage): adding partition 'part3' (in MBR) from 'part1.img' ... 838s DEBUG: hdimage(mbr.hdimage): copying 3584 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/part1.img at offset 3145728 838s DEBUG: hdimage(mbr.hdimage): adding 0 0 bytes at offset 3149312 838s INFO: hdimage(mbr.hdimage): adding partition 'fake-gpt' (in MBR) ... 838s INFO: hdimage(mbr.hdimage): adding partition '[MBR]' ... 838s INFO: hdimage(mbr.hdimage): writing MBR 838s 1+0 records in 838s 1+0 records out 838s 512 bytes copied, 2.434e-05 s, 21.0 MB/s 838s 1+0 records in 838s 1+0 records out 838s 512 bytes copied, 2.081e-05 s, 24.6 MB/s 838s ok 7 - hdimage-hybrid 838s 838s expecting success: 838s setup_test_images && 838s test_must_fail run_genimage hdimage-fail1.config && 838s test_must_fail run_genimage hdimage-fail2.config && 838s test_must_fail run_genimage hdimage-fail3.config && 838s test_must_fail run_genimage hdimage-fail4.config && 838s test_must_fail run_genimage hdimage-fail5.config && 838s test_must_fail run_genimage hdimage-fail6.config && 838s test_must_fail run_genimage hdimage-fail7.config 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.7131e-05 s, 96.5 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.48e-05 s, 126 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(test.hdimage): part part1: 'partition-type-uuid' is only valid for gpt and hybrid partition-table-type 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(test.hdimage): part part1: 'partition-type' is only valid for mbr and hybrid partition-table-type 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(test.hdimage): part part1 size must not be zero 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(test.hdimage): 'disk-uuid' is only valid for gpt and hybrid partition-table-type 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(test.hdimage): 'disk-signature' is only valid for mbr and hybrid partition-table-type 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(test.hdimage): part part4 overlaps with previous partition 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(test.hdimage): hybrid MBR partitions (4) exceeds maximum of 3 838s ok 8 - hdimage syntax 838s 838s expecting success: 838s setup_gpt_files && 838s test_must_fail run_genimage gpt-overlap1.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '3K.img' 838s DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '70K.img' 838s ERROR: hdimage(test.gpt-overlap1): partition [GPT array] (offset 0x400, size 0x4000) overlaps previous partition SPL (offset 0x400, size 0x6000) 838s ERROR: hdimage(test.gpt-overlap1): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole. 838s ok 9 - gpt-overlap1 838s 838s expecting success: 838s setup_gpt_files && 838s run_genimage gpt-overlap2.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '3K.img' 838s DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '70K.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(test.gpt-overlap2): adding partition 'SPL' from '3K.img' ... 838s DEBUG: hdimage(test.gpt-overlap2): copying 3072 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 1024 838s DEBUG: hdimage(test.gpt-overlap2): adding 3072 0 bytes at offset 1024 838s INFO: hdimage(test.gpt-overlap2): adding partition 'aaa' (in MBR) from '70K.img' ... 838s DEBUG: hdimage(test.gpt-overlap2): copying 71680 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img at offset 1048576 838s DEBUG: hdimage(test.gpt-overlap2): adding 71680 0 bytes at offset 1048576 838s INFO: hdimage(test.gpt-overlap2): adding partition '[MBR]' ... 838s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT header]' ... 838s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT array]' ... 838s INFO: hdimage(test.gpt-overlap2): adding partition '[GPT backup]' ... 838s INFO: hdimage(test.gpt-overlap2): writing GPT 838s INFO: hdimage(test.gpt-overlap2): writing protective MBR 838s INFO: hdimage(test.gpt-overlap2): writing MBR 838s ok 10 - gpt-overlap2 838s 838s expecting success: 838s setup_gpt_files && 838s test_must_fail run_genimage gpt-overlap3.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '3K.img' 838s DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '70K.img' 838s ERROR: hdimage(test.gpt-overlap3): partition [GPT array] (offset 0x7800, size 0x4000) overlaps previous partition aaa (offset 0x8000, size 0x100000) 838s ok 11 - gpt-overlap3 838s 838s expecting success: 838s run_genimage gpt-partition-types.config && 838s sfdisk_validate images/gpt-partition-types.img && 838s sanitized_fdisk_sfdisk images/gpt-partition-types.img > gpt-partition-types.fdisk && 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/gpt-partition-types.fdisk' gpt-partition-types.fdisk 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(gpt-partition-types.img): adding partition 'part1' (in MBR) ... 838s INFO: hdimage(gpt-partition-types.img): adding partition 'part2' (in MBR) ... 838s INFO: hdimage(gpt-partition-types.img): adding partition 'part3' (in MBR) ... 838s INFO: hdimage(gpt-partition-types.img): adding partition 'part4' (in MBR) ... 838s INFO: hdimage(gpt-partition-types.img): adding partition 'part5' (in MBR) ... 838s INFO: hdimage(gpt-partition-types.img): adding partition '[MBR]' ... 838s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT header]' ... 838s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT array]' ... 838s INFO: hdimage(gpt-partition-types.img): adding partition '[GPT backup]' ... 838s INFO: hdimage(gpt-partition-types.img): writing GPT 838s INFO: hdimage(gpt-partition-types.img): writing protective MBR 838s INFO: hdimage(gpt-partition-types.img): writing MBR 838s ok 12 - gpt-partition-types 838s 838s expecting success: 838s test_must_fail run_genimage gpt-invalid-partition-type1.config && 838s test_must_fail run_genimage gpt-invalid-partition-type2.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(gpt-partition-types-fail.img): part part1 has invalid type shortcut: unknown-shortcut 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s ERROR: hdimage(gpt-partition-types-fail.img): part part1 has invalid type shortcut: 30f239f3-275c-4e0d-9b61-Ka385b7b80f9 838s ok 13 - gpt-invalid-partition-types 838s 838s expecting success: 838s setup_gpt_files && 838s run_genimage hole.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 838s DEBUG: file(70K.img): added hole (440, 33792) 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 838s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 838s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 0 838s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 0 838s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 838s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 838s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 838s INFO: hdimage(test.hole): adding partition '[MBR]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 838s INFO: hdimage(test.hole): writing GPT 838s INFO: hdimage(test.hole): writing protective MBR 838s INFO: hdimage(test.hole): writing MBR 838s ok 14 - bootloader-hole1 838s 838s expecting success: 838s setup_gpt_files && 838s GPT_LOCATION=64K test_must_fail run_genimage hole.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 838s DEBUG: file(70K.img): added hole (440, 33792) 838s ERROR: hdimage(test.hole): partition [GPT array] (offset 0x10000, size 0x4000) overlaps previous partition bootloader (offset 0x0, size 0x11800) 838s ERROR: hdimage(test.hole): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole. 838s ok 15 - bootloader-hole2 838s 838s expecting success: 838s setup_gpt_files && 838s GPT_LOCATION=70K run_genimage hole.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 838s DEBUG: file(70K.img): added hole (440, 33792) 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 838s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 838s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 0 838s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 0 838s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 838s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 838s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 838s INFO: hdimage(test.hole): adding partition '[MBR]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 838s INFO: hdimage(test.hole): writing GPT 838s INFO: hdimage(test.hole): writing protective MBR 838s INFO: hdimage(test.hole): writing MBR 838s ok 16 - bootloader-hole3 838s 838s expecting success: 838s setup_gpt_files && 838s OFFSET=64K test_must_fail run_genimage hole.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 838s DEBUG: file(70K.img): added hole (440, 33792) 838s ERROR: hdimage(test.hole): partition foo (offset 0x20400, size 0xc00) overlaps previous partition bootloader (offset 0x10000, size 0x11800) 838s ok 17 - bootloader-hole4 838s 838s expecting success: 838s setup_gpt_files && 838s OFFSET=128K run_genimage hole.config 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img' 838s DEBUG: file(70K.img): added hole (440, 33792) 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: file(70K.img): cmd: "cp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/70K.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img'" (stderr+stdout): 838s INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ... 838s DEBUG: hdimage(test.hole): copying 71680 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images/70K.img at offset 131072 838s DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 131072 838s INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ... 838s DEBUG: hdimage(test.hole): copying 3072 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/3K.img at offset 132096 838s DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096 838s INFO: hdimage(test.hole): adding partition '[MBR]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT header]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT array]' ... 838s INFO: hdimage(test.hole): adding partition '[GPT backup]' ... 838s INFO: hdimage(test.hole): writing GPT 838s INFO: hdimage(test.hole): writing protective MBR 838s INFO: hdimage(test.hole): writing MBR 838s ok 18 - bootloader-hole5 838s 838s expecting success: 838s dd if=/dev/zero bs=1 count=100 | tr '\000' '\377' > input/block1.img && 838s dd if=/dev/zero bs=1 count=50 | tr '\000' '\252' > input/block2.img && 838s dd if=/dev/zero bs=1 count=75 | tr '\000' '\167' > input/block3.img && 838s run_genimage hdimage-nopart.config && 838s hexdump -C images/test.hdimage > 'hdimage-nopart.hexdump' && 838s test_cmp 'hdimage-nopart.hexdump' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/hdimage-nopart.hexdump' 838s 838s 100+0 records in 838s 100+0 records out 838s 100 bytes copied, 0.00010601 s, 943 kB/s 838s 50+0 records in 838s 50+0 records out 838s 50 bytes copied, 6.542e-05 s, 764 kB/s 838s 75+0 records in 838s 75+0 records out 838s 75 bytes copied, 8.311e-05 s, 902 kB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/tmp"/*" (stderr+stdout): 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block1.img' 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block2.img' 838s DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block3.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/images"" (stderr+stdout): 838s INFO: hdimage(test.hdimage): adding partition 'part1' from 'block1.img' ... 838s DEBUG: hdimage(test.hdimage): copying 100 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/block1.img at offset 0 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 100 838s INFO: hdimage(test.hdimage): adding partition 'part2' from 'block2.img' ... 838s DEBUG: hdimage(test.hdimage): copying 50 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/block2.img at offset 104 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 154 838s INFO: hdimage(test.hdimage): adding partition 'part3' from 'block3.img' ... 838s DEBUG: hdimage(test.hdimage): copying 75 bytes from /tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.hdimage.test/input/block3.img at offset 256 838s DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 331 838s ok 19 - hdimage no-partition 838s 838s # passed all 19 test(s) 838s 1..19 838s expecting success: 838s setup_test_images && 838s run_genimage qemu.config test.qcow && 838s qemu-img check images/test.qcow && 838s zcat '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/qemu.qcow.gz' > qemu.qcow && 838s qemu-img compare images/test.qcow qemu.qcow 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.678e-05 s, 97.4 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.2591e-05 s, 132 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00141556 s, 741 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/tmp"/*" (stderr+stdout): 838s DEBUG: qemu(test.qcow): adding implicit file rule for 'part1.img' 838s DEBUG: qemu(test.qcow): adding implicit file rule for 'part2.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/images"" (stderr+stdout): 838s INFO: qemu(test.qcow): adding partition part1 from part1.img ... 838s INFO: qemu(test.qcow): adding partition part2 from part2.img ... 838s INFO: qemu(test.qcow): cmd: "qemu-img convert -O qcow2 '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/input/part1.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/input/part2.img' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/images/test.qcow'" (stderr+stdout): 838s No errors were found on the image. 838s Image end offset: 262144 838s Images are identical. 838s ok 1 - qemu 838s 838s expecting success: 838s setup_fit_its && 838s run_genimage fit.config test.fit 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.792e-05 s, 94.5 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.314e-05 s, 131 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00150312 s, 698 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/tmp"/*" (stderr+stdout): 838s DEBUG: fit(test.fit): adding implicit file rule for 'part1.img' 838s DEBUG: fit(test.fit): adding implicit file rule for 'part2.img' 838s DEBUG: fit(test.fit): adding implicit file rule for 'fit.its' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/images"" (stderr+stdout): 838s INFO: fit(test.fit): cmd: "cat '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/input/fit.its' > '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/tmp/fit.its'" (stderr+stdout): 838s INFO: fit(test.fit): cmd: "mkimage -r -f '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/tmp/fit.its' '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/images/test.fit'" (stderr+stdout): 838s FIT description: Test FIT image 838s Created: Tue Mar 26 00:02:49 2024 838s Image 0 (kernel) 838s Description: kernel 838s Created: Tue Mar 26 00:02:49 2024 838s Type: Kernel Image 838s Compression: uncompressed 838s Data Size: 3584 Bytes = 3.50 KiB = 0.00 MiB 838s Architecture: ARM 838s OS: Linux 838s Load Address: unavailable 838s Entry Point: unavailable 838s Image 1 (ramdisk) 838s Description: ramdisk 838s Created: Tue Mar 26 00:02:49 2024 838s Type: RAMDisk Image 838s Compression: uncompressed 838s Data Size: 5632 Bytes = 5.50 KiB = 0.01 MiB 838s Architecture: ARM 838s OS: Linux 838s Load Address: unavailable 838s Entry Point: unavailable 838s Default Configuration: 'conf' 838s Configuration 0 (conf) 838s Description: test dummy config 838s Kernel: kernel 838s Init Ramdisk: ramdisk 838s ok 2 - fit 838s 838s skipping test: rauc 838s setup_rauc && 838s run_genimage rauc.config test.raucb && 838s 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 && 838s if ! grep -r 'Filename:' test.raucb.info; then 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test.raucb.info' test.raucb.info 838s else 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test.raucb.info.new' test.raucb.info 838s fi 838s 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 && 838s if ! grep -r 'Filename:' test2.raucb.info; then 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test2.raucb.info' test2.raucb.info 838s else 838s test_cmp '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/test/test2.raucb.info.new' test2.raucb.info 838s fi 838s 838s ok 3 # skip rauc (missing rauc) 838s 838s skipping test: android-sparse 838s setup_test_images && 838s # make sure there is a 4*32k hole at the end 838s i=16 838s truncate --size=$[i*(i+1)*i*i*512+32768*4] input/interleaved 838s for i in `seq 16`; do 838s dd if=/dev/urandom of=input/interleaved conv=notrunc seek=$[i*i] count=$[i] bs=$[i*i*512] || break 838s done && 838s dd if=/dev/urandom of=input/not-aligned count=9 bs=1024 838s run_genimage sparse.config && 838s # simg2img will expand the partial block 838s truncate --size=12k input/not-aligned 838s md5sum images/test.hdimage input/interleaved input/not-aligned > md5sum && 838s rm images/test.hdimage input/interleaved input/not-aligned && 838s check_size_range images/interleaved.sparse 9732464 9732636 && 838s simg2img images/test.sparse images/test.hdimage && 838s simg2img images/interleaved.sparse input/interleaved && 838s simg2img images/not-aligned.sparse input/not-aligned && 838s md5sum -c md5sum 838s 838s ok 4 # skip android-sparse (missing simg2img) 838s 838s expecting success: 838s setup_test_images && 838s run_genimage fip.config test.fip && 838s check_size_range images/test.fip 12804 13056 && 838s fiptool info images/test.fip 838s 838s 7+0 records in 838s 7+0 records out 838s 3584 bytes (3.6 kB, 3.5 KiB) copied, 3.502e-05 s, 102 MB/s 838s 11+0 records in 838s 11+0 records out 838s 5632 bytes (5.6 kB, 5.5 KiB) copied, 4.221e-05 s, 133 MB/s 838s 1+0 records in 838s 1+0 records out 838s 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00142896 s, 734 MB/s 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/tmp"" (stderr+stdout): 838s INFO: cmd: "rm -rf "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/tmp"/*" (stderr+stdout): 838s DEBUG: fip(test.fip): adding implicit file rule for 'part2.img' 838s DEBUG: fip(test.fip): adding implicit file rule for 'part1.img' 838s INFO: cmd: "mkdir -p "/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/images"" (stderr+stdout): 838s INFO: fip(test.fip): cmd: "fiptool create --tos-fw '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/input/part2.img' --tos-fw-extra1 '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/input/part1.img' --fw-config '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/input/part1.img' --align 64 '/tmp/autopkgtest.3mGmpw/autopkgtest_tmp/trash directory.misc.test/images/test.fip'" (stderr+stdout): 838s Secure Payload BL32 (Trusted OS): offset=0xC0, size=0x1600, cmdline="--tos-fw" 838s Secure Payload BL32 Extra1 (Trusted OS Extra1): offset=0x16C0, size=0xE00, cmdline="--tos-fw-extra1" 838s FW_CONFIG: offset=0x24C0, size=0xE00, cmdline="--fw-config" 838s ok 5 - fip 838s 838s # passed all 5 test(s) 838s 1..5 839s autopkgtest [00:02:50]: test upstream-tests: -----------------------] 839s autopkgtest [00:02:50]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 839s upstream-tests PASS 839s autopkgtest [00:02:50]: @@@@@@@@@@@@@@@@@@@@ summary 839s upstream-tests PASS 850s Creating nova instance adt-noble-amd64-genimage-20240325-234851-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-amd64-server-20240325.img (UUID ba43860b-557a-4db2-b3f0-378a99bca08c)...