0
votes

Issue Description:

We have release definitions set up to execute Coded UI test cases, the test agent deployment task has run into an issue where in it the execution does not end until the deployment is manually cancelled, the message displayed on the terminal is as follows "DistributedTests: Task 'ConfigureTestAgent' on machine 'HOSTNAME:5985' is taking time. Please Wait"

vsts_testagent.exe path is supplied from local path.

Environment Details: TFS on-premises , TFS 2017 15.112.26307.0 (Tfs2017.Update1)

Build Agent : Private, OS: Windows Server 2012 R2, build agent version : 2.112.0

Test Agent : Private, OS: Windows 10

Test deployment task version: vstf_testagent.exe version version 14.0.23107.10

1

1 Answers

1
votes

Test agent deployment step will spend longer time when the first time to deploy the test agents on a machine, if a server has been deployed successfully before, it would be much faster.

Please try below items to fix that:

  • Try with same credentials for build agent and test agent.
  • Try to download the test agent and install it on that machine manually, then try to queue build with the test agent deployment taskagain. (Install and configure test agents
  • Try to deploy the test agent on another clean test machine.

Similar issue in Github for your reference: https://github.com/Microsoft/vsts-tasks/issues/2023