Closed Bug 1184264 Opened 9 years ago Closed 9 years ago

[Raptor] Allow remote Marionette connections

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S3 (24Jul)

People

(Reporter: Eli, Assigned: Eli)

Details

Attachments

(1 file, 1 obsolete file)

When Raptor supports Marionette, we need to support connecting to remote devices, as that is how bitbar devices are set up. Specifically:

MARIONETTE_HOST and MARIONETTE_PORT are provided in the environment.
Handle forwarding adb when device is connected to localhost.
Attachment #8635495 - Attachment is obsolete: true
Attachment #8635495 - Flags: review?(rwood)
Attachment #8635592 - Flags: review?(rwood)
Cmd line options work, but env vars don't:

https://gist.github.com/rwood-moz/6eb2ff0aecff0450b6ef
Comment on attachment 8635592 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/5

LGTM and works great with latest update. Didn't test with remote bitbar device, just tested locally, cmd line and env vars, multiple devices attached. ADB is now fw automatically by default, to the ANDROID_SERIAL device. Ran coldlaunch, restart, and reboot test, adb connection is retained through multiple reboot runs too.
Attachment #8635592 - Flags: review?(rwood) → review+
In master: https://github.com/mozilla-b2g/raptor/commit/7b3bd98f9bf58bbfcf6a0a50d804c0d1ae37b3ef
In npm: @mozilla/raptor v1.2.0
Status: ASSIGNED → RESOLVED
Closed: 9 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: