Hi,
We recently implemented TFS 2012 (SP1) that consist of 2 app tiers and a 3rd server that serve as a Test Controller. I am having some strange issue with the Test Controller as it keeps throwing errors (see below event log entries) when the using tries to deploy the build to a certain environment. Each time I have to stop and restart the controller services to get it back online.
We did some investigation into this and discovered the the user's deployment script consist of certain xcopy command that regularly fails. When that happens, it cause the error to show up and bringing down the controller. It seem strange to me that an simple operation like this would bring the service down. So, my question is, is there a setting somewhere where I can set to prevent the script from bringing down the service? Thanks
===========
(QTController.exe, PID 4924, Thread 13) DEPLOY: PerformServerAction : Failed : Microsoft.TeamFoundation.TeamFoundationServerInvalidRequestException: The request was rejected by the server.
Technical information:
HTTP code 400: Bad Request ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.ReadResponse(HttpWebResponse webResponse, WebException webException)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.IsAuthenticationChallenge(TfsMessage requestMessage, HttpWebResponse webResponse, WebException webException, TfsMessage& responseMessage)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest()
at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
at Microsoft.TeamFoundation.Build.Client.BuildWebService4.UpdateBuildInformation(InformationChangeRequest[] changes)
at Microsoft.TeamFoundation.Build.Client.InformationNodeConverters.BulkUpdateInformationNodes(BuildDetail build, List`1 requests)
at Microsoft.TeamFoundation.Build.Client.BuildInformationNode.Save()
at Microsoft.VisualStudio.QualityTools.Controller.DeploymentTaskMonitor.<FlushBuildInformation>b__c()
at Microsoft.VisualStudio.QualityTools.Controller.DeploymentTaskMonitor.PerformServerAction(Action serverAction)
=========================
(QTController.exe, PID 4924, Thread 13) DEPLOY: PollDeploymentRuns : Handled Exception Microsoft.TeamFoundation.TeamFoundationServerInvalidRequestException: The request was rejected by the server.Technical information:
HTTP code 400: Bad Request ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.QualityTools.Controller.DeploymentTaskMonitor.PerformServerAction(Action serverAction)
at Microsoft.VisualStudio.QualityTools.Controller.DeploymentTaskMonitor.Poll(Object paramater)