[Pkg-privacy-maintainers] Bug#992912: mat2: autopkgtests fail with ffmpeg 4.4

Sebastian Ramacher sramacher at debian.org
Tue Aug 24 22:27:13 BST 2021


Source: mat2
Version: 0.12.1-3
Severity: serious
X-Debbugs-Cc: sramacher at debian.org
Tags: sid bookworm

=================================== FAILURES ===================================
_______________________ TestCleaning.test_all_parametred _______________________

self = <tests.test_libmat2.TestCleaning testMethod=test_all_parametred>

    def test_all_parametred(self):
        for case in self.data:
            if 'ffmpeg' in case:
                try:
                    video._get_ffmpeg_path()
                except RuntimeError:
                    raise unittest.SkipTest
    
            print('[+] Testing %s' % case['name'])
            target = './tests/data/clean.' + case['name']
            shutil.copy('./tests/data/dirty.' + case['name'], target)
            p1 = case['parser'](target)
    
            for k, v in p1.get_meta().items():
                if k not in case['meta']:
                    continue
                if isinstance(v, dict):
                    for _k, _v in v.items():
                        if _k in case['meta'][k]:
                            self.assertEqual(_v, case['meta'][k][_k])
                else:
                    self.assertEqual(v, case['meta'][k])
    
            p1.lightweight_cleaning = True
            self.assertTrue(p1.remove_all())
    
            p2 = case['parser'](p1.output_filename)
            for k, v in p2.get_meta().items():
>               self.assertIn(k, case['expected_meta'])
E               AssertionError: 'ColorRepresentation' not found in {'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'CompressorID': 'avc1', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'MP4  Base Media v1 [IS0 14496-12:2003]', 'MediaDataOffset': 48, 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MinorVersion': '0.2.0', 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 0, 'TrackID': 1, 'TrackLayer': 0}


From
https://ci.debian.net/data/autopkgtest/testing/amd64/m/mat2/14794812/log.gz

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-maintainers/attachments/20210824/59f080a2/attachment.sig>


More information about the Pkg-privacy-maintainers mailing list