Open
Bug 1256445
Opened 9 years ago
Updated 3 years ago
mozregression does not allow to execute other mach commands
Categories
(Testing :: mozregression, defect)
Testing
mozregression
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
Details
I wanted to use the following options to check for a regression with firefox-ui-tests:
mach mozregression --good 383d2c72f4c77a81d44704272dcfbbe3c8cafca8 --bad 0b81120cfc00bfc33091dab4340b2e109a0964c1 --command "mach firefox-ui-functional testing/firefox-ui/tests/puppeteer/test_tabbar.py --binary {binary}" --repo mozilla-aurora
But mach fails here:
Error running mach:
['firefox-ui-functional', 'testing/firefox-ui/tests/puppeteer/test_tabbar.py', '--binary', '/tmp/tmpDylP7M/firefox/firefox']
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: No module named firefox_ui_harness.arguments.base
File "/mozilla/code/gecko/python/mach/mach/main.py", line 336, in run
return self._run(argv)
File "/mozilla/code/gecko/python/mach/mach/main.py", line 382, in _run
args = parser.parse_args(argv)
File "/usr/lib/python2.7/argparse.py", line 1701, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/usr/lib/python2.7/argparse.py", line 1733, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/usr/lib/python2.7/argparse.py", line 1921, in _parse_known_args
positionals_end_index = consume_positionals(start_index)
File "/usr/lib/python2.7/argparse.py", line 1898, in consume_positionals
take_action(action, args)
File "/usr/lib/python2.7/argparse.py", line 1807, in take_action
action(self, namespace, argument_values, option_string)
File "/mozilla/code/gecko/python/mach/mach/dispatcher.py", line 176, in __call__
if handler.parser:
File "/mozilla/code/gecko/python/mach/mach/decorators.py", line 77, in parser
self._parser = self._parser()
File "/mozilla/code/gecko/testing/firefox-ui/mach_commands.py", line 22, in setup_argument_parser_functional
from firefox_ui_harness.arguments.base import FirefoxUIArguments
File "/mozilla/code/gecko/build/mach_bootstrap.py", line 434, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/mozilla/code/gecko/build/mach_bootstrap.py", line 434, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•