I'm setting up a Release Management pipeline for my unit test environment to run some Selenium tests on a Windows 10 VM agent and am encountering errors when trying to run the Visual Studio Test Agent Deployment task on the VM.
My release definition includes the following steps: - Windows Machine File Copy - Visual Studio Test Agent Deployment - Run Functional Tests
I have checked the usual pitfalls with WinRM
My release definition includes the following steps: - Windows Machine File Copy - Visual Studio Test Agent Deployment - Run Functional Tests
I have checked the usual pitfalls like WinRM and ran the ConfigureWinRM.ps1 as reference in https://docs.microsoft.com/en-us/azure/devops/pipelines/apps/cd/deploy-webdeploy-iis-winrm?view=azure-devops and found also this article PowerShell Remoting error with TFS build Visual Studio Test Agent Deployment task without success.
Here is the error output 2019-07-16T11:42:11.7619316Z ##[warning]Task 'VerifyTestAgentInstalled' for machine XXXXXXXX.com:5985's Error : System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server XXXXXXX.com failed with the following error message : The client cannot connect to the destination specified in the request. 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. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic.
Any help is greatly appreciated. I need a fresh set of eyes.
Thanks!