The GlobalBlocking extension tests fail with using a postgres DB with the following:
107) MediaWiki\Extension\GlobalBlocking\Test\Integration\Api\ApiGlobalBlockTest::testExecuteForBlockWithLocalBlockButHasExistingLocalBlock with data set "User target" ('GlobalBlockingTestTarget') Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/includes/block/BlockUser.php:459 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Api/ApiGlobalBlockTest.php:128 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:336 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for en from source [] [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.3c8"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.3c8 from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.3c8"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:e3b3bfff49bc836736fb1605daad8bfe): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.3c8"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":166870} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":166870,"walltime":0.0010459423065185547} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":153543} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":153543,"walltime":0.0010368824005126953} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#167665,replica} [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [DatabaseBlockStore] [debug] Inserting block; timestamp 20200305060708 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":157444} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":157444,"walltime":0.0005698204040527344} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for GlobalBlockingTestTarget [] === 108) MediaWiki\Extension\GlobalBlocking\Test\Integration\Api\ApiGlobalBlockTest::testExecuteForBlockWithLocalBlock with data set "User target" ('GlobalBlockingTestTarget') Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/includes/block/BlockUser.php:459 /workspace/src/extensions/GlobalBlocking/includes/Api/ApiGlobalBlock.php:98 /workspace/src/includes/api/ApiMain.php:1953 /workspace/src/includes/api/ApiMain.php:898 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:184 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:224 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Api/ApiGlobalBlockTest.php:166 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:336 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for en from source [] [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.3cb"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.3cb from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.3cb"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:2b35787e3236b0b619b0727555564ff7): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.3cb"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":169636} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":169636,"walltime":0.0009620189666748047} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":170414} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":170414,"walltime":0.0010280609130859375} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId} {"updateId":157154} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [UserOptionsManager] [debug] Loading options from database {"user_id":2} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#149914,replica} [] [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#161904,replica} [] [GlobalTitleFail] [info] MediaWiki\Context\RequestContext::getTitle called with no title set. {"exception":{}} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId}, processing time: {walltime} {"updateId":157154,"walltime":0.20583701133728027} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#163229,replica} [] [DatabaseBlockStore] [debug] Inserting block; timestamp 20200305060708 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":147413} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":147413,"walltime":0.0008821487426757812} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for GlobalBlockingTestTarget [] === 109) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockLogFormatterTest::testLogDatabaseRowsForHiddenUser with data set "User does not have suppress group" (false) Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/includes/block/BlockUser.php:459 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockLogFormatterTest.php:294 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for en from source [] [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f1"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser MediaWikiIntegrationTestCase 65723f.3f1 from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f1"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:6fff0bcab4ffc8ded49eb81fc1c87742): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f1"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.3f2"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.3f2 from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.3f2"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:89e39462f063c741cf5d5df1cd10da92): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.3f2"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":154507} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":154507,"walltime":0.0011179447174072266} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":155796} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":155796,"walltime":0.0009989738464355469} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#154411,replica} [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [DatabaseBlockStore] [debug] Inserting block; timestamp 20240716191529 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":157190} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":157190,"walltime":0.0005300045013427734} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for TestUser MediaWikiIntegrationTestCase 65723f.3f1 [] === 110) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockLogFormatterTest::testLogDatabaseRowsForHiddenUser with data set "User has suppress group" (true) Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/includes/block/BlockUser.php:459 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockLogFormatterTest.php:294 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for en from source [] [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f3"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser MediaWikiIntegrationTestCase 65723f.3f3 from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f3"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:0bdb66a8b110976caa03b3943ee03810): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f3"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.3f4"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.3f4 from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.3f4"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:4b8eea28a7bafb9316ef860215d92ee1): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.3f4"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":154616} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":154616,"walltime":0.0007839202880859375} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":153447} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":153447,"walltime":0.0007579326629638672} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#154604,replica} [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [DatabaseBlockStore] [debug] Inserting block; timestamp 20240716191529 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":156438} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":156438,"walltime":0.00035190582275390625} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for TestUser MediaWikiIntegrationTestCase 65723f.3f3 [] === 111) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnSpecialContributionsBeforeMainOutput with data set "Special:Contributions for 1.2.3.4" ('1.2.3.4', true, '1.2.3.4') Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 3 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 3 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:409 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:701 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:636 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.3f8"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.3f8 from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.3f8"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:f262593c68a23abbef1fd428394d1fac): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.3f8"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":173470} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":173470,"walltime":0.0007290840148925781} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f9"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser MediaWikiIntegrationTestCase 65723f.3f9 from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f9"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:7eee76554d3261af8dd40bff370e87bc): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3f9"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3fa"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser MediaWikiIntegrationTestCase 65723f.3fa from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3fa"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:fd7dd09f8b77a7cbb7569aa2029c391f): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser MediaWikiIntegrationTestCase 65723f.3fa"} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId} {"updateId":172353} [UserOptionsManager] [debug] Loading options from database {"user_id":1} [GlobalTitleFail] [info] MediaWiki\Context\RequestContext::getTitle called with no title set. {"exception":{}} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId}, processing time: {walltime} {"updateId":172353,"walltime":0.008835077285766602} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId} {"updateId":173752} [GlobalTitleFail] [info] MediaWiki\Context\RequestContext::getTitle called with no title set. {"exception":{}} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId}, processing time: {walltime} {"updateId":173752,"walltime":0.004630088806152344} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId} {"updateId":155475} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#170190,replica} [] [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#153184,replica} [] [GlobalTitleFail] [info] MediaWiki\Context\RequestContext::getTitle called with no title set. {"exception":{}} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId}, processing time: {walltime} {"updateId":155475,"walltime":0.012274026870727539} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId} {"updateId":169778} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#138124,replica} [] [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#167782,replica} [] [GlobalTitleFail] [info] MediaWiki\Context\RequestContext::getTitle called with no title set. {"exception":{}} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId}, processing time: {walltime} {"updateId":169778,"walltime":0.011306047439575195} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.3fb"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.3fb from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.3fb"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:e17a70ee4714d7662009c0d101c90899): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.3fb"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":155932} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":155932,"walltime":0.0007059574127197266} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":161217} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":161217,"walltime":0.000698089599609375} [DatabaseBlockStore] [debug] Inserting block; timestamp 20240716191529 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":163460} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":163460,"walltime":0.0003840923309326172} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for TestUser MediaWikiIntegrationTestCase 65723f.3fa [] === 112) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnSpecialContributionsBeforeMainOutputForGloballyBlockedUser Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$testGloballyBlockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:97 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 113) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnSpecialContributionsBeforeMainOutputForGloballyBlockedUserWhenGlobalAccountBlocksDisabled Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$testGloballyBlockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:104 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 114) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnSpecialContributionsBeforeMainOutputForNotBlockedUser Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$unblockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:110 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 115) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnSpecialContributionsBeforeMainOutputForHiddenUser with data set "User has hideuser right" (true) Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$hiddenUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:123 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 116) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnSpecialContributionsBeforeMainOutputForHiddenUser with data set "User does not have hideuser right" (false) Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$hiddenUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:123 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 117) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnUserIsBlockedGloballyForGloballyBlockedUser Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$testGloballyBlockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:174 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 118) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnUserIsBlockedGloballyForNotBlockedUserButBlockedViaIP Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$unblockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:179 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 119) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnUserIsBlockedGloballyForNotBlockedUser Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$unblockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:183 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 120) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnOtherBlockLogLinkForGloballyBlockedUser Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$testGloballyBlockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:214 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 121) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnOtherBlockLogLinkForGloballyBlockedUserWhenGlobalAccountBlocksAreDisabled Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$testGloballyBlockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:219 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 122) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnOtherBlockLogLinkForNotBlockedUser Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$unblockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:223 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 123) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnOtherBlockLogLinkForHiddenUser with data set "User has hideuser right" (true) Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$hiddenUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:234 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 124) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnOtherBlockLogLinkForHiddenUser with data set "User does not have hideuser right" (false) Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$hiddenUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:234 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 125) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnContributionsToolLinksForGloballyBlockedUser Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$testGloballyBlockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:296 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 126) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnContributionsToolLinksForGloballyBlockedUserWhenGlobalAccountBlocksDisabled Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$testGloballyBlockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:303 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 127) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnContributionsToolLinksForNotBlockedUser Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$unblockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:308 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 128) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnContributionsToolLinksForHiddenUser with data set "User has hideuser right" (true) Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$hiddenUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:321 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 129) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnContributionsToolLinksForHiddenUser with data set "User does not have hideuser right" (false) Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$hiddenUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:321 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 130) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnGetUserBlockWhenNoMatchingBlockFound Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$unblockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:329 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 131) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnGetUserBlockWhenMatchingBlockFound Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$unblockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:343 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 132) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnGetUserBlockForCompositeBlock Error: Typed static property MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::$testGloballyBlockedUser must not be accessed before initialization /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:357 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 133) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockingUserVisibilityLookupTest::testCheckAuthorityCanSeeUserForHiddenUser with data set "User does not have suppress group" (false) Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/includes/block/BlockUser.php:459 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockingUserVisibilityLookupTest.php:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser MediaWikiIntegrationTestCase 65723f.43a"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser MediaWikiIntegrationTestCase 65723f.43a from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser MediaWikiIntegrationTestCase 65723f.43a"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:4a0380a82d7ad0e024e24b297aeea92d): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser MediaWikiIntegrationTestCase 65723f.43a"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.43b"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.43b from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.43b"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:a167a3690a4ceb889ecc39e19c242c5b): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.43b"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":172981} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":172981,"walltime":0.0008759498596191406} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":154627} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":154627,"walltime":0.0007719993591308594} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#156954,replica} [] [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [DatabaseBlockStore] [debug] Inserting block; timestamp 20240716191534 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":154489} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":154489,"walltime":0.00047707557678222656} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for TestUser MediaWikiIntegrationTestCase 65723f.43a [] === 134) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockingUserVisibilityLookupTest::testCheckAuthorityCanSeeUserForHiddenUser with data set "User has suppress group" (true) Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 1 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/includes/block/BlockUser.php:459 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockingUserVisibilityLookupTest.php:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser MediaWikiIntegrationTestCase 65723f.43c"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser MediaWikiIntegrationTestCase 65723f.43c from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser MediaWikiIntegrationTestCase 65723f.43c"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:ff58151a88f2f2f14d2d8ca4778e614d): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser MediaWikiIntegrationTestCase 65723f.43c"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.43d"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.43d from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.43d"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:bdd6358cc7ddff6ac194530e963244f0): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.43d"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":156931} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":156931,"walltime":0.0012650489807128906} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":176059} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":176059,"walltime":0.0012409687042236328} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#171492,replica} [] [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [DatabaseBlockStore] [debug] Inserting block; timestamp 20240716191534 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":168082} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":168082,"walltime":0.0006861686706542969} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for TestUser MediaWikiIntegrationTestCase 65723f.43c [] === 135) MediaWiki\Extension\GlobalBlocking\Test\Integration\Specials\GlobalBlockListPagerTest::testFormatRowForGloballyBlockedUser with data set "Globally blocked user is hidden from the current user" (true) Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 2 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 2 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/includes/block/BlockUser.php:459 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Special/GlobalBlockListPagerTest.php:105 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.443"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.443 from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.443"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:fefba39e05ebbb049ae02536985be5a5): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.443"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":153583} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":153583,"walltime":0.0008099079132080078} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":176280} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":176280,"walltime":0.000804901123046875} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#146631,replica} [] [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [DatabaseBlockStore] [debug] Inserting block; timestamp 20240716191534 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":157316} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":157316,"walltime":0.0005259513854980469} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for TestUser MediaWikiIntegrationTestCase 65723f.442 [] === 136) MediaWiki\Extension\GlobalBlocking\Test\Integration\Special\SpecialGlobalBlockTest::testSubmitForUserTargetWhenLocalBlockSpecified Wikimedia\Rdbms\DBQueryError: Error 42803: ERROR: column "unittest_cu_changes.cuc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...or)) WHERE actor_user = 2 GROUP BY ip ORDER BY cuc_timest... ^ Function: MediaWiki\CheckUser\HookHandler\PerformRetroactiveAutoblockHandler::onPerformRetroactiveAutoblock Query: SELECT cuc_ip AS "ip",MAX(cuc_timestamp) AS "timestamp" FROM "unittest_cu_changes" JOIN "unittest_actor" ON ((actor_id=cuc_actor)) WHERE actor_user = 2 GROUP BY ip ORDER BY cuc_timestamp DESC LIMIT 1 /workspace/src/includes/libs/rdbms/database/Database.php:1194 /workspace/src/includes/libs/rdbms/database/Database.php:1178 /workspace/src/includes/libs/rdbms/database/Database.php:1152 /workspace/src/includes/libs/rdbms/database/Database.php:643 /workspace/src/includes/libs/rdbms/database/Database.php:1341 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:127 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:351 /workspace/src/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php:746 /workspace/src/extensions/CheckUser/src/HookHandler/PerformRetroactiveAutoblockHandler.php:76 /workspace/src/includes/HookContainer/HookContainer.php:159 /workspace/src/includes/HookContainer/HookRunner.php:3075 /workspace/src/includes/block/DatabaseBlockStore.php:1486 /workspace/src/includes/block/DatabaseBlockStore.php:1012 /workspace/src/includes/block/BlockUser.php:596 /workspace/src/includes/block/BlockUser.php:533 /workspace/src/includes/block/BlockUser.php:459 /workspace/src/extensions/GlobalBlocking/includes/Special/SpecialGlobalBlock.php:343 /workspace/src/includes/htmlform/HTMLForm.php:793 /workspace/src/includes/htmlform/HTMLForm.php:674 /workspace/src/includes/htmlform/HTMLForm.php:690 /workspace/src/includes/specialpage/FormSpecialPage.php:232 /workspace/src/extensions/GlobalBlocking/includes/Special/SpecialGlobalBlock.php:75 /workspace/src/tests/phpunit/includes/specials/SpecialPageExecutor.php:120 /workspace/src/tests/phpunit/includes/specials/SpecialPageExecutor.php:50 /workspace/src/tests/phpunit/includes/specials/SpecialPageTestBase.php:75 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Special/SpecialGlobalBlockTest.php:235 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser MediaWikiIntegrationTestCase 65723f.45a"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser MediaWikiIntegrationTestCase 65723f.45a from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser MediaWikiIntegrationTestCase 65723f.45a"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:ccf245a432b5890f604412d48f378bd7): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser MediaWikiIntegrationTestCase 65723f.45a"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":140128} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":140128,"walltime":0.0016970634460449219} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.45b"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.45b from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.45b"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:7cb6ded55c1b10242439b459e9780f0e): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.45b"} [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser MediaWikiIntegrationTestCase 65723f.45c"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser MediaWikiIntegrationTestCase 65723f.45c from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser MediaWikiIntegrationTestCase 65723f.45c"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:3733f9f2ae7ddbcf756d0d8f37b0d229): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser MediaWikiIntegrationTestCase 65723f.45c"} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":157141} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":157141,"walltime":0.001074075698852539} [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId} {"updateId":174366} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_MediaWiki\User\UserGroupManager->addUserToGroup #{updateId}, processing time: {walltime} {"updateId":174366,"walltime":0.001188039779663086} [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [UserOptionsManager] [debug] Loading options from database {"user_id":1} [UserOptionsManager] [debug] Loading options from database {"user_id":3} [localisation] [debug] LocalisationCache::loadCoreData: got localisation for qqx from source [] [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#173787,replica} [] [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:valid-tags-db): miss, new value computed [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId} {"updateId":176280} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#175083,replica} [] [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#177333,replica} [] [GlobalTitleFail] [info] MediaWiki\Context\RequestContext::getTitle called with no title set. {"exception":{}} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\MWCallableUpdate_ManualLogEntry->publish #{updateId}, processing time: {walltime} {"updateId":176280,"walltime":0.022337913513183594} [BlockManager] [debug] Block cache miss with key BlockCacheKey{request=none,user=#173787,replica} [] [DatabaseBlockStore] [debug] Inserting block; timestamp 20240716191538 [] [DeferredUpdates] [debug] DeferredUpdates::run: started MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId} {"updateId":155963} [DeferredUpdates] [debug] DeferredUpdates::run: ended MediaWiki\Deferred\AutoCommitUpdate_MediaWiki\Block\DatabaseBlockStore::purgeExpiredBlocks #{updateId}, processing time: {walltime} {"updateId":155963,"walltime":0.0007421970367431641} [DatabaseBlockStore] [debug] Doing retroactive autoblocks for TestUser 65723f.45b [] === 15) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnSpecialContributionsBeforeMainOutput with data set "Special:Contributions for 1.2.3.5" ('1.2.3.5', true, '1.2.3.0/24') Expected block banner to be displayed for IP on Special:Contributions Failed asserting that '' contains "(globalblocking-contribs-notice". /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:69 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for qqx from source [] [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] === 16) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnUserIsBlockedGlobally with data set "User logged out using IP 1.2.3.4" ('1.2.3.4', '1.2.3.4', '1.2.3.4') The hook did not return the expected value Failed asserting that true is identical to false. /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:157 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 17) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnUserIsBlockedGlobally with data set "User logged out using IP 1.2.3.5" ('1.2.3.5', '1.2.3.5', '1.2.3.0/24') The hook did not return the expected value Failed asserting that true is identical to false. /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:157 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 18) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnOtherBlockLogLink with data set "Target is 1.2.3.4" ('1.2.3.4', true) The message should be added if the user is blocked. Failed asserting that actual size 0 does not match expected size 0. /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:193 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for qqx from source [] [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 19) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnOtherBlockLogLink with data set "Target is 1.2.3.5" ('1.2.3.5', true) The message should be added if the user is blocked. Failed asserting that actual size 0 does not match expected size 0. /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:193 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for qqx from source [] [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} === 20) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnContributionsToolLinks with data set "Target is 1.2.3.4 and user has globalblock right" ('1.2.3.4', array('globalblock'), array('(globalblocking-contribs-modify', '(globalblocking-contribs-remove')) An expected link text was not found in the tools array. Failed asserting that false is true. /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:261 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for qqx from source [] [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [GlobalTitleFail] [info] MediaWiki\Context\RequestContext::getTitle called with no title set. {"exception":{}} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} === 21) MediaWiki\Extension\GlobalBlocking\Test\Integration\GlobalBlockingHooksTest::testOnContributionsToolLinks with data set "Target is 1.2.3.4/24 and user has globalblock right" ('1.2.3.4/24', array('globalblock'), array('(globalblocking-contribs-modify', '(globalblocking-contribs-remove')) An expected link text was not found in the tools array. Failed asserting that false is true. /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/GlobalBlockingHooksTest.php:261 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [localisation] [debug] LocalisationCache::loadCoreData: got localisation for qqx from source [] [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [GlobalTitleFail] [info] MediaWiki\Context\RequestContext::getTitle called with no title set. {"exception":{}} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} === 22) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetUserBlockForNamedUser with data set "The IP used by the named user is blocked" ('77.8.9.10', 3) The GlobalBlock object returned by ::getUserBlock does not have the expected timestamp. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'2008-04-05 06:07:08+00' +'20080405060708' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:125 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.40d"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.40d from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.40d"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:97a1ad7a0cde4dc6e25ae4e3e92f3b12): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.40d"} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::loadCoreData: got localisation for en from source [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [objectcache] [debug] fetchOrRegenerate(global:GlobalBlocking:BlockReason:en:939bb46a04c3640c8c427e92b1b557e882e2d2a0:a94a8fe5ccb19ba61c4c0873d391e987982fbbd3): miss, new value computed [] === 23) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetUserBlockForNamedUser with data set "The IP range used by the named user is blocked" ('88.8.9.5', 4) The GlobalBlock object returned by ::getUserBlock does not have the expected timestamp. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'2008-04-05 06:07:08+00' +'20080405060708' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:125 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [CentralAuth] [debug] Loading state for global user {user} from DB {"user":"TestUser 65723f.40e"} [CentralAuth] [debug] Loading attached wiki list for global user TestUser 65723f.40e from DB [] [CentralAuth] [debug] Loading groups for global user {user} {"user":"TestUser 65723f.40e"} [objectcache] [debug] fetchOrRegenerate(global:centralauth-user:1f0bed8d40965b45239337bd0b9805f1): miss, new value computed [] [CentralAuth] [debug] Loading CentralAuthUser for user {user} from cache object {"user":"TestUser 65723f.40e"} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::loadCoreData: got localisation for en from source [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] [objectcache] [debug] fetchOrRegenerate(global:GlobalBlocking:BlockReason:en:939bb46a04c3640c8c427e92b1b557e882e2d2a0:a94a8fe5ccb19ba61c4c0873d391e987982fbbd3): miss, new value computed [] === 24) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetUserBlockForBlockOnNamedUser with data set "The IP used by the named user is blocked" ('77.8.9.10', 3) The GlobalBlock object returned by ::getUserBlock does not have the expected timestamp. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'2008-04-05 06:07:08+00' +'20080405060708' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:125 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:140 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::loadCoreData: got localisation for en from source [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] === 25) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetUserBlockForBlockOnNamedUser with data set "The IP range used by the named user is blocked" ('88.8.9.5', 4) The GlobalBlock object returned by ::getUserBlock does not have the expected timestamp. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'2008-04-05 06:07:08+00' +'20080405060708' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:125 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:140 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache::loadCoreData: got localisation for en from source [] [localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one [] === 26) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditions with data set "Single IPv4" ('1.2.3.4', 0, 0, '(gb_expiry > '20240219050403'...304'))') The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020304' AND gb_range_end >= '01020304'))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020304' AND gb_range_end >= '01020304'))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 27) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditions with data set "IPv4 /31" ('1.2.3.4/31', 0, 0, '(gb_expiry > '20240219050403'...305'))') The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020304' AND gb_range_end >= '01020305'))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020304' AND gb_range_end >= '01020305'))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 28) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditions with data set "IPv4 /24" ('1.2.3.4/24', 0, 0, '(gb_expiry > '20240219050403'...3FF'))') The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020300' AND gb_range_end >= '010203FF'))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020300' AND gb_range_end >= '010203FF'))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 29) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditions with data set "IPv4 /14" ('1.2.3.4/14', 0, 0, '(gb_expiry > '20240219050403'...FFF'))', 10) The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_range_start LIKE '01%' ESCAPE '`' AND gb_range_start <= '01000000' AND gb_range_end >= '0103FFFF'))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_range_start LIKE '01%' ESCAPE '`' AND gb_range_start <= '01000000' AND gb_range_end >= '0103FFFF'))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 30) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditions with data set "Single IPv6" ('2000:DEAD:BEEF:A:0:0:0:0', 0, 0, '(gb_expiry > '20240219050403'...000'))') The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_range_start LIKE 'v6-2000%' ESCAPE '`' AND gb_range_start <= 'v6-2000DEADBEEF000A0000000000000000' AND gb_range_end >= 'v6-2000DEADBEEF000A0000000000000000'))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_range_start LIKE 'v6-2000%' ESCAPE '`' AND gb_range_start <= 'v6-2000DEADBEEF000A0000000000000000' AND gb_range_end >= 'v6-2000DEADBEEF000A0000000000000000'))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 31) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditions with data set "IPv6 /108" ('2000:DEAD:BEEF:A:0:0:0:0/108', 0, 0, '(gb_expiry > '20240219050403'...FFF'))') The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_range_start LIKE 'v6-2000%' ESCAPE '`' AND gb_range_start <= 'v6-2000DEADBEEF000A0000000000000000' AND gb_range_end >= 'v6-2000DEADBEEF000A00000000000FFFFF'))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_range_start LIKE 'v6-2000%' ESCAPE '`' AND gb_range_start <= 'v6-2000DEADBEEF000A0000000000000000' AND gb_range_end >= 'v6-2000DEADBEEF000A00000000000FFFFF'))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 32) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditions with data set "IPv6 /108 with different limit" ('2000:DEAD:BEEF:A:0:0:0:0/108', 0, 0, '(gb_expiry > '20240219050403'...FFF'))', 16, 10) The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_range_start LIKE 'v6-20%' ESCAPE '`' AND gb_range_start <= 'v6-2000DEADBEEF000A0000000000000000' AND gb_range_end >= 'v6-2000DEADBEEF000A00000000000FFFFF'))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_range_start LIKE 'v6-20%' ESCAPE '`' AND gb_range_start <= 'v6-2000DEADBEEF000A0000000000000000' AND gb_range_end >= 'v6-2000DEADBEEF000A00000000000FFFFF'))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 33) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditions with data set "IPv4 with anon only" ('1.2.3.4', 0, 1, '(gb_expiry > '20240219050403'...!= 1))') The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020304' AND gb_range_end >= '01020304' AND gb_anon_only != 1))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020304' AND gb_range_end >= '01020304' AND gb_anon_only != 1))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] === 34) MediaWiki\Extension\GlobalBlocking\Test\Integration\Services\GlobalBlockLookupTest::testGetGlobalBlockLookupConditionsForUser The IP range conditions returned by GlobalBlockLookup::getRangeCondition are not as expected. Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'(gb_expiry > '20240219050403' AND (gb_target_central_id = 2 OR (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020304' AND gb_range_end >= '01020304')))' +'(gb_expiry > '2024-02-19 05:04:03+00' AND (gb_target_central_id = 2 OR (gb_range_start LIKE '0102%' ESCAPE '`' AND gb_range_start <= '01020304' AND gb_range_end >= '01020304')))' /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:423 /workspace/src/extensions/GlobalBlocking/tests/phpunit/Integration/Services/GlobalBlockLookupTest.php:440 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [localisation] [debug] LocalisationCache using store LCStoreNull [] [objectcache] [debug] MainWANObjectCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [MessageCache] [debug] MessageCache using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [wfDebug] [debug] ParserFactory: using default preprocessor {"private":false} [objectcache] [debug] MicroStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] MainObjectStash using store {class} {"class":"Wikimedia\\ObjectCache\\HashBagOStuff"} [objectcache] [debug] fetchOrRegenerate(postgres-mediawiki-unittest_:gadgets-definition:18:4): miss, new value computed [] ===