[mozdevice] Supported unrooted devices with undebuggable apps for Android 8 and lower.
Categories
(Testing :: Mozbase, enhancement)
Tracking
(firefox86 fixed)
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: bc, Assigned: bc)
References
Details
Attachments
(3 files)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
text/plain
|
Details |
mozdevice should place the test root on the sdcard in the case where the device is not rooted and the app is not debuggable but only if scoped storage restriction is not in effect.
We should probably quickly throw an unrecoverable error if the device and app do not meet the minimum requirements.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
This patch forces geckoview_example and geckoview_example.test to be undebuggable for use in testing only. Doesn't pass linting etc etc.
Assignee | ||
Comment 3•4 years ago
|
||
aerickson: Can you help test with unrooted devices? Testing the actual patch and then testing with both the actual patch and the patch to make geckoview_* undebuggable or testing with Fenix would be awesome.
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f2b16ab33e6c [mozdevice] Supported unrooted devices with undebuggable apps. r=jmaher,gbrown
Comment 5•4 years ago
|
||
bugherder |
Comment 6•4 years ago
|
||
:bc, Sorry I didn't get around to testing before landing.
What tests can I run on Fenix? Just browsertime? Here's output from my unrooted P3 on Android 11. It seems to fail to launch the app (do I need to build locally or does it fetch a prebuilt Fenix for this?). Will try with the patch to make geckoview undebuggable.
Assignee | ||
Comment 7•4 years ago
|
||
There are problems with browsertime/geckodriver currently and with regard to Fenix, I don't know what tests it can run in tree. I used the patch attached above to make geckoview_example and geckoview.test be undebuggable and then ran the normal set of tests using that script I showed you. I never could get Fenix to do much of anything using our normal tests.
I see 22:06:51 INFO - raptor-browsertime Info: Browser failed to start, trying 2 more time(s): adb error: couldn't create file: Permission denied
in your output but unfortunately raptor hides the actual file which can not be created. You can probably see it in logcat though.
I would use the undebuggable patch and run tests using geckoview_example/geckoview.test and see if they work. Good luck.
Description
•