Source: shaarli Version: 0.12.1+dfsg-8 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, shaarli 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): > 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 25 errors: > > 1) > Shaarli\Front\Controller\Admin\ManageTagControllerTest::testSaveRenameTagValid > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ManageTagControllerTest.php:113 > /usr/bin/phpunit:74 > > 2) > Shaarli\Front\Controller\Admin\ManageTagControllerTest::testSaveDeleteTagValid > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ManageTagControllerTest.php:166 > /usr/bin/phpunit:74 > > 3) > Shaarli\Front\Controller\Admin\PluginsControllerTest::testSavePluginParameters > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/PluginsControllerTest.php:149 > /usr/bin/phpunit:74 > > 4) > Shaarli\Front\Controller\Admin\ShaareManageControllerTest\ChangeVisibilityBookmarkTest::testSetMultipleBookmarksPrivate > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaareManageControllerTest/ChangeVisibilityBookmarkTest.php:200 > /usr/bin/phpunit:74 > > 5) > Shaarli\Front\Controller\Admin\ShaareManageControllerTest\ChangeVisibilityBookmarkTest::testChangeVisibilityMultipleBookmarksOneNotFound > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaareManageControllerTest/ChangeVisibilityBookmarkTest.php:304 > /usr/bin/phpunit:74 > > 6) > Shaarli\Front\Controller\Admin\ShaareManageControllerTest\DeleteBookmarkTest::testDeleteMultipleBookmarks > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaareManageControllerTest/DeleteBookmarkTest.php:115 > /usr/bin/phpunit:74 > > 7) > Shaarli\Front\Controller\Admin\ShaareManageControllerTest\DeleteBookmarkTest::testDeleteMultipleBookmarksOneNotFound > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaareManageControllerTest/DeleteBookmarkTest.php:235 > /usr/bin/phpunit:74 > > 8) > Shaarli\Front\Controller\Admin\ShaarePublishControllerTest\DisplayCreateFormTest::testDisplayCreateFormWithUrlAndWithMetadataRetrieval > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaarePublishControllerTest/DisplayCreateFormTest.php:83 > /usr/bin/phpunit:74 > > 9) > Shaarli\Front\Controller\Admin\ShaarePublishControllerTest\DisplayCreateFormTest::testDisplayCreateFormWithUrlAndWithoutMetadata > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaarePublishControllerTest/DisplayCreateFormTest.php:149 > /usr/bin/phpunit:74 > > 10) > Shaarli\Front\Controller\Admin\ShaarePublishControllerTest\SaveBookmarkTest::testSaveBookmark > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaarePublishControllerTest/SaveBookmarkTest.php:97 > /usr/bin/phpunit:74 > > 11) > Shaarli\Front\Controller\Admin\ShaarePublishControllerTest\SaveBookmarkTest::testSaveExistingBookmark > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaarePublishControllerTest/SaveBookmarkTest.php:188 > /usr/bin/phpunit:74 > > 12) > Shaarli\Front\Controller\Visitor\BookmarkListControllerTest::testThumbnailUpdateFromLinkList > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/BookmarkListControllerTest.php:355 > /usr/bin/phpunit:74 > > 13) > Shaarli\Front\Controller\Visitor\BookmarkListControllerTest::testThumbnailUpdateFromPermalink > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/BookmarkListControllerTest.php:408 > /usr/bin/phpunit:74 > > 14) > Shaarli\Front\Controller\Visitor\DailyControllerTest::testValidIndexControllerInvokeDefault > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:80 > /usr/bin/phpunit:74 > > 15) > Shaarli\Front\Controller\Visitor\DailyControllerTest::testValidIndexControllerInvokeNoFutureOrPast > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:206 > /usr/bin/phpunit:74 > > 16) > Shaarli\Front\Controller\Visitor\FeedControllerTest::testDefaultRssController > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/FeedControllerTest.php:50 > /usr/bin/phpunit:74 > > 17) > Shaarli\Front\Controller\Visitor\FeedControllerTest::testDefaultAtomController > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/FeedControllerTest.php:91 > /usr/bin/phpunit:74 > > 18) > Shaarli\Front\Controller\Visitor\FeedControllerTest::testAtomControllerWithParameters > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/FeedControllerTest.php:133 > /usr/bin/phpunit:74 > > 19) > Shaarli\Front\Controller\Visitor\PictureWallControllerTest::testValidControllerInvokeDefault > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/PictureWallControllerTest.php:72 > /usr/bin/phpunit:74 > > 20) > Shaarli\Front\Controller\Visitor\TagCloudControllerTest::testValidCloudControllerInvokeDefault > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/TagCloudControllerTest.php:58 > /usr/bin/phpunit:74 > > 21) > Shaarli\Front\Controller\Visitor\TagCloudControllerTest::testValidCloudControllerInvokeWithParameters > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/TagCloudControllerTest.php:131 > /usr/bin/phpunit:74 > > 22) Shaarli\Front\Controller\Visitor\TagCloudControllerTest::testEmptyCloud > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/TagCloudControllerTest.php:184 > /usr/bin/phpunit:74 > > 23) > Shaarli\Front\Controller\Visitor\TagCloudControllerTest::testValidListControllerInvokeDefault > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/TagCloudControllerTest.php:238 > /usr/bin/phpunit:74 > > 24) > Shaarli\Front\Controller\Visitor\TagCloudControllerTest::testValidListControllerInvokeWithParameters > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/TagCloudControllerTest.php:310 > /usr/bin/phpunit:74 > > 25) Shaarli\Front\Controller\Visitor\TagCloudControllerTest::testEmptyList > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/front/controller/visitor/TagCloudControllerTest.php:359 > /usr/bin/phpunit:74 > > -- > > 9 tests triggered 9 PHPUnit deprecations: > > 1) > Shaarli\Front\Controller\Admin\ShaareManageControllerTest\PinBookmarkTest::testPinBookmarkIsStickyNull > Data Provider method > Shaarli\Front\Controller\Admin\ShaareManageControllerTest\PinBookmarkTest::initialStickyValuesProvider() > is not static > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ShaareManageControllerTest/PinBookmarkTest.php:37 > > 2) Shaarli\Helper\DailyPageHelperTest::testExtractRequestedType > Data Provider method Shaarli\Helper\DailyPageHelperTest::getRequestedTypes() > is not static > > /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:16 > > 3) Shaarli\Helper\DailyPageHelperTest::testExtractRequestedDateTime > Data Provider method > Shaarli\Helper\DailyPageHelperTest::getRequestedDateTimes() is not static > > /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:31 > > 4) Shaarli\Helper\DailyPageHelperTest::testGetFormatByType > Data Provider method Shaarli\Helper\DailyPageHelperTest::getFormatsByType() > is not static > > /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:54 > > 5) Shaarli\Helper\DailyPageHelperTest::testGetStartDatesByType > Data Provider method > Shaarli\Helper\DailyPageHelperTest::getStartDatesByType() is not static > > /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:72 > > 6) Shaarli\Helper\DailyPageHelperTest::testGetEndDatesByType > Data Provider method Shaarli\Helper\DailyPageHelperTest::getEndDatesByType() > is not static > > /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:93 > > 7) Shaarli\Helper\DailyPageHelperTest::testGeDescriptionsByType > Data Provider method > Shaarli\Helper\DailyPageHelperTest::getDescriptionsByType() is not static > > /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:114 > > 8) Shaarli\Helper\DailyPageHelperTest::testGeRssLengthsByType > Data Provider method > Shaarli\Helper\DailyPageHelperTest::getRssLengthsByType() is not static > > /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:135 > > 9) Shaarli\Legacy\LegacyControllerTest::testProcess > Data Provider method > Shaarli\Legacy\LegacyControllerTest::getProcessProvider() is not static > > /<<PKGBUILDDIR>>/tests/legacy/LegacyControllerTest.php:29 > > -- > > There were 25 risky tests: > > 1) > Shaarli\Front\Controller\Admin\ManageTagControllerTest::testSaveRenameTagValid > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ManageTagControllerTest.php:77 > > 2) > Shaarli\Front\Controller\Admin\ManageTagControllerTest::testSaveDeleteTagValid > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/front/controller/admin/ManageTagControllerTest.php:131 > > 3) > Shaarli\Front\Controller\Admin\PluginsControllerTest::testSavePluginParameters > This test did not perform any assertions The full build logs and additional context is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/shaarli/ A phpunit reverse-dependencies rebuild status is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html -- Athos Ribeiro