Closed
Bug 540117
Opened 16 years ago
Closed 16 years ago
postupload fails if directory exists
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: bhearsum)
Details
Attachments
(1 file, 1 obsolete file)
|
1.85 KB,
patch
|
catlee
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
I suspect this happens when two slaves are uploading at the same time:
Running post-upload command: post_upload.py -p firefox -v 3.6rc2 -n 1 --release-to-candidates-dir
http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/3.6rc2-candidates/build1/linux-i686/eo/firefox-3.6rc2.tar.bz2
Traceback (most recent call last):
File "/usr/bin/post_upload.py", line 267, in ?
func(options, upload_dir, files)
File "/usr/bin/post_upload.py", line 140, in ReleaseToCandidatesDir
CopyFileToDir(f, upload_dir, realCandidatesPath, preserve_dirs=True)
File "/usr/bin/post_upload.py", line 38, in CopyFileToDir
os.makedirs(full_dest_dir, 0755)
File "/usr/lib/python2.4/os.py", line 159, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/ftp/pub/firefox/nightly/3.6rc2-candidates/build1/linux-i686/xpi'
Encountered error while uploading
| Assignee | ||
Comment 1•16 years ago
|
||
This should be a simple fix, I'll have a look.
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → bhearsum
| Assignee | ||
Comment 2•16 years ago
|
||
| Assignee | ||
Comment 3•16 years ago
|
||
Pretty hard to reproduce this in staging, but I have verified that 'make upload' works as intended still.
Attachment #422210 -
Attachment is obsolete: true
Attachment #422224 -
Flags: review?(catlee)
| Reporter | ||
Updated•16 years ago
|
Attachment #422224 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 422224 [details] [diff] [review]
better version, using errno
changeset: 479:694b96076cd8
Attachment #422224 -
Flags: checked-in+
| Assignee | ||
Comment 5•16 years ago
|
||
Landed, updated the checkout on stage.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•