Closed
Bug 1505369
Opened 7 years ago
Closed 5 years ago
Intermittent WindowsError: [Error 183] Cannot create a file when that file already exists: u'z:\\build\\build\\src\\obj-firefox\\dist\\bin\\shell'
Categories
(Firefox Build System :: General, defect, P5)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: archaeopteryx [at] coole-files.de
https://treeherder.mozilla.org/logviewer.html#?job_id=209669007&repo=autoland
https://queue.taskcluster.net/v1/task/fwoZHI5uSMSXXejzYAam7w/runs/0/artifacts/public/logs/live_backing.log
06:03:50 INFO - mozmake.EXE[4]: Entering directory 'z:/build/build/src/obj-firefox/js/src/shell'
06:03:50 INFO - z:/build/build/src/obj-firefox/_virtualenvs/init/Scripts/python.exe z:/build/build/src/config/nsinstall.py -t -m 644 '' '../../../dist/bin'
06:03:50 INFO - Traceback (most recent call last):
06:03:50 INFO - File "z:/build/build/src/config/nsinstall.py", line 188, in <module>
06:03:50 INFO - sys.exit(_nsinstall_internal(argv[1:]))
06:03:50 INFO - File "z:/build/build/src/config/nsinstall.py", line 149, in _nsinstall_internal
06:03:50 INFO - copy_all_entries(args, target)
06:03:50 INFO - File "z:/build/build/src/config/nsinstall.py", line 108, in copy_all_entries
06:03:50 INFO - handleTarget(e, dest)
06:03:50 INFO - File "z:/build/build/src/config/nsinstall.py", line 123, in handleTarget
06:03:50 INFO - os.mkdir(targetpath)
06:03:50 INFO - WindowsError: [Error 183] Cannot create a file when that file already exists: u'z:\\build\\build\\src\\obj-firefox\\dist\\bin\\shell'
06:03:50 INFO - z:/build/build/src/config/rules.mk:1484: recipe for target '../../../dist/bin/js.pdb' failed
06:03:50 INFO - mozmake.EXE[4]: *** [../../../dist/bin/js.pdb] Error 1
06:03:50 INFO - mozmake.EXE[4]: Leaving directory 'z:/build/build/src/obj-firefox/js/src/shell'
06:03:50 INFO - z:/build/build/src/config/recurse.mk:74: recipe for target 'js/src/shell/syms' failed
06:03:50 INFO - mozmake.EXE[3]: *** [js/src/shell/syms] Error 2
06:03:50 INFO - mozmake.EXE[3]: *** Waiting for unfinished jobs....
Comment 1•7 years ago
|
||
This is a race condition when we use nsinstall.py to copy pdb files in the asan build. nsinstall.py uses os.mkdir in this case:
https://dxr.mozilla.org/mozilla-central/rev/c291143e24019097d087f9307e59b49facaf90cb/config/nsinstall.py#117
...but doesn't handle the "directory already exists" case. Humorously there's already a `maybe_create_dir` function in that file, so we could probably just change that line to use that function instead:
https://dxr.mozilla.org/mozilla-central/rev/c291143e24019097d087f9307e59b49facaf90cb/config/nsinstall.py#65
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 4•7 years ago
|
||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 9•6 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → INCOMPLETE
Comment 10•6 years ago
|
||
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment hidden (Intermittent Failures Robot) |
Comment 12•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Status: REOPENED → RESOLVED
Closed: 6 years ago → 5 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•