Error running mach: ['test', 'dom/serviceworkers']
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox77 fixed)
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: siddhantagarwal99, Assigned: arai, NeedInfo)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Steps to reproduce:
./mach test dom/serviceworkers
Actual results:
Error running mach:
['test', 'dom/serviceworkers']
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: Binary expected at /home/grtsid/work/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/bin/firefox does not exist.
File "/home/grtsid/work/src/mozilla-central/testing/mach_commands.py", line 388, in test
argv=extra_args, test_objects=tests, **kwargs)
File "/home/grtsid/work/src/mozilla-central/python/mach/mach/registrar.py", line 152, in dispatch
return self._run_command_handler(handler, context=context, **kwargs)
File "/home/grtsid/work/src/mozilla-central/python/mach/mach/registrar.py", line 109, in _run_command_handler
result = fn(**kwargs)
File "/home/grtsid/work/src/mozilla-central/testing/mochitest/mach_commands.py", line 447, in run_mochitest_general
**harness_args)
File "/home/grtsid/work/src/mozilla-central/testing/mochitest/mach_commands.py", line 142, in run_desktop_test
result = mochitest.run_test_harness(parser, options)
File "/home/grtsid/work/src/mozilla-central/obj-x86_64-pc-linux-gnu/_tests/testing/mochitest/runtests.py", line 3146, in run_test_harness
parser.validate(options)
File "/home/grtsid/work/src/mozilla-central/obj-x86_64-pc-linux-gnu/_tests/testing/mochitest/mochitest_options.py", line 1059, in validate
args = container.validate(self, args, self.context)
File "/home/grtsid/work/src/mozilla-central/obj-x86_64-pc-linux-gnu/_tests/testing/mochitest/mochitest_options.py", line 635, in validate
options.app = build_obj.get_binary_path()
File "/home/grtsid/work/src/mozilla-central/python/mozbuild/mozbuild/base.py", line 559, in get_binary_path
raise Exception('Binary expected at %s does not exist.' % path)
Expected results:
Test locally
| Assignee | ||
Comment 1•5 years ago
|
||
the error means you haven't built the binary.
have you run ./mach build ?
did it finish successfully?
I leave this bug opened, given I think the error message can be improved.
(I saw some newcomer hit this issue)
| Assignee | ||
Comment 2•5 years ago
|
||
Depends on D67725
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 4•5 years ago
|
||
| bugherder | ||
Description
•