[pkg-php-pear] Bug#1013513: php-nrk-predis: FTBFS: make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1
Lucas Nussbaum
lucas at debian.org
Fri Jun 24 11:07:45 BST 2022
Source: php-nrk-predis
Version: 1.1.10-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> redis-server --daemonize yes
> phpunit --exclude-group wip --bootstrap vendor/autoload.php
> PHPUnit 9.5.21 [44;37m#StandWith[0m[43mUkraine[0m
>
> Warning - The configuration file did not pass validation!
> The following problems have been detected:
>
> Line 13:
> - Element 'phpunit', attribute 'syntaxCheck': The attribute 'syntaxCheck' is not allowed.
> - Element 'phpunit', attribute 'beStrictAboutTestSize': The attribute 'beStrictAboutTestSize' is not allowed.
>
> Line 33:
> - Element 'filter': This element is not expected.
>
> Test results may not be as expected.
>
>
> .......................W....WW...............W............... 61 / 2253 ( 2%)
> ...............................................WWWWWWWWW....W 122 / 2253 ( 5%)
> WWWWWWWW...W..WW....WWWWWWWWW.....WWWWWWWWW.................. 183 / 2253 ( 8%)
> ............................................................. 244 / 2253 ( 10%)
> ............................................................. 305 / 2253 ( 13%)
> ............................................................. 366 / 2253 ( 16%)
> ............................................................. 427 / 2253 ( 18%)
> ............................................................. 488 / 2253 ( 21%)
> ............................................................. 549 / 2253 ( 24%)
> ............................................................. 610 / 2253 ( 27%)
> ............................................................. 671 / 2253 ( 29%)
> ............................................................. 732 / 2253 ( 32%)
> ............................................................. 793 / 2253 ( 35%)
> .................................................S........... 854 / 2253 ( 37%)
> .............................F...........F................... 915 / 2253 ( 40%)
> ..........................................W.................. 976 / 2253 ( 43%)
> ............................................................. 1037 / 2253 ( 46%)
> ............................................................. 1098 / 2253 ( 48%)
> ........................................S.................... 1159 / 2253 ( 51%)
> ............................................................. 1220 / 2253 ( 54%)
> ............................................................. 1281 / 2253 ( 56%)
> ............................................................. 1342 / 2253 ( 59%)
> ............................................................. 1403 / 2253 ( 62%)
> ............................................................. 1464 / 2253 ( 64%)
> ............................................................. 1525 / 2253 ( 67%)
> ............................................................. 1586 / 2253 ( 70%)
> .....W.......................................WW.............. 1647 / 2253 ( 73%)
> ..............................W...WW....W............W.W....W 1708 / 2253 ( 75%)
> .......WWWWWWWWWW..................................W......... 1769 / 2253 ( 78%)
> ..............W.......................................SSSSSSS 1830 / 2253 ( 81%)
> SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 1891 / 2253 ( 83%)
> SSSSSSS...............................W......SSSSSSSSSSSS.... 1952 / 2253 ( 86%)
> .W.W.W....................................................... 2013 / 2253 ( 89%)
> ............................................................. 2074 / 2253 ( 92%)
> ............................................................. 2135 / 2253 ( 94%)
> ...W........W.......W........................................ 2196 / 2253 ( 97%)
> ......................................................... 2253 / 2253 (100%)
>
> Time: 00:12.642, Memory: 42.00 MB
>
> There were 73 warnings:
>
> 1) Predis\ClientTest::testExecuteCommandReturnsParsedResponses
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 2) Predis\ClientTest::testRawCommand
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 3) Predis\ClientTest::testRawCommandNeverAppliesPrefix
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 4) Predis\ClientTest::testClientResendScriptCommandUsingEvalOnNoScriptErrors
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 5) Predis\Collection\Iterator\HashKeyTest::testIterationOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 6) Predis\Collection\Iterator\HashKeyTest::testIterationOnMultipleFetchesAndHoleInFirstFetch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 7) Predis\Collection\Iterator\HashKeyTest::testIterationOnMultipleFetchesAndHoleInMidFetch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 8) Predis\Collection\Iterator\HashKeyTest::testIterationWithOptionMatch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 9) Predis\Collection\Iterator\HashKeyTest::testIterationWithOptionMatchOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 10) Predis\Collection\Iterator\HashKeyTest::testIterationWithOptionCount
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 11) Predis\Collection\Iterator\HashKeyTest::testIterationWithOptionCountOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 12) Predis\Collection\Iterator\HashKeyTest::testIterationWithOptionsMatchAndCount
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 13) Predis\Collection\Iterator\HashKeyTest::testIterationWithOptionsMatchAndCountOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 14) Predis\Collection\Iterator\KeyspaceTest::testIterationOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 15) Predis\Collection\Iterator\KeyspaceTest::testIterationOnMultipleFetchesAndHoleInFirstFetch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 16) Predis\Collection\Iterator\KeyspaceTest::testIterationOnMultipleFetchesAndHoleInMidFetch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 17) Predis\Collection\Iterator\KeyspaceTest::testIterationWithOptionMatch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 18) Predis\Collection\Iterator\KeyspaceTest::testIterationWithOptionMatchOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 19) Predis\Collection\Iterator\KeyspaceTest::testIterationWithOptionCount
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 20) Predis\Collection\Iterator\KeyspaceTest::testIterationWithOptionCountOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 21) Predis\Collection\Iterator\KeyspaceTest::testIterationWithOptionsMatchAndCount
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 22) Predis\Collection\Iterator\KeyspaceTest::testIterationWithOptionsMatchAndCountOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 23) Predis\Collection\Iterator\ListKeyTest::testIterationOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 24) Predis\Collection\Iterator\ListKeyTest::testIterationWithCountParameter
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 25) Predis\Collection\Iterator\ListKeyTest::testIterationWithCountParameterOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 26) Predis\Collection\Iterator\SetKeyTest::testIterationOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 27) Predis\Collection\Iterator\SetKeyTest::testIterationOnMultipleFetchesAndHoleInFirstFetch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 28) Predis\Collection\Iterator\SetKeyTest::testIterationOnMultipleFetchesAndHoleInMidFetch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 29) Predis\Collection\Iterator\SetKeyTest::testIterationWithOptionMatch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 30) Predis\Collection\Iterator\SetKeyTest::testIterationWithOptionMatchOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 31) Predis\Collection\Iterator\SetKeyTest::testIterationWithOptionCount
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 32) Predis\Collection\Iterator\SetKeyTest::testIterationWithOptionCountOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 33) Predis\Collection\Iterator\SetKeyTest::testIterationWithOptionsMatchAndCount
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 34) Predis\Collection\Iterator\SetKeyTest::testIterationWithOptionsMatchAndCountOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 35) Predis\Collection\Iterator\SortedSetKeyTest::testIterationOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 36) Predis\Collection\Iterator\SortedSetKeyTest::testIterationOnMultipleFetchesAndHoleInFirstFetch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 37) Predis\Collection\Iterator\SortedSetKeyTest::testIterationOnMultipleFetchesAndHoleInMidFetch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 38) Predis\Collection\Iterator\SortedSetKeyTest::testIterationWithOptionMatch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 39) Predis\Collection\Iterator\SortedSetKeyTest::testIterationWithOptionMatchOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 40) Predis\Collection\Iterator\SortedSetKeyTest::testIterationWithOptionCount
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 41) Predis\Collection\Iterator\SortedSetKeyTest::testIterationWithOptionCountOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 42) Predis\Collection\Iterator\SortedSetKeyTest::testIterationWithOptionsMatchAndCount
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 43) Predis\Collection\Iterator\SortedSetKeyTest::testIterationWithOptionsMatchAndCountOnMultipleFetches
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 44) Predis\Command\ServerObjectTest::testObjectEncoding
> assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.
>
> 45) Predis\Configuration\ReplicationOptionTest::testConfiguresAutomaticDiscoveryWhenAutodiscoveryOptionIsPresent
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 46) Predis\Connection\Aggregate\MasterSlaveReplicationTest::testDiscoversReplicationConfigurationFromSlave
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 47) Predis\Connection\Aggregate\MasterSlaveReplicationTest::testDiscoversReplicationConfigurationFromSlaveIfMasterFails
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 48) Predis\Connection\Aggregate\RedisClusterTest::testRetriesExecutingCommandOnConnectionFailureOnlyAfterFetchingNewSlotsMap
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 49) Predis\Connection\Aggregate\RedisClusterTest::testAskResponseWithConnectionInPool
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 50) Predis\Connection\Aggregate\RedisClusterTest::testAskResponseWithConnectionNotInPool
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 51) Predis\Connection\Aggregate\RedisClusterTest::testAskSlotsMapToRedisClusterOnMovedResponseByDefault
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 52) Predis\Connection\Aggregate\SentinelReplicationTest::testMethodGetMasterAsksSentinelForMasterOnMasterNotSet
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 53) Predis\Connection\Aggregate\SentinelReplicationTest::testMethodGetSlavesOnEmptySlavePoolAsksSentinelForSlaves
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 54) Predis\Connection\Aggregate\SentinelReplicationTest::testMethodConnectOnEmptySlavePoolAsksSentinelForSlavesAndForcesConnectionToMasterIfStillEmpty
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 55) Predis\Connection\Aggregate\SentinelReplicationTest::testGetConnectionReturnsMasterForWriteCommands
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 56) Predis\Connection\Aggregate\SentinelReplicationTest::testGetConnectionReturnsSlaveForReadOnlyCommands
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 57) Predis\Connection\Aggregate\SentinelReplicationTest::testGetConnectionSwitchesToMasterAfterWriteCommand
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 58) Predis\Connection\Aggregate\SentinelReplicationTest::testGetConnectionThrowsExceptionOnNodeRoleMismatch
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 59) Predis\Connection\Aggregate\SentinelReplicationTest::testGetConnectionReturnsMasterForReadOnlyOperationsOnUnavailableSlaves
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 60) Predis\Connection\Aggregate\SentinelReplicationTest::testMethodExecuteCommandSendsCommandToNodeAndReturnsResponse
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 61) Predis\Connection\Aggregate\SentinelReplicationTest::testMethodExecuteCommandRetriesReadOnlyCommandOnNextSlaveOnFailure
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 62) Predis\Connection\Aggregate\SentinelReplicationTest::testMethodExecuteCommandRetriesWriteCommandOnNewMasterOnFailure
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 63) Predis\Connection\Aggregate\SentinelReplicationTest::testMethodExecuteCommandThrowsExceptionOnUnknownServiceName
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 64) Predis\Connection\Aggregate\SentinelReplicationTest::testMethodExecuteCommandThrowsExceptionOnConnectionFailureAndNoAvailableSentinels
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 65) Predis\Connection\CompositeStreamConnectionTest::testReadsErrorResponsesAsResponseErrorObjects
> assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.
>
> 66) Predis\Connection\FactoryTest::testCreateConnectionWithInitializationCommands
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 67) Predis\Connection\StreamConnectionTest::testReadsErrorResponsesAsResponseErrorObjects
> assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.
>
> 68) Predis\Pipeline\AtomicTest::testPipelineWithSingleConnection
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 69) Predis\Pipeline\AtomicTest::testPipelineWithErrorInTransaction
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 70) Predis\Pipeline\AtomicTest::testReturnsResponseErrorWithClientExceptionsSetToFalse
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 71) Predis\Protocol\Text\MultiBulkResponseTest::testMultiBulk
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 72) Predis\Protocol\Text\ProtocolProcessorTest::testConnectionRead
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> 73) Predis\Protocol\Text\ResponseReaderTest::testReadResponse
> The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
>
> --
>
> There were 2 failures:
>
> 1) Predis\Command\ServerCommandTest::testReturnsCommandInfoOnExistingCommand
> Failed asserting that two arrays are equal.
> --- Expected
> +++ Actual
> @@ @@
> 4 => 1
> 5 => 1
> 6 => Array (...)
> + 7 => Array ()
> + 8 => Array (...)
> + 9 => Array ()
> )
> )
>
> /<<PKGBUILDDIR>>/tests/Predis/Command/ServerCommandTest.php:123
>
> 2) Predis\Command\ServerConfigTest::testThrowsExceptionWhenSettingUnknownConfiguration
> Failed asserting that exception message 'ERR Unknown option or number of arguments for CONFIG SET - 'foo'' contains 'ERR Unsupported CONFIG parameter: foo'.
>
> FAILURES!
> Tests: 2253, Assertions: 4930, Failures: 2, Warnings: 73, Skipped: 89.
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/06/24/php-nrk-predis_1.1.10-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-php-pear
mailing list