Source: php-horde-ansel Version: 3.0.10+debian1-2 Severity: serious X-Debbugs-CC: debian-ci@lists.debian.org Tags: sid bookworm User: debian-ci@lists.debian.org Usertags: needs-update Control: affects -1 src:php-defaults Dear maintainer(s),We are in the transition of replacing php7.4 with php8.1 [0]. With a recent upload of php-defaults the autopkgtest of php-horde-ansel fails in testing when that autopkgtest is run with the binary packages of php-defaults from unstable. It passes when run with only packages from testing. In tabular form:
pass fail php-defaults from testing 92 php-horde-ansel from testing 3.0.10+debian1-2 versioned deps from testing from unstable all others from testing from testing I copied some of the output at the bottom of this report.Currently this regression is blocking the migration of php-defaults to testing [1]. https://www.php.net/ChangeLog-8.php list the changes since 7.4 and may help to identify what needs to be updated.
The test itself passes, but the autopkgtest fails because of deprecation warnings on stderr. Output on stderr makes autopkgtest fail by default, unless `allow-stderr` is added to the set of restrictions. As a flood of deprecation warnings in server logs my be very unwanted, I'm not saying that adding the restriction to autopkgtest is the right answer to this issue, but because of the php8.1 transition, it needs to be resolved one way or the other.
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [0] https://bugs.debian.org/976811 [1] https://qa.debian.org/excuses.php?package=php-defaults https://ci.debian.net/data/autopkgtest/testing/amd64/p/php-horde-ansel/18254587/log.gz PHPUnit 9.5.11 by Sebastian Bergmann and contributors. Runtime: PHP 8.1.1Configuration: /tmp/autopkgtest-lxc.d6lnqxiq/downtmp/build.0rr/src/ansel-3.0.10/test/Ansel/phpunit.xml
Warning: Test case class not matching filename is deprecatedin /tmp/autopkgtest-lxc.d6lnqxiq/downtmp/build.0rr/src/ansel-3.0.10/test/Ansel/Unit/ImageTest.php
Class name was 'Ansel_Unit_ImageTest', expected 'ImageTest'PHP Deprecated: Return type of Horde_Support_Stub::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/Stub.php on line 111 PHP Deprecated: Return type of Horde_Support_Stub::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/Stub.php on line 98 PHP Deprecated: Return type of Horde_Support_Stub::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/Stub.php on line 105 PHP Deprecated: Return type of Horde_Support_Stub::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/Stub.php on line 118 PHP Deprecated: Return type of Horde_Support_Stub::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/Stub.php on line 126 PHP Deprecated: Return type of Horde_Support_Stub::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/Stub.php on line 135 PHP Deprecated: Return type of Horde_Prefs::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Prefs.php on line 530 PHP Deprecated: Return type of Horde_Prefs::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Prefs.php on line 535 PHP Deprecated: Return type of Horde_Prefs::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Prefs.php on line 540 PHP Deprecated: Return type of Horde_Prefs::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Prefs.php on line 545 PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /usr/share/php/Horde/Injector/DependencyFinder.php on line 61 PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /usr/share/php/Horde/Injector/DependencyFinder.php on line 62 I 1 / 1 (100%)
Time: 00:00.011, Memory: 6.00 MB There was 1 incomplete test: 1) Ansel_Unit_ImageTest::testExif /tmp/autopkgtest-lxc.d6lnqxiq/downtmp/build.0rr/src/ansel-3.0.10/test/Ansel/Unit/ImageTest.php:34 OK, but incomplete, skipped, or risky tests! Tests: 1, Assertions: 0, Incomplete: 1. autopkgtest [05:11:27]: test phpunit
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature