On several Gerrit changes, @WMDE-leszek, @Ladsgroup and @Lucas_Werkmeister_WMDE have gotten errors like the following:
14:51:14 11) Wikibase\Client\Tests\Usage\SiteLinkUsageLookupTest::testGetPagesUsing 14:51:14 Error: Undefined constant 'Wikibase\Client\Store\NS_MAIN' 14:51:14 14:51:14 /home/jenkins/workspace/mediawiki-extensions-php70-jessie/src/extensions/Wikibase/client/includes/Usage/SiteLinkUsageLookup.php:129 14:51:14 /home/jenkins/workspace/mediawiki-extensions-php70-jessie/src/extensions/Wikibase/client/includes/Usage/SiteLinkUsageLookup.php:148 14:51:14 /home/jenkins/workspace/mediawiki-extensions-php70-jessie/src/extensions/Wikibase/client/includes/Usage/SiteLinkUsageLookup.php:94 14:51:14 /home/jenkins/workspace/mediawiki-extensions-php70-jessie/src/extensions/Wikibase/client/tests/phpunit/includes/Usage/SiteLinkUsageLookupTest.php:126 14:51:14 /home/jenkins/workspace/mediawiki-extensions-php70-jessie/src/tests/phpunit/MediaWikiTestCase.php:423 14:51:14 /home/jenkins/workspace/mediawiki-extensions-php70-jessie/src/maintenance/doMaintenance.php:94
Example job: console
This only happens in the mediawiki-extensions-php70-jessie job, which is only part of the “gate-and-submit” and “php5” queues, so these errors typically don’t become visible until merge.
Any ideas what might cause this?