Closed
Bug 1162479
Opened 9 years ago
Closed 9 years ago
Regression of mochitest using make targets due to bug 1155338
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(firefox40 fixed)
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: iannbugzilla, Assigned: ahal)
References
Details
Attachments
(1 file, 1 obsolete file)
Pulled latest m-c and testing fails using syntax similar to:
TEST_PATH=path/to/test/ make -C $OBJ_DIR mochitest-browser-chrome
Bisecting gives bug 1155338 as the culprit
The error message I get is:
Traceback (most recent call last):
File "_tests/testing/mochitest/runtests.py", line 2636, in <module>
sys.exit(cli())
File "_tests/testing/mochitest/runtests.py", line 2633, in cli
return run_test_harness(options)
File "_tests/testing/mochitest/runtests.py", line 2610, in run_test_harness
result = runner.runTests(options)
File "_tests/testing/mochitest/runtests.py", line 2128, in runTests
result = self.runMochitests(options, tests_in_dir, onLaunch)
File "_tests/testing/mochitest/runtests.py", line 2048, in runMochitests
result = self.doTests(options, onLaunch, testsToRun)
File "_tests/testing/mochitest/runtests.py", line 2183, in doTests
self.manifest = self.buildProfile(options)
File "_tests/testing/mochitest/runtests.py", line 1436, in buildProfile
self.copyExtraFilesToProfile(options)
File "_tests/testing/mochitest/runtests.py", line 879, in copyExtraFilesToProfile
shutil.copytree(abspath, dest)
File "/usr/lib64/python2.7/shutil.py", line 177, in copytree
os.makedirs(dst)
File "/home/gizmo/central/sm-opt/_virtualenv/lib64/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/tmp/tmpF3EIYU.mozrunner/plugins'
Assignee | ||
Comment 1•9 years ago
|
||
I'll look into this. Though fyi the make targets are deprecate and support for them will be patchy at best.
Please try: mach mochitest -f browser-chrome path/to/test
Assignee | ||
Updated•9 years ago
|
Summary: Regression of mochitest with TEST_PATH due to bug 1155338 → Regression of mochitest using make targets due to bug 1155338
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
/r/8371 - Bug 1162479 - Fix mochitest make target regression with duplicate extraProfilePath, r=chmanchester
Pull down this commit:
hg pull -r 863a0354460e3f08aaa2584c60583fffbf2e7dc2 https://reviewboard-hg.mozilla.org/gecko/
Attachment #8602891 -
Flags: review?(cmanchester)
Comment 4•9 years ago
|
||
Comment on attachment 8602891 [details]
MozReview Request: bz://1162479/ahal
https://reviewboard.mozilla.org/r/8369/#review7069
I didn't try it out, but looks reasonable.
Attachment #8602891 -
Flags: review?(cmanchester) → review+
Assignee | ||
Comment 5•9 years ago
|
||
I tested, this fixes the issue for me.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8602891 -
Attachment is obsolete: true
Attachment #8620251 -
Flags: review+
Assignee | ||
Comment 9•9 years ago
|
||
Updated•7 years ago
|
Component: Mochitest Chrome → Mochitest
You need to log in
before you can comment on or make changes to this bug.
Description
•