(26.07.2016)I am using TFS2015 Update3 in a VM. When I try to queue a build through the web interface or from Team Explorer, I get the following. Then I restart all services related to TFS in services.msc and then after some time it starts working again.
So this happens too often.
Is there a way to debug this behaviour?
Examining the Log files
Link to Worker log file
Link to Agent log file
Exception occurs in this order here:
- Checking if artifacts directory exists
C:\workspaces\agent\_work\2\a
- Deleting artifacts directory
- System.ComponentModel.Win32Exception (0x80004005): The directory is not empty
at Microsoft.TeamFoundation.Common.FileSpec.DeleteDirectoryLongPath(String path, Boolean recursive, Boolean followJunctionPoints)
The weird thing is, queueing new build works most of the time, this happens only sporadically
It could be, that I have opened a file from that folder in notepad with many tabs open. Will observe if this issue persists and report.
$\myapp\$(branch)
under the Repository tab. This resulted in the build just waiting for agent, which is pretty unhelpful. I've not found a way to debug it. – JeanettDeleteDirectoryLongPath
andWin32Exception
andTaskCanceledException
appear... – QophSystem.ComponentModel.Win32Exception (0x80004005): The directory is not empty
– Qoph