[pkg-php-pear] Bug#1093351: php-matomo-doctrine-cache: FTBFS: failing tests
Santiago Vila
sanvila at debian.org
Fri Jan 17 18:53:57 GMT 2025
Package: src:php-matomo-doctrine-cache
Version: 1.10.4-1.1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpabtpl composer.json > debian/autoload.php.tpl
phpab \
--output lib/autoload.php \
--template debian/autoload.php.tpl \
lib
phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
Scanning directory lib
Autoload file lib/autoload.php generated.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpabtpl --require predis --require-file ../lib/autoload.php 2>/dev/null > debian/autoload.tests.php.tpl
phpab \
--output tests/autoload.php \
--template debian/autoload.tests.php.tpl \
tests
phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
Scanning directory tests
Autoload file tests/autoload.php generated.
redis-server --daemonize yes
memcached -d -u memcache
phpunit --no-coverage --do-not-cache-result --bootstrap ./tests/autoload.php --exclude-group=php-file
PHPUnit 11.5.3 by Sebastian Bergmann and contributors.
Runtime: PHP 8.4.2
Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS................. 63 / 880 ( 7%)
....................................................S.S......I. 126 / 880 ( 14%)
EE............................................................. 189 / 880 ( 21%)
.........S.S.......I.......I..SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 252 / 880 ( 28%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS........................... 315 / 880 ( 35%)
....................................................S.S........ 378 / 880 ( 42%)
.....SSSSSSSSSSSSSSSSSSSSSSSS.................................. 441 / 880 ( 50%)
...........SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.................... 504 / 880 ( 57%)
............................................................... 567 / 880 ( 64%)
.......................................................I....... 630 / 880 ( 71%)
........I.....SS............................................... 693 / 880 ( 78%)
...............................SSS............................. 756 / 880 ( 85%)
.......................................................SSSSSSSS 819 / 880 ( 93%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 880 / 880 (100%)
Time: 00:29.899, Memory: 18.00 MB
There were 2 errors:
1) Doctrine\Tests\Common\Cache\CacheProviderTest::testSaveMultipleNoFail
PHPUnit\Framework\MockObject\NoMoreReturnValuesConfiguredException: Only 1 return values have been configured for Doctrine\Common\Cache\CacheProvider::doSave()
/<<PKGBUILDDIR>>/lib/Doctrine/Common/Cache/CacheProvider.php:259
/<<PKGBUILDDIR>>/lib/Doctrine/Common/Cache/CacheProvider.php:99
/<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheProviderTest.php:90
2) Doctrine\Tests\Common\Cache\CacheProviderTest::testDeleteMultipleNoFail
PHPUnit\Framework\MockObject\NoMoreReturnValuesConfiguredException: Only 1 return values have been configured for Doctrine\Common\Cache\CacheProvider::doDelete()
/<<PKGBUILDDIR>>/lib/Doctrine/Common/Cache/CacheProvider.php:293
/<<PKGBUILDDIR>>/lib/Doctrine/Common/Cache/CacheProvider.php:123
/<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheProviderTest.php:117
ERRORS!
Tests: 880, Assertions: 3290, Errors: 2, PHPUnit Deprecations: 1, Skipped: 251, Incomplete: 5.
make[1]: *** [debian/rules:17: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202501/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:php-matomo-doctrine-cache, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-php-pear
mailing list