Page MenuHomePhabricator

beta testwiki site is broken: "Unknown database 'testwikidatawiki'"
Closed, ResolvedPublic

Description

https://test.wikimedia.beta.wmflabs.org/wiki/Main_Page

#0 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(932): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
#1 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(899): Wikimedia\Rdbms\LoadBalancer->getServerConnection(1, 'testwikidatawik...', 0)
#2 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1029): Wikimedia\Rdbms\LoadBalancer->getConnection(-1, Array, 'testwikidatawik...', 0)
#3 /srv/mediawiki/php-master/includes/dao/DBAccessBase.php(63): Wikimedia\Rdbms\LoadBalancer->getConnectionRef(-1, Array, 'testwikidatawik...')
#4 /srv/mediawiki/php-master/extensions/Wikibase/lib/includes/Store/Sql/SiteLinkTable.php(259): DBAccessBase->getConnection(-1)
#5 /srv/mediawiki/php-master/extensions/Wikibase/lib/includes/Store/CachingSiteLinkLookup.php(147): Wikibase\Lib\Store\Sql\SiteLinkTable->getItemIdForLink('testwiki', 'Main Page')
#6 /srv/mediawiki/php-master/extensions/Wikibase/lib/includes/Store/CachingSiteLinkLookup.php(75): Wikibase\Lib\Store\CachingSiteLinkLookup->getAndCacheItemIdForLink('testwiki', 'Main Page')
#7 /srv/mediawiki/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php(101): Wikibase\Lib\Store\CachingSiteLinkLookup->getItemIdForLink('testwiki', 'Main Page')
#8 /srv/mediawiki/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php(331): Wikibase\Client\LangLinkHandler->getEntityLinks(Object(Title))
#9 /srv/mediawiki/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php(352): Wikibase\Client\LangLinkHandler->getEffectiveRepoLinks(Object(Title), Object(ParserOutput))
#10 /srv/mediawiki/php-master/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandlers.php(97): Wikibase\Client\LangLinkHandler->addLinksFromRepository(Object(Title), Object(ParserOutput))
#11 /srv/mediawiki/php-master/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandlers.php(65): Wikibase\Client\Hooks\ParserOutputUpdateHookHandlers->doContentAlterParserOutput(Object(Title), Object(ParserOutput))
#12 /srv/mediawiki/php-master/includes/Hooks.php(174): Wikibase\Client\Hooks\ParserOutputUpdateHookHandlers::onContentAlterParserOutput(Object(WikitextContent), Object(Title), Object(ParserOutput))
#13 /srv/mediawiki/php-master/includes/Hooks.php(202): Hooks::callHook('ContentAlterPar...', Array, Array, NULL)
#14 /srv/mediawiki/php-master/includes/content/AbstractContent.php(559): Hooks::run('ContentAlterPar...', Array)
#15 /srv/mediawiki/php-master/includes/Revision/RenderedRevision.php(267): AbstractContent->getParserOutput(Object(Title), 2196, Object(ParserOptions), true)
#16 /srv/mediawiki/php-master/includes/Revision/RenderedRevision.php(236): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(Object(WikitextContent), true)
#17 /srv/mediawiki/php-master/includes/Revision/RevisionRenderer.php(215): MediaWiki\Revision\RenderedRevision->getSlotParserOutput('main')
#18 /srv/mediawiki/php-master/includes/Revision/RevisionRenderer.php(152): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(Object(MediaWiki\Revision\RenderedRevision), Array)
#19 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(Object(MediaWiki\Revision\RenderedRevision), Array)
#20 /srv/mediawiki/php-master/includes/Revision/RenderedRevision.php(198): call_user_func(Object(Closure), Object(MediaWiki\Revision\RenderedRevision), Array)
#21 /srv/mediawiki/php-master/includes/poolcounter/PoolWorkArticleView.php(196): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#22 /srv/mediawiki/php-master/includes/poolcounter/PoolCounterWork.php(125): PoolWorkArticleView->doWork()
#23 /srv/mediawiki/php-master/includes/page/Article.php(791): PoolCounterWork->execute()
#24 /srv/mediawiki/php-master/includes/actions/ViewAction.php(63): Article->view()
#25 /srv/mediawiki/php-master/includes/MediaWiki.php(514): ViewAction->show()
#26 /srv/mediawiki/php-master/includes/MediaWiki.php(304): MediaWiki->performAction(Object(Article), Object(Title))
#27 /srv/mediawiki/php-master/includes/MediaWiki.php(967): MediaWiki->performRequest()
#28 /srv/mediawiki/php-master/includes/MediaWiki.php(530): MediaWiki->main()
#29 /srv/mediawiki/php-master/index.php(44): MediaWiki->run()
#30 /srv/mediawiki/w/index.php(3): require('/srv/mediawiki/...')
#31 {main}

Event Timeline

Aklapper renamed this task from beta testwiki site is broken to beta testwiki site is broken: "Cannot access the database: Unknown error".Oct 20 2019, 2:20 PM
Jdforrester-WMF renamed this task from beta testwiki site is broken: "Cannot access the database: Unknown error" to beta testwiki site is broken: "Unknown database 'testwikidatawiki'".Oct 21 2019, 9:44 AM
Addshore moved this task from Incoming to Needs Work on the Wikidata-Campsite board.

It's because there's no testwikidatawiki in beta cluster. I will fix it.

Change 547725 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[operations/mediawiki-config@master] labs: Make wmgWikibaseClientRepositories override all production values

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

Change 547725 merged by jenkins-bot:
[operations/mediawiki-config@master] labs: Make wmgWikibaseClientRepositories override all production values

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

Change 547726 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[operations/mediawiki-config@master] labs: More override of Wikibase client configs on labs

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

Change 547726 merged by jenkins-bot:
[operations/mediawiki-config@master] labs: More override of Wikibase client configs on labs

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

Looks good to me I think. Wanna let this open for a while and see if this crashes again or do further tests?