[英]Test Agent build error in VSTS
i want to run coded ui test on my local machine from VSTS build.I have both test controller and test agent installed in my local machine and test agent status is online.But when i build the solution from Deploy test agent in VSTS build,i am getting this error...please help 我想从VSTS构建的本地计算机上运行已编码的ui测试。我在本地计算机上安装了测试控制器和测试代理,并且测试代理的状态为在线。但是当我从VSTS构建中的部署测试代理构建解决方案时,我正在收到此错误...请帮助
System.Exception: Error occured on '127.0.0.1:5985'.
System.Exception:在'127.0.0.1:5985'上发生错误。 Details : 'Connecting to remote server 127.0.0.1 failed with the following error message : The client cannot connect to the destination specified in the request.
详细信息:“连接到远程服务器127.0.0.1失败,并显示以下错误消息:客户端无法连接到请求中指定的目标。 Verify that the service on the destination is running and is accepting requests.
验证目标上的服务正在运行并且正在接受请求。 Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM.
有关在目标(通常是IIS或WinRM)上运行的WS-Management服务的信息,请查阅日志和文档。 If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig".
如果目标是WinRM服务,请在目标上运行以下命令以分析和配置WinRM服务:“ winrm quickconfig”。 For more information, see the about_Remote_Troubleshooting Help topic.'.
有关更多信息,请参见about_Remote_Troubleshooting帮助主题。 For troubleshooting, refer https://aka.ms/remotevstest .
有关故障排除,请参阅https://aka.ms/remotevstest 。 System.InvalidOperationException: Deploy Test Agent task has failed on all machines.
System.InvalidOperationException:在所有计算机上部署测试代理任务均失败。 Check the logs for more details.
检查日志以获取更多详细信息。 at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DtlMachineDeploymentHelper.ThrowIfNumberOfTargetMachinesAreZero(String exceptionMessage) at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DtlMachineDeploymentHelper.CopyBinariesToRemoteMachines(String sourcePath, String destinationPath, Boolean isTestAgentCopy, Boolean fallBackRun) at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.TryCopyBinariesFromBAToTestMachines(Boolean fallBackRun) at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.TryTestAgentCopyOrDownload(TestAgentToTestMachineDelegate[] testAgentDel) at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.CopyAgentToTestMachines() at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.Run() at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.TaskRunner.Run
在Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DtlMachineDeploymentHelper.CopyBinariesToRemoteMachines(String,SourcePath) Microsoft.TeamFoundation的DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.TryCopyBinariesFromBAToTestMachines(Boolean fallBackRun)在Microsoft.TeamFoundTask.Task.Task.DistributedTestAutomation.DeployTestAgent.TryTestAgentCopyOrDownload(Test。 Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.TaskRunner.Run上的Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployTestAgent.Run() (Dictionary`2 arguments, VssConnection connection, TaskType taskType) at Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployAndConfigureTestAgentCmdlet.ProcessRecord()
(Dictionary`2 arguments,VssConnection connection,TaskType taskType)在Microsoft.TeamFoundation.DistributedTask.Task.DistributedTestAutomation.DeployAndConfigureTestAgentCmdlet.ProcessRecord()
请按照以下步骤配置测试代理: 如何在远程计算机上运行PowerShell命令 ,然后重试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.