Source: php-horde-passwd
Version: 5.0.7-8
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:php-defaults

Dear maintainer(s),

We are in the transition of replacing php8.1 with php8.2 [0]. With a recent upload of php-defaults the autopkgtest of php-horde-passwd 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    93
php-horde-passwd       from testing    5.0.7-8
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 lists 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 may be very unwanted, I'm not saying that adding the restriction to autopkgtest is the right answer to this issue, but because of the php 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/1014460
[1] https://qa.debian.org/excuses.php?package=php-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/p/php-horde-passwd/30356864/log.gz

PHPUnit 9.5.27 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.2.1
Configuration: /tmp/autopkgtest-lxc.lp2dbuv_/downtmp/build.93U/src/passwd-5.0.7/test/Passwd/phpunit.xml

PHP Deprecated: Creation of dynamic property Passwd_Factory_Driver::$backends is deprecated in /tmp/autopkgtest-lxc.lp2dbuv_/downtmp/build.93U/src/passwd-5.0.7/test/Passwd/Unit/Driver/SqlTest.php on line 26 PHP Deprecated: Callables of the form ["Horde_Db_Adapter_Pdo_Sqlite", "parent::execute"] are deprecated in /usr/share/php/Horde/Db/Adapter/Pdo/Sqlite.php on line 187 PHP Deprecated: Callables of the form ["Horde_Db_Adapter_Pdo_Sqlite", "parent::execute"] are deprecated in /usr/share/php/Horde/Db/Adapter/Pdo/Sqlite.php on line 187 .PHP Deprecated: Creation of dynamic property Passwd_Factory_Driver::$backends is deprecated in /tmp/autopkgtest-lxc.lp2dbuv_/downtmp/build.93U/src/passwd-5.0.7/test/Passwd/Unit/Driver/SqlTest.php on line 26 PHP Deprecated: Callables of the form ["Horde_Db_Adapter_Pdo_Sqlite", "parent::execute"] are deprecated in /usr/share/php/Horde/Db/Adapter/Pdo/Sqlite.php on line 187 PHP Deprecated: Callables of the form ["Horde_Db_Adapter_Pdo_Sqlite", "parent::execute"] are deprecated in /usr/share/php/Horde/Db/Adapter/Pdo/Sqlite.php on line 187 PHP Deprecated: Callables of the form ["Horde_Db_Adapter_Pdo_Sqlite", "parent::execute"] are deprecated in /usr/share/php/Horde/Db/Adapter/Pdo/Sqlite.php on line 187 .III 5 / 5 (100%)

Time: 00:00.013, Memory: 6.00 MB

There were 3 incomplete tests:

1) Passwd_Unit_Factory_DriverTest::testGettingSubdriversWorks
Factories with configuration files don't work out of the box.

/tmp/autopkgtest-lxc.lp2dbuv_/downtmp/build.93U/src/passwd-5.0.7/test/Passwd/Unit/Factory/DriverTest.php:19

2) Passwd_Unit_Factory_DriverTest::testGetBackendsReturnsResultOfSetBackends
Factories with configuration files don't work out of the box.

/tmp/autopkgtest-lxc.lp2dbuv_/downtmp/build.93U/src/passwd-5.0.7/test/Passwd/Unit/Factory/DriverTest.php:19

3) Passwd_Unit_Factory_DriverTest::testGettingTheSameDriverTwiceWorks
Factories with configuration files don't work out of the box.

/tmp/autopkgtest-lxc.lp2dbuv_/downtmp/build.93U/src/passwd-5.0.7/test/Passwd/Unit/Factory/DriverTest.php:19

OK, but incomplete, skipped, or risky tests!
Tests: 5, Assertions: 2, Incomplete: 3.
autopkgtest [06:17:12]: test phpunit

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to