Android 'mach mochitest' fails: "A cross-directory support file path noted in a test manifest does not appear in any other manifest."
Categories
(Testing :: Mochitest, defect)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: gbrown, Assigned: gbrown)
References
Details
Attachments
(1 file)
In a Firefox for Android context, 'mach mochitest' consistently fails:
$ ./mach mochitest
Error running mach:
['mochitest']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
Exception: A cross-directory support file path noted in a test manifest does not appear in any other manifest.
"browser/modules/test/browser/head.js" must appear in another test manifest to specify an install for "!/browser/modules/test/browser/head.js".
File "/home/gbrown/src/testing/mochitest/mach_commands.py", line 379, in run_mochitest_general
driver.install_tests(tests)
File "/home/gbrown/src/python/mozbuild/mozbuild/controller/building.py", line 1354, in install_tests
'_tests', test_objs)
File "/home/gbrown/src/python/mozbuild/mozbuild/testing.py", line 273, in install_test_files
manifest = _make_install_manifest(topsrcdir, topobjdir, test_objs)
File "/home/gbrown/src/python/mozbuild/mozbuild/testing.py", line 261, in _make_install_manifest
_resolve_installs(install_info.deferred_installs, topobjdir, manifest)
File "/home/gbrown/src/python/mozbuild/mozbuild/testing.py", line 203, in _resolve_installs
'for "!/%s".' % (path, path))
Assignee | ||
Comment 1•5 years ago
|
||
toolkit/components/antitracking/test/browser/browser.ini references browser/modules/test/browser/head.js.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Do not include the problematic manifest on Android. We never run Android
mochitest-browser-chrome anyway. Bug 1435429 used a similar approach.
Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0710791f6f52 Avoid cross-directory support file error in android mochitest; r=bc
Comment 4•5 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Description
•