php-src icon indicating copy to clipboard operation
php-src copied to clipboard

New failed test on s390x ext/gd/tests/avif_decode_encode.phpt

Open andypost opened this issue 3 years ago • 4 comments

Description

Building last tagged RC2 introduced new failure https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51482

========DIFF========
--
     Encoding AVIF with illegal speed: ok
     Encoding AVIF losslessly... ok
     Decoding the AVIF we just wrote...
- How many pixels are different in the two images? 0
+ How many pixels are different in the two images? 1216317.7048359
========DONE========
FAIL avif decoding/encoding tests [ext/gd/tests/avif_decode_encode.phpt] 

Previous RC1 passed without issues

PHP Version

PHP 8.3.0RC2

Operating System

Alpinelinux

andypost avatar Sep 12 '23 23:09 andypost

Looks that's related to latest avif upgrade to 1.0.1

  • https://github.com/AOMediaCodec/libavif/releases/tag/v1.0.0
  • https://github.com/AOMediaCodec/libavif/releases/tag/v1.0.1

andypost avatar Sep 12 '23 23:09 andypost

checked 8.1 and 8.2 which fails as well

========DIFF========
--
     Encoding AVIF with illegal speed: ok
     Encoding AVIF losslessly... ok
     Decoding the AVIF we just wrote...
+ How many pixels are different in the two images? 1216317.7048359
- How many pixels are different in the two images? 0
========DONE========
[FAIL avif decoding/encoding tests [ext/gd/tests/avif_decode_encode.phpt] 

andypost avatar Sep 12 '23 23:09 andypost

I think this has already been fixed upstream.

kamil-tekiela avatar Nov 08 '26 16:11 kamil-tekiela

thank you! confirm both s390x and longarch64 pass both tests https://gitlab.alpinelinux.org/alpine/aports/-/pipelines/484939

andypost avatar Nov 08 '26 21:11 andypost