Source: genimage
Version: 17-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> SKIP: test/misc.test 1 # SKIP qemu (missing qemu-img of dd,diff,qemu-img)
> SKIP: test/misc.test 2 # SKIP fit (missing dtc,mkimage of mkimage,dtc)
> SKIP: test/misc.test 3 # SKIP rauc (missing rauc)
> SKIP: test/misc.test 4 # SKIP android-sparse (missing simg2img)
> SKIP: test/misc.test 5 # SKIP fip (missing fiptool)
> PASS: test/flash.test 1 - flash
> SKIP: test/flash.test 2 # SKIP jffs2 (missing mkfs_jffs2)
> SKIP: test/flash.test 3 # SKIP ubifs (missing mkfs_ubifs)
> SKIP: test/flash.test 4 # SKIP ubi (missing ubinize)
> SKIP: test/filesystem.test 1 # SKIP cpio (missing cpio)
> SKIP: test/filesystem.test 2 # SKIP cramfs (missing mkcramfs)
> SKIP: test/filesystem.test 3 # SKIP iso (missing genisoimage)
> SKIP: test/filesystem.test 4 # SKIP f2fs (missing 
> fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs)
> SKIP: test/filesystem.test 5 # SKIP squashfs (missing mksquashfs)
> PASS: test/filesystem.test 6 - tar
> SKIP: test/filesystem.test 7 # SKIP vfat (missing mcopy,mkdosfs of 
> dd,mkdosfs,mcopy)
> SKIP: test/ext.test 1 # SKIP ext2 (missing genext2fs of genext2fs,e2fsck)
> SKIP: test/ext.test 2 # SKIP ext2percent (missing genext2fs of 
> genext2fs,e2fsck)
> SKIP: test/ext.test 3 # SKIP ext3 (missing genext2fs of genext2fs,e2fsck)
> SKIP: test/ext.test 4 # SKIP ext4 (missing genext2fs of genext2fs,e2fsck)
> FAIL: test/ext.test 5 - mke2fs
> ERROR: test/ext.test - exited with status 1
> PASS: test/genimage.test 1 - exec
> PASS: test/genimage.test 2 - exec-fail
> SKIP: test/genimage.test 3 # SKIP includepath1 (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt)
> SKIP: test/genimage.test 4 # SKIP includepath2 (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt,includepath)
> SKIP: test/genimage.test 5 # SKIP includepath3 (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt,includepath)
> SKIP: test/genimage.test 6 # SKIP includepath4 (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt,includepath)
> SKIP: test/genimage.test 7 # SKIP includepath5 (missing !includepath)
> SKIP: test/hdimage.test 1 # SKIP hdimage (missing sfdisk,fdisk of 
> fdisk,sfdisk)
> PASS: test/hdimage.test 2 - hdimage2
> SKIP: test/hdimage.test 3 # SKIP hdimage4 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt)
> SKIP: test/hdimage.test 4 # SKIP hdimage5 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt)
> SKIP: test/hdimage.test 5 # SKIP hdimage6 (missing sfdisk,fdisk of 
> fdisk,sfdisk)
> SKIP: test/hdimage.test 6 # SKIP hdimage7 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt)
> SKIP: test/hdimage.test 7 # SKIP hdimage-hybrid (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt)
> PASS: test/hdimage.test 8 - hdimage syntax
> PASS: test/hdimage.test 9 - gpt-overlap1
> PASS: test/hdimage.test 10 - gpt-overlap2
> PASS: test/hdimage.test 11 - gpt-overlap3
> SKIP: test/hdimage.test 12 # SKIP gpt-partition-types (missing sfdisk,fdisk 
> of fdisk,sfdisk)
> PASS: test/hdimage.test 13 - gpt-invalid-partition-types
> PASS: test/hdimage.test 14 - bootloader-hole1
> PASS: test/hdimage.test 15 - bootloader-hole2
> PASS: test/hdimage.test 16 - bootloader-hole3
> PASS: test/hdimage.test 17 - bootloader-hole4
> PASS: test/hdimage.test 18 - bootloader-hole5
> PASS: test/hdimage.test 19 - hdimage no-partition
> ===================================
>    genimage 17: ./test-suite.log
> ===================================
> 
> # TOTAL: 48
> # PASS:  16
> # SKIP:  30
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 1
> 
> .. contents:: :depth: 2
> 
> PASS: test/genimage
> ===================
> 
> ./test/test-setup.sh: line 116: sfdisk: command not found
> ./test/test-setup.sh: line 117: fdisk: command not found
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.5674e-05 s, 54.6 MB/s
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.1074e-05 s, 58.7 MB/s
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 5.3218e-05 s, 67.3 MB/s
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 8.118e-05 s, 44.1 MB/s
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp"/*" 
> (stderr+stdout):
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "cp -a "/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig" 
> "/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp/root"" (stderr+stdout):
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.genimage.test/images"" 
> (stderr+stdout):
> INFO: file(file1.img): cmd: "./exec-check.sh file1.img" (stderr+stdout):
> + : OUTPUTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/images' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/images'
> + : INPUTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/input' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/input'
> + : ROOTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig'
> + : TMPPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp'
> + : IMAGE
> + test file1.img = file1.img
> + : IMAGEOUTFILE
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/images/file1.img' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/images/file1.img'
> + : IMAGENAME
> + test exec-test = exec-test
> + : IMAGESIZE
> + test 3584 = 3584
> + : IMAGEMOUNTPOINT
> + test '' = ''
> + : IMAGEMOUNTPATH
> + '[' '' = empty ']'
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp/root' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp/root'
> INFO: file(file1.img): cmd: "cp '/<<PKGBUILDDIR>>/trash 
> directory.genimage.test/input/file1.img' '/<<PKGBUILDDIR>>/trash 
> directory.genimage.test/images/file1.img'" (stderr+stdout):
> INFO: file(file2.img): cmd: "cp '/<<PKGBUILDDIR>>/trash 
> directory.genimage.test/input/file2.img' '/<<PKGBUILDDIR>>/trash 
> directory.genimage.test/images/file2.img'" (stderr+stdout):
> INFO: file(file2.img): cmd: "./exec-check.sh file2.img" (stderr+stdout):
> + : OUTPUTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/images' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/images'
> + : INPUTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/input' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/input'
> + : ROOTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig'
> + : TMPPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp'
> + : IMAGE
> + test file2.img = file2.img
> + : IMAGEOUTFILE
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/images/file2.img' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/images/file2.img'
> + : IMAGENAME
> + test exec-test = exec-test
> + : IMAGESIZE
> + test 3584 = 3584
> + : IMAGEMOUNTPOINT
> + test '' = ''
> + : IMAGEMOUNTPATH
> + '[' '' = empty ']'
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp/root' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp/root'
> INFO: file(file3.img): cmd: "./exec-check.sh file3.img empty" (stderr+stdout):
> + : OUTPUTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/images' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/images'
> + : INPUTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/input' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/input'
> + : ROOTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig'
> + : TMPPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp'
> + : IMAGE
> + test file3.img = file3.img
> + : IMAGEOUTFILE
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/images/file3.img' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/images/file3.img'
> + : IMAGENAME
> + test exec-test = exec-test
> + : IMAGESIZE
> + test 3584 = 3584
> + : IMAGEMOUNTPOINT
> + test '' = ''
> + : IMAGEMOUNTPATH
> + '[' empty = empty ']'
> + test '' = ''
> INFO: file(file3.img): cmd: "cp '/<<PKGBUILDDIR>>/trash 
> directory.genimage.test/input/file3.img' '/<<PKGBUILDDIR>>/trash 
> directory.genimage.test/images/file3.img'" (stderr+stdout):
> INFO: file(file4.img): cmd: "cp '/<<PKGBUILDDIR>>/trash 
> directory.genimage.test/input/file4.img' '/<<PKGBUILDDIR>>/trash 
> directory.genimage.test/images/file4.img'" (stderr+stdout):
> INFO: file(file4.img): cmd: "./exec-check.sh file4.img empty" (stderr+stdout):
> + : OUTPUTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/images' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/images'
> + : INPUTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/input' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/input'
> + : ROOTPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig'
> + : TMPPATH
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp'
> + : IMAGE
> + test file4.img = file4.img
> + : IMAGEOUTFILE
> + test '/<<PKGBUILDDIR>>/trash directory.genimage.test/images/file4.img' = 
> '/<<PKGBUILDDIR>>/trash directory.genimage.test/images/file4.img'
> + : IMAGENAME
> + test exec-test = exec-test
> + : IMAGESIZE
> + test 3584 = 3584
> + : IMAGEMOUNTPOINT
> + test '' = ''
> + : IMAGEMOUNTPATH
> + '[' empty = empty ']'
> + test '' = ''
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.5819e-05 s, 54.5 MB/s
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 7.5817e-05 s, 47.3 MB/s
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 5.6249e-05 s, 63.7 MB/s
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 4.0739e-05 s, 88.0 MB/s
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp"/*" 
> (stderr+stdout):
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "cp -a "/<<PKGBUILDDIR>>/trash directory.genimage.test/root.orig" 
> "/<<PKGBUILDDIR>>/trash directory.genimage.test/tmp/root"" (stderr+stdout):
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.genimage.test/images"" 
> (stderr+stdout):
> INFO: file(file1.img): cmd: "false" (stderr+stdout):
> ERROR: file(file1.img): failed to generate file1.img
> expecting success: 
>       setup_exec_files &&
>       run_genimage_root exec.config
> ok 1 - exec
> PASS: test/genimage.test 1 - exec
> 
> expecting success: 
>       setup_exec_files &&
>       test_must_fail run_genimage_root exec-fail.config
> ok 2 - exec-fail
> PASS: test/genimage.test 2 - exec-fail
> 
> skipping test: includepath1 
>       run_genimage include.config &&
>       sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/include-ccc.fdisk' include.fdisk
> 
> ok 3 # skip includepath1 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt)
> SKIP: test/genimage.test 3 # SKIP includepath1 (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt)
> 
> skipping test: includepath2 
>       extra_opts='--includepath=/<<PKGBUILDDIR>>/test/include/aaa' 
> run_genimage include.config &&
>       sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/include-aaa.fdisk' include.fdisk
> 
> ok 4 # skip includepath2 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt,includepath)
> SKIP: test/genimage.test 4 # SKIP includepath2 (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt,includepath)
> 
> skipping test: includepath3 
>       
> extra_opts='--includepath=/<<PKGBUILDDIR>>/test/include/bbb:/<<PKGBUILDDIR>>/test/include/aaa'
>  run_genimage include.config &&
>       sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/include-bbb.fdisk' include.fdisk
> 
> ok 5 # skip includepath3 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt,includepath)
> SKIP: test/genimage.test 5 # SKIP includepath3 (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt,includepath)
> 
> skipping test: includepath4 
>       extra_opts='--includepath=.:/<<PKGBUILDDIR>>/test/include/bbb' 
> run_genimage include.config &&
>       sanitized_fdisk_sfdisk images/include.hdimage > include.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/include-ccc.fdisk' include.fdisk
> 
> ok 6 # skip includepath4 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt,includepath)
> SKIP: test/genimage.test 6 # SKIP includepath4 (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt,includepath)
> 
> skipping test: includepath5 
>       extra_opts='--includepath=/<<PKGBUILDDIR>>/test/include/aaa' 
> test_must_fail run_genimage include.config
> 
> ok 7 # skip includepath5 (missing !includepath)
> SKIP: test/genimage.test 7 # SKIP includepath5 (missing !includepath)
> 
> # passed all 7 test(s)
> 1..7
> 
> ERROR: test/ext
> ===============
> 
> ./test/test-setup.sh: line 116: sfdisk: command not found
> ./test/test-setup.sh: line 117: fdisk: command not found
> 1+0 records in
> 1+0 records out
> 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00174994 s, 599 MB/s
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.ext.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.ext.test/tmp"/*" 
> (stderr+stdout):
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.ext.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "cp -a "/<<PKGBUILDDIR>>/trash directory.ext.test/root.orig" 
> "/<<PKGBUILDDIR>>/trash directory.ext.test/tmp/root"" (stderr+stdout):
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.ext.test/images"" 
> (stderr+stdout):
> 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 '/<<PKGBUILDDIR>>/trash 
> directory.ext.test/tmp/root' -U 12345678-1234-1234-1234-1234567890ab -E 
> quotatype= -L mke2fs -O '^resize_inode,quota' '/<<PKGBUILDDIR>>/trash 
> directory.ext.test/images/mke2fs.ext4' 32768k" (stderr+stdout):
> mke2fs 1.47.1 (20-May-2024)
> Discarding device blocks:     0/32768           done    
>                         
> Creating filesystem with 32768 1k blocks and 8192 inodes
> Filesystem UUID: 12345678-1234-1234-1234-1234567890ab
> Superblock backups stored on blocks: 
>       8193, 24577
> 
> Allocating group tables: 0/4   done                            
> Writing inode tables: 0/4   done                            
> Creating journal (4096 blocks): done
> Copying files into the device: done
> Writing superblocks and filesystem accounting information: 0/4   done
> 
> INFO: ext4(mke2fs.ext4): cmd: "e2fsck -pvfD '/<<PKGBUILDDIR>>/trash 
> directory.ext.test/images/mke2fs.ext4'" (stderr+stdout):
> 
>           51 inodes used (0.62%, out of 8192)
>            0 non-contiguous files (0.0%)
>            0 non-contiguous directories (0.0%)
>              # of inodes with ind/dind/tind blocks: 0/0/0
>              Extent depth histogram: 43
>         6188 blocks used (18.88%, out of 32768)
>            0 bad blocks
>            0 large files
> 
>           24 regular files
>           18 directories
>            0 character device files
>            0 block device files
>            0 fifos
>            0 links
>            0 symbolic links (0 fast symbolic links)
>            0 sockets
> ------------
>           42 files
> INFO: ext4(mke2fs.ext4): cmd: "echo 'set_current_time 20000101000000
> set_super_value mkfs_time 20000101000000
> set_super_value lastcheck 20000101000000
> set_super_value mtime 00000000' | debugfs -w '/<<PKGBUILDDIR>>/trash 
> directory.ext.test/images/mke2fs.ext4'" (stderr+stdout):
> debugfs 1.47.1 (20-May-2024)
> debugfs:  Setting current time to Sat Jan  1 00:00:00 2000
> 
> debugfs:  debugfs:  debugfs:  debugfs:  ++ uuid='Filesystem UUID'
> ++ seed='Directory Hash Seed:'
> ++ csum1='Checksum: \|Group 0: (Blocks 1-4095) csum'
> ++ csum2='Group 0: (Blocks 1-4095) \[ITABLE_ZEROED\]\|  Checksum .*, unused 
> inodes 205'
> ++ dumpe2fs images/mke2fs.ext4
> ++ 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\)'
> dumpe2fs 1.47.1 (20-May-2024)
> ++ sed -i 's/un\(signed_directory_hash\)/\1/' dump
> ++ sed -i 's/^\(Journal size:             \)1029k$/\11024k/' dump
> ++ sed -i 's/^\(  Block bitmap at .*\),\( Inode bitmap.*\)$/\1\n \2/' dump
> ++ 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
> ++ '[' mke2fs = genext2fs ']'
> ++ version=0
> ++ test_cmp /<<PKGBUILDDIR>>/test/mke2fs.0.dump dump
> ++ diff -u /<<PKGBUILDDIR>>/test/mke2fs.0.dump dump
> ++ func_check
> ++ local ret=1
> ++ set +x
> Failed to execute 'check_ext'!
> skipping test: ext2 
>       run_genimage_root ext2.config test.ext2 &&
>       check_ext images/test.ext2 ext2test 4194304 genext2fs
> 
> ok 1 # skip ext2 (missing genext2fs of genext2fs,e2fsck)
> SKIP: test/ext.test 1 # SKIP ext2 (missing genext2fs of genext2fs,e2fsck)
> 
> skipping test: ext2percent 
>       run_genimage_root ext2percent.config test.ext2 &&
>       check_ext images/test.ext2 ext2test-percent 69632 genext2fs
> 
> ok 2 # skip ext2percent (missing genext2fs of genext2fs,e2fsck)
> SKIP: test/ext.test 2 # SKIP ext2percent (missing genext2fs of 
> genext2fs,e2fsck)
> 
> skipping test: ext3 
>       run_genimage_root ext3.config test.ext3 &&
>       check_ext images/test.ext3 ext3test 4194304 genext2fs
> 
> ok 3 # skip ext3 (missing genext2fs of genext2fs,e2fsck)
> SKIP: test/ext.test 3 # SKIP ext3 (missing genext2fs of genext2fs,e2fsck)
> 
> skipping test: ext4 
>       run_genimage ext4.config test.ext4 &&
>       check_ext images/test.ext4 ext4test 4194304 genext2fs
> 
> ok 4 # skip ext4 (missing genext2fs of genext2fs,e2fsck)
> SKIP: test/ext.test 4 # SKIP ext4 (missing genext2fs of genext2fs,e2fsck)
> 
> expecting success: 
>       run_genimage_root mke2fs.config mke2fs.ext4 &&
>       check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs
> 
> --- /<<PKGBUILDDIR>>/test/mke2fs.0.dump       2024-01-19 15:03:50.000000000 
> +0000
> +++ dump      2024-06-16 11:49:25.830233711 +0000
> @@ -29,11 +29,11 @@
>  Maximum mount count:      -1
>  Last checked:             Sat Jan  1 00:00:00 2000
>  Check interval:           0 (<none>)
> -Lifetime writes:          107 kB
> +Lifetime writes:          110 kB
>  Reserved blocks uid:      0 (user root)
>  Reserved blocks gid:      0 (group root)
>  First inode:              11
> -Inode size:            256
> +Inode size:               256
>  Required extra isize:     32
>  Desired extra isize:      32
>  Journal inode:            8
> @@ -57,9 +57,9 @@
>    6105 free blocks, 1997 free inodes, 18 directories, 1997 unused inodes
>    Free blocks: 2088-8192
>    Free inodes: 52-2048
> -Group 1: (Blocks 8193-16384) csum 0x8fde [INODE_UNINIT, BLOCK_UNINIT, 
> ITABLE_ZEROED]
> +Group 1: (Blocks 8193-16384) csum 0x1510 [INODE_UNINIT, ITABLE_ZEROED]
>    Backup superblock at 8193, Group descriptors at 8194-8194
> -  Block bitmap at 4 (bg #0 + 3), csum 0x00000000
> +  Block bitmap at 4 (bg #0 + 3), csum 0xc1d1d464
>    Inode bitmap at 8 (bg #0 + 7), csum 0x00000000
>    Inode table at 523-1034 (bg #0 + 522)
>    8190 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
> not ok 5 - mke2fs
> FAIL: test/ext.test 5 - mke2fs
> #     
> #             run_genimage_root mke2fs.config mke2fs.ext4 &&
> #             check_ext images/mke2fs.ext4 mke2fs 33554432 mke2fs
> #     
> 
> # failed 1 among 5 test(s)
> 1..5
> ERROR: test/ext.test - exited with status 1
> 
> PASS: test/filesystem
> =====================
> 
> ./test/test-setup.sh: line 116: sfdisk: command not found
> ./test/test-setup.sh: line 117: fdisk: command not found
> 1+0 records in
> 1+0 records out
> 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00182566 s, 574 MB/s
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.filesystem.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.filesystem.test/tmp"/*" 
> (stderr+stdout):
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.filesystem.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "cp -a "/<<PKGBUILDDIR>>/trash 
> directory.filesystem.test/root.orig" "/<<PKGBUILDDIR>>/trash 
> directory.filesystem.test/tmp/root"" (stderr+stdout):
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash 
> directory.filesystem.test/images"" (stderr+stdout):
> INFO: tar(test.tar.gz): cmd: "tar cz -f '/<<PKGBUILDDIR>>/trash 
> directory.filesystem.test/images/test.tar.gz' -C '/<<PKGBUILDDIR>>/trash 
> directory.filesystem.test/tmp/root' ." (stderr+stdout):
> skipping test: cpio 
>       run_genimage_root cpio.config test.cpio &&
>       zcat images/test.cpio | cpio --extract -t | grep -v '^\.$'  | sort > 
> '/<<PKGBUILDDIR>>/trash directory.filesystem.test/file-list.test' &&
>       check_size_range images/test.cpio 400 550 &&
>       check_filelist
> 
> ok 1 # skip cpio (missing cpio)
> SKIP: test/filesystem.test 1 # SKIP cpio (missing cpio)
> 
> skipping test: cramfs 
>       run_genimage_root cramfs.config test.cramfs &&
>       check_size images/test.cramfs 4096
> 
> ok 2 # skip cramfs (missing mkcramfs)
> SKIP: test/filesystem.test 2 # SKIP cramfs (missing mkcramfs)
> 
> skipping test: iso 
>       run_genimage_root iso.config test.iso &&
>       check_size_range images/test.iso 300000 400000
> 
> ok 3 # skip iso (missing genisoimage)
> SKIP: test/filesystem.test 3 # SKIP iso (missing genisoimage)
> 
> skipping test: f2fs 
>       run_genimage_root f2fs.config test.f2fs &&
>       fsck.f2fs images/test.f2fs
> 
> ok 4 # skip f2fs (missing fsck_f2fs,sload_f2fs,mkfs_f2fs of 
> mkfs_f2fs,sload_f2fs,fsck_f2fs)
> SKIP: test/filesystem.test 4 # SKIP f2fs (missing 
> fsck_f2fs,sload_f2fs,mkfs_f2fs of mkfs_f2fs,sload_f2fs,fsck_f2fs)
> 
> skipping test: squashfs 
>       run_genimage_root squashfs.config test.squashfs &&
>       check_size_range images/test.squashfs 4000 4100 &&
>       unsquashfs -ls images/test.squashfs  | sed -n 
> '/squashfs-root/s;squashfs-root/;;p' | sort > '/<<PKGBUILDDIR>>/trash 
> directory.filesystem.test/file-list.test' &&
>       check_filelist
> 
> ok 5 # skip squashfs (missing mksquashfs)
> SKIP: test/filesystem.test 5 # SKIP squashfs (missing mksquashfs)
> 
> expecting success: 
>       run_genimage_root tar.config test.tar.gz &&
>       check_size_range images/test.tar.gz 500 600 &&
>       zcat images/test.tar.gz | tar -t | sed -n -e 's;/$;;' -e 
> 's;^\./\(..*\)$;\1;p' | sort > '/<<PKGBUILDDIR>>/trash 
> directory.filesystem.test/file-list.test' &&
>       check_filelist
> 
> ok 6 - tar
> PASS: test/filesystem.test 6 - tar
> 
> skipping test: vfat 
>       run_genimage_root vfat.config test.vfat &&
>       fsck.fat -p images/test.vfat | tee fsck.log &&
>       test_must_fail grep -q 'Filesystem was changed' fsck.log &&
>       check_size images/test.vfat 4193280 &&
>       MTOOLS_SKIP_CHECK=1 mdir -/ -f -b -i images/test.vfat / | sed -e 
> 's;^::/;;' -e 's;/$;;' | sort > '/<<PKGBUILDDIR>>/trash 
> directory.filesystem.test/file-list.test' &&
>       check_filelist
> 
> ok 7 # skip vfat (missing mcopy,mkdosfs of dd,mkdosfs,mcopy)
> SKIP: test/filesystem.test 7 # SKIP vfat (missing mcopy,mkdosfs of 
> dd,mkdosfs,mcopy)
> 
> # passed all 7 test(s)
> 1..7
> 
> PASS: test/flash
> ================
> 
> ./test/test-setup.sh: line 116: sfdisk: command not found
> ./test/test-setup.sh: line 117: fdisk: command not found
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 9.1197e-05 s, 39.3 MB/s
> 11+0 records in
> 11+0 records out
> 5632 bytes (5.6 kB, 5.5 KiB) copied, 8.3772e-05 s, 67.2 MB/s
> 1+0 records in
> 1+0 records out
> 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0019423 s, 540 MB/s
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.flash.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.flash.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: flash(test.flash): adding implicit file rule for 'part1.img'
> DEBUG: flash(test.flash): adding implicit file rule for 'part2.img'
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.flash.test/images"" 
> (stderr+stdout):
> INFO: flash(test.flash): writing image partition 'part1' (0x100000@0x0)
> DEBUG: flash(test.flash): copying 1048576 bytes from /<<PKGBUILDDIR>>/trash 
> directory.flash.test/input/part1.img at offset 0
> DEBUG: flash(test.flash): adding 1044992 0xff bytes at offset 3584
> INFO: flash(test.flash): writing image partition 'part2' (0x100000@0x100000)
> DEBUG: flash(test.flash): copying 1048576 bytes from /<<PKGBUILDDIR>>/trash 
> directory.flash.test/input/part2.img at offset 1048576
> DEBUG: flash(test.flash): adding 1042944 0xff bytes at offset 1054208
> expecting success: 
>       setup_test_images &&
>       run_genimage flash.config test.flash &&
>       md5sum -c '/<<PKGBUILDDIR>>/test/flash.md5'
> 
> images/test.flash: OK
> ok 1 - flash
> PASS: test/flash.test 1 - flash
> 
> skipping test: jffs2 
>       run_genimage_root jffs2.config test.jffs2 &&
>       md5sum -c '/<<PKGBUILDDIR>>/test/jffs2.md5'
> 
> ok 2 # skip jffs2 (missing mkfs_jffs2)
> SKIP: test/flash.test 2 # SKIP jffs2 (missing mkfs_jffs2)
> 
> skipping test: ubifs 
>       run_genimage_root ubifs.config test.ubifs &&
>       check_size_range images/test.ubifs 200000 300000
> 
> ok 3 # skip ubifs (missing mkfs_ubifs)
> SKIP: test/flash.test 3 # SKIP ubifs (missing mkfs_ubifs)
> 
> skipping test: ubi 
>       setup_ubi_images &&
>       run_genimage ubi.config test.ubi &&
>       check_size_range images/test.ubi 550000 600000
> 
> ok 4 # skip ubi (missing ubinize)
> SKIP: test/flash.test 4 # SKIP ubi (missing ubinize)
> 
> # passed all 4 test(s)
> 1..4
> 
> PASS: test/hdimage
> ==================
> 
> ./test/test-setup.sh: line 116: sfdisk: command not found
> ./test/test-setup.sh: line 117: fdisk: command not found
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 5.2928e-05 s, 67.7 MB/s
> 11+0 records in
> 11+0 records out
> 5632 bytes (5.6 kB, 5.5 KiB) copied, 6.6342e-05 s, 84.9 MB/s
> 1+0 records in
> 1+0 records out
> 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00130943 s, 801 MB/s
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.hdimage): adding implicit file rule for 'part2.img'
> ERROR: hdimage(test.hdimage): part part1 size (5120) too small for part2.img 
> (5632)
> 7+0 records in
> 7+0 records out
> 3584 bytes (3.6 kB, 3.5 KiB) copied, 6.4e-05 s, 56 MB/s
> 11+0 records in
> 11+0 records out
> 5632 bytes (5.6 kB, 5.5 KiB) copied, 7.5291e-05 s, 74.8 MB/s
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(test.hdimage): part part1: 'partition-type-uuid' is only valid 
> for gpt and hybrid partition-table-type
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(test.hdimage): part part1: 'partition-type' is only valid for 
> mbr and hybrid partition-table-type
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(test.hdimage): part part1 size must not be zero
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(test.hdimage): 'disk-uuid' is only valid for gpt and hybrid 
> partition-table-type
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(test.hdimage): 'disk-signature' is only valid for mbr and 
> hybrid partition-table-type
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(test.hdimage): part part4 overlaps with previous partition
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(test.hdimage): hybrid MBR partitions (4) exceeds maximum of 3
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '3K.img'
> DEBUG: hdimage(test.gpt-overlap1): adding implicit file rule for '70K.img'
> ERROR: hdimage(test.gpt-overlap1): partition [GPT array] (offset 0x400, size 
> 0x4000) overlaps previous partition SPL (offset 0x400, size 0x6000)
> ERROR: hdimage(test.gpt-overlap1): bootloaders, etc. that overlap with the 
> partition table must declare the overlapping area as a hole.
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '3K.img'
> DEBUG: hdimage(test.gpt-overlap2): adding implicit file rule for '70K.img'
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/images"" 
> (stderr+stdout):
> INFO: hdimage(test.gpt-overlap2): adding partition 'SPL' from '3K.img' ...
> DEBUG: hdimage(test.gpt-overlap2): copying 3072 bytes from 
> /<<PKGBUILDDIR>>/trash directory.hdimage.test/input/3K.img at offset 1024
> DEBUG: hdimage(test.gpt-overlap2): adding 3072 0 bytes at offset 1024
> INFO: hdimage(test.gpt-overlap2): adding partition 'aaa' (in MBR) from 
> '70K.img' ...
> DEBUG: hdimage(test.gpt-overlap2): copying 71680 bytes from 
> /<<PKGBUILDDIR>>/trash directory.hdimage.test/input/70K.img at offset 1048576
> DEBUG: hdimage(test.gpt-overlap2): adding 71680 0 bytes at offset 1048576
> INFO: hdimage(test.gpt-overlap2): adding partition '[MBR]' ...
> INFO: hdimage(test.gpt-overlap2): adding partition '[GPT header]' ...
> INFO: hdimage(test.gpt-overlap2): adding partition '[GPT array]' ...
> INFO: hdimage(test.gpt-overlap2): adding partition '[GPT backup]' ...
> INFO: hdimage(test.gpt-overlap2): writing GPT
> INFO: hdimage(test.gpt-overlap2): writing protective MBR
> INFO: hdimage(test.gpt-overlap2): writing MBR
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '3K.img'
> DEBUG: hdimage(test.gpt-overlap3): adding implicit file rule for '70K.img'
> ERROR: hdimage(test.gpt-overlap3): partition [GPT array] (offset 0x7800, size 
> 0x4000) overlaps previous partition aaa (offset 0x8000, size 0x100000)
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(gpt-partition-types-fail.img): part part1 has invalid type 
> shortcut: unknown-shortcut
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> ERROR: hdimage(gpt-partition-types-fail.img): part part1 has invalid type 
> shortcut: 30f239f3-275c-4e0d-9b61-Ka385b7b80f9
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img'
> DEBUG: file(70K.img): added hole (440, 33792)
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/images"" 
> (stderr+stdout):
> INFO: file(70K.img): cmd: "cp '/<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/70K.img' '/<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/images/70K.img'" (stderr+stdout):
> INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ...
> DEBUG: hdimage(test.hole): copying 71680 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/images/70K.img at offset 0
> DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 0
> INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ...
> DEBUG: hdimage(test.hole): copying 3072 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/3K.img at offset 132096
> DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096
> INFO: hdimage(test.hole): adding partition '[MBR]' ...
> INFO: hdimage(test.hole): adding partition '[GPT header]' ...
> INFO: hdimage(test.hole): adding partition '[GPT array]' ...
> INFO: hdimage(test.hole): adding partition '[GPT backup]' ...
> INFO: hdimage(test.hole): writing GPT
> INFO: hdimage(test.hole): writing protective MBR
> INFO: hdimage(test.hole): writing MBR
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img'
> DEBUG: file(70K.img): added hole (440, 33792)
> ERROR: hdimage(test.hole): partition [GPT array] (offset 0x10000, size 
> 0x4000) overlaps previous partition bootloader (offset 0x0, size 0x11800)
> ERROR: hdimage(test.hole): bootloaders, etc. that overlap with the partition 
> table must declare the overlapping area as a hole.
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img'
> DEBUG: file(70K.img): added hole (440, 33792)
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/images"" 
> (stderr+stdout):
> INFO: file(70K.img): cmd: "cp '/<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/70K.img' '/<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/images/70K.img'" (stderr+stdout):
> INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ...
> DEBUG: hdimage(test.hole): copying 71680 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/images/70K.img at offset 0
> DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 0
> INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ...
> DEBUG: hdimage(test.hole): copying 3072 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/3K.img at offset 132096
> DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096
> INFO: hdimage(test.hole): adding partition '[MBR]' ...
> INFO: hdimage(test.hole): adding partition '[GPT header]' ...
> INFO: hdimage(test.hole): adding partition '[GPT array]' ...
> INFO: hdimage(test.hole): adding partition '[GPT backup]' ...
> INFO: hdimage(test.hole): writing GPT
> INFO: hdimage(test.hole): writing protective MBR
> INFO: hdimage(test.hole): writing MBR
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img'
> DEBUG: file(70K.img): added hole (440, 33792)
> ERROR: hdimage(test.hole): partition foo (offset 0x20400, size 0xc00) 
> overlaps previous partition bootloader (offset 0x10000, size 0x11800)
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.hole): adding implicit file rule for '3K.img'
> DEBUG: file(70K.img): added hole (440, 33792)
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/images"" 
> (stderr+stdout):
> INFO: file(70K.img): cmd: "cp '/<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/70K.img' '/<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/images/70K.img'" (stderr+stdout):
> INFO: hdimage(test.hole): adding partition 'bootloader' from '70K.img' ...
> DEBUG: hdimage(test.hole): copying 71680 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/images/70K.img at offset 131072
> DEBUG: hdimage(test.hole): adding 71680 0 bytes at offset 131072
> INFO: hdimage(test.hole): adding partition 'foo' (in MBR) from '3K.img' ...
> DEBUG: hdimage(test.hole): copying 3072 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/3K.img at offset 132096
> DEBUG: hdimage(test.hole): adding 3072 0 bytes at offset 132096
> INFO: hdimage(test.hole): adding partition '[MBR]' ...
> INFO: hdimage(test.hole): adding partition '[GPT header]' ...
> INFO: hdimage(test.hole): adding partition '[GPT array]' ...
> INFO: hdimage(test.hole): adding partition '[GPT backup]' ...
> INFO: hdimage(test.hole): writing GPT
> INFO: hdimage(test.hole): writing protective MBR
> INFO: hdimage(test.hole): writing MBR
> 100+0 records in
> 100+0 records out
> 100 bytes copied, 0.000154963 s, 645 kB/s
> 50+0 records in
> 50+0 records out
> 50 bytes copied, 0.000205345 s, 243 kB/s
> 75+0 records in
> 75+0 records out
> 75 bytes copied, 0.000115564 s, 649 kB/s
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"" 
> (stderr+stdout):
> INFO: cmd: "rm -rf "/<<PKGBUILDDIR>>/trash directory.hdimage.test/tmp"/*" 
> (stderr+stdout):
> DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block1.img'
> DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block2.img'
> DEBUG: hdimage(test.hdimage): adding implicit file rule for 'block3.img'
> INFO: cmd: "mkdir -p "/<<PKGBUILDDIR>>/trash directory.hdimage.test/images"" 
> (stderr+stdout):
> INFO: hdimage(test.hdimage): adding partition 'part1' from 'block1.img' ...
> DEBUG: hdimage(test.hdimage): copying 100 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/block1.img at offset 0
> DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 100
> INFO: hdimage(test.hdimage): adding partition 'part2' from 'block2.img' ...
> DEBUG: hdimage(test.hdimage): copying 50 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/block2.img at offset 104
> DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 154
> INFO: hdimage(test.hdimage): adding partition 'part3' from 'block3.img' ...
> DEBUG: hdimage(test.hdimage): copying 75 bytes from /<<PKGBUILDDIR>>/trash 
> directory.hdimage.test/input/block3.img at offset 256
> DEBUG: hdimage(test.hdimage): adding 0 0 bytes at offset 331
> skipping test: hdimage 
>       setup_test_images &&
>       run_genimage hdimage.config test.hdimage &&
>       check_size images/test.hdimage 10485760 &&
>       sfdisk_validate images/test.hdimage &&
>       check_disk_usage_range images/test.hdimage 40960 57344 &&
>       sanitized_fdisk_sfdisk images/test.hdimage > hdimage.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/hdimage.fdisk' hdimage.fdisk &&
>       check_size images/test.hdimage-2 11539968 &&
>       sfdisk_validate images/test.hdimage-2 &&
>       check_disk_usage_range images/test.hdimage-2 61290 65376 &&
>       sanitized_fdisk_sfdisk images/test.hdimage-2 > hdimage.fdisk-2 &&
>       test_cmp '/<<PKGBUILDDIR>>/test/hdimage.fdisk-2' hdimage.fdisk-2
> 
> ok 1 # skip hdimage (missing sfdisk,fdisk of fdisk,sfdisk)
> SKIP: test/hdimage.test 1 # SKIP hdimage (missing sfdisk,fdisk of 
> fdisk,sfdisk)
> 
> expecting success: 
>       setup_test_images &&
>       test_must_fail run_genimage hdimage2.config test.hdimage
> 
> ok 2 - hdimage2
> PASS: test/hdimage.test 2 - hdimage2
> 
> skipping test: hdimage4 
>       setup_test_images &&
>       run_genimage hdimage4.config test.hdimage &&
>       check_size images/test.hdimage 7360512 &&
>       sfdisk_validate images/test.hdimage &&
>       sanitized_fdisk_sfdisk images/test.hdimage > hdimage4.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/hdimage4.fdisk' hdimage4.fdisk
> 
> ok 3 # skip hdimage4 (missing sfdisk-gpt,fdisk-gpt of fdisk-gpt,sfdisk-gpt)
> SKIP: test/hdimage.test 3 # SKIP hdimage4 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt)
> 
> skipping test: hdimage5 
>       setup_test_images &&
>       run_genimage hdimage5.config test.hdimage &&
>       check_size images/test.hdimage 7360512 &&
>       sanitized_fdisk_sfdisk images/test.hdimage > hdimage5.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/hdimage5.fdisk' hdimage5.fdisk
> 
> ok 4 # skip hdimage5 (missing sfdisk-gpt,fdisk-gpt of fdisk-gpt,sfdisk-gpt)
> SKIP: test/hdimage.test 4 # SKIP hdimage5 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt)
> 
> skipping test: hdimage6 
>       setup_test_images &&
>       run_genimage hdimage6.config test.hdimage &&
>       check_size images/test.hdimage 28082176 &&
>       sanitized_fdisk_sfdisk images/test.hdimage > hdimage6.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/hdimage6.fdisk' hdimage6.fdisk
> 
> ok 5 # skip hdimage6 (missing sfdisk,fdisk of fdisk,sfdisk)
> SKIP: test/hdimage.test 5 # SKIP hdimage6 (missing sfdisk,fdisk of 
> fdisk,sfdisk)
> 
> skipping test: hdimage7 
>       setup_test_images &&
>       run_genimage hdimage7.config &&
>       sfdisk_validate images/test.hdimage &&
>       sanitized_fdisk_sfdisk images/test.hdimage > hdimage7.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/hdimage7.fdisk' hdimage7.fdisk
> 
> ok 6 # skip hdimage7 (missing sfdisk-gpt,fdisk-gpt of fdisk-gpt,sfdisk-gpt)
> SKIP: test/hdimage.test 6 # SKIP hdimage7 (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt)
> 
> skipping test: hdimage-hybrid 
>       setup_test_images &&
>       run_genimage hdimage-hybrid.config &&
>       sfdisk_validate images/hybrid.hdimage &&
>       sanitized_fdisk_sfdisk images/hybrid.hdimage > hdimage-hybrid.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/hdimage-hybrid.fdisk' 
> hdimage-hybrid.fdisk &&
>       dd if=images/hybrid.hdimage count=1 | hexdump -C > hybrid.sector0 &&
>       dd if=images/mbr.hdimage count=1 | hexdump -C > mbr.sector0 &&
>       test_cmp hybrid.sector0 mbr.sector0
> 
> ok 7 # skip hdimage-hybrid (missing sfdisk-gpt,fdisk-gpt of 
> fdisk-gpt,sfdisk-gpt)
> SKIP: test/hdimage.test 7 # SKIP hdimage-hybrid (missing sfdisk-gpt,fdisk-gpt 
> of fdisk-gpt,sfdisk-gpt)
> 
> expecting success: 
>       setup_test_images &&
>       test_must_fail run_genimage hdimage-fail1.config &&
>       test_must_fail run_genimage hdimage-fail2.config &&
>       test_must_fail run_genimage hdimage-fail3.config &&
>       test_must_fail run_genimage hdimage-fail4.config &&
>       test_must_fail run_genimage hdimage-fail5.config &&
>       test_must_fail run_genimage hdimage-fail6.config &&
>       test_must_fail run_genimage hdimage-fail7.config
> 
> ok 8 - hdimage syntax
> PASS: test/hdimage.test 8 - hdimage syntax
> 
> expecting success: 
>       setup_gpt_files &&
>       test_must_fail run_genimage gpt-overlap1.config
> ok 9 - gpt-overlap1
> PASS: test/hdimage.test 9 - gpt-overlap1
> 
> expecting success: 
>       setup_gpt_files &&
>       run_genimage gpt-overlap2.config
> ok 10 - gpt-overlap2
> PASS: test/hdimage.test 10 - gpt-overlap2
> 
> expecting success: 
>       setup_gpt_files &&
>       test_must_fail run_genimage gpt-overlap3.config
> ok 11 - gpt-overlap3
> PASS: test/hdimage.test 11 - gpt-overlap3
> 
> skipping test: gpt-partition-types 
>       run_genimage gpt-partition-types.config &&
>       sfdisk_validate images/gpt-partition-types.img &&
>       sanitized_fdisk_sfdisk images/gpt-partition-types.img > 
> gpt-partition-types.fdisk &&
>       test_cmp '/<<PKGBUILDDIR>>/test/gpt-partition-types.fdisk' 
> gpt-partition-types.fdisk
> ok 12 # skip gpt-partition-types (missing sfdisk,fdisk of fdisk,sfdisk)
> SKIP: test/hdimage.test 12 # SKIP gpt-partition-types (missing sfdisk,fdisk 
> of fdisk,sfdisk)
> 
> expecting success: 
>       test_must_fail run_genimage gpt-invalid-partition-type1.config &&
>       test_must_fail run_genimage gpt-invalid-partition-type2.config
> ok 13 - gpt-invalid-partition-types
> PASS: test/hdimage.test 13 - gpt-invalid-partition-types
> 
> expecting success: 
>       setup_gpt_files &&
>       run_genimage hole.config
> ok 14 - bootloader-hole1
> PASS: test/hdimage.test 14 - bootloader-hole1
> 
> expecting success: 
>       setup_gpt_files &&
>       GPT_LOCATION=64K test_must_fail run_genimage hole.config
> ok 15 - bootloader-hole2
> PASS: test/hdimage.test 15 - bootloader-hole2
> 
> expecting success: 
>       setup_gpt_files &&
>       GPT_LOCATION=70K run_genimage hole.config
> ok 16 - bootloader-hole3
> PASS: test/hdimage.test 16 - bootloader-hole3
> 
> expecting success: 
>       setup_gpt_files &&
>       OFFSET=64K test_must_fail run_genimage hole.config
> ok 17 - bootloader-hole4
> PASS: test/hdimage.test 17 - bootloader-hole4
> 
> expecting success: 
>       setup_gpt_files &&
>       OFFSET=128K run_genimage hole.config
> ok 18 - bootloader-hole5
> PASS: test/hdimage.test 18 - bootloader-hole5
> 
> expecting success: 
>       dd if=/dev/zero bs=1 count=100 | tr '\000' '\377' > input/block1.img &&
>       dd if=/dev/zero bs=1 count=50  | tr '\000' '\252' > input/block2.img &&
>       dd if=/dev/zero bs=1 count=75  | tr '\000' '\167' > input/block3.img &&
>       run_genimage hdimage-nopart.config &&
>       hexdump -C images/test.hdimage > 'hdimage-nopart.hexdump' &&
>       test_cmp 'hdimage-nopart.hexdump' 
> '/<<PKGBUILDDIR>>/test/hdimage-nopart.hexdump'
> 
> ok 19 - hdimage no-partition
> PASS: test/hdimage.test 19 - hdimage no-partition
> 
> # passed all 19 test(s)
> 1..19
> 
> SKIP: test/misc
> ===============
> 
> ./test/test-setup.sh: line 116: sfdisk: command not found
> ./test/test-setup.sh: line 117: fdisk: command not found
> skipping test: qemu 
>       setup_test_images &&
>       run_genimage qemu.config test.qcow &&
>       qemu-img check images/test.qcow &&
>       zcat '/<<PKGBUILDDIR>>/test/qemu.qcow.gz' > qemu.qcow &&
>       qemu-img compare images/test.qcow qemu.qcow
> 
> ok 1 # skip qemu (missing qemu-img of dd,diff,qemu-img)
> SKIP: test/misc.test 1 # SKIP qemu (missing qemu-img of dd,diff,qemu-img)
> 
> skipping test: fit 
>       setup_fit_its &&
>       run_genimage fit.config test.fit
> 
> ok 2 # skip fit (missing dtc,mkimage of mkimage,dtc)
> SKIP: test/misc.test 2 # SKIP fit (missing dtc,mkimage of mkimage,dtc)
> 
> skipping test: rauc 
>       setup_rauc &&
>       run_genimage rauc.config test.raucb &&
>       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 &&
>       if ! grep -r 'Filename:' test.raucb.info; then
>               test_cmp '/<<PKGBUILDDIR>>/test/test.raucb.info' test.raucb.info
>       else
>               test_cmp '/<<PKGBUILDDIR>>/test/test.raucb.info.new' 
> test.raucb.info
>       fi
>       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 &&
>       if ! grep -r 'Filename:' test2.raucb.info; then
>               test_cmp '/<<PKGBUILDDIR>>/test/test2.raucb.info' 
> test2.raucb.info
>       else
>               test_cmp '/<<PKGBUILDDIR>>/test/test2.raucb.info.new' 
> test2.raucb.info
>       fi
> 
> ok 3 # skip rauc (missing rauc)
> SKIP: test/misc.test 3 # SKIP rauc (missing rauc)
> 
> skipping test: android-sparse 
>       setup_test_images &&
>       # make sure there is a 4*32k hole at the end
>       i=16
>       truncate --size=$[i*(i+1)*i*i*512+32768*4] input/interleaved
>       for i in `seq 16`; do
>               dd if=/dev/urandom of=input/interleaved conv=notrunc 
> seek=$[i*i] count=$[i] bs=$[i*i*512] || break
>       done &&
>       dd if=/dev/urandom of=input/not-aligned count=9 bs=1024
>       run_genimage sparse.config &&
>       # simg2img will expand the partial block
>       truncate --size=12k input/not-aligned
>       md5sum images/test.hdimage input/interleaved input/not-aligned > md5sum 
> &&
>       rm images/test.hdimage input/interleaved input/not-aligned &&
>       check_size_range images/interleaved.sparse 9732464 9732636 &&
>       simg2img images/test.sparse images/test.hdimage &&
>       simg2img images/interleaved.sparse input/interleaved &&
>       simg2img images/not-aligned.sparse input/not-aligned &&
>       md5sum -c md5sum
> 
> ok 4 # skip android-sparse (missing simg2img)
> SKIP: test/misc.test 4 # SKIP android-sparse (missing simg2img)
> 
> skipping test: fip 
>       setup_test_images &&
>       run_genimage fip.config test.fip &&
>       check_size_range images/test.fip 12804 13056 &&
>       fiptool info images/test.fip
> 
> ok 5 # skip fip (missing fiptool)
> SKIP: test/misc.test 5 # SKIP fip (missing fiptool)
> 
> # passed all 5 test(s)
> 1..5
> 
> ============================================================================
> Testsuite summary for genimage 17
> ============================================================================
> # TOTAL: 48
> # PASS:  16
> # SKIP:  30
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 1
> ============================================================================
> See ./test-suite.log
> Please report to oss-to...@pengutronix.de
> ============================================================================
> make[3]: *** [Makefile:1265: test-suite.log] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[2]: *** [Makefile:1373: check-TESTS] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:1576: check-am] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 
> returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/genimage_17-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to