Page MenuHomePhabricator

Exif throws `TypeError: abs(): Argument #1 ($num) must be of type int|float, string given` on PHP 8.0
Closed, ResolvedPublic

Description

From FormatMetadataTest::testInvalidDate:

00:03:43.102 11) FormatMetadataTest::testInvalidDate
00:03:43.102 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.102 
00:03:43.102 /workspace/src/includes/media/Exif.php:694
00:03:43.102 /workspace/src/includes/media/Exif.php:716
00:03:43.102 /workspace/src/includes/media/Exif.php:801
00:03:43.102 /workspace/src/includes/media/Exif.php:336
00:03:43.102 /workspace/src/includes/media/Exif.php:308
00:03:43.102 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.102 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.102 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.102 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:193
00:03:43.102 /workspace/src/includes/media/ExifBitmapHandler.php:144
00:03:43.102 /workspace/src/includes/media/ExifBitmapHandler.php:135
00:03:43.102 /workspace/src/includes/filerepo/file/File.php:1943
00:03:43.102 /workspace/src/tests/phpunit/includes/media/FormatMetadataTest.php:24
00:03:43.102 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.102 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.102 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.102 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.102 === Logs generated by test case
00:03:43.102 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.102 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.102 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.102 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_FormatMetadataTest_AwE9W0 ) {"private":false}
00:03:43.102 ===

… and JpegPixelFormatTest::testPixelFormatRendering:

00:03:43.102 12) JpegPixelFormatTest::testPixelFormatRendering with data set #0 ('yuv444.jpg', false, '1x1,1x1,1x1')
00:03:43.103 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.103 
00:03:43.103 /workspace/src/includes/media/Exif.php:694
00:03:43.103 /workspace/src/includes/media/Exif.php:716
00:03:43.103 /workspace/src/includes/media/Exif.php:801
00:03:43.103 /workspace/src/includes/media/Exif.php:336
00:03:43.103 /workspace/src/includes/media/Exif.php:308
00:03:43.103 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.103 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.103 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.103 /workspace/src/includes/media/ExifBitmapHandler.php:181
00:03:43.103 /workspace/src/includes/media/MediaHandler.php:448
00:03:43.103 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:123
00:03:43.103 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:134
00:03:43.103 /workspace/src/includes/media/ImageHandler.php:39
00:03:43.103 /workspace/src/includes/filerepo/file/File.php:823
00:03:43.103 /workspace/src/includes/filerepo/file/File.php:1131
00:03:43.103 /workspace/src/tests/phpunit/includes/media/JpegPixelFormatTest.php:45
00:03:43.103 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.103 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.103 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.103 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.103 === Logs generated by test case
00:03:43.103 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.103 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.103 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.103 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DocumentID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:History","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DerivedFrom","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/purl.org\/dc\/elements\/1.1\/:format","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_6NZt7w ) {"private":false}
00:03:43.104 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_DSFWj8 ) {"private":false}
00:03:43.104 ===
00:03:43.104 
00:03:43.104 13) JpegPixelFormatTest::testPixelFormatRendering with data set #1 ('yuv444.jpg', 'yuv444', '1x1,1x1,1x1')
00:03:43.104 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.104 
00:03:43.104 /workspace/src/includes/media/Exif.php:694
00:03:43.104 /workspace/src/includes/media/Exif.php:716
00:03:43.104 /workspace/src/includes/media/Exif.php:801
00:03:43.104 /workspace/src/includes/media/Exif.php:336
00:03:43.104 /workspace/src/includes/media/Exif.php:308
00:03:43.104 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.104 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.104 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.104 /workspace/src/includes/media/ExifBitmapHandler.php:181
00:03:43.104 /workspace/src/includes/media/MediaHandler.php:448
00:03:43.104 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:123
00:03:43.104 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:134
00:03:43.104 /workspace/src/includes/media/ImageHandler.php:39
00:03:43.104 /workspace/src/includes/filerepo/file/File.php:823
00:03:43.104 /workspace/src/includes/filerepo/file/File.php:1131
00:03:43.104 /workspace/src/tests/phpunit/includes/media/JpegPixelFormatTest.php:45
00:03:43.104 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.104 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.104 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.104 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.104 === Logs generated by test case
00:03:43.104 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.104 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.104 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.104 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DocumentID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:History","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DerivedFrom","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/purl.org\/dc\/elements\/1.1\/:format","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.105 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_QUhcxJ ) {"private":false}
00:03:43.105 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_596sKk ) {"private":false}
00:03:43.105 ===
00:03:43.105 
00:03:43.105 14) JpegPixelFormatTest::testPixelFormatRendering with data set #2 ('yuv444.jpg', 'yuv422', '2x1,1x1,1x1')
00:03:43.105 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.105 
00:03:43.105 /workspace/src/includes/media/Exif.php:694
00:03:43.105 /workspace/src/includes/media/Exif.php:716
00:03:43.105 /workspace/src/includes/media/Exif.php:801
00:03:43.106 /workspace/src/includes/media/Exif.php:336
00:03:43.106 /workspace/src/includes/media/Exif.php:308
00:03:43.106 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.106 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.106 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.106 /workspace/src/includes/media/ExifBitmapHandler.php:181
00:03:43.106 /workspace/src/includes/media/MediaHandler.php:448
00:03:43.106 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:123
00:03:43.106 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:134
00:03:43.106 /workspace/src/includes/media/ImageHandler.php:39
00:03:43.106 /workspace/src/includes/filerepo/file/File.php:823
00:03:43.106 /workspace/src/includes/filerepo/file/File.php:1131
00:03:43.106 /workspace/src/tests/phpunit/includes/media/JpegPixelFormatTest.php:45
00:03:43.106 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.106 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.106 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.106 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.106 === Logs generated by test case
00:03:43.106 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.106 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.106 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DocumentID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.106 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:History","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DerivedFrom","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/purl.org\/dc\/elements\/1.1\/:format","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_WmyyYV ) {"private":false}
00:03:43.107 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_bKUFcx ) {"private":false}
00:03:43.107 ===
00:03:43.107 
00:03:43.107 15) JpegPixelFormatTest::testPixelFormatRendering with data set #3 ('yuv444.jpg', 'yuv420', '2x2,1x1,1x1')
00:03:43.107 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.107 
00:03:43.107 /workspace/src/includes/media/Exif.php:694
00:03:43.107 /workspace/src/includes/media/Exif.php:716
00:03:43.107 /workspace/src/includes/media/Exif.php:801
00:03:43.107 /workspace/src/includes/media/Exif.php:336
00:03:43.107 /workspace/src/includes/media/Exif.php:308
00:03:43.107 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.107 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.107 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.107 /workspace/src/includes/media/ExifBitmapHandler.php:181
00:03:43.107 /workspace/src/includes/media/MediaHandler.php:448
00:03:43.107 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:123
00:03:43.107 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:134
00:03:43.107 /workspace/src/includes/media/ImageHandler.php:39
00:03:43.107 /workspace/src/includes/filerepo/file/File.php:823
00:03:43.107 /workspace/src/includes/filerepo/file/File.php:1131
00:03:43.107 /workspace/src/tests/phpunit/includes/media/JpegPixelFormatTest.php:45
00:03:43.107 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.107 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.107 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.107 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.107 === Logs generated by test case
00:03:43.107 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.107 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.107 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.107 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DocumentID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:History","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DerivedFrom","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/purl.org\/dc\/elements\/1.1\/:format","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv444.jpg"}
00:03:43.108 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_YL0Dr8 ) {"private":false}
00:03:43.108 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_tCCDGJ ) {"private":false}
00:03:43.108 ===
00:03:43.108 
00:03:43.108 16) JpegPixelFormatTest::testPixelFormatRendering with data set #4 ('yuv420.jpg', false, '2x2,1x1,1x1')
00:03:43.108 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.108 
00:03:43.108 /workspace/src/includes/media/Exif.php:694
00:03:43.108 /workspace/src/includes/media/Exif.php:716
00:03:43.108 /workspace/src/includes/media/Exif.php:801
00:03:43.108 /workspace/src/includes/media/Exif.php:336
00:03:43.108 /workspace/src/includes/media/Exif.php:308
00:03:43.108 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.108 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.108 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.108 /workspace/src/includes/media/ExifBitmapHandler.php:181
00:03:43.108 /workspace/src/includes/media/MediaHandler.php:448
00:03:43.108 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:123
00:03:43.108 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:134
00:03:43.108 /workspace/src/includes/media/ImageHandler.php:39
00:03:43.108 /workspace/src/includes/filerepo/file/File.php:823
00:03:43.108 /workspace/src/includes/filerepo/file/File.php:1131
00:03:43.109 /workspace/src/tests/phpunit/includes/media/JpegPixelFormatTest.php:45
00:03:43.109 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.109 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.109 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.109 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.109 === Logs generated by test case
00:03:43.109 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.109 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.109 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DocumentID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:History","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DerivedFrom","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/purl.org\/dc\/elements\/1.1\/:format","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.109 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_OTrlWk ) {"private":false}
00:03:43.109 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_XOR4bW ) {"private":false}
00:03:43.109 ===
00:03:43.109 
00:03:43.109 17) JpegPixelFormatTest::testPixelFormatRendering with data set #5 ('yuv420.jpg', 'yuv444', '1x1,1x1,1x1')
00:03:43.109 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.109 
00:03:43.109 /workspace/src/includes/media/Exif.php:694
00:03:43.109 /workspace/src/includes/media/Exif.php:716
00:03:43.110 /workspace/src/includes/media/Exif.php:801
00:03:43.110 /workspace/src/includes/media/Exif.php:336
00:03:43.110 /workspace/src/includes/media/Exif.php:308
00:03:43.110 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.110 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.110 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.110 /workspace/src/includes/media/ExifBitmapHandler.php:181
00:03:43.110 /workspace/src/includes/media/MediaHandler.php:448
00:03:43.110 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:123
00:03:43.110 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:134
00:03:43.110 /workspace/src/includes/media/ImageHandler.php:39
00:03:43.110 /workspace/src/includes/filerepo/file/File.php:823
00:03:43.110 /workspace/src/includes/filerepo/file/File.php:1131
00:03:43.110 /workspace/src/tests/phpunit/includes/media/JpegPixelFormatTest.php:45
00:03:43.110 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.110 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.110 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.110 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.110 === Logs generated by test case
00:03:43.110 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.110 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.110 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DocumentID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:History","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.110 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DerivedFrom","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/purl.org\/dc\/elements\/1.1\/:format","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_oftFsx ) {"private":false}
00:03:43.111 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_LcuhJ8 ) {"private":false}
00:03:43.111 ===
00:03:43.111 
00:03:43.111 18) JpegPixelFormatTest::testPixelFormatRendering with data set #6 ('yuv420.jpg', 'yuv422', '2x1,1x1,1x1')
00:03:43.111 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.111 
00:03:43.111 /workspace/src/includes/media/Exif.php:694
00:03:43.111 /workspace/src/includes/media/Exif.php:716
00:03:43.111 /workspace/src/includes/media/Exif.php:801
00:03:43.111 /workspace/src/includes/media/Exif.php:336
00:03:43.111 /workspace/src/includes/media/Exif.php:308
00:03:43.111 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.111 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.111 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.111 /workspace/src/includes/media/ExifBitmapHandler.php:181
00:03:43.111 /workspace/src/includes/media/MediaHandler.php:448
00:03:43.111 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:123
00:03:43.111 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:134
00:03:43.111 /workspace/src/includes/media/ImageHandler.php:39
00:03:43.111 /workspace/src/includes/filerepo/file/File.php:823
00:03:43.111 /workspace/src/includes/filerepo/file/File.php:1131
00:03:43.111 /workspace/src/tests/phpunit/includes/media/JpegPixelFormatTest.php:45
00:03:43.111 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.111 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.111 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.111 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.111 === Logs generated by test case
00:03:43.111 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.111 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.111 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.111 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DocumentID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:History","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DerivedFrom","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/purl.org\/dc\/elements\/1.1\/:format","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_cZCd1J ) {"private":false}
00:03:43.112 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_rVVajl ) {"private":false}
00:03:43.112 ===
00:03:43.112 
00:03:43.112 19) JpegPixelFormatTest::testPixelFormatRendering with data set #7 ('yuv420.jpg', 'yuv420', '2x2,1x1,1x1')
00:03:43.112 TypeError: abs(): Argument #1 ($num) must be of type int|float, string given
00:03:43.112 
00:03:43.112 /workspace/src/includes/media/Exif.php:694
00:03:43.112 /workspace/src/includes/media/Exif.php:716
00:03:43.112 /workspace/src/includes/media/Exif.php:801
00:03:43.112 /workspace/src/includes/media/Exif.php:336
00:03:43.112 /workspace/src/includes/media/Exif.php:308
00:03:43.112 /workspace/src/includes/media/BitmapMetadataHandler.php:96
00:03:43.112 /workspace/src/includes/media/BitmapMetadataHandler.php:192
00:03:43.112 /workspace/src/includes/media/JpegHandler.php:105
00:03:43.112 /workspace/src/includes/media/ExifBitmapHandler.php:181
00:03:43.112 /workspace/src/includes/media/MediaHandler.php:448
00:03:43.112 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:123
00:03:43.112 /workspace/src/includes/filerepo/file/UnregisteredLocalFile.php:134
00:03:43.112 /workspace/src/includes/media/ImageHandler.php:39
00:03:43.112 /workspace/src/includes/filerepo/file/File.php:823
00:03:43.112 /workspace/src/includes/filerepo/file/File.php:1131
00:03:43.112 /workspace/src/tests/phpunit/includes/media/JpegPixelFormatTest.php:45
00:03:43.112 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
00:03:43.112 /workspace/src/tests/phpunit/phpunit.php:75
00:03:43.112 /workspace/src/maintenance/doMaintenance.php:107
00:03:43.112 /workspace/src/tests/phpunit/phpunit.php:134
00:03:43.112 === Logs generated by test case
00:03:43.112 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.112 [localisation] [debug] LocalisationCache using store LCStoreNull []
00:03:43.112 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.112 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensInfo","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:LensSerialNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ImageNumber","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:ApproximateFocusDistance","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:FlashCompensation","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/exif\/1.0\/aux\/:Firmware","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DocumentID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:InstanceID","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:History","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/ns.adobe.com\/xap\/1.0\/mm\/:DerivedFrom","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [XMP] [debug] Wikimedia\XMPReader\Reader::startElementModeInitial Ignoring unrecognized element <{element}>. {"element":"http:\/\/purl.org\/dc\/elements\/1.1\/:format","file":"\/workspace\/src\/tests\/phpunit\/includes\/media\/..\/..\/data\/media\/yuv420.jpg"}
00:03:43.113 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_qz7IBW ) {"private":false}
00:03:43.113 [wfDebug] [debug] wfRecursiveRemoveDir( /tmp/MW_PHPUnit_JpegPixelFormatTest_jQoiUx ) {"private":false}
00:03:43.113 ===

Event Timeline

Jdforrester-WMF renamed this task from FormatMetadataTest throws `TypeError: abs(): Argument #1 ($num) must be of type int|float, string given` on PHP 8.0 to Exif throws `TypeError: abs(): Argument #1 ($num) must be of type int|float, string given` on PHP 8.0.Jan 18 2021, 11:57 PM
Jdforrester-WMF updated the task description. (Show Details)

Change 656977 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] Exif::isSlong: Cast input to float so PHP 8.0 abs() doesn't whine

https://gerrit.wikimedia.org/r/656977

Change 656916 had a related patch set uploaded (by Reedy; owner: Jforrester):
[mediawiki/core@REL1_35] Exif::isSlong: Cast input to float so PHP 8.0 abs() doesn't whine

https://gerrit.wikimedia.org/r/656916

Change 656916 merged by jenkins-bot:
[mediawiki/core@REL1_35] Exif::isSlong: Cast input to float so PHP 8.0 abs() doesn't whine

https://gerrit.wikimedia.org/r/656916

Change 656977 merged by jenkins-bot:
[mediawiki/core@master] Exif::isSlong: Cast input to float so PHP 8.0 abs() doesn't whine

https://gerrit.wikimedia.org/r/656977

Daimona assigned this task to Jdforrester-WMF.