First of all, we are using TFS 2013 update 3, and the whole system worked well before today's issue.
Today, both of our 2 TFS build agents failed to do successful TFS builds anymore.
I checked the build log, and found the build process failed at the very first step, CoreGet, like below
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(895,5,895,5): error : One or more errors occurred while performing a Get operation
What’s interesting is, it’s not failed to get every file, but just failed to get some files; What’s more interesting is, the fail-to-get-file-list is not fixed.
In my project, there are more than 10,000 files, and every time, 12 of them is failed to be got, but the files in the 12 are randomly picked (at least I did not find any pattern).The error message for any file is like this:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(895,5,895,5): error : C:\Builds\6\NameOfMyFile: Server was unable to process request. ---> Object reference not set to an instance of an object
I checked the local path of build agent, and actually all these files are successfully fetched from TFS server and saved to build agent.
Any ideas what happens?
I checked the local path of build agent, and actually all these files are successfully fetched from TFS server and saved to build agent.
do you mean that the files are actually there and for some reason the build just can't see them? - Just TFS