Question

I am trying to configure Visual Studio Team Services with a Test Controller so I can use Azure VM's for my Lab Management.

I have created a new Azure VM (Windows Server 2012 R2) and installed the Test Controller on it. I've run the Test Controller Configuration tool and connected it to my Visual Studio Team Services Default Collection. The configuration tool doesn't show any errors and informs me that the controller is correctly configured.

On my local development machine I've launched MTM to create a new standard environment for the Azure VM. However, when I switch to the Controllers tab, I can see my TFSController but it is shown as offline with the following message:

'The test controller is currently unavailable. Ask your administrators to connect to the test controller machine, launch the test controller configuration tool, and re-configure ith with the correct Team Foundation Server and team project collection. Alternatively, look at the events in event viewer of the test controller machine to identify the problem. Once the problem is resolved, click Refresh'.

The event log on the VM running the test controller doesn't show any errors. I've tried re-configuring the controller configuration with several combinations of credentials (local account, the username/password for the account that I use to logon to the VM and the same for the lab service account).

What am I doing wrong? Do I need to do something else because the Test Controller is running on an Azure VM?

Was it helpful?

Solution

It is not posible to connect a Test Controller/Agent to Azure DevOps or TFS 2018+. This is deprecated and a new solution using Azure Pipelines has been created.

enter image description here

You can then run tests directly from the Azure Test Plans page.

enter image description here

Find the full docs here: https://docs.microsoft.com/en-us/azure/devops/test/run-automated-tests-from-test-hub?view=vsts

OTHER TIPS

Are you using same account on both controller and agent?

Use an account having admin rights on VM and proper access rights to the Visual Studio Team Services, to configure test controller and use same account to configure test agent.

That might work!!!! Also ensure that Controller is running when you try to connect via agent.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top