[pkg-php-pear] Bug#952339: composer: FTBFS: tests failed
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 13:35:59 GMT 2020
Source: composer
Version: 1.9.3-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --include-path src --verbose --exclude-group remote,git
> PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
>
> Runtime: PHP 7.4.3
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
>
> SSW................WW..........WW...............W..W...W..... 61 / 1191 ( 5%)
> ............................................................. 122 / 1191 ( 10%)
> .........RRRRRRRR............................W............W.. 183 / 1191 ( 15%)
> ...W......................................................... 244 / 1191 ( 20%)
> ....................................WW.W.W.W.W.R.W......WW..W 305 / 1191 ( 25%)
> ...R.W.W.R.....R.SS.WWW.W..W.WW..........W................... 366 / 1191 ( 30%)
> .W........................................................... 427 / 1191 ( 35%)
> ...........................................................WW 488 / 1191 ( 40%)
> WWWWWW.WW.................................................... 549 / 1191 ( 46%)
> ............................................RW............... 610 / 1191 ( 51%)
> ....................................R........................ 671 / 1191 ( 56%)
> ............................................................. 732 / 1191 ( 61%)
> .....................................................WWWWWWWW 793 / 1191 ( 66%)
> .WWWWWW.....................................W.......RW....... 854 / 1191 ( 71%)
> ..SS..RRRRRRR.R.............................................. 915 / 1191 ( 76%)
> ..............W....S...........R............................. 976 / 1191 ( 81%)
> ............................................................. 1037 / 1191 ( 87%)
> .................W..WRRWWWW.................................. 1098 / 1191 ( 92%)
> ....................EEWW..WW................................. 1159 / 1191 ( 97%)
> ........................S....... 1191 / 1191 (100%)
>
> Time: 8.62 seconds, Memory: 40.00 MB
>
> There were 2 errors:
>
> 1) Composer\Test\Util\RemoteFilesystemTest::testGetOptionsForUrlWithStreamOptions
> ErrorException: Trying to access array offset on value of type null
>
> /<<PKGBUILDDIR>>/src/Composer/Util/RemoteFilesystem.php:833
> /<<PKGBUILDDIR>>/tests/Composer/Test/Util/RemoteFilesystemTest.php:291
> /<<PKGBUILDDIR>>/tests/Composer/Test/Util/RemoteFilesystemTest.php:71
>
> 2) Composer\Test\Util\RemoteFilesystemTest::testGetOptionsForUrlWithCallOptionsKeepsHeader
> ErrorException: Trying to access array offset on value of type null
>
> /<<PKGBUILDDIR>>/src/Composer/Util/RemoteFilesystem.php:833
> /<<PKGBUILDDIR>>/tests/Composer/Test/Util/RemoteFilesystemTest.php:291
> /<<PKGBUILDDIR>>/tests/Composer/Test/Util/RemoteFilesystemTest.php:88
>
> --
>
> There were 70 warnings:
>
> 1) Composer\Test\ApplicationTest::testDevWarning
> Trying to configure method "writeError" which cannot be configured because it does not exist, has not been specified, is final, or is static
>
> 2) Composer\Test\Autoload\AutoloadGeneratorTest::testClassMapAutoloadingEmptyDirAndExactFile
> Using assertNotContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringNotContainsString() or assertStringNotContainsStringIgnoringCase() instead.
>
> 3) Composer\Test\Autoload\AutoloadGeneratorTest::testClassMapAutoloadingAuthoritativeAndApcu
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 4) Composer\Test\Autoload\AutoloadGeneratorTest::testVendorDirExcludedFromWorkingDir
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 5) Composer\Test\Autoload\AutoloadGeneratorTest::testUpLevelRelativePaths
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 6) Composer\Test\Autoload\ClassMapGeneratorTest::testFindClassesThrowsWhenFileDoesNotExist
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 7) Composer\Test\Autoload\ClassMapGeneratorTest::testCreateMapThrowsWhenDirectoryDoesNotExist
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 8) Composer\Test\CacheTest::testClearCache
> Trying to configure method "removeDirectory" which cannot be configured because it does not exist, has not been specified, is final, or is static
>
> 9) Composer\Test\DependencyResolver\PoolTest::testGetPriorityForNotRegisteredRepository
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 10) Composer\Test\DependencyResolver\RuleSetTest::testAddWhenTypeIsNotRecognized
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 11) Composer\Test\DependencyResolver\RuleSetTest::testPrettyString
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 12) Composer\Test\Downloader\FileDownloaderTest::testDownloadForPackageWithoutDistReference
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 13) Composer\Test\Downloader\FileDownloaderTest::testDownloadToExistingFile
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 14) Composer\Test\Downloader\FileDownloaderTest::testDownloadButFileIsUnsaved
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 15) Composer\Test\Downloader\FileDownloaderTest::testDownloadFileWithInvalidChecksum
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 16) Composer\Test\Downloader\FossilDownloaderTest::testDownloadForPackageWithoutSourceReference
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 17) Composer\Test\Downloader\FossilDownloaderTest::testUpdateforPackageWithoutSourceReference
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 18) Composer\Test\Downloader\GitDownloaderTest::testDownloadForPackageWithoutSourceReference
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 19) Composer\Test\Downloader\GitDownloaderTest::testDownloadThrowsRuntimeExceptionIfGitCommandFails
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 20) Composer\Test\Downloader\GitDownloaderTest::testUpdateforPackageWithoutSourceReference
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 21) Composer\Test\Downloader\GitDownloaderTest::testUpdateThrowsRuntimeExceptionIfGitCommandFails
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 22) Composer\Test\Downloader\HgDownloaderTest::testDownloadForPackageWithoutSourceReference
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 23) Composer\Test\Downloader\HgDownloaderTest::testUpdateforPackageWithoutSourceReference
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 24) Composer\Test\Downloader\ZipDownloaderTest::testErrorMessages
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 25) Composer\Test\Downloader\ZipDownloaderTest::testZipArchiveOnlyFailed
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 26) Composer\Test\Downloader\ZipDownloaderTest::testZipArchiveExtractOnlyFailed
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 27) Composer\Test\Downloader\ZipDownloaderTest::testSystemUnzipOnlyFailed
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 28) Composer\Test\Downloader\ZipDownloaderTest::testNonWindowsFallbackFailed
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 29) Composer\Test\Downloader\ZipDownloaderTest::testWindowsFallbackFailed
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 30) Composer\Test\EventDispatcher\EventDispatcherTest::testListenerExceptionsAreCaught
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 31) Composer\Test\EventDispatcher\EventDispatcherTest::testDispatcherDetectInfiniteRecursion
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 32) Composer\Test\IO\NullIOTest::testgetAuthentications
> assertInternalType() is deprecated and will be removed in PHPUnit 9. Refactor your test to use assertIsArray(), assertIsBool(), assertIsFloat(), assertIsInt(), assertIsNumeric(), assertIsObject(), assertIsResource(), assertIsString(), assertIsScalar(), assertIsCallable(), or assertIsIterable() instead.
>
> 33) Composer\Test\Json\JsonFileTest::testParseErrorDetectExtraComma
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 34) Composer\Test\Json\JsonFileTest::testParseErrorDetectExtraCommaInArray
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 35) Composer\Test\Json\JsonFileTest::testParseErrorDetectUnescapedBackslash
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 36) Composer\Test\Json\JsonFileTest::testParseErrorSkipsEscapedBackslash
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 37) Composer\Test\Json\JsonFileTest::testParseErrorDetectSingleQuotes
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 38) Composer\Test\Json\JsonFileTest::testParseErrorDetectMissingQuotes
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 39) Composer\Test\Json\JsonFileTest::testParseErrorDetectArrayAsHash
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 40) Composer\Test\Json\JsonFileTest::testParseErrorDetectMissingComma
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 41) Composer\Test\Json\JsonFileTest::testParseErrorDetectMissingCommaMultiline
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 42) Composer\Test\Json\JsonFileTest::testParseErrorDetectMissingColon
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 43) Composer\Test\Package\BasePackageTest::testSetAnotherRepository
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 44) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithInvalidCapabilityClassNameThrows with data set #0 (null)
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 45) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithInvalidCapabilityClassNameThrows with data set #1 ('')
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 46) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithInvalidCapabilityClassNameThrows with data set #2 (0)
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 47) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithInvalidCapabilityClassNameThrows with data set #3 (1000)
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 48) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithInvalidCapabilityClassNameThrows with data set #4 (' ')
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 49) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithInvalidCapabilityClassNameThrows with data set #5 (array(1))
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 50) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithInvalidCapabilityClassNameThrows with data set #6 (array())
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 51) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithInvalidCapabilityClassNameThrows with data set #7 (stdClass Object ())
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 52) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithNonExistingOrWrongCapabilityClassTypesThrows with data set #0 ('\stdClass')
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 53) Composer\Test\Plugin\PluginInstallerTest::testQueryingWithNonExistingOrWrongCapabilityClassTypesThrows with data set #1 ('NonExistentClassLikeMiddleClass')
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 54) Composer\Test\Question\StrictConfirmationQuestionTest::testAskConfirmationBadAnswer with data set #0 ('not correct')
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 55) Composer\Test\Question\StrictConfirmationQuestionTest::testAskConfirmationBadAnswer with data set #1 ('no more')
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 56) Composer\Test\Question\StrictConfirmationQuestionTest::testAskConfirmationBadAnswer with data set #2 ('yes please')
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 57) Composer\Test\Question\StrictConfirmationQuestionTest::testAskConfirmationBadAnswer with data set #3 ('yellow')
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 58) Composer\Test\Repository\FilesystemRepositoryTest::testCorruptedRepositoryFile
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 59) Composer\Test\Repository\Pear\ChannelReaderTest::testShouldCreatePackages
> The optional $delta parameter of assertEquals() is deprecated and will be removed in PHPUnit 9. Refactor your test to use assertEqualsWithDelta() instead.
>
> 60) Composer\Test\Repository\Vcs\SvnDriverTest::testWrongCredentialsInUrl
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 61) Composer\Test\Util\GitLabTest::testUsernamePasswordFailure
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 62) Composer\Test\Util\GitTest::testRunCommandPrivateGitHubRepositoryNotInitialCloneNotInteractiveWithoutAuthentication
> The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageRegExp() instead.
>
> 63) Composer\Test\Util\IniHelperTest::testWithNoIni
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 64) Composer\Test\Util\IniHelperTest::testWithLoadedIniOnly
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 65) Composer\Test\Util\IniHelperTest::testWithLoadedIniAndAdditional
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 66) Composer\Test\Util\IniHelperTest::testWithoutLoadedIniAndAdditional
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 67) Composer\Test\Util\RemoteFilesystemTest::testCallbackGetFileSize
> assertAttributeEquals() is deprecated and will be removed in PHPUnit 9.
> readAttribute() is deprecated and will be removed in PHPUnit 9.
> getObjectAttribute() is deprecated and will be removed in PHPUnit 9.
>
> 68) Composer\Test\Util\RemoteFilesystemTest::testCallbackGetNotifyProgress
> assertAttributeEquals() is deprecated and will be removed in PHPUnit 9.
> readAttribute() is deprecated and will be removed in PHPUnit 9.
> getObjectAttribute() is deprecated and will be removed in PHPUnit 9.
>
> 69) Composer\Test\Util\RemoteFilesystemTest::testGetContents
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 70) Composer\Test\Util\RemoteFilesystemTest::testCopy
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> --
>
> There were 26 risky tests:
>
> 1) Composer\Test\ConfigTest::testAllowedUrlsPass with data set "https://packagist.org" ('https://packagist.org')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/ConfigTest.php:228
>
> 2) Composer\Test\ConfigTest::testAllowedUrlsPass with data set "git at github.com:composer/composer.git" ('git at github.com:composer/composer.git')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/ConfigTest.php:228
>
> 3) Composer\Test\ConfigTest::testAllowedUrlsPass with data set "hg://user:pass@my.satis/satis" ('hg://user:pass@my.satis/satis')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/ConfigTest.php:228
>
> 4) Composer\Test\ConfigTest::testAllowedUrlsPass with data set "\myserver\myplace.git" ('\myserver\myplace.git')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/ConfigTest.php:228
>
> 5) Composer\Test\ConfigTest::testAllowedUrlsPass with data set "file://myserver.localhost/mygit.git" ('file://myserver.localhost/mygit.git')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/ConfigTest.php:228
>
> 6) Composer\Test\ConfigTest::testAllowedUrlsPass with data set "file://example.org/mygit.git" ('file://example.org/mygit.git')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/ConfigTest.php:228
>
> 7) Composer\Test\ConfigTest::testAllowedUrlsPass with data set "git:Department/Repo.git" ('git:Department/Repo.git')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/ConfigTest.php:228
>
> 8) Composer\Test\ConfigTest::testAllowedUrlsPass with data set "ssh://[user@]host.xz[:port]/path/to/repo.git/" ('ssh://[user@]host.xz[:port]/p...o.git/')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/ConfigTest.php:228
>
> 9) Composer\Test\Downloader\FossilDownloaderTest::testRemove
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Downloader/FossilDownloaderTest.php:146
>
> 10) Composer\Test\Downloader\GitDownloaderTest::testRemove
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Downloader/GitDownloaderTest.php:704
>
> 11) Composer\Test\Downloader\HgDownloaderTest::testRemove
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Downloader/HgDownloaderTest.php:135
>
> 12) Composer\Test\Downloader\PerforceDownloaderTest::testInitPerforceInstantiatesANewPerforceObject
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Downloader/PerforceDownloaderTest.php:106
>
> 13) Composer\Test\Package\BasePackageTest::testSetSameRepository
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Package/BasePackageTest.php:20
>
> 14) Composer\Test\Package\Loader\ArrayLoaderTest::testParseDumpProvider
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Package/Loader/ArrayLoaderTest.php:86
>
> 15) Composer\Test\Repository\Pear\ChannelReaderTest::testShouldSelectCorrectReader
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/Pear/ChannelReaderTest.php:51
>
> 16) Composer\Test\Repository\RepositoryManagerTest::testRepoCreation with data set #0 ('composer', array('http://example.org'))
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/RepositoryManagerTest.php:55
>
> 17) Composer\Test\Repository\RepositoryManagerTest::testRepoCreation with data set #1 ('vcs', array('http://github.com/foo/bar'))
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/RepositoryManagerTest.php:55
>
> 18) Composer\Test\Repository\RepositoryManagerTest::testRepoCreation with data set #2 ('git', array('http://github.com/foo/bar'))
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/RepositoryManagerTest.php:55
>
> 19) Composer\Test\Repository\RepositoryManagerTest::testRepoCreation with data set #3 ('git', array('git at example.org:foo/bar.git'))
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/RepositoryManagerTest.php:55
>
> 20) Composer\Test\Repository\RepositoryManagerTest::testRepoCreation with data set #4 ('svn', array('svn://example.org/foo/bar'))
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/RepositoryManagerTest.php:55
>
> 21) Composer\Test\Repository\RepositoryManagerTest::testRepoCreation with data set #5 ('pear', array('http://pear.example.org/foo'))
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/RepositoryManagerTest.php:55
>
> 22) Composer\Test\Repository\RepositoryManagerTest::testRepoCreation with data set #6 ('package', array(array()))
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/RepositoryManagerTest.php:55
>
> 23) Composer\Test\Repository\RepositoryManagerTest::testRepoCreation with data set #8 ('artifact', array('/path/to/zips'))
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/RepositoryManagerTest.php:55
>
> 24) Composer\Test\Util\ErrorHandlerTest::testErrorHandlerRespectsAtOperator
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Util/ErrorHandlerTest.php:51
>
> 25) Composer\Test\Util\GitTest::testRunCommandPrivateGitHubRepositoryNotInitialCloneNotInteractiveWithAuthentication with data set #0 ('git at github.com:acme/repo.git', 'ssh', 'MY_GITHUB_TOKEN', 'https://token:MY_GITHUB_TOKEN...po.git')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Util/GitTest.php:92
>
> 26) Composer\Test\Util\GitTest::testRunCommandPrivateGitHubRepositoryNotInitialCloneNotInteractiveWithAuthentication with data set #1 ('https://github.com/acme/repo', 'https', 'MY_GITHUB_TOKEN', 'https://token:MY_GITHUB_TOKEN...po.git')
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Util/GitTest.php:92
>
> --
>
> There were 8 skipped tests:
>
> 1) Composer\Test\AllFunctionalTest::testIntegration with data set #0 (Symfony\Component\Finder\SplFileInfo Object (...))
> This test depends on "Composer\Test\AllFunctionalTest::testBuildPhar" to pass.
>
> 2) Composer\Test\AllFunctionalTest::testIntegration with data set #1 (Symfony\Component\Finder\SplFileInfo Object (...))
> This test depends on "Composer\Test\AllFunctionalTest::testBuildPhar" to pass.
>
> 3) Composer\Test\Downloader\PerforceDownloaderTest::testDoDownloadWithTag
> This test depends on "Composer\Test\Downloader\PerforceDownloaderTest::testInitPerforceInstantiatesANewPerforceObject" to pass.
>
> 4) Composer\Test\Downloader\PerforceDownloaderTest::testDoDownloadWithNoTag
> This test depends on "Composer\Test\Downloader\PerforceDownloaderTest::testInitPerforceInstantiatesANewPerforceObject" to pass.
>
> 5) Composer\Test\Repository\PlatformRepositoryTest::testHHVMVersionWhenExecutingInHHVM
> Not running with HHVM
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/PlatformRepositoryTest.php:23
>
> 6) Composer\Test\Repository\PlatformRepositoryTest::testHHVMVersionWhenExecutingInPHP
> HHVM is not installed
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/PlatformRepositoryTest.php:55
>
> 7) Composer\Test\Repository\VcsRepositoryTest::testLoadVersions
> Could not create and move into the temp git repo /tmp/composer-test-45935e51e8ce15a28
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Repository/VcsRepositoryTest.php:124
>
> 8) Composer\Test\Util\ZipTest::testThrowsExceptionIfZipExcentionIsNotLoaded
> The PHP zip extension is loaded.
>
> /<<PKGBUILDDIR>>/tests/Composer/Test/Util/ZipTest.php:26
>
> ERRORS!
> Tests: 1191, Assertions: 2393, Errors: 2, Warnings: 70, Skipped: 8, Risky: 26.
> make[1]: *** [debian/rules:30: override_dh_auto_test] Error 2
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/composer_1.9.3-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-php-pear
mailing list