Closed Bug 1189081 Opened 11 years ago Closed 11 years ago

[Raptor] Forward adb for Marionette on more than localhost

Categories

(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S4 (07Aug)

People

(Reporter: Eli, Assigned: Eli)

Details

Attachments

(1 file, 1 obsolete file)

Right now Raptor only forwards the adb connection for Marionette if the host is on localhost. Let's try and handle this forwarding on other hosts too. NOTE: we will need to deploy this to a pre-release package version to test out on Jenkins automation before landing in a production version.
(In reply to :Eli Perelman from comment #1) > Created attachment 8640746 [details] [review] > Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/13 This works fine on device but doesn't seem to work with the emulator (localhost). I keep getting this error: /home/rwood/raptor/node_modules/marionette-client/lib/marionette/client.js:524 throw e; ^ Error: Polling socket recv() timeout! Logs: https://gist.github.com/rwood-moz/841410854584d14ad36b
Perhaps this is Bug 1175080
Comment on attachment 8640746 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/13 Ok I was finally able to get this to work successfully with the emulator. I'm assuming the marionette issue is unrelated and is the same issue as Bug 1188990. This worked fine on localhost, didn't try on a remote device.
Attachment #8640746 - Flags: review?(rwood) → review+
I'm going to modify this a little to add a couple more config flags to possibly pull from, so I'll send an updated PR.
Same as previous PR, just adds a new `forwardPort` option.
Attachment #8640746 - Attachment is obsolete: true
Attachment #8642527 - Flags: review?(rwood)
Comment on attachment 8642527 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/16 LGTM. Didn't test on a remote bitbar device, just locally. Detached device and tried reboot test with --forward-port 2828, worked. Changed --forward-port to 2827, and the test timed out creating driver/connecting to b2g, as expected.
Attachment #8642527 - Flags: review?(rwood) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: