Last modified: 2014-07-07 18:03:06 UTC
EducationProgram dies whenever it is missing the cldr extension which it relies on. To run unit tests in Jenkins, we clone the extensions and have them loaded using scandir() which can yield EducationProgram before cldr. The tests thus abort because EducationProgram.php is loaded first. Seems the EducationProgram entry points does do that much and we have a SetupAfterCache hook in Setup.php which could be used to implement the check. The hook run after LocalSettings and all require_once(extensions/*) has been completed so that should be safe. That prevents us from enrolling EducationProgram in a massive jenkins job that tests all extensions together (bug 67216).
Change 144464 had a related patch set uploaded by Hashar: Delay check of cldr presence after Setup https://gerrit.wikimedia.org/r/144464
High because that prevent us from running tests properly and blocks somehow HHVM progress.
Change 144464 merged by jenkins-bot: Delay check of cldr presence after Setup https://gerrit.wikimedia.org/r/144464
The EducationProgram tests are now runnable yeah! There is one test failing but it is unrelated ( https://integration.wikimedia.org/ci/job/mediawiki-core-extensions-integration/67/testReport/(root)/EducationProgram_Tests_ActionsTest__testSpecial/testSpecial_with_data_set__1/ ) Filled as bug 67608.