Closed
Bug 1234601
Opened 7 years ago
Closed 7 years ago
Error while trying to run make test-integration-test: TypeError: Cannot read property 'getAppClass' of undefined
Categories
(Testing Graveyard :: JSMarionette, defect)
Testing Graveyard
JSMarionette
Tracking
(feature-b2g:2.6?)
RESOLVED
FIXED
feature-b2g | 2.6? |
People
(Reporter: martijn.martijn, Assigned: gaye)
References
Details
(Whiteboard: [MJS] [CI])
Attachments
(2 files)
While trying to run: VERBOSE=1 make test-integration-test I end up with this error: /Users/mwargers/B2G/gaia_clean/apps/system/test/marionette/lib/rocketbar.js:17 this.system = client.loader.getAppClass('system'); ^ TypeError: Cannot read property 'getAppClass' of undefined at Object.Rocketbar (/Users/mwargers/B2G/gaia_clean/apps/system/test/marionette/lib/rocketbar.js:17:30) at Suite.<anonymous> (/Users/mwargers/B2G/gaia_clean/apps/system/test/marionette/hierarchy_test.js:73:21) at context.suite (/Users/mwargers/B2G/gaia_clean/node_modules/marionette-js-runner/lib/ui.js:117:10) at /Users/mwargers/B2G/gaia_clean/apps/system/test/marionette/hierarchy_test.js:13:3 at Object.<anonymous> (/Users/mwargers/B2G/gaia_clean/apps/system/test/marionette/hierarchy_test.js:206:2) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) at require (module.js:385:17) at /Users/mwargers/B2G/gaia_clean/node_modules/mocha/lib/mocha.js:216:27 at Array.forEach (native) at Mocha.loadFiles (/Users/mwargers/B2G/gaia_clean/node_modules/mocha/lib/mocha.js:213:14) at Mocha.run (/Users/mwargers/B2G/gaia_clean/node_modules/mocha/lib/mocha.js:453:10) at Object.<anonymous> (/Users/mwargers/B2G/gaia_clean/node_modules/mocha/bin/_mocha:393:18) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10) at startup (node.js:136:18) at node.js:963:3 npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/Cellar/node4-lts/4.2.2/bin/node" "/usr/local/bin/npm" "run" "marionette" "--" "--buildapp=desktop" "--reporter=spec" "--marionette-capabilities=/Users/mwargers/B2G/gaia_clean/tests/jsmarionette/capabilities.json" npm ERR! node v4.2.2 npm ERR! npm v2.14.7 npm ERR! code ELIFECYCLE npm ERR! gaia@0.0.3 marionette: `gaia-marionette "--buildapp=desktop" "--reporter=spec" "--marionette-capabilities=/Users/mwargers/B2G/gaia_clean/tests/jsmarionette/capabilities.json"` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the gaia@0.0.3 marionette script 'gaia-marionette "--buildapp=desktop" "--reporter=spec" "--marionette-capabilities=/Users/mwargers/B2G/gaia_clean/tests/jsmarionette/capabilities.json"'. npm ERR! This is most likely a problem with the gaia package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gaia-marionette "--buildapp=desktop" "--reporter=spec" "--marionette-capabilities=/Users/mwargers/B2G/gaia_clean/tests/jsmarionette/capabilities.json" npm ERR! You can get their info via: npm ERR! npm owner ls gaia npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/mwargers/B2G/gaia_clean/npm-debug.log make: *** [test-integration-test] Error 1 mwargers:gaia_clean mwargers$ At this point the b2g desktop instance (or is it Mulet?) is not even running. This command should work fine, right?
Flags: needinfo?(gaye)
Reporter | ||
Comment 1•7 years ago
|
||
Full output in case that's useful.
Comment 2•7 years ago
|
||
+1, got the exact same problem
Assignee | ||
Comment 3•7 years ago
|
||
We'll take a look! Thanks for reporting.
Comment 5•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #8702353 -
Flags: review?(aus)
Comment 6•7 years ago
|
||
Comment on attachment 8702353 [details] [review] [gaia] gaye:bug-1234601-Gij-local-breakage-getAppClass-of-undefined > mozilla-b2g:master No idea what changed in load ordering to make that fail here but not on CI but glad it was an easy fix.
Attachment #8702353 -
Flags: review?(aus) → review+
Assignee | ||
Comment 7•7 years ago
|
||
Should be fixed on master now https://github.com/mozilla-b2g/gaia/commit/e7da81e76329031f24794350dc0a4330a7d0c603
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
feature-b2g: --- → 2.6?
Updated•7 years ago
|
Whiteboard: [MJS] [CI]
Updated•5 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•