Source: php-net-ldap2
Version: 2.3.0-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

There were dep8 tests failing, caught in the transition to PHP 8.5 in
Ubuntu. Logs can be seen in:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/amd64/p/php-net-ldap2/20260216_024656_9cb2a@/log.gz

There were 4 errors:
200s
200s 1) Net_LDAP2Test::testDelete
200s TypeError: ldap_list(): Argument #4 ($attributes) must be a list of 
strings, null given
200s
200s /usr/share/php/Net/LDAP2.php:794
200s /tmp/autopkgtest.OHme9I/build.lJx/src/tests/Net_LDAP2Test.php:292
200s
200s 2) Net_LDAP2Test::testModify
200s ValueError: ldap_modify(): Argument #3 ($entry) attribute "postalAddress" 
must be a non-empty list of attribute values
200s
200s /usr/share/php/Net/LDAP2/Entry.php:885
200s /usr/share/php/Net/LDAP2.php:914
200s /tmp/autopkgtest.OHme9I/build.lJx/src/tests/Net_LDAP2Test.php:344
200s
200s 3) Net_LDAP2Test::testMove
200s ValueError: ldap_modify(): Argument #3 ($entry) must not be empty
200s
200s /usr/share/php/Net/LDAP2/Entry.php:885
200s /usr/share/php/Net/LDAP2.php:1369
200s /tmp/autopkgtest.OHme9I/build.lJx/src/tests/Net_LDAP2Test.php:673
200s
200s 4) Net_LDAP2Test::testCopy
200s TypeError: ldap_list(): Argument #4 ($attributes) must be a list of 
strings, null given
200s
200s /usr/share/php/Net/LDAP2.php:794
200s /tmp/autopkgtest.OHme9I/build.lJx/src/tests/Net_LDAP2Test.php:772
200s
200s --
200s
200s There was 1 failure:
200s
200s 1) Net_LDAP2_SearchTest::testSPLIterator
200s Failed asserting that 7 matches expected 2.
200s
200s /tmp/autopkgtest.OHme9I/build.lJx/src/tests/Net_LDAP2_SearchTest.php:266

Seems the ldap implementation changed between 8.4 and 8.5, and calls need to be 
adjusted.

-- System Information:
Debian Release: trixie/sid
  APT prefers noble-updates
  APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), 
(100, 'noble-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.0-14-generic (SMP w/22 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to