[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1003747: php-horde-ldap: (autopkgtest) needs update for php8.1: internal LDAP link is invalid



Source: php-horde-ldap
Version: 2.4.2-4
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
Control: block 976811 by -1

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-ldap 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-ldap         from testing    2.4.2-4
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.

php-commom added a whole set of versioned Breaks to make sure the right packages from current unstable are pulled in during testing. If the issue is caused by a missing breaks, please reasign this bug to php-common.

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-ldap/18284154/log.gz

PHP Deprecated: Return type of Horde_Ldap_Search::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Search.php on line 508
......E..EE.EEF..........E..........                         41 / 41 (100%)

Time: 00:01.573, Memory: 6.00 MB

There were 6 errors:

1) Horde_Ldap_LdapTest::testModify
Horde_Ldap_Exception: Could not modify entry: Could not update entry: internal LDAP link is invalid

/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap.php:729
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/test/Horde/Ldap/LdapTest.php:280

2) Horde_Ldap_LdapTest::testGetEntry
Horde_Ldap_Exception: Unable to create connected entry: Parameter $entry needs to be a ldap entry resource!

/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Entry.php:186
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Search.php:153
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap.php:1082
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/test/Horde/Ldap/LdapTest.php:475

3) Horde_Ldap_LdapTest::testMove
Horde_Ldap_Exception: Could not update entry: internal LDAP link is invalid

/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Entry.php:637
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap.php:1133
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/test/Horde/Ldap/LdapTest.php:530

4) Horde_Ldap_LdapTest::testRootDSE
Horde_Ldap_Exception: Unable to create connected entry: Parameter $entry needs to be a ldap entry resource!

/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Entry.php:186
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Search.php:153
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/RootDse.php:58
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap.php:1305
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/test/Horde/Ldap/LdapTest.php:640

5) Horde_Ldap_LdapTest::testSchema
Horde_Ldap_Exception: Unable to create connected entry: Parameter $entry needs to be a ldap entry resource!

/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Entry.php:186
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Search.php:153
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/RootDse.php:58
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap.php:1305
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Schema.php:96
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap.php:1347
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/test/Horde/Ldap/LdapTest.php:649

6) Horde_Ldap_SearchTest::testSPLIterator
Horde_Ldap_Exception: Unable to create connected entry: Parameter $entry needs to be a ldap entry resource!

/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Entry.php:186
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Search.php:153
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Search.php:478
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/lib/Horde/Ldap/Search.php:443
/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/test/Horde/Ldap/SearchTest.php:65

--

There was 1 warning:

1) Horde_Ldap_FilterTest::testCreate
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.

--

There was 1 failure:

1) Horde_Ldap_LdapTest::testGetLink
Failed asserting that false is true.

/tmp/autopkgtest-lxc.ounnp2bv/downtmp/build.lqh/src/Horde_Ldap-2.4.2/test/Horde/Ldap/LdapTest.php:658

ERRORS!
Tests: 41, Assertions: 349, Errors: 6, Failures: 1, Warnings: 1.
autopkgtest [07:11:03]: test phpunit

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: