Source: phpmyadmin Version: 4:5.2.1+dfsg-3 Severity: normal Justification: FTBFS Tags: trixie sid ftbfs User: [email protected] Usertags: phpunit11
Hi, phpunit 11 is out and is now available in experimental. During a test rebuild, phpmyadmin was found to fail to build with this new phpunit version. To reproduce this locally, you need to install phpunit from experimental on an unstable system or build chroot. Relevant part (hopefully): > There were 258 PHPUnit errors: > > 1) PhpMyAdmin\Tests\AdvisorTest::testAdvisorBytime > The data provider specified for > PhpMyAdmin\Tests\AdvisorTest::testAdvisorBytime is invalid > Data Provider method PhpMyAdmin\Tests\AdvisorTest::advisorTimes() is not > static > > /<<PKGBUILDDIR>>/test/classes/AdvisorTest.php:30 > > 2) PhpMyAdmin\Tests\AdvisorTest::testAddRule > The data provider specified for PhpMyAdmin\Tests\AdvisorTest::testAddRule is > invalid > Data Provider method PhpMyAdmin\Tests\AdvisorTest::rulesProvider() is not > static > > /<<PKGBUILDDIR>>/test/classes/AdvisorTest.php:71 > > 3) PhpMyAdmin\Tests\CacheTest::testCacheHas > The data provider specified for PhpMyAdmin\Tests\CacheTest::testCacheHas is > invalid > Data Provider method PhpMyAdmin\Tests\CacheTest::dataProviderCacheKeyValues() > is not static > > /<<PKGBUILDDIR>>/test/classes/CacheTest.php:46 > > 4) PhpMyAdmin\Tests\CacheTest::testCachePurge > The data provider specified for PhpMyAdmin\Tests\CacheTest::testCachePurge is > invalid > Data Provider method PhpMyAdmin\Tests\CacheTest::dataProviderCacheKeyValues() > is not static > > /<<PKGBUILDDIR>>/test/classes/CacheTest.php:60 > > 5) PhpMyAdmin\Tests\CacheTest::testCacheSet > The data provider specified for PhpMyAdmin\Tests\CacheTest::testCacheSet is > invalid > Data Provider method PhpMyAdmin\Tests\CacheTest::dataProviderCacheKeyValues() > is not static > > /<<PKGBUILDDIR>>/test/classes/CacheTest.php:74 > > 6) PhpMyAdmin\Tests\CacheTest::testCacheGet > The data provider specified for PhpMyAdmin\Tests\CacheTest::testCacheGet is > invalid > Data Provider method PhpMyAdmin\Tests\CacheTest::dataProviderCacheKeyValues() > is not static > > /<<PKGBUILDDIR>>/test/classes/CacheTest.php:86 > ... > > 257) PhpMyAdmin\Tests\ZipExtensionTest::testGetContents > The data provider specified for > PhpMyAdmin\Tests\ZipExtensionTest::testGetContents is invalid > Data Provider method > PhpMyAdmin\Tests\ZipExtensionTest::provideTestGetContents() is not static > > /<<PKGBUILDDIR>>/test/classes/ZipExtensionTest.php:38 > > 258) PhpMyAdmin\Tests\ZipExtensionTest::testFindFile > The data provider specified for > PhpMyAdmin\Tests\ZipExtensionTest::testFindFile is invalid > Data Provider method PhpMyAdmin\Tests\ZipExtensionTest::provideTestFindFile() > is not static > > /<<PKGBUILDDIR>>/test/classes/ZipExtensionTest.php:90 > > -- > > There were 32 PHPUnit test runner warnings: > > 1) Using comma-separated values with --exclude-group is deprecated and will > no longer work in PHPUnit 12 > > 2) No tests found in class "PhpMyAdmin\Tests\AdvisorTest". > > 3) No tests found in class "PhpMyAdmin\Tests\CacheTest". > > 4) No tests found in class "PhpMyAdmin\Tests\Command\SetVersionCommandTest". > > 5) No tests found in class "PhpMyAdmin\Tests\Config\Forms\FormListTest". > > 6) No tests found in class "PhpMyAdmin\Tests\Config\Settings\ConsoleTest". > > 7) No tests found in class "PhpMyAdmin\Tests\Config\Settings\DebugTest". > > 8) No tests found in class "PhpMyAdmin\Tests\Config\Settings\ExportTest". > > 9) No tests found in class "PhpMyAdmin\Tests\Config\Settings\ImportTest". > > 10) No tests found in class "PhpMyAdmin\Tests\Config\Settings\SchemaTest". > > 11) No tests found in class "PhpMyAdmin\Tests\Config\Settings\ServerTest". > > 12) No tests found in class > "PhpMyAdmin\Tests\Config\Settings\SqlQueryBoxTest". > > 13) No tests found in class > "PhpMyAdmin\Tests\Config\Settings\TransformationsTest". > > 14) No tests found in class "PhpMyAdmin\Tests\CreateAddFieldTest". > > 15) No tests found in class "PhpMyAdmin\Tests\Database\EventsTest". > > 16) No tests found in class "PhpMyAdmin\Tests\Database\TriggersTest". > > 17) No tests found in class "PhpMyAdmin\Tests\Dbal\WarningTest". > > 18) No tests found in class "PhpMyAdmin\Tests\FileTest". > > 19) No tests found in class "PhpMyAdmin\Tests\Gis\GisFactoryTest". > > 20) No tests found in class "PhpMyAdmin\Tests\Gis\GisGeometryTest". > > 21) No tests found in class "PhpMyAdmin\Tests\Import\SimulateDmlTest". > > 22) No tests found in class "PhpMyAdmin\Tests\MimeTest". > > 23) No tests found in class "PhpMyAdmin\Tests\OperationsTest". > > 24) No tests found in class > "PhpMyAdmin\Tests\Plugins\Transformations\TransformationPluginsTest". > > 25) No tests found in class "PhpMyAdmin\Tests\Query\CompatibilityTest". > > 26) No tests found in class "PhpMyAdmin\Tests\Server\SelectTest". > > 27) No tests found in class "PhpMyAdmin\Tests\Table\ColumnsDefinitionTest". > > 28) No tests found in class "PhpMyAdmin\Tests\Table\Maintenance\MessageTest". > > 29) No tests found in class "PhpMyAdmin\Tests\TypesByDatabaseVersionTest". > > 30) No tests found in class "PhpMyAdmin\Tests\UserPasswordTest". > > 31) No tests found in class "PhpMyAdmin\Tests\Utils\FormatConverterTest". > > 32) No tests found in class "PhpMyAdmin\Tests\Utils\HttpRequestTest". > > -- > > There were 639 PHPUnit test runner deprecations: > ... > > -- > > 301 tests triggered 1334 PHPUnit deprecations: > ... > > ERRORS! > Tests: 1219, Assertions: 7356, Errors: 258, Warnings: 32, Deprecations: 940, > Skipped: 9, Incomplete: 1. > make[1]: *** [debian/rules:17: override_dh_auto_test] Error 2 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/phpmyadmin/phpmyadmin_5.2.1+dfsg-3+rebuild1714781293_amd64-2024-05-04T00:08:19Z.build

