It's not clear why.
Can anyone shed light on why this happen?:
https://integration.wikimedia.org/ci/job/mwext-Flow-qunit/318/console
Version: master
Severity: normal
It's not clear why.
Can anyone shed light on why this happen?:
https://integration.wikimedia.org/ci/job/mwext-Flow-qunit/318/console
Version: master
Severity: normal
This looks to be the consistent warning/failure in the console log:
00:44:56 >> Message: Died on test #2 at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=ext.flow.new.handlebars.tests|ext.flow.new.tests|ext.mantle|ext.mantle.handlebars,modules,oo,templates,views|ext.mantle.oo.tests|ext.mantle.templates.tests|ext.mantle.views.tests|jquery.accessKeyLabel,checkboxShiftClick,client,getAttrs,json,makeCollapsible,mw-jump,mwExtension,placeholder,qunit,tabIndex,throttle-debounce|jquery.qunit.completenessTest|mediawiki.cldr,jqueryMsg,language,notify,util|mediawiki.language.data,init|mediawiki.legacy.ajax,wikibits|mediawiki.libs.pluralruleparser|mediawiki.page.ready,startup|mediawiki.special.javaScriptTest|skins.vector.js|test.mediawiki.qunit.testrunner|test.sinonjs&skin=vector&version=20140719T004439Z&*:107
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery.autoEllipsis,byteLength,byteLimit,color,colorUtil,cookie,hidpi,highlightText,localize,suggestions,tablesorter,textSelection|mediawiki.Title,Uri,api,cookie,hidpi,searchSuggest,special,toc,user|mediawiki.api.category,parse,watch|mediawiki.language.months|mediawiki.special.recentchanges|test.mediawiki.qunit.suites&skin=vector&version=20140719T004439Z&*:274
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery.autoEllipsis,byteLength,byteLimit,color,colorUtil,cookie,hidpi,highlightText,localize,suggestions,tablesorter,textSelection|mediawiki.Title,Uri,api,cookie,hidpi,searchSuggest,special,toc,user|mediawiki.api.category,parse,watch|mediawiki.language.months|mediawiki.special.recentchanges|test.mediawiki.qunit.suites&skin=vector&version=20140719T004439Z&*:301
00:44:56 >> at runScript (http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:171)
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:171
00:44:56 >> at execute (http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:172)
00:44:56 >> at handlePending (http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:169)
00:44:56 >> at runScript (http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:171)
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:171
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:171
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:44
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:46
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:46
00:44:56 >> at addEmbeddedCSS (http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:166)
00:44:56 >> at http://localhost:9412/jenkins-mwext-Flow-qunit-380/load.php?debug=false&lang=en&modules=jquery,mediawiki&only=scripts&skin=vector&version=20140719T004439Z:166: 'null' is not an object (evaluating 'mw.util.$content.length')
00:44:56 >> TypeError: 'null' is not an object (evaluating 'mw.util.$content.length')
(copied from: https://integration.wikimedia.org/ci/job/mwext-Flow-qunit/380/console )
Correct.. but the test it refers to is a core test that Flow shouldn't be interfering with.
Does anyone know why we might be getting this issue? I just can't for the life of me work it out (it passes fine locally)
Are we absolutely 100% sure it's not related to Jenkins?
Jon, it might be a regression in mw/core or Flow badly interacting with that specific case. A way to reproduce would be to have a fresh mediawiki Flow installed then run the Qunit test to see if you can reproduce it on a local install.
https://www.mediawiki.org/wiki/Qunit has some documentation.
I think Matt Flaschen (added to cc) had a similar issue. If all fail, fallback to our Javascript guru Timo :)
Change 148220 had a related patch set uploaded by Jdlrobson:
Get QUnit tests passing in Jenkins
@hashar looks like Jenkins wasn't showing another error that was being thrown.
I've fixed the issue (missing module dependency)
Would be great if you could make Jenkins QUnit jobs voting for Flow now! :) With this patch they pass! \o/
(In reply to Jon from comment #7)
@hashar looks like Jenkins wasn't showing another error that was being
thrown.
I've fixed the issue (missing module dependency)Would be great if you could make Jenkins QUnit jobs voting for Flow now! :)
With this patch they pass! \o/
YAY
(In reply to Jon from comment #7)
@hashar looks like Jenkins wasn't showing another error that was being
thrown.
I've fixed the issue (missing module dependency)Would be great if you could make Jenkins QUnit jobs voting for Flow now! :)
With this patch they pass! \o/
@jon Making qunit voting is bug 67734 =)
Change 148454 had a related patch set uploaded by EBernhardson:
Get QUnit tests passing in Jenkins