Page MenuHomePhabricator

ArticlePlaceholder SpecialAboutTopicTest::testRobotPolicy failing in CI (meta-robots in array)
Closed, ResolvedPublic

Description

Console for Gerrit change:

1) ArticlePlaceholder\Tests\Specials\SpecialAboutTopicTest::testRobotPolicy with data set #0 (true, true)
Failed asserting that an array does not have the key 'meta-robots'.

/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/specials/SpecialAboutTopicTest.php:169
/workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:516
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[localisation] [debug] LocalisationCache::isExpired(qqx): cache missing, need to make one []
[localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[MessageCache] [debug] MessageCache using store {class} {"class":"HashBagOStuff"}
===

2) ArticlePlaceholder\Tests\Specials\SpecialAboutTopicTest::testRobotPolicy with data set #3 ('Q2000', true)
Failed asserting that an array does not have the key 'meta-robots'.

/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/specials/SpecialAboutTopicTest.php:169
/workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:516
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[localisation] [debug] LocalisationCache::isExpired(qqx): cache missing, need to make one []
[localisation] [debug] LocalisationCache::isExpired(en): cache missing, need to make one []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[MessageCache] [debug] MessageCache using store {class} {"class":"HashBagOStuff"}
===

Blocks Wikibase gate-and-submit.

Event Timeline

Change 839477 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/ArticlePlaceholder@master] Update SpecialAboutTopicTest for robot policy changes

https://gerrit.wikimedia.org/r/839477

Seems to block GrowthExperiments as well (patch).

Change 839477 merged by jenkins-bot:

[mediawiki/extensions/ArticlePlaceholder@master] Update SpecialAboutTopicTest for robot policy changes

https://gerrit.wikimedia.org/r/839477