Page MenuHomePhabricator

Wikibase\Client\Tests\Unit\Api\ApiFormatReferenceTest#testInvalidReferenceJson failure
Closed, DuplicatePublic

Description

Seen on GrowthExperiments builds, e.g. https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72-noselenium-docker/156996/console

Wikibase\Client\Tests\Unit\Api\ApiFormatReferenceTest
11:30:30  ✘ testInvalidReferenceJson
11:30:30    │
11:30:30    │ Failed asserting that exception of type "Wikimedia\Rdbms\DBConnectionError" matches expected exception "ApiUsageException". Message was: "Cannot access the database: Access denied for user 'wikiuser'@'localhost' to database 'centralauth' (localhost:/workspace/db/quibble-mysql-0qcjx7do/socket)" at
11:30:30    │ /workspace/src/includes/libs/rdbms/loadbalancer/LoadBalancer.php:1465
11:30:30    │ /workspace/src/includes/libs/rdbms/loadbalancer/LoadBalancer.php:958
11:30:30    │ /workspace/src/includes/libs/rdbms/loadbalancer/LoadBalancer.php:931
11:30:30    │ /workspace/src/includes/libs/rdbms/database/DBConnRef.php:65
11:30:30    │ /workspace/src/includes/libs/rdbms/database/DBConnRef.php:649
11:30:30    │ /workspace/src/includes/libs/rdbms/database/Database.php:4281
11:30:30    │ /workspace/src/extensions/CentralAuth/includes/User/CentralAuthUser.php:640
11:30:30    │ /workspace/src/includes/libs/objectcache/wancache/WANObjectCache.php:1692
11:30:30    │ /workspace/src/includes/libs/objectcache/wancache/WANObjectCache.php:1520
11:30:30    │ /workspace/src/extensions/CentralAuth/includes/User/CentralAuthUser.php:660
11:30:30    │ /workspace/src/extensions/CentralAuth/includes/User/CentralAuthUser.php:465
11:30:30    │ /workspace/src/extensions/CentralAuth/includes/User/CentralAuthUser.php:714
11:30:30    │ /workspace/src/extensions/CentralAuth/includes/User/CentralAuthUser.php:807
11:30:30    │ /workspace/src/extensions/CentralAuth/includes/CentralAuthHooks.php:568
11:30:30    │ /workspace/src/includes/HookContainer/HookContainer.php:160
11:30:30    │ /workspace/src/includes/HookContainer/HookRunner.php:1942
11:30:30    │ /workspace/src/includes/block/BlockManager.php:179
11:30:30    │ /workspace/src/includes/user/User.php:1436
11:30:30    │ /workspace/src/includes/user/User.php:1752
11:30:30    │ /workspace/src/includes/api/ApiBase.php:1285
11:30:30    │ /workspace/src/includes/api/ApiBase.php:1528
11:30:30    │ /workspace/src/extensions/Wikibase/client/includes/Api/ApiFormatReference.php:56
11:30:30    │ /workspace/src/extensions/Wikibase/client/tests/phpunit/unit/includes/Api/ApiFormatReferenceTest.php:141
11:30:30    │ phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
11:30:30    │ .
11:30:30    │
11:30:30    │ phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97