Closed
Bug 1162343
Opened 11 years ago
Closed 11 years ago
`mach mochitest-plain` broken on Windows
Categories
(Firefox Build System :: Mach Core, enhancement)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: cpearce, Unassigned)
Details
It appears that `./mach mochitest` is broken on Windows 8.1:
$ ./mach mochitest-plain dom/media/test/
Error running mach:
['mochitest-plain', 'dom/media/test/']
The error occurred in mach itself. This is likely a bug in mach itself or a
fundamental problem with a loaded module.
Please consider filing a bug against mach by going to the URL:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=mach
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
ImportError: cannot import name MochitestArgumentParser
File "c:\Users\cpearce\src\mozilla\purple\python/mach\mach\main.py", line 344, in run
return self._run(argv)
File "c:\Users\cpearce\src\mozilla\purple\python/mach\mach\main.py", line 390, in _run
args = parser.parse_args(argv)
File "c:\mozilla-build\python\lib\argparse.py", line 1694, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "c:\mozilla-build\python\lib\argparse.py", line 1726, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "c:\mozilla-build\python\lib\argparse.py", line 1935, in _parse_known_args
stop_index = consume_positionals(start_index)
File "c:\mozilla-build\python\lib\argparse.py", line 1891, in consume_positionals
take_action(action, args)
File "c:\mozilla-build\python\lib\argparse.py", line 1800, in take_action
action(self, namespace, argument_values, option_string)
File "c:\Users\cpearce\src\mozilla\purple\python/mach\mach\dispatcher.py", line 172, in __call__
if handler.parser:
File "c:\Users\cpearce\src\mozilla\purple\python/mach\mach\base.py", line 123, in parser
self._parser = self._parser()
File "c:\Users\cpearce\src\mozilla\purple\testing/mochitest/mach_commands.py", line 328, in setup_argument_parser
from mochitest_options import MochitestArgumentParser
./mach build and ./mach build binaries is still working. The same test commands work on my MacOSX 10.10 MBP.
| Reporter | ||
Comment 1•11 years ago
|
||
A clobber fixed it. My build must have been stale somehow, or I'd clobbered without building or something. -> User error.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•