`./mach wpt` does not run tests on an Android real device
Categories
(GeckoView :: General, task, P5)
Tracking
(Not tracked)
People
(Reporter: olivia, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
|
9.71 KB,
text/plain
|
Details |
When trying to run ./mach wpt webcodecs:
-
On an emulated device, the test loads and runs as expected.
-
On a real physical device, the logs get stuck at:
0:48.48 adb INFO Setting run_as_package to org.mozilla.geckoview.test_runner
./mach geckoview-junit runs as expected on a real device.
Device is an Android 14 Pixel 4a.
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Comment 2•1 year ago
|
||
Problems listed at file:///Users/olivia/Repos/gecko/obj-aarch64-unknown-linux-android/gradle/build/reports/problems/problems-report.html were build lint warnings and the like.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Comment 3•1 year ago
|
||
The severity field is not set for this bug.
:owlish, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
| Reporter | ||
Comment 4•1 year ago
|
||
Comment 5•1 year ago
|
||
This is not sufficient.
./mach wpt --package-name org.mozilla.fenix.debug --device-serial 39271FDJH00A7H testing/web-platform/tests/resource-timing/initiator-type/input.html
This harness has never worked with actual android devices.
Comment 6•1 year ago
|
||
Do we know if there's a conceptual blocker, i.e., not just misconfiguration; or do we know that there is no conceptual blocker (perhaps because :olivia has made it work on a device); or do we not know one way of the other?
| Reporter | ||
Comment 7•1 year ago
|
||
Thanks for taking a look!
It sounded like :padenot managed a workaround to get it to run on a real device (based on this Slack thread for more context). :jgraham had some more context too. There didn't seem to be a specific reason wpt tests should not run on real devices, more just that they hadn't been fully plumbed in.
(I'm not sure about org.mozilla.fenix.debug as mentioned in Comment 5, though. I was under the impression that in the first case that they were also running org.mozilla.geckoview.test_runner.)
Description
•