Open Bug 1108878 Opened 5 years ago Updated 2 years ago
Local Error: local variable 'result' referenced before assignment when running mochitest-browser
On Win 8.1 with current MozillaBuild (1.10.0) running the following command: mach mochitest-browser browser/devtools/storage/test/ gives the following result: From _tests: Kept 33961 existing; Added/updated 4; Removed 0 files and 0 directo ries. TEST-INFO | checking window state Browser Chrome Test Summary Passed: 0 Failed: 0 Todo: 0 *** End BrowserChrome Test Results *** Error running mach: ['mochitest-browser', 'browser/devtools/storage/test/'] 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: UnboundLocalError: local variable 'result' referenced before assignment File "c:\moz\src2\testing/mochitest/mach_commands.py", line 668, in run_mochit est_browser return self.run_mochitest(test_paths, 'browser', **kwargs) File "c:\moz\src2\testing/mochitest/mach_commands.py", line 791, in run_mochit est test_paths=test_paths, suite=flavor, **kwargs) File "c:\moz\src2\testing/mochitest/mach_commands.py", line 392, in run_deskto p_test result = runner.runTests(options) File "c:\moz\src2\obj-debug\_tests\testing\mochitest\runtests.py", line 1771, in runTests return result This could be a dupe of bug 1103159. I'm not specifying --e10s or --total-chunks but perhaps that is set by default now?
Component: Mochitest Chrome → Mochitest
You need to log in before you can comment on or make changes to this bug.