[pkg-php-pear] Bug#1003670: php-mockery: (autopkgtest) needs update for php8.1: Test directory "/tmp/autopkgtest-lxc.dt9l77z_/downtmp/build.5Ul/src/./tests/PHP80" not found

Paul Gevers elbrus at debian.org
Thu Jan 13 14:11:03 GMT 2022


Source: php-mockery
Version: 1.4.2-1
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org
Tags: sid bookworm
User: debian-ci at 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-mockery 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-mockery            from testing    1.4.2-1
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-mockery/18254695/log.gz

phpab %development% - Copyright (C) 2009 - 2022 by Arne Blankerts and 
Contributors

Scanning directory tests

Autoload file vendor/autoload.php generated.

PHP Deprecated:  Return type of 
MockeryTest_ImplementsIteratorAggregate::getIterator() should either be 
compatible with IteratorAggregate::getIterator(): Traversable, or the 
#[\ReturnTypeWillChange] attribute should be used to temporarily 
suppress the notice in 
/tmp/autopkgtest-lxc.dt9l77z_/downtmp/build.5Ul/src/tests/Mockery/ContainerTest.php 
on line 1759
PHP Deprecated:  Return type of 
MockeryTest_ImplementsIterator::current() should either be compatible 
with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] 
attribute should be used to temporarily suppress the notice in 
/tmp/autopkgtest-lxc.dt9l77z_/downtmp/build.5Ul/src/tests/Mockery/ContainerTest.php 
on line 1771
PHP Deprecated:  Return type of MockeryTest_ImplementsIterator::next() 
should either be compatible with Iterator::next(): void, or the 
#[\ReturnTypeWillChange] attribute should be used to temporarily 
suppress the notice in 
/tmp/autopkgtest-lxc.dt9l77z_/downtmp/build.5Ul/src/tests/Mockery/ContainerTest.php 
on line 1779
PHP Deprecated:  Return type of MockeryTest_ImplementsIterator::key() 
should either be compatible with Iterator::key(): mixed, or the 
#[\ReturnTypeWillChange] attribute should be used to temporarily 
suppress the notice in 
/tmp/autopkgtest-lxc.dt9l77z_/downtmp/build.5Ul/src/tests/Mockery/ContainerTest.php 
on line 1775
PHP Deprecated:  Return type of MockeryTest_ImplementsIterator::valid() 
should either be compatible with Iterator::valid(): bool, or the 
#[\ReturnTypeWillChange] attribute should be used to temporarily 
suppress the notice in 
/tmp/autopkgtest-lxc.dt9l77z_/downtmp/build.5Ul/src/tests/Mockery/ContainerTest.php 
on line 1783
PHP Deprecated:  Return type of MockeryTest_ImplementsIterator::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.dt9l77z_/downtmp/build.5Ul/src/tests/Mockery/ContainerTest.php 
on line 1767
PHP Deprecated:  MockeryTest_ClassThatImplementsSerializable implements 
the Serializable interface, which is deprecated. Implement __serialize() 
and __unserialize() instead (or in addition, if support for old PHP 
versions is necessary) in 
/tmp/autopkgtest-lxc.dt9l77z_/downtmp/build.5Ul/src/tests/Mockery/ContainerTest.php 
on line 1848
PHPUnit 9.5.11 by Sebastian Bergmann and contributors.

Test directory 
"/tmp/autopkgtest-lxc.dt9l77z_/downtmp/build.5Ul/src/./tests/PHP80" not 
found
autopkgtest [05:27:48]: test command1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20220113/ca009cd9/attachment.sig>


More information about the pkg-php-pear mailing list