Closed Bug 1034486 Opened 5 years ago Closed 2 years ago

Integrate mozdevice in marionette js stack so we can push/pull files from device

Categories

(Testing Graveyard :: JSMarionette, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zcampbell, Unassigned)

References

Details

(Whiteboard: [device])

mozdevice (or js equivalent) should be introduced into the marionettejs test runner stack so that it can integrate with the sdcard and file system on device and push/pull/erase content.

We will need this for on-device tests, to be able to set up the device before tests.
Blocks: 1034487
I suggested mozdevice because it already has some logic for detecting sdcard locations on devices (the exact location varies from device model to model)
Blocks: 1034504
I think this will more or less be automatically resolved by bug 994847. Take a look at https://github.com/ahal/gaia/compare/python_service to see how that is progressing. We can leave this open for now though.
Ok. I think there'll be some framework-level changes required to use the methods inside mozdevice.

This bug can be for that.
Whiteboard: [device]
This is needed for perf tests using the js framework. I'd ideally like to give tests access to a device object that would allow a test to do something like:

device.reboot();

which will not only reboot the device using mozdevice, but will also wait for marionette to come up and reconnect to it.
Hey Greg,

As per our IRC conversation can you put this in your queue?
Flags: needinfo?(garndt)
Keeping an eye on bug 1115134 that's creating mozdevice to use with Raptor.
Flags: needinfo?(garndt)
Keep tracking on this one.
I guess this bug can be dupe'd against bug 1231775. Mozdevice is going to be replaced by fxos-device-service and its API supports file management on device[1]. Do you confirm, Gareth?

[1] https://github.com/mozilla-b2g/fxos-device-service#get-devicesidfilesfilepathfilepath
Flags: needinfo?(gaye)
Marionette JS was mainly implemented for B2G. The latter being discontinued, we can close this bug. Feel free to reopen if I'm mistaken.
Flags: needinfo?(gaye)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.