Closed
Bug 784052
Opened 13 years ago
Closed 12 years ago
Windows Error: File already exists in install-tp5n mozharness step
Categories
(Testing Graveyard :: Peptest, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(1 file)
|
1.17 KB,
patch
|
mcote
:
review+
|
Details | Diff | Splinter Review |
I believe this is due to the fact that on Windows doing "copy('foo', '/bar/')" will try to rename 'foo' to 'bar' rather than place 'foo' inside 'bar' (which is what happens on Unix).
Traceback (most recent call last):
File "scripts/scripts/peptest.py", line 297, in <module>
peptest.run()
File "C:\talos-slave\test\scripts\mozharness\base\script.py", line 620, in run
self._possibly_run_method(method_name, error_if_missing=True)
File "C:\talos-slave\test\scripts\mozharness\base\script.py", line 591, in _possibly_run_method
return getattr(self, method_name)()
File "scripts/scripts/peptest.py", line 183, in install_tp5n
log_level=DEBUG)
File "C:\talos-slave\test\scripts\mozharness\base\script.py", line 166, in move
shutil.move(src, dest)
File "c:\mozilla-build\python25\Lib\shutil.py", line 196, in move
copytree(src, dst, symlinks=True)
File "c:\mozilla-build\python25\Lib\shutil.py", line 110, in copytree
os.makedirs(dst)
File "C:\mozilla-build\python25\lib\os.py", line 166, in makedirs
mkdir(name, mode)
WindowsError: [Error 17] Cannot create a file when that file already exists: 'C:\\talos-slave\\test\\build\\tests\\peptest\\tests/firefox/server'
| Assignee | ||
Comment 1•13 years ago
|
||
| Assignee | ||
Updated•13 years ago
|
Attachment #653403 -
Flags: review?(mcote)
Comment 2•13 years ago
|
||
Comment on attachment 653403 [details] [diff] [review]
Patch 1.0 - Fix windows error
LGTM
Attachment #653403 -
Flags: review?(mcote) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
No longer running peptests in mozharness
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•