Page MenuHomePhabricator

No namespace configured for MediaInfo entities, when deploying entity source config to wikidata clients
Closed, ResolvedPublicPRODUCTION ERROR

Description

While deploying a config change https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/569259
which was then reverted https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/608838
https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/608839 is the replacement
as part of T254315

Only happened on commonswiki

message
No namespace configured for MediaInfo entities!
Stack Trace
#0 /srv/mediawiki/php-1.35.0-wmf.39/includes/libs/services/ServiceContainer.php(451): Wikimedia\Services\ServiceContainer->{closure}(MediaWiki\MediaWikiServices)
#1 /srv/mediawiki/php-1.35.0-wmf.39/includes/libs/services/ServiceContainer.php(419): Wikimedia\Services\ServiceContainer->createService(string)
#2 /srv/mediawiki/php-1.35.0-wmf.39/extensions/WikibaseMediaInfo/src/Services/MediaInfoServices.php(18): Wikimedia\Services\ServiceContainer->getService(string)
#3 /srv/mediawiki/php-1.35.0-wmf.39/extensions/WikibaseMediaInfo/WikibaseMediaInfo.entitytypes.php(267): Wikibase\MediaInfo\Services\MediaInfoServices::getMediaInfoIdLookup()
#4 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Wikibase/lib/includes/ServiceByTypeDispatcher.php(55): Wikibase\MediaInfo\WikibaseMediaInfoHooks::{closure}()
#5 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Wikibase/lib/includes/ServiceByTypeDispatcher.php(51): Wikibase\Lib\ServiceByTypeDispatcher->createService(string, array)
#6 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Wikibase/data-access/src/ByTypeDispatchingEntityIdLookup.php(81): Wikibase\Lib\ServiceByTypeDispatcher->getServiceForType(string)
#7 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Wikibase/data-access/src/ByTypeDispatchingEntityIdLookup.php(60): Wikibase\DataAccess\ByTypeDispatchingEntityIdLookup->getLookupForContentModel(string)
#8 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Wikibase/client/includes/DataAccess/Scribunto/WikibaseLanguageIndependentLuaBindings.php(148): Wikibase\DataAccess\ByTypeDispatchingEntityIdLookup->getEntityIdForTitle(Title)
#9 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Wikibase/client/includes/DataAccess/Scribunto/Scribunto_LuaWikibaseLibrary.php(547): Wikibase\Client\DataAccess\Scribunto\WikibaseLanguageIndependentLuaBindings->getEntityId(string, string)
#10 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaSandbox/LuaSandboxCallback.php(26): Wikibase\Client\DataAccess\Scribunto\Scribunto_LuaWikibaseLibrary->getEntityId(string)
#11 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
#12 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaSandbox/LuaSandboxInterpreter.php(113): LuaSandboxFunction->call(LuaSandboxFunction)
#13 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaCommon/LuaEngine.php(291): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction)
#14 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaCommon/LuaModule.php(68): Scribunto_LuaEngine->executeFunctionChunk(LuaSandboxFunction, PPTemplateFrame_Hash)
#15 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/common/Hooks.php(128): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
#16 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(3339): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
#17 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(3046): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
#18 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPFrame_Hash.php(253): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
#19 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(3224): PPFrame_Hash->expand(PPNode_Hash_Tree)
#20 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPFrame_Hash.php(253): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
#21 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPTemplateFrame_Hash.php(89): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
#22 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(3221): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
#23 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPFrame_Hash.php(253): Parser->braceSubstitution(array, PPFrame_Hash)
#24 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPTemplateFrame_Hash.php(169): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
#25 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPTemplateFrame_Hash.php(181): PPTemplateFrame_Hash->getNamedArgument(string)
#26 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPTemplateFrame_Hash.php(113): PPTemplateFrame_Hash->getArgument(string)
#27 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaCommon/LuaEngine.php(691): PPTemplateFrame_Hash->getArguments()
#28 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaSandbox/LuaSandboxCallback.php(26): Scribunto_LuaEngine->getAllExpandedArguments(string)
#29 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
#30 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaSandbox/LuaSandboxInterpreter.php(113): LuaSandboxFunction->call(LuaSandboxFunction)
#31 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaCommon/LuaEngine.php(291): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction)
#32 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/engines/LuaCommon/LuaModule.php(68): Scribunto_LuaEngine->executeFunctionChunk(LuaSandboxFunction, PPTemplateFrame_Hash)
#33 /srv/mediawiki/php-1.35.0-wmf.39/extensions/Scribunto/includes/common/Hooks.php(128): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
#34 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(3339): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
#35 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(3046): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
#36 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPFrame_Hash.php(253): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
#37 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(3224): PPFrame_Hash->expand(PPNode_Hash_Tree)
#38 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/PPFrame_Hash.php(253): Parser->braceSubstitution(array, PPFrame_Hash)
#39 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(2887): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
#40 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(1556): Parser->replaceVariables(string)
#41 /srv/mediawiki/php-1.35.0-wmf.39/includes/parser/Parser.php(651): Parser->internalParse(string)
#42 /srv/mediawiki/php-1.35.0-wmf.39/includes/content/WikitextContent.php(368): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#43 /srv/mediawiki/php-1.35.0-wmf.39/includes/content/AbstractContent.php(565): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#44 /srv/mediawiki/php-1.35.0-wmf.39/includes/Revision/RenderedRevision.php(266): AbstractContent->getParserOutput(Title, integer, ParserOptions, boolean)
#45 /srv/mediawiki/php-1.35.0-wmf.39/includes/Revision/RenderedRevision.php(235): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)
#46 /srv/mediawiki/php-1.35.0-wmf.39/includes/Revision/RevisionRenderer.php(215): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)
#47 /srv/mediawiki/php-1.35.0-wmf.39/includes/Revision/RevisionRenderer.php(152): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)
#48 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#49 /srv/mediawiki/php-1.35.0-wmf.39/includes/Revision/RenderedRevision.php(197): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)
#50 /srv/mediawiki/php-1.35.0-wmf.39/includes/poolcounter/PoolWorkArticleView.php(216): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#51 /srv/mediawiki/php-1.35.0-wmf.39/includes/poolcounter/PoolCounterWork.php(162): PoolWorkArticleView->doWork()
#52 /srv/mediawiki/php-1.35.0-wmf.39/includes/page/Article.php(806): PoolCounterWork->execute()
#53 /srv/mediawiki/php-1.35.0-wmf.39/includes/page/ImagePage.php(95): Article->view()
#54 /srv/mediawiki/php-1.35.0-wmf.39/includes/page/Article.php(1815): ImagePage->view()
#55 /srv/mediawiki/php-1.35.0-wmf.39/includes/actions/RenderAction.php(39): Article->render()
#56 /srv/mediawiki/php-1.35.0-wmf.39/includes/MediaWiki.php(527): RenderAction->show()
#57 /srv/mediawiki/php-1.35.0-wmf.39/includes/MediaWiki.php(313): MediaWiki->performAction(ImagePage, Title)
#58 /srv/mediawiki/php-1.35.0-wmf.39/includes/MediaWiki.php(986): MediaWiki->performRequest()
#59 /srv/mediawiki/php-1.35.0-wmf.39/includes/MediaWiki.php(543): MediaWiki->main()
#60 /srv/mediawiki/php-1.35.0-wmf.39/index.php(53): MediaWiki->run()
#61 /srv/mediawiki/php-1.35.0-wmf.39/index.php(46): wfIndexMain()
#62 /srv/mediawiki/w/index.php(3): require(string)
#63 {main}
Impact
  1. Notes

Event Timeline

Change 569260 had a related patch set uploaded (by Addshore; owner: WMDE-leszek):
[operations/mediawiki-config@master] Commons: Define entity sources configuration

https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/ /569260

Change 569260 merged by jenkins-bot:
[operations/mediawiki-config@master] Commons: Define entity sources configuration

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

Mentioned in SAL (#wikimedia-operations) [2020-07-06T18:38:40Z] <addshore@deploy1001> Synchronized wmf-config/InitialiseSettings.php: T256906 T256907 T256909 T254315 [[gerrit:569260]] Commons: Define entity sources configuration (duration: 00m 56s)

Change 609644 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[operations/mediawiki-config@master] Revert "Commons: Define entity sources configuration"

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

Change 609644 merged by jenkins-bot:
[operations/mediawiki-config@master] Revert "Commons: Define entity sources configuration"

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

Mentioned in SAL (#wikimedia-operations) [2020-07-07T07:27:45Z] <lucaswerkmeister-wmde@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:609644|Revert "Commons: Define entity sources configuration" (T256906, T256907, T256909, T254315, T257266)]] (duration: 00m 53s)

Mentioned in SAL (#wikimedia-operations) [2020-07-07T07:31:05Z] <lucaswerkmeister-wmde@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:609644|Revert "Commons: Define entity sources configuration" (T256906, T256907, T256909, T254315, T257266)]] (forgot to git rebase so the last sync was a no-op) (duration: 00m 56s)

Change 609987 had a related patch set uploaded (by Addshore; owner: Addshore):
[operations/mediawiki-config@master] Commons: Define entity sources configuration (take 2)

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

Change 609987 merged by jenkins-bot:
[operations/mediawiki-config@master] Commons: Define entity sources configuration (take 2)

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