Le 11/12/12 20:27, Niklas Laxström a écrit :
Jenkins has been failing all commits for certain extensions today. I assume it is somehow related to the accidental addition of submodules to core master branch. I've been told that some of the tests that Jenkins runs have been disabled.
I'm assuming someone else will post a followup to explain all the "somes" above and make sure that all tests are re-enabled and passing for all affected extensions.
I have fixed that earlier today around 9am-10am CET.
The root cause was indeed extensions submodules that landed in the master branch of mediawiki/core.
More details:
The extension jobs are fetching a copy of the latest mediawiki/core and then install the extension with the submitted change under /extensions/.
In LocalSettings.php is injected a very dumb loader that list subdirectories of extensions and attempt to require_once() a PHP file named alike under each of the extension. Since the submodules are not updated, the extensions are empty and the dumb loader could not find the extensions entry points.
As far as I remember, the extensions impacted where Translate, Echo and VisualEditor. I have manually deleted the empty directories in each of this jobs workspaces.
Bug logged:
"Jenkins extension loader should ignore empty directories" https://bugzilla.wikimedia.org/show_bug.cgi?id=42960
"investigate whether to clean workspace for extension jobs" https://bugzilla.wikimedia.org/show_bug.cgi?id=42961
Both low priority for now though.