[Pkg-privacy-maintainers] Bug#1042432: mat2: autopkgtest regression with ffmpeg 6.0

Sebastian Ramacher sramacher at debian.org
Fri Jul 28 08:53:04 BST 2023


Source: mat2
Version: 0.13.3-1
Severity: serious
Tag: sid trixie
X-Debbugs-Cc: sramacher at debian.org

mat2's autopkgtests fail with ffmpeg 6.0:

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

126s =================================== FAILURES ===================================
126s _______________________ TestCleaning.test_all_parametred _______________________
126s 
126s self = <tests.test_libmat2.TestCleaning testMethod=test_all_parametred>
126s 
126s     def test_all_parametred(self):
126s         for case in self.data:
126s             with self.subTest(case=case):
126s                 if 'ffmpeg' in case:
126s                     try:
126s                         video._get_ffmpeg_path()
126s                     except RuntimeError:
126s                         raise unittest.SkipTest
126s     
126s                 print('[+] Testing %s' % case['name'])
126s                 target = './tests/data/clean.' + case['name']
126s                 shutil.copy('./tests/data/dirty.' + case['name'], target)
126s                 p1 = case['parser'](target)
126s     
126s                 for k, v in p1.get_meta().items():
126s                     if k not in case['meta']:
126s                         continue
126s                     if isinstance(v, dict):
126s                         for _k, _v in v.items():
126s                             if _k in case['meta'][k]:
126s                                 self.assertEqual(_v, case['meta'][k][_k])
126s                     else:
126s                         self.assertEqual(v, case['meta'][k])
126s     
126s                 p1.lightweight_cleaning = True
126s                 self.assertTrue(p1.remove_all())
126s     
126s                 p2 = case['parser'](p1.output_filename)
126s                 meta = p2.get_meta()
126s                 if meta:
126s                     for k, v in p2.get_meta().items():
126s >                       self.assertIn(k, case['expected_meta'], '"%s" is not in "%s" (%s)' % (k, case['expected_meta'], case['name']))
126s E                       AssertionError: 'CompressorName' not found in {'AverageBitrate': 465641, 'BufferSize': 0, 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'ColorProfiles': 'nclx', 'ColorPrimaries': 'BT.709', 'ColorRepresentation': 'nclx 1 1 1', 'CompressorID': 'avc1', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', 'MatrixCoefficients': 'BT.709', 'MaxBitrate': 465641, '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, 'TransferCharacteristics': 'BT.709'} : "CompressorName" is not in "{'AverageBitrate': 465641, 'BufferSize': 0, 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'ColorProfiles': 'nclx', 'ColorPrimaries': 'BT.709', 'ColorRepresentation': 'nclx 1 1 1', 'CompressorID': 'avc1', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', 'MatrixCoefficients': 'BT.709', 'MaxBitrate': 465641, '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, 'TransferCharacteristics': 'BT.709'}" (mp4)
126s 
126s tests/test_libmat2.py:557: AssertionError

Cheers
-- 
Sebastian Ramacher



More information about the Pkg-privacy-maintainers mailing list