Page MenuHomePhabricator

[LifeWeb] CI test: The module 'wikibase.RepoApi' required by 'ext.LifeWeb.libLW' must exist
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/mwext-testextension-zend/4296/console

The test / module should not depend on LifeWeb extension.

Event Timeline

Krenair raised the priority of this task from to Needs Triage.
Krenair updated the task description. (Show Details)
Krenair added subscribers: Krenair, Umherirrender, Legoktm.

Change 221399 had a related patch set uploaded (by Alex Monk):
LifeWeb depends on Wikibase

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

Change 221399 abandoned by Alex Monk:
LifeWeb depends on Wikibase

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

Krenair removed a project: Patch-For-Review.
Krenair set Security to None.

If the CI jobs are changed to their *-composer variant, the patch above should work now, that Wikibase is ready for it.

Change 221399 restored by Hashar:
LifeWeb depends on Wikibase

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

Change 221399 merged by jenkins-bot:
LifeWeb depends on Wikibase

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

mwext-testextension-hhvm fails with:

Fatal error: Class undefined: Wikibase\DataModel\Entity\ItemId
in /srv/jenkins-workspace/workspace/mwext-testextension-hhvm/src/extensions/Wikibase/lib/WikibaseLib.entitytypes.php on line 37

The version that uses composer manage to install and start PHPUnit just fine as @JanZerebecki mentioned earlier.

Change 322281 had a related patch set uploaded (by Hashar):
[LifeWeb] migrate to composer based job

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

Change 322281 merged by jenkins-bot:
[LifeWeb] migrate to composer based job

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

That specific issue is now solved. Wikibase is injected as a dependency and the whole thing is wrapped with composer to ship all dependencies.

The testsuite managed to run and fails ultimately with a couple missing documentation for the MediaWiki API:

ApiDocumentationTest::testDocumentationExists.testDocumentationExists with data sets:

"Module query+LifeWeb with MiserMode=false, AllowCategorizedRecentChanges=false"
"Module query+LifeWeb with MiserMode=true, AllowCategorizedRecentChanges=true"

Filled as T151064

Umherirrender assigned this task to hashar.

That specific issue is now solved. Wikibase is injected as a dependency and the whole thing is wrapped with composer to ship all dependencies.