2016-03-03 18:31:07 integration-slave-trusty-1006 jenkins_u1_mw: [e812b46f] /jenkins-mwext-mw-selenium-composer-2033/index.php/Special:BlankPage ErrorException from line 300 of /mnt/jenkins-workspace/workspace/mwext-mw-selenium-composer/src/includes/debug/MWDebug.php: PHP Notice: Cannot find site jenkins_u1_mw in sites table [Called from Wikibase\Client\WikibaseClient::newSiteGroup in /mnt/jenkins-workspace/workspace/mwext-mw-selenium-composer/src/extensions/Wikibase/client/includes/WikibaseClient.php at line 611]
One possible fix would be T126596: During update.php (and install), add an entry in the sites table / SiteStore for the local wiki. However, the problem should not arise at all: WikibaseClinet::newSiteGroup() loks for the siteGroup setting. If it's not there, it looks for the siteGlobalID setting, and tries to look up the local wiki in the sites table based on that ID. So, we should be able to fix this by:
- making site siteGroup is set for CI runs. Adding it to WikibaseClient.example.php should be sufficient. It's however unclear if should really be set in the exampe settings. Typical installs should not have this set.
- making siteGlobalID something that can actually be found in the sites table. According to WikibaseClient.example.php, siteGlobalID should be "mywiki". However, this does not seem to be the case, since we find this in the logs:
[Wikibase\SettingsArray] getSetting: setting siteGlobalID was given as a closure, resolve it to 'jenkins_u1_mw'
That would indicate that no example settings got loaded, and the extension is relying on default setting alone.
Investigation is needed to determine what is actually happening, and how to best fix it.