Closed Bug 508260 Opened 16 years ago Closed 16 years ago

win32 try builds occasionally fail their cleanup step with 'no such file or directory' errors

Categories

(Release Engineering :: General, defect, P2)

x86
Windows Server 2003
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: nthomas)

References

Details

Attachments

(1 file)

After switching to rmdir in bug 496712 we're seeing win32 try builds occasionally fail with 'no such file or directory' errors. I would that this is an entirely legitimate error, though I'm not sure why it would happen as all of the slaves should have dirs that need cleaning up before the build runs.
rmdir has an exit code of 1 if the directory doesn't already exist, say if the machine has been clobbered, or is a new slave, or the builder itself is new. Or more likely here, if we changed the builder directories and added rmdir close enough that not all slaves had had a chance to do all builds. We could wrap the rmdir in a 'if -e mozilla', providing the error code of an actual cleanup error is propagated forward to buildbot. In the meantime, these slaves have had directories created moz2-win32-slave07, 19 win32-unit/mozilla moz2-win32-slave05 sendchange-win32-unittest/mozilla based on build failures on their last 50 builds. This bug blocks adding more windows builders to the try server, IMO.
OS: Mac OS X → Windows Server 2003
Occurences of this today on win9 and win11.
try-w32-slave09,11,13 have been fixed up (In reply to comment #1) This should refer to try-w32-slave05,07,19
Testing a fix on staging.
Assignee: nobody → nthomas
Status: NEW → ASSIGNED
Component: Release Engineering: Future → Release Engineering
Priority: -- → P2
Attached patch Quick fixSplinter Review
Attachment #394174 - Flags: review?(anodelman)
Comment on attachment 394174 [details] [diff] [review] Quick fix The things we do to make windows happy.
Attachment #394174 - Flags: review?(anodelman) → review+
Landed http://hg.mozilla.org/build/buildbot-configs/rev/3e196740024a to apply the same change to the cvs build factory. Carried r+.
Pushed to prod and staging try masters.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: