[QA] Jenkins testrunner QUnit error impossible to reproduce locally

Gilles Dubuc gilles at wikimedia.org
Tue May 20 15:55:58 UTC 2014


The actual source of the problem was that my disk partition was case
insensitive, which means that git didn't see the case change in that
filename. It worked locally because the case was correct on my disk, but
its change wasn't actually part of the commit. Fixed with "git mv --force"


On Tue, May 20, 2014 at 5:49 PM, Gilles Dubuc <gilles at wikimedia.org> wrote:

> Thanks, makes perfect sense. The issue was, however, that I couldn't
> reproduce the error locally, even after rebooting the vm and everything.
> And I didn't know that the more detailed debug log was available for the
> Jenkins run, thanks for pointing me to that.
>
>
> On Tue, May 20, 2014 at 4:55 PM, Krinkle <krinklemail at gmail.com> wrote:
>
>> The error means one or more modules is in error state.
>>
>> This usually means the ResourceLoader module was incorrectly configured.
>>
>> Looking into this one, one of the files is missing or couldn't be found.
>>
>> * https://gerrit.wikimedia.org/r/#/c/134064/
>> *
>> https://integration.wikimedia.org/ci/job/mwext-MultimediaViewer-qunit/1881/console
>> *
>> https://integration.wikimedia.org/ci/job/mwext-MultimediaViewer-qunit/1881/
>> *
>> https://integration.wikimedia.org/ci/job/mwext-MultimediaViewer-qunit/1881/artifact/log/
>> * View mw-debug-www.log.gz
>>
>> (or use your own debug.log from MediaWiki[1])
>>
>> [resourceloader] ResourceLoader::makeModuleResponse: generating module
>> package failed: exception 'MWException' with message
>> 'ResourceLoaderFileModule::readScriptFiles: script file not found:
>> "/srv/ssd/jenkins-slave/workspace/mwext-MultimediaViewer-qunit/extensions/MultimediaViewer/resources/mmv/mmv.Logger.js"'
>> in
>> /srv/ssd/jenkins-slave/workspace/mwext-MultimediaViewer-qunit/includes/resourceloader/ResourceLoaderFileModule.php:673
>>
>>
>> — Krinkle
>>
>> [1] https://www.mediawiki.org/wiki/How_to_debug
>>
>> On 20 May 2014, at 14:05, Gilles Dubuc <gilles at wikimedia.org> wrote:
>>
>> Hi,
>>
>> I'm running into this error when the tests for my changeset (
>> https://gerrit.wikimedia.org/r/#/c/134064/ ) run on Jenkins:
>>
>>
>> https://integration.wikimedia.org/ci/job/mwext-MultimediaViewer-qunit/1881/consoleFull
>>
>> That changeset's parent is the latest master commit, so it's probably not
>> an issue of automerge. The error comes from ResourceLoader when trying to
>> load the dependencies for the tests.
>>
>> I can't reproduce the error locally, neither on Firefox nor Chrome. It's
>> hard to guess where the error is coming from, as the change is quite large.
>>
>> Any idea what I could do to resolve the issue? Is there a simple way to
>> reproduce Jenkin's setup locally?
>>  _______________________________________________
>> QA mailing list
>> QA at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/qa
>>
>>
>>
>> _______________________________________________
>> QA mailing list
>> QA at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/qa
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140520/ea3b69e9/attachment-0001.html>


More information about the QA mailing list