Page MenuHomePhabricator

Qunit tests of DebugMode extension failing on invalid json
Closed, DeclinedPublic

Description

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72-docker/42677/console

09:57:10 FAILED TESTS:
09:57:10   mediawiki.loader
09:57:10     ✖ mw.loader.store.init - Invalid JSON
09:57:10       HeadlessChrome 73.0.3683 (Linux 0.0.0)
09:57:10     Enabled
09:57:10     Expected: true
09:57:10     Actual: false
09:57:10         at Object.<anonymous> (http://localhost:9876/tests/qunit/suites/resources/mediawiki/mediawiki.loader.test.js?dc5b0:1048:10)
09:57:10         at runTest (node_modules/qunit/qunit/qunit.js:3044:30)
09:57:10         at Test.run (node_modules/qunit/qunit/qunit.js:3030:6)
09:57:10         at node_modules/qunit/qunit/qunit.js:3257:12
09:57:10         at processTaskQueue (node_modules/qunit/qunit/qunit.js:2623:24)
09:57:10         at node_modules/qunit/qunit/qunit.js:2627:8
09:57:10     
09:57:10 
09:57:10     ✖ mw.loader.store.init - Wrong JSON
09:57:10       HeadlessChrome 73.0.3683 (Linux 0.0.0)
09:57:10     Enabled
09:57:10     Expected: true
09:57:10     Actual: false
09:57:10         at Object.<anonymous> (http://localhost:9876/tests/qunit/suites/resources/mediawiki/mediawiki.loader.test.js?dc5b0:1064:10)
09:57:10         at runTest (node_modules/qunit/qunit/qunit.js:3044:30)
09:57:10         at Test.run (node_modules/qunit/qunit/qunit.js:3030:6)
09:57:10         at node_modules/qunit/qunit/qunit.js:3257:12
09:57:10         at processTaskQueue (node_modules/qunit/qunit/qunit.js:2623:24)
09:57:10         at node_modules/qunit/qunit/qunit.js:2627:8
09:57:10     
09:57:10 
09:57:10     ✖ mw.loader.store.init - Expired JSON
09:57:10       HeadlessChrome 73.0.3683 (Linux 0.0.0)
09:57:10     Enabled
09:57:10     Expected: true
09:57:10     Actual: false
09:57:10         at Object.<anonymous> (http://localhost:9876/tests/qunit/suites/resources/mediawiki/mediawiki.loader.test.js?dc5b0:1084:10)
09:57:10         at runTest (node_modules/qunit/qunit/qunit.js:3044:30)
09:57:10         at Test.run (node_modules/qunit/qunit/qunit.js:3030:6)
09:57:10         at node_modules/qunit/qunit/qunit.js:3257:12
09:57:10         at processTaskQueue (node_modules/qunit/qunit/qunit.js:2623:24)
09:57:10         at node_modules/qunit/qunit/qunit.js:2627:8
09:57:10     
09:57:10 
09:57:10     ✖ mw.loader.store.init - Good JSON
09:57:10       HeadlessChrome 73.0.3683 (Linux 0.0.0)
09:57:10     Enabled
09:57:10     Expected: true
09:57:10     Actual: false
09:57:10         at Object.<anonymous> (http://localhost:9876/tests/qunit/suites/resources/mediawiki/mediawiki.loader.test.js?dc5b0:1104:10)
09:57:10         at runTest (node_modules/qunit/qunit/qunit.js:3044:30)
09:57:10         at Test.run (node_modules/qunit/qunit/qunit.js:3030:6)
09:57:10         at node_modules/qunit/qunit/qunit.js:3257:12
09:57:10         at processTaskQueue (node_modules/qunit/qunit/qunit.js:2623:24)
09:57:10         at node_modules/qunit/qunit/qunit.js:2627:8