php / php/php-src

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

Open
#12,196 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Extension: gd Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ext/gd/tests/avif_decode_encode.phpt and reproduce the failure on s390x using PHP 8.3.0RC2 on Alpine Linux, comparing it with the passing RC1 result. Done means the AVIF encoding and decoding test no longer reports a large pixel difference and passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, php
Domain
computer-graphics, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.