Deploy Test Agent problem on TFS 2017

  • Thread starter Thread starter rastek
  • Start date Start date
R

rastek

Guest
I have a build on TFS 2017 for my codedui project. TFS builds the project but after in Deply Task I am getting error in Deply Test Agent Task

TFS installed on local pc where also agent installed. In the task in Machines sections I wrote IP where agent is installed,

On github for Azure Devops Pipeline, I saw a comment which confused me (but thi is for TF 2018)

--> Since "Deploy test agent" task got deprecated in TFS 2018, there is no way to run the test agent in interactive mode automatically (like it did in TFS 2015 using Deploy Test agent task) to execute the CodedUI tests.

--> Since "Deploy test agent" task is deprecated now, you need to use "Visual studio test" task.

10.1.7.78:8081


I this IP or port is strict which I use for machine ?

Interesting fact is that, it gives remote agent access problem without changing anything

Error occured on '10.1.7.78:8081'. Details : 'Connecting to remote server 10.1.7.78 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.'. For troubleshooting, refer https://aka.ms/remotevstest.


And here is the first error I am getting on TFS build console

]Error occured on '10.1.7.78:8081'. Details : 'Connecting to remote server 10.1.7.78 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.'. For troubleshooting, refer https://aka.ms/remotevstest.
2019-07-23T10:16:16.1662856Z ##[error]System.Exception: Error occured on '10.1.7.78:8081'. Details : 'Connecting to remote server 10.1.7.78 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.'. For troubleshooting, refer https://aka.ms/remotevstest.
2019-07-23T10:16:16.1712720Z DistributedTests: Downloading test agent from https://go.microsoft.com/fwlink/?LinkId=615472 to $env:SystemDrive\TestAgent\vstf_testagent.exe location on the test machines
2019-07-23T10:16:16.1742634Z ##[warning]For troubleshooting, refer https://aka.ms/remotevstest.


PS: Asking this again. Which category I should select for TFS related problems ? I can not see any TFS related category.

Continue reading...
 
Back
Top