View Issue Details

IDProjectCategoryView StatusLast Update
0002406XdebugUncategorizedpublic2026-03-23 16:02
Reporterrr Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformarmhfOSUbuntuOS Version26.04
Product Version3.5.0 
Summary0002406: Tests failing on armhf with PHP 8.5
Description

Running the upstream tests in Ubuntu, using PHP 8.5 results in a fail.
See logs in: https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/armhf/x/xdebug/20260224_020114_37526@/log.gz

In the logs:

=====================================================================
520s FAILED TEST SUMMARY
520s ---------------------------------------------------------------------
520s Test for bug 0001343: Wrong values of numerical keys outside 32bit range [tests/develop/bug01343-32bit.phpt]
520s =====================================================================

Does not say much, but looking at other PHP 8.5 armhf failures, it may be related to a warning about not being able to cast floats outside of the 32 bit range (exactly what the test is about) to int. This warning was not there in PHP8.4, but it's always there in PHP 8.5.

Steps To Reproduce

Run the tests on an armhf system using PHP 8.5.

I'm able to reproduce it by triggering dep8 tests in Ubuntu using a PPA.

Tagsphp8.5
Operating SystemUbuntu 26.04
PHP Version8.5.0-8.5.4

Activities

derick

2026-03-17 12:36

administrator   ~0007464

I like to see how. Could you add the tests/develop/bug01343-32bit.* files that were created, to this report?

rr

2026-03-18 19:57

reporter   ~0007465

Hey, hello, Derick

Unfortunately I cannot: I don't have an armhf machine at hand, and I was reproducing this issue using the Ubuntu autopkgtest infrastructure. All I have is the links to logs, like the one I pasted in the description :/

derick

2026-03-23 15:44

administrator   ~0007475

I don't have easy access to armhf either, so I am not sure what I can do about this — especially if you can't provide the expected and actual output of the test run.

Officially I don't support 32-bit any more, but would be open to getting this fixed (if it's not a redesign, obviously).

rr

2026-03-23 16:02

reporter   ~0007479

Honestly, the test is about casting a float and verifying it overflows...
In Ubuntu, well, we removed the test :|

Issue History

Date Modified Username Field Change
2026-02-25 19:47 rr New Issue
2026-02-25 19:47 rr Tag Attached: php8.5
2026-03-17 12:36 derick Assigned To => derick
2026-03-17 12:36 derick Status new => feedback
2026-03-17 12:36 derick Note Added: 0007464
2026-03-18 19:57 rr Note Added: 0007465
2026-03-18 19:57 rr Status feedback => assigned
2026-03-23 15:44 derick Status assigned => feedback
2026-03-23 15:44 derick Note Added: 0007475
2026-03-23 16:02 rr Note Added: 0007479
2026-03-23 16:02 rr Status feedback => assigned