09:35:47 Chromium 41.0.2272 (Ubuntu) ext.uls Common languages FAILED 09:35:47 Died on test #1 09:35:47 Chromium 41.0.2272 (Ubuntu): Executed 291 of 291 (1 FAILED) (16.41 secs / 16.295 secs) 09:35:47 Warning: Task "karma:main" failed. Use --force to continue. 09:35:47 09:35:47 Aborted due to warnings.
|Open||None||T91707 L10n-bot should not force-merge / override Jenkins (breaks the build)|
|Open||Raymond||T93591 Tasks blocking translatewiki.net / l10n-bot patch sets from merging|
|Resolved||santhosh||T93510 QUnit tests for ContentTranslation fail - unable to merge commits|
- Mentioned In
- rMEXTc613cdef2941: Updated mediawiki/extensions Project…
rEULS97cd0266100a: Add missing RL dependency ext.uls.init to test module ext.uls.tests
rEULS9d33a4166f39: Add missing RL dependency ext.uls.init to test module ext.uls.tests
rEULSdc2b8492b31b: Add missing RL dependency ext.uls.init to test module ext.uls.tests
T78236: Phabricator silently overwrites changes (no mid-air collision/conflict detection)
There are errors such as ERROR: '[earthquake] Url exceeds maximum length' in the log but I am not sure if those are the cause, and if they are, I don't think it is related to any code change in CX. We need help to figure out what is causing the failures.
PS: Phabricator doesn't handle edit conflicts at all it seems.
ext.uls Common languages FAILED
Would it mean it is an issue in ULS? The console log shows an TypeError: undefined is not a function, might be some api change? Please try to reproduce it locally with ContentTranslation and ULS installed.
Approaching what Jenkins does (latest master of: MediaWiki core, ContentTranslation, UniversalLanguageSelector, EventLogging) I can reproduce the error.
Most likely there is an accidental link between test code and something the Skin or OutputPage provides (instead of mocking, stubbing or using an html fixture).
Test failure: ext.uls: Common languages > TypeError: mw.uls.getFrequentLanguageList is not a function > at Object.<anonymous> > (http://mediawiki.dev/extensions/UniversalLanguageSelector/tests/qunit/ext.uls.tests.js:87:26)
So it seems the error is caused by UniversalLanguageSelector (which ContentTranslation uses).
This module is not loaded by the test suite according to a search for "ext.uls.interface".
The test should either not depend on this init code (preferable), or add a dependency on this module in test suite registration.