Last modified: 2014-08-12 12:50:04 UTC
When running unit tests: 1) AutoLoaderTest::testAutoLoadConfig file_get_contents(/srv/vagrant/mediawiki/extensions/GWToolset/includes/Helpers/WikiPages.php): failed to open stream: No such file or directory /srv/vagrant/mediawiki/tests/phpunit/structure/AutoLoaderTest.php:61 /srv/vagrant/mediawiki/tests/phpunit/structure/AutoLoaderTest.php:35 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160
Seems to be only about GWToolset, not when being run in conjunction with other extensions. Unblocking bug 67216
not sure which tests are being run in the vagrant instance with GWToolset; are you attempting to create a test within your vagrant environment? up until now there are no "built-in" unit tests. i began to write one, but found the process complex. the test environment needs to have: 1. an example XML 2. at least one mediawiki template available, e.g. Artwork here is the test i started to create: https://gerrit.wikimedia.org/r/#/c/134078/. it attempts to import the Artwork template into the test environment and then references an example XML file. it works locally in my own dev environment, but in the Jenkins test environment it can't find the XML example file or Artwork template XML file for import. i haven't had a chance to look into it further.
I didn't make any test. This looks like a generic test which fails for GWT: an error in your autoloader statement, or something like that. Didn't look into it.
thanks for the catch. uploaded patch https://gerrit.wikimedia.org/r/#/c/151026/
Change 151026 had a related patch set uploaded by Hashar: missing autoloader file https://gerrit.wikimedia.org/r/151026
Change 151026 merged by jenkins-bot: Rm class entries for auto-loader that no longer exist https://gerrit.wikimedia.org/r/151026
hey Nemo, the patch has been merged. are you okay with closing the bug now?
Sure, I'll reopen if I encounter it again.