Errors in server Event Log

We have these kinds of errors in the server system event log concerning the agent workspace cleanup:

Could not perform post-build cleanup operations on workspace. System.Exception: Could not delete tree, the following exceptions occured:
    C:\ContinuaShare\Ws\Test_Framework\5\.hg\store\data\_artifacts\_variables: The directory is not empty.
    C:\ContinuaShare\Ws\Test_Framework\5\.hg\store\data\_artifacts: The directory is not empty.
    C:\ContinuaShare\Ws\Test_Framework\5\.hg\store\data: The directory is not empty.
    C:\ContinuaShare\Ws\Test_Framework\5\.hg\store: The directory is not empty.
    C:\ContinuaShare\Ws\Test_Framework\5\.hg: The directory is not empty.

   at Continua.Common.Utilities.DirectoryHelper.DeleteTree(String path)
   at Continua.Modules.Builds.Workspace.b__0()
   at Continua.Common.Utilities.MutexUtilities.WithMutex(IStoppable context, String mutexName, Action action)
   at Continua.Modules.Builds.Workspace.Tidy(IApplication app)

 

In addition to these issues there are number of errors from repository actions logged when our SVN server is off-line for backup.

We’re looking into this… it may be a non issue as the it will get picked up by a later cleanup sweep… in any case we are looking at reworking the workspace synchronisation and cleanup code to cut down on the amount of IO that happens during a build… some promising r&d was done on this today.

Please do keep reporting any issues like this though… the next build will change how some errors are reported, for example repository issues (like when the server is unavailable) will be logged without a stack trace (pointless since it’s not needed in those cases).