mach mochitest fails on mobile environments
Categories
(Firefox Build System :: Mach Core, defect)
Tracking
(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox90 unaffected, firefox91 unaffected, firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox-esr91 | --- | unaffected |
firefox90 | --- | unaffected |
firefox91 | --- | unaffected |
firefox92 | --- | fixed |
People
(Reporter: hiro, Assigned: mhentges)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The details of the failure are as follows:
NameError: name 'command_context' is not defined
File "/home/hiro/android/testing/mochitest/mach_commands.py", line 511, in run_mochitest_general
result = run_mochitest(
File "/home/hiro/android/testing/mochitest/mach_commands.py", line 168, in run_android_test
kwargs["adbPath"] = get_adb_path(command_context)
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pass command_context
through for use with get_adb_path()
.
No longer passes through mach_context
because it was unused.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Thanks for the report! 👍
Reporter | ||
Comment 4•3 years ago
|
||
Thank for the quick fix!
Though I am not sure this is an issue on my end, with the change mochitest seems to be started but it doesn't actually start it?
A log is;
0:19.65 INFO SimpleTest START
0:19.65 TEST_START: dom/events/test/test_coalesce_touchmove.html
0:41.35 INFO wait for org.mozilla.geckoview.test complete; top activity=com.android.launcher3
0:41.35 INFO runtestsremote.py | Application ran for: 0:00:23.433764
0:41.40 INFO Stopping web server
0:41.40 INFO Server shut down.
0:41.42 INFO Web server killed.
0:41.42 INFO Stopping web socket server
0:41.44 INFO Stopping ssltunnel
0:41.46 WARNING leakcheck | refcount logging is off, so leaks can't be detected!
0:41.46 INFO runtests.py | Running tests: end.
0:41.57 INFO Buffered messages finished
Should I open a new bug?
CCing Agi.
Reporter | ||
Comment 5•3 years ago
|
||
Never mind! I have to specify --enable-webrender explicitly, with the option I can run mochitest properly. Thanks!
Comment 6•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Updated•3 years ago
|
Description
•