Last modified: 2014-11-11 10:04:51 UTC
Fix the qunit tests for wikidata: mwext-Wikibase-qunit and after that make them voting.
It seems /srv/localhost/qunit/ is missing on the instances. That is created by puppet class contint::qunit_localhost which is not applied on that host. It is only applied in role::ci::slave and not anything that is applied on labs (like role::ci::slave::labs). So the jenkins slave selector in that jobs config might need adjusting (if there is a qunit specific one, see other qunit jobs) and contint::qunit_localhost should also be applied on (some?) jenkins labs instances.
Change 171535 had a related patch set uploaded by Adrian Lang: Add qunit localhost setup to role::ci::slave::labs https://gerrit.wikimedia.org/r/171535
Don't do that. This job should not be running in labs to begin with. Installing mediawiki and serving it from Apache for a qunit testing, grunt, and correct node and phantomjs version has not been done yet for labs. See bug 72063 for that (which I'm already working on).
If composer now works on production jenkins slave, droping the wikidata jenkins slave selector and adding the one for qunit might work.
OK contint::slave-scripts which is what installs composer on labs isn't supposed to run in production. That should not be changed, so no way for us to run the qunit tests unless they run in labs.
(In reply to Jan Zerebecki from comment #5) > OK contint::slave-scripts which is what installs composer on labs isn't > supposed to run in production. That should not be changed, so no way for us > to run the qunit tests unless they run in labs. For mediawiki-core this is solved by using mediawiki-vendor, just like we do in production. How does wikidata run in production without composer?
For extensions/Wikibase.git composer is one of the things run during build time, the whole build result is commited to extensions/Wikidata.git which is what gets deployed. Independent of that there are many dependencies that are updated often so that integration runs without running composer are much less useful.
Change 171535 abandoned by Adrian Lang: Add qunit localhost setup to role::ci::slave::labs https://gerrit.wikimedia.org/r/171535