TypeError: run_python_tests() got an unexpected keyword argument 'log'

NEW
Unassigned

Status

defect
2 years ago
2 years ago

People

(Reporter: Dexter, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Running the following command:

> ./mach test toolkit/components/telemetry

Breaks after running the first test suite (even though all the tests pass), with the following error trace:

> TEST-INFO | checking window state
> Browser Chrome Test Summary
>         Passed: 746
>         Failed: 0
>         Todo: 0
>         Mode: e10s
> *** End BrowserChrome Test Results ***
> Buffered messages finished
> SUITE-END | took 14s
> Error running mach:
> 
>     ['test', 'toolkit/components/telemetry/tests/']
> 
> 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 should consider filing a bug for this issue.
> 
> If filing a bug, please include the full output of mach, including this error
> message.
> 
> The details of the failure are as follows:
> 
> TypeError: run_python_tests() got an unexpected keyword argument 'log'
> 
>   File "e:\mozilla-unified\testing/mach_commands.py", line 161, in test
>     argv=extra_args, test_objects=tests, **kwargs)
>   File "e:\mozilla-unified\python/mach\mach\registrar.py", line 129, in dispatch
>     return self._run_command_handler(handler, context=context, **kwargs)
>   File "e:\mozilla-unified\python/mach\mach\registrar.py", line 90, in _run_command_handler
>     result = fn(**kwargs)
>   File "e:\mozilla-unified\python/mach_commands.py", line 76, in python_test
>     return self.run_python_tests(*args, **kwargs)

Could this be related to bug 1421799?
Mh, looks like it's not, that bug was backed out.
Component: General → Python Test
You need to log in before you can comment on or make changes to this bug.