History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-686
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Critical Critical
Assignee: Robin Shen
Reporter: Roger Perkins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

util.cleanDir is now failing randomly on QB 3.x

Created: 13/Oct/10 05:18 PM   Updated: 08/Nov/10 11:53 PM
Component/s: None
Affects Version/s: 3.0.12
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Various Windows versions


 Description  « Hide
QB 2.x never had any issues when it came to running "util.cleanDir" on our nightly builds to wipe the workspaces clean. Since switching to QB 3.x it seems to be failing at least once a night across the different configurations. One of the folders that threw the exception was checked out the day before but never has anything access from it (as it's part of an art tool-chain not used when building code) so shouldn't have had anything locking that folder (it's possible a virus scanner or windows could have been doing something at exactly the wrong moment in that folder).

This is really serious for us as the cleanDir running partially leaves that agent in an unknown state where Perforce can think a lot of files exist on the hard-drive that have subsequently been manually deleted (so it won't grab them again).

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [14/Oct/10 01:50 AM]
We will revert back to use 2.x directory cleanup logic in next patch release (although 3.x cleanupDir() is enhanced to eliminate problems of 2.x when dealing with network drives, :(

Robin Shen [14/Oct/10 08:14 AM]
Sorry I was wrong on this. The directory deletion logic is exactly the same between 2.1.x and 3.0.x. Please refer to this forum post to further investigate the issue:
http://forum.pmease.com/viewtopic.php?f=1&t=1334

Roger Perkins [08/Nov/10 02:28 PM]
I think this may well be the windows defrag on Win7. It's scheduled to run at 1am every Wednesday by default and was possibly causing the failures. I'd moved around some projects when upgrading to 3.x and possibly that's why it started to fail now and again.

This issue can be closed.

Robin Shen [08/Nov/10 11:53 PM]
Thanks for the update. Closing it now.