Source: php-doctrine-cache
Version: 2.2.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: phpunit

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-doctrine-cache was found to FTBFS.

To reproduce this locally, you need to install the phpunit 10 package (and any
other dependency, which should also be available) from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> memcached -d -u memcache
> redis-server --daemonize yes
> phpunit --include-path lib --bootstrap vendor/autoload.php
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> D..............................................................  63 / 295 ( 
> 21%)
> .......S.S.......EE...............................SSSSSSSSSSSSS 126 / 295 ( 
> 42%)
> SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 189 / 295 ( 
> 64%)
> SSSSSSSSS.................S.................................... 252 / 295 ( 
> 85%)
> ...................................S.S.....                     295 / 295 
> (100%)
> 
> Time: 00:12.054, Memory: 10.00 MB
> 
> There was 1 PHPUnit test runner warning:
> 
> 1) Class Doctrine\Tests\Common\Cache\CacheTest declared in 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheTest.php is abstract
> 
> --
> 
> There was 1 PHPUnit test runner deprecation:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your 
> XML configuration using "--migrate-configuration"!
> 
> --
> 
> There were 2 errors:
> 
> 1) Doctrine\Tests\Common\Cache\CacheProviderTest::testSaveMultipleNoFail
> Error: Call to undefined method 
> Doctrine\Tests\Common\Cache\CacheProviderTest::at()
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheProviderTest.php:93
> 
> 2) Doctrine\Tests\Common\Cache\CacheProviderTest::testDeleteMultipleNoFail
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheProviderTest.php:114
> 
> --
> 
> 6 tests triggered 6 PHPUnit deprecations:
> 
> 1) Doctrine\Tests\Common\Cache\ArrayCacheTest::testSetContainsFetchDelete
> Data Provider method 
> Doctrine\Tests\Common\Cache\ArrayCacheTest::provideDataToCache() is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheTest.php:28
> 
> 2) Doctrine\Tests\Common\Cache\ArrayCacheTest::testUpdateExistingEntry
> Data Provider method 
> Doctrine\Tests\Common\Cache\ArrayCacheTest::provideDataToCache() is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheTest.php:52
> 
> 3) Doctrine\Tests\Common\Cache\ArrayCacheTest::testCanHandleSpecialCacheIds
> Data Provider method 
> Doctrine\Tests\Common\Cache\ArrayCacheTest::provideCacheIds() is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheTest.php:216
> 
> 4) 
> Doctrine\Tests\Common\Cache\Psr6\DoctrineProviderTest::testSetContainsFetchDelete
> Data Provider method 
> Doctrine\Tests\Common\Cache\Psr6\DoctrineProviderTest::provideDataToCache() 
> is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheTest.php:28
> 
> 5) 
> Doctrine\Tests\Common\Cache\Psr6\DoctrineProviderTest::testUpdateExistingEntry
> Data Provider method 
> Doctrine\Tests\Common\Cache\Psr6\DoctrineProviderTest::provideDataToCache() 
> is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheTest.php:52
> 
> 6) 
> Doctrine\Tests\Common\Cache\Psr6\DoctrineProviderTest::testCanHandleSpecialCacheIds
> Data Provider method 
> Doctrine\Tests\Common\Cache\Psr6\DoctrineProviderTest::provideCacheIds() is 
> not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheTest.php:216
> 
> --
> 
> There were 2 risky tests:
> 
> 1) Doctrine\Tests\Common\Cache\CacheProviderTest::testSaveMultipleNoFail
> This test did not perform any assertions
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheProviderTest.php:79
> 
> 2) Doctrine\Tests\Common\Cache\CacheProviderTest::testDeleteMultipleNoFail
> This test did not perform any assertions
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/CacheProviderTest.php:110
> 
> ERRORS!
> Tests: 295, Assertions: 978, Errors: 2, Warnings: 1, Deprecations: 7, 
> Skipped: 90, Risky: 2.
> make[1]: *** [debian/rules:25: override_dh_auto_test] Error 2


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-doctrine-cache/

A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html

-- 
Athos Ribeiro

Reply via email to