Closed
Bug 1636351
Opened 5 years ago
Closed 5 years ago
'mach mochitest <test>' fails: "AssertionError"
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: gbrown, Assigned: gbrown)
References
(Blocks 1 open bug)
Details
(Whiteboard: dev-prod-2020)
This appears to have broken recently:
$./mach mochitest testing/mochitest/tests/Harness_sanity
Test configuration changed. Regenerating backend.
0:07.07 INFO Checking for ssltunnel processes...
0:07.11 INFO Checking for xpcshell processes...
Error running mach:
['mochitest', 'testing/mochitest/tests/Harness_sanity']
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:
AssertionError
File "/home/gbrown/src/testing/mochitest/mach_commands.py", line 433, in run_mochitest_general
**harness_args)
File "/home/gbrown/src/testing/mochitest/mach_commands.py", line 143, in run_desktop_test
result = mochitest.run_test_harness(parser, options)
File "/home/gbrown/objdirs/firefox/_tests/testing/mochitest/runtests.py", line 3171, in run_test_harness
result = runner.runTests(options)
File "/home/gbrown/objdirs/firefox/_tests/testing/mochitest/runtests.py", line 2622, in runTests
tests = self.getActiveTests(options)
File "/home/gbrown/objdirs/firefox/_tests/testing/mochitest/runtests.py", line 1515, in getActiveTests
assert pathAbs.startswith(self.testRootAbs)
![]() |
Assignee | |
Comment 1•5 years ago
|
||
Debugging the assert, I see one path referencing the source tree and the other the objdir.
![]() |
Assignee | |
Comment 2•5 years ago
|
||
:bc reported that he does not have this problem, so I clobbered, cleared caches, rebuilt, etc (I had also soft linked my objdir to another filesystem recently -- now undone) -- and mach mochitest is working for me again. I don't know what the problem was.
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•