Closed
Bug 1239470
Opened 9 years ago
Closed 7 years ago
Running marionette-js-runner tests via marionette-mocha failing
Categories
(Testing Graveyard :: JSMarionette, defect)
Testing Graveyard
JSMarionette
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: gaye, Unassigned)
References
Details
### STR
1. Run the following command
npm run refresh && cd node_modules/marionette-js-runner && _FORCE_DEBUG=true DEBUG=* ./bin/marionette-mocha --runtime /path/to/gaia/firefox/firefox-bin --host-log stdout test/integration/client_test.js -t 100s --profile-base ../../shared/test/integration/profile.js
2. Note in the logs that the marionette-client asks for a new session ie
Wed, 13 Jan 2016 22:04:07 GMT marionette:tcp-sync write [ 0, 1, 'newSession', { capabilities: {} } ]
3. Note in the logs that the marionette server sees the request 1452722647699 Marionette DEBUG conn1 -> Command {id: 1, name: "newSession", parameters: {"capabilities":{}}}
4. The test never starts since sockit-to-me never reads a response to the newSession call and therefore https://github.com/mozilla-b2g/gaia/blob/master/tests/jsmarionette/runner/marionette-js-runner/lib/runtime/hostmanager.js#L134 never resolves.
This is blocking Andre from writing a test for his promises driver for the js marionette client.
Reporter | ||
Comment 1•9 years ago
|
||
Investigated for a little bit and I can see that the stream events here https://github.com/mozilla-b2g/gaia/blob/master/tests/jsmarionette/client/marionette-client/lib/marionette/drivers/tcp-sync.js#L152 aren't ever being called. Additionally, even though there's a mulet process
(I see the marionette server log as well as
###################################### forms.js loaded
############################### browserElementPanningAPZDisabled.js loaded
############################### browserElementPanning.js loaded
###################################### BrowserElementCopyPaste.js loaded
######################## BrowserElementChildPreload.js loaded)
the mulet ui never comes up. Not sure what's going on.
Reporter | ||
Comment 2•9 years ago
|
||
Aus - do you have any idea what's going on? I'm taking a short break from investigation.
Flags: needinfo?(aus)
Comment 3•9 years ago
|
||
Chatted with :gaye on IRC about this issue, we're not sure what's going on, and it's kinda weird and it should obviously not be happening :P I should have time to look at this tomorrow if I can land bug 1175116 tonight / early tomorrow.
Flags: needinfo?(aus)
Comment 4•7 years ago
|
||
Bulk closed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1422750
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•