Page MenuHomePhabricator

Random test failure in ApiFlowEditPostTest::testEditPost & ApiFlowLockTopicTest::testLockTopic
Open, NormalPublic

Description

Per https://integration.wikimedia.org/ci/job/wmf-quibble-core-vendor-mysql-php70-docker/1587/console

16:12:46 1) Flow\Tests\Api\ApiFlowEditPostTest::testEditPost
16:12:46 Undefined index: upk25x3d40f236z7
16:12:46 
16:12:46 /workspace/src/extensions/Flow/tests/phpunit/Api/ApiFlowEditPostTest.php:47
16:12:46 /workspace/src/tests/phpunit/MediaWikiTestCase.php:424
16:12:46 /workspace/src/maintenance/doMaintenance.php:94
16:12:46 
16:12:46 2) Flow\Tests\Api\ApiFlowLockTopicTest::testLockTopic
16:12:46 Undefined index: upk25zhz2drn4b2r
16:12:46 
16:12:46 /workspace/src/extensions/Flow/tests/phpunit/Api/ApiFlowLockTopicTest.php:42
16:12:46 /workspace/src/tests/phpunit/MediaWikiTestCase.php:424
16:12:46 /workspace/src/maintenance/doMaintenance.php:94

Patch: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/477007.

Event Timeline

D3r1ck01 created this task.Dec 1 2018, 3:17 PM
D3r1ck01 triaged this task as Normal priority.
Restricted Application removed a project: Patch-For-Review. · View Herald TranscriptDec 1 2018, 3:17 PM

Change 477055 had a related patch set uploaded (by D3r1ck01; owner: Alangi Derick):
[mediawiki/extensions/Flow@master] Mark flaky API Flow tests as broken

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

Catrope moved this task from Inbox to Q3 2018-19 on the Growth-Team board.Jan 8 2019, 1:44 AM

Still seen. Caused a mediawiki/core patch to not merge in Jenkins.

gerrit change - jenkins build.

1) Flow\Tests\Api\ApiFlowModeratePostTest::testModeratePost
Undefined index: uvip0et5e8u2h0kf

/workspace/src/extensions/Flow/tests/phpunit/Api/ApiFlowModeratePostTest.php:46
/workspace/src/tests/phpunit/MediaWikiTestCase.php:425
/workspace/src/maintenance/doMaintenance.php:94
debug.log
=== Logs generated by test case
[wfDebug] [debug] IP: 127.0.0.1 {"private":false}
[wfDebug] [debug] IP: 127.0.0.1 {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by DerivativeContext->msg/Message->setContext/DerivativeContext->getTitle/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[wfDebug] [debug] User::getBlockedStatus: checking... {"private":false}
[wfDebug] [debug] User: loading options for user 1 from database. {"private":false}
[preferences] [debug] Loading global options for user '{user}' {"user":"UTSysop"}
[wfDebug] [debug] User: loading options for user 1 from override cache. {"private":false}
[preferences] [debug] Loading global options for user '{user}' {"user":"UTSysop"}
[wfDebug] [debug] IP: 127.0.0.1 {"private":false}
[wfDebug] [debug] ConfirmEdit: user group allows skipping captcha {"private":false}
[wfDebug] [debug] ConfirmEdit: user group allows skipping captcha {"private":false}
[caches] [info] parser: HashBagOStuff {"private":false}
[wfDebug] [debug] User::getBlockedStatus: checking... {"private":false}
[wfDebug] [debug] User: loading options for user 3 from database. {"private":false}
[preferences] [debug] Loading global options for user '{user}' {"user":"Flow talk page manager"}
[objectcache] [info] Rejected set() for {cachekey} due to pending writes. {"cachekey":"global:NameTableSqlStore:content_models:wikidb-unittest_"}
[objectcache] [info] Rejected set() for {cachekey} due to pending writes. {"cachekey":"global:NameTableSqlStore:slot_roles:wikidb-unittest_"}
[Wikibase] [debug] {method}: setting {settingName} was given as a closure, resolve it to {logValue} {"method":"Wikibase\\SettingsArray::getSetting","settingName":"conceptBaseUri","logValue":"'http:\/\/511c2bb19bb4\/entity\/'"}
[wfDebug] [debug] MediaWiki\Revision\RenderedRevision::outputVariesOnRevisionMetaData: Keeping prepared output... {"private":false}
[wfDebug] [debug] MediaWiki\Revision\RenderedRevision::outputVariesOnRevisionMetaData: Keeping prepared output... {"private":false}
[wfDebug] [debug] Parser output was marked as uncacheable and has not been saved. {"private":false}
[wfDebug] [debug] BacklinkCache::queryLinks: got results from DB {"private":false}
[wfDebug] [debug] Title::getRestrictionTypes: applicable restrictions to [[Talk:Flow QA]] are {edit,move} {"private":false}
[squid] [info] CdnCacheUpdate::purge: http://511c2bb19bb4/index.php/Flow_QA http://511c2bb19bb4/index.php?title=Flow_QA&action=history http://511c2bb19bb4/index.php/Talk:Flow_QA http://511c2bb19bb4/index.php?title=Talk:Flow_QA&action=history {"private":false}
[wfDebug] [debug] Title::getRestrictionTypes: applicable restrictions to [[Talk:Flow QA]] are {edit,move} {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by ContextSource->msg/DerivativeContext->msg/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by Flow\Block\TopicBlock->setPageTitle/OutputPage->setPageTitle/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by ContextSource->msg/DerivativeContext->msg/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by OutputPage->setPageTitle/OutputPage->setHTMLTitle/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by ContextSource->msg/DerivativeContext->msg/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by Flow\Block\TopicBlock->setPageTitle/OutputPage->setHTMLTitle/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by ContextSource->msg/DerivativeContext->msg/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by Flow\Block\TopicSummaryBlock->setPageTitle/OutputPage->setPageTitle/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by ContextSource->msg/DerivativeContext->msg/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by OutputPage->setPageTitle/OutputPage->setHTMLTitle/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by ContextSource->msg/DerivativeContext->msg/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by Flow\Block\TopicSummaryBlock->setPageTitle/OutputPage->setHTMLTitle/Message->setContext/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[GlobalTitleFail] [info] MessageCache::parse called by LCRun3::ch/Flow\TemplateHelper::l10nParse/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set. {"private":false}
[wfDebug] [debug] MediaWiki\Revision\RenderedRevision::outputVariesOnRevisionMetaData: Keeping prepared output... {"private":false}
[wfDebug] [debug] MediaWiki\Revision\RenderedRevision::outputVariesOnRevisionMetaData: Keeping prepared output... {"private":false}
[wfDebug] [debug] Parser output was marked as uncacheable and has not been saved. {"private":false}
[wfDebug] [debug] Title::getNsText: Unknown namespace ID: 2601 {"private":false}
[wfDebug] [debug] Title::getNsText: Unknown namespace ID: 2601 {"private":false}
[wfDebug] [debug] BacklinkCache::queryLinks: got results from DB {"private":false}
[wfDebug] [debug] Title::getRestrictionTypes: applicable restrictions to [[Topic:Uvip0et6y7cmh1cv]] are {edit,move} {"private":false}
[squid] [info] CdnCacheUpdate::purge: http://511c2bb19bb4/index.php/Special:Badtitle/NS2601:Uvip0et6y7cmh1cv http://511c2bb19bb4/index.php?title=Special:Badtitle/NS2601:Uvip0et6y7cmh1cv&action=history http://511c2bb19bb4/index.php/Topic:Uvip0et6y7cmh1cv http://511c2bb19bb4/index.php?title=Topic:Uvip0et6y7cmh1cv&action=history http://511c2bb19bb4/index.php/Talk:Flow_QA http://511c2bb19bb4/index.php?title=Talk:Flow_QA&action=history {"private":false}
[wfDebug] [debug] Title::getRestrictionTypes: applicable restrictions to [[Topic:Uvip0et6y7cmh1cv]] are {edit,move} {"private":false}
[squid] [info] CdnCacheUpdate::purge: http://511c2bb19bb4/index.php/Talk:Flow_QA http://511c2bb19bb4/index.php?title=Talk:Flow_QA&action=history {"private":false}
[GlobalTitleFail] [info] RequestContext::getTitle called by DerivativeContext->msg/Message->setContext/DerivativeContext->getTitle/DerivativeContext->getTitle/RequestContext->getTitle with no title set. {"private":false}
[wfDebug] [debug] IP: 127.0.0.1 {"private":false}
[wfDebug] [debug] IP: 127.0.0.1 {"private":false}
[squid] [info] CdnCacheUpdate::purge: http://511c2bb19bb4/index.php/Topic:Uvip0et6y7cmh1cv http://511c2bb19bb4/index.php?title=Topic:Uvip0et6y7cmh1cv&action=history http://511c2bb19bb4/index.php/Talk:Flow_QA http://511c2bb19bb4/index.php?title=Talk:Flow_QA&action=history {"private":false}
[wfDebug] [debug] IP: 127.0.0.1 {"private":false}
[PHPUnitCommand] [info] ERROR in Flow\Tests\Api\ApiFlowModeratePostTest::testModeratePost: [PHPUnit\Framework\Error\Notice] Undefined index: uvip0et5e8u2h0kf {"private":false}
===

Change 477055 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Mark flaky API Flow tests as broken

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