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

Bug#1003744: php-horde-crypt: (autopkgtest) needs update for php8.1: errorHandler(), 4 passed and exactly 5 expected



Source: php-horde-crypt
Version: 2.7.12-6
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),

[In contrast to earlier bugs filed, this issue seems to really break functionality.]

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-crypt 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-crypt        from testing    2.7.12-6
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-crypt/18284133/log.gz

PHP Deprecated: Horde_Stream implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /usr/share/php/Horde/Stream.php on line 27 PHP Deprecated: Horde_Stream_Temp implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /usr/share/php/Horde/Stream/Temp.php on line 23
PHPUnit 9.5.11 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.1.1
Configuration: /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/test/Horde/Crypt/phpunit.xml

Warning:       Test case class not matching filename is deprecated
in /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/test/Horde/Crypt/Pgp/BinaryTest.php Class name was 'Horde_Crypt_Pgp_BinaryTest', expected 'BinaryTest'
Warning:       Test case class not matching filename is deprecated
in /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/test/Horde/Crypt/PgpKeyserverTest.php Class name was 'Horde_Crypt_PgpKeyserverTest', expected 'PgpKeyserverTest'
Warning:       Test case class not matching filename is deprecated
in /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/test/Horde/Crypt/PgpParseTest.php Class name was 'Horde_Crypt_PgpParseTest', expected 'PgpParseTest'
Warning:       Test case class not matching filename is deprecated
in /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/test/Horde/Crypt/SmimeTest.php
               Class name was 'Horde_Crypt_SmimeTest', expected 'SmimeTest'

PHP Deprecated: Function strftime() is deprecated in /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/lib/Horde/Crypt/Pgp.php on line 247 PHP Deprecated: Function strftime() is deprecated in /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/lib/Horde/Crypt/Pgp.php on line 248 ..........PHP Deprecated: Function strftime() is deprecated in /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/lib/Horde/Crypt/Pgp.php on line 247 PHP Deprecated: Function strftime() is deprecated in /tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/lib/Horde/Crypt/Pgp.php on line 247 .........PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Horde/Url.php on line 269 EPHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Horde/Url.php on line 269 EPHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Horde/Url.php on line 269 PHP Deprecated: Return type of Horde_Support_CaseInsensitiveArray::offsetExists($offset) should either be compatible with ArrayIterator::offsetExists(mixed $key): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/CaseInsensitiveArray.php on line 47 PHP Deprecated: Return type of Horde_Support_CaseInsensitiveArray::offsetGet($offset) should either be compatible with ArrayIterator::offsetGet(mixed $key): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/CaseInsensitiveArray.php on line 27 PHP Deprecated: Return type of Horde_Support_CaseInsensitiveArray::offsetSet($offset, $value) should either be compatible with ArrayIterator::offsetSet(mixed $key, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/CaseInsensitiveArray.php on line 36 PHP Deprecated: Return type of Horde_Support_CaseInsensitiveArray::offsetUnset($offset) should either be compatible with ArrayIterator::offsetUnset(mixed $key): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Horde/Support/CaseInsensitiveArray.php on line 54 PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Horde/Url.php on line 269 PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Horde/Url.php on line 269
S....                                        26 / 26 (100%)

Time: 00:16.001, Memory: 6.00 MB

There were 2 errors:

1) Horde_Crypt_PgpKeyserverTest::testKeyserverRetrieve
ArgumentCountError: Too few arguments to function Horde_Http_Request_Fopen::_errorHandler(), 4 passed and exactly 5 expected

/usr/share/php/Horde/Http/Request/Fopen.php:141
/usr/share/php/Horde/Http/Request/Fopen.php:114
/usr/share/php/Horde/Http/Client.php:237
/usr/share/php/Horde/Http/Client.php:126
/tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/lib/Horde/Crypt/Pgp/Keyserver.php:99
/tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/test/Horde/Crypt/PgpKeyserverTest.php:43

2) Horde_Crypt_PgpKeyserverTest::testKeyserverRetrieveByEmail
ArgumentCountError: Too few arguments to function Horde_Http_Request_Fopen::_errorHandler(), 4 passed and exactly 5 expected

/usr/share/php/Horde/Http/Request/Fopen.php:141
/usr/share/php/Horde/Http/Request/Fopen.php:114
/usr/share/php/Horde/Http/Client.php:237
/usr/share/php/Horde/Http/Client.php:126
/tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/lib/Horde/Crypt/Pgp/Keyserver.php:173
/tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/test/Horde/Crypt/PgpKeyserverTest.php:58

--

There was 1 skipped test:

1) Horde_Crypt_PgpKeyserverTest::testBrokenKeyserver
testBrokenKeyserver: Ignoring sometimes flaky keyservers during Debian (CI) builds

/tmp/autopkgtest-lxc.vs9_spwp/downtmp/build.e5w/src/Horde_Crypt-2.7.12/test/Horde/Crypt/PgpKeyserverTest.php:86

ERRORS!
Tests: 26, Assertions: 62, Errors: 2, Skipped: 1.
autopkgtest [07:08:58]: test phpunit

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: