[Pkg-privacy-maintainers] Bug#1002418: mat2: FTBFS: AssertionError: 'TransparentColor' not found in {}

Lucas Nussbaum lucas at debian.org
Wed Dec 22 08:13:25 GMT 2021


Source: mat2
Version: 0.12.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python3 -m unittest discover -v
> test_jpg (tests.test_climat2.TestCleanFolder) ... ok
> test_jpg (tests.test_climat2.TestCleanMeta) ... ok
> test_jpg_nosandbox (tests.test_climat2.TestCleanMeta) ... ok
> test_different (tests.test_climat2.TestCommandLineParallel) ... WARNING: The format of "./tests/data/parallel/dirty.mp4" (video/mp4) has some mandatory metadata fields; mat2 filled them with standard data.
> WARNING: The format of "./tests/data/parallel/dirty.wmv" (video/x-ms-wmv) has some mandatory metadata fields; mat2 filled them with standard data.
> ok
> test_faulty (tests.test_climat2.TestCommandLineParallel) ... ok
> test_same (tests.test_climat2.TestCommandLineParallel) ... ok
> test_jpg (tests.test_climat2.TestControlCharInjection) ... ok
> test_jpg_777 (tests.test_climat2.TestCopyPermissions) ... ok
> test_dependencies (tests.test_climat2.TestDependencies) ... ok
> test_docx (tests.test_climat2.TestGetMeta) ... ok
> test_flac (tests.test_climat2.TestGetMeta) ... ok
> test_jpg (tests.test_climat2.TestGetMeta) ... ok
> test_mp3 (tests.test_climat2.TestGetMeta) ... ok
> test_odt (tests.test_climat2.TestGetMeta) ... ok
> test_ogg (tests.test_climat2.TestGetMeta) ... ok
> test_pdf (tests.test_climat2.TestGetMeta) ... ok
> test_png (tests.test_climat2.TestGetMeta) ... ok
> test_help (tests.test_climat2.TestHelp) ... ok
> test_no_arg (tests.test_climat2.TestHelp) ... ok
> test_cleaning (tests.test_climat2.TestInplaceCleaning) ... ok
> test_cleaning_multiple_one_fails (tests.test_climat2.TestInplaceCleaning) ... ok
> test_pdf (tests.test_climat2.TestIsSupported) ... ok
> test_nonzero (tests.test_climat2.TestReturnValue) ... ok
> test_zero (tests.test_climat2.TestReturnValue) ... ok
> test_version (tests.test_climat2.TestVersion) ... ok
> test_docx (tests.test_corrupted_files.TestCorruptedEmbedded) ... ok
> test_odt (tests.test_corrupted_files.TestCorruptedEmbedded) ... ok
> test_avi (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_avi_injection (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_bmp (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_docx (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_epub (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_flac (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_html (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_jpg (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_mp3 (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_odg (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_pdf (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_png (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_png2 (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_png_lightweight (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_tar (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_torrent (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_wrong_tif (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_zip (tests.test_corrupted_files.TestCorruptedFiles) ... ok
> test_pdf (tests.test_corrupted_files.TestExplicitelyUnsupportedFiles) ... ok
> test_brokensymlink (tests.test_corrupted_files.TestInexistentFiles) ... ok
> test_chardevice (tests.test_corrupted_files.TestInexistentFiles) ... ok
> test_folder (tests.test_corrupted_files.TestInexistentFiles) ... ok
> test_inexistingfile (tests.test_corrupted_files.TestInexistentFiles) ... ok
> test_notaccessible (tests.test_corrupted_files.TestInexistentFiles) ... ok
> test_ro (tests.test_corrupted_files.TestInexistentFiles) ... ok
> test_tar_absolute_path (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_device_file (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_duplicate_file (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_hardlink (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_setgid (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_setuid (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_symlink_absolute (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_symlink_ok (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_symlink_relative (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_tar_traversal (tests.test_corrupted_files.TestPathTraversalArchiveMembers) ... ok
> test_onlymember_tar (tests.test_corrupted_files.TestReadOnlyArchiveMembers) ... ok
> test_pdf (tests.test_corrupted_files.TestUnsupportedFiles) ... ok
> test_office_absent (tests.test_corrupted_files.TestWrongContentTypesFileOffice) ... ok
> test_office_broken (tests.test_corrupted_files.TestWrongContentTypesFileOffice) ... ok
> test_office_incomplete (tests.test_corrupted_files.TestWrongContentTypesFileOffice) ... ok
> test_office (tests.test_deep_cleaning.TestNsidRemoval) ... ok
> test_office (tests.test_deep_cleaning.TestRsidRemoval) ... ok
> test_libreoffice (tests.test_deep_cleaning.TestZipMetadata) ... ok
> test_office (tests.test_deep_cleaning.TestZipMetadata) ... ok
> test_libreoffice (tests.test_deep_cleaning.TestZipOrder) ... ok
> test_deps (tests.test_libmat2.TestCheckDependencies) ... ok
> test_all_parametred (tests.test_libmat2.TestCleaning) ... Warning: [minor] Can't delete IFD0 from TIFF - ./tests/data/clean.tiff
> FAIL
> test_epub (tests.test_libmat2.TestCleaning) ... ok
> test_html (tests.test_libmat2.TestCleaning) ... ok
> test_tar (tests.test_libmat2.TestCleaningArchives) ... ok
> test_tarbz2 (tests.test_libmat2.TestCleaningArchives) ... ok
> test_targz (tests.test_libmat2.TestCleaningArchives) ... ok
> test_tarxz (tests.test_libmat2.TestCleaningArchives) ... ok
> test_zip (tests.test_libmat2.TestCleaningArchives) ... ok
> test_complex_pptx (tests.test_libmat2.TestComplexOfficeFiles) ... ok
> test_aiff (tests.test_libmat2.TestGetMeta) ... ok
> test_css (tests.test_libmat2.TestGetMeta) ... ok
> test_docx (tests.test_libmat2.TestGetMeta) ... ok
> test_epub (tests.test_libmat2.TestGetMeta) ... ok
> test_flac (tests.test_libmat2.TestGetMeta) ... ok
> test_gif (tests.test_libmat2.TestGetMeta) ... ok
> test_jpg (tests.test_libmat2.TestGetMeta) ... ok
> test_libreoffice (tests.test_libmat2.TestGetMeta) ... ok
> test_mp3 (tests.test_libmat2.TestGetMeta) ... ok
> test_ogg (tests.test_libmat2.TestGetMeta) ... ok
> test_pdf (tests.test_libmat2.TestGetMeta) ... ok
> test_png (tests.test_libmat2.TestGetMeta) ... ok
> test_ppm (tests.test_libmat2.TestGetMeta) ... ok
> test_svg (tests.test_libmat2.TestGetMeta) ... ok
> test_tar (tests.test_libmat2.TestGetMeta) ... ok
> test_tiff (tests.test_libmat2.TestGetMeta) ... ok
> test_torrent (tests.test_libmat2.TestGetMeta) ... ok
> test_txt (tests.test_libmat2.TestGetMeta) ... ok
> test_wav (tests.test_libmat2.TestGetMeta) ... ok
> test_wmv (tests.test_libmat2.TestGetMeta) ... ok
> test_zip (tests.test_libmat2.TestGetMeta) ... ok
> test_avi_nosandbox (tests.test_libmat2.TestNoSandbox) ... ok
> test_png_nosandbox (tests.test_libmat2.TestNoSandbox) ... ok
> test_ffmpeg_injection (tests.test_libmat2.TestParameterInjection) ... ok
> test_ffmpeg_injection_complete_path (tests.test_libmat2.TestParameterInjection) ... ok
> test_ver_injection (tests.test_libmat2.TestParameterInjection) ... ok
> test_subsubcalss (tests.test_libmat2.TestParserFactory)
> Test that our module auto-detection is handling sub-sub-classes ... ok
> test_tarfile_double_extension_handling (tests.test_libmat2.TestParserFactory)
> Test that our module auto-detection is handling sub-sub-classes ... ok
> test_odt (tests.test_libmat2.TestRemovingThumbnails) ... ok
> test_libreoffice (tests.test_libmat2.TestRevisionsCleaning) ... ok
> test_msoffice (tests.test_libmat2.TestRevisionsCleaning) ... ok
> test_docx_with_py (tests.test_libmat2.TestUnsupportedEmbeddedFiles) ... ok
> test_odt_with_py (tests.test_libmat2.TestUnsupportedEmbeddedFiles) ... ok
> test_all (tests.test_lightweight_cleaning.TestLightWeightCleaning) ... Warning: [minor] Can't delete IFD0 from TIFF - ./tests/data/clean.tiff
> ok
> test_exiftool_overwrite (tests.test_lightweight_cleaning.TestLightWeightCleaning) ... ok
> test_policy_keep (tests.test_policy.TestPolicy) ... ok
> test_policy_omit (tests.test_policy.TestPolicy) ... ok
> test_policy_unknown (tests.test_policy.TestPolicy) ... ok
> 
> ======================================================================
> FAIL: test_all_parametred (tests.test_libmat2.TestCleaning)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_libmat2.py", line 519, in test_all_parametred
>     self.assertIn(k, case['expected_meta'])
> AssertionError: 'TransparentColor' not found in {}
> 
> ----------------------------------------------------------------------
> Ran 120 tests in 47.204s
> 
> FAILED (failures=1)
> [+] Testing pdf
> [+] Testing png
> [+] Testing jpg
> [+] Testing wav
> [+] Testing aiff
> [+] Testing mp3
> [+] Testing ogg
> [+] Testing flac
> [+] Testing docx
> [+] Testing odt
> [+] Testing tiff
> [+] Testing bmp
> [+] Testing torrent
> [+] Testing odf
> [+] Testing odg
> [+] Testing txt
> [+] Testing gif
> make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/mat2_0.12.2-1_unstable.log

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 marking 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.



More information about the Pkg-privacy-maintainers mailing list