简体   繁体   English

VSTS中的测试代理构建错误

[英]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.

相关问题 生成VSTS错误,还原失败 - Build VSTS error, failed to restore Build Agent上的代码合同错误? - Code Contracts Error on Build Agent? VSTS 构建管道:测试连接到 Azure Key Vault 失败 - VSTS Build Pipeline: Test fails connecting to Azure Key Vault VSTS - Visual Studio测试任务失败,出现错误没有测试可用 - VSTS - Visual Studio Test Task fails with an error No Test is Available 仅当在VSTS托管代理上构建时,具有发行版配置和.net本机的UWP App才会崩溃 - UWP App with release configuration and .net native crashes only when build on VSTS hosted agent 错误构建VSTS:## [错误]错误:无法找到'nuget' - Error build VSTS: ## [error] Error: Unable to locate the 'nuget' VSTS 构建 Specflow 错误已安装 3.0 但它正在尝试使用 1.9 - VSTS build Specflow error have 3.0 installed but it is trying to use 1.9 在VSTS上构建MonoGame项目 - Build MonoGame project on VSTS 没有可用的测试..通过 exe 使用构建工具和 VM 上的测试代理进行测试 - no test available..test through exe using build tools and test agent on VM 如何在 VSTS 中构建期间以编程方式向测试结果添加附件? - How do I programmatically add attachments to test results during a build in VSTS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM