Running Automated tests on Physical Environments

I am having trouble executing automated test cases from MTLM.  I have the following set up:

Test Controller machine, registered with TFS (on domain 1)

Test Agent machine, registered with Test Controller above.  (on domain 2) Status is Online

I’ve created the physical environment in MTLM and the testing status is ready.

I have an test case associated to a codedui test.

That codedui test is built with a TeamBuild definition.

The test plan has automated test settings specifying the physical environment mentioned above.

The test plan also specifies the build mentioned above.

I select the Test Case, select Run with Options and verify the correct test settings and environment.  The Test Run window appears and says “Waiting for Test Controller” — and it never changes.  The log files don’t show anything out of the ordinary
— no error messages or anything.  Below is a subset of the file (these are the only messages and they are repeated several times)

I must be missing something …

Any help would be greatly appreciated.

Thanks!

V, 1948, 14, 2010/11/02, 13:12:16.058, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: authentication complete for vm1
V, 1948, 14, 2010/11/02, 13:12:16.058, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: complete for vm1
V, 1948, 14, 2010/11/02, 13:12:16.059, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment called for Default with collector information required False
V, 1948, 14, 2010/11/02, 13:12:16.059, TEAMBUILD30QTController.exe, ControllerConfiguration::GetTestEnvironment called for ‘Default’
V, 1948, 14, 2010/11/02, 13:12:16.059, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: obtained environment for Default
V, 1948, 14, 2010/11/02, 13:12:16.059, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: authenticating user for Default
I, 1948, 14, 2010/11/02, 13:12:16.059, TEAMBUILD30QTController.exe, User Connected: TSCCORPsvc_testagent
V, 1948, 14, 2010/11/02, 13:12:16.059, TEAMBUILD30QTController.exe, Checking if user TSCCORPsvc_testagent is in Admin Group
V, 1948, 14, 2010/11/02, 13:12:16.060, TEAMBUILD30QTController.exe, User TSCCORPsvc_testagent is system, Admin, or controller user.
V, 1948, 14, 2010/11/02, 13:12:16.060, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: authentication complete for Default
V, 1948, 14, 2010/11/02, 13:12:16.060, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: complete for Default
V, 1948, 14, 2010/11/02, 13:12:16.060, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment called for Win7 with collector information required False
V, 1948, 14, 2010/11/02, 13:12:16.060, TEAMBUILD30QTController.exe, ControllerConfiguration::GetTestEnvironment called for ‘Win7’
V, 1948, 14, 2010/11/02, 13:12:16.060, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: obtained environment for Win7
V, 1948, 14, 2010/11/02, 13:12:16.061, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: authenticating user for Win7
I, 1948, 14, 2010/11/02, 13:12:16.061, TEAMBUILD30QTController.exe, User Connected: TSCCORPsvc_testagent
V, 1948, 14, 2010/11/02, 13:12:16.061, TEAMBUILD30QTController.exe, Checking if user TSCCORPsvc_testagent is in Admin Group
V, 1948, 14, 2010/11/02, 13:12:16.061, TEAMBUILD30QTController.exe, User TSCCORPsvc_testagent is system, Admin, or controller user.
V, 1948, 14, 2010/11/02, 13:12:16.061, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: authentication complete for Win7
V, 1948, 14, 2010/11/02, 13:12:16.061, TEAMBUILD30QTController.exe, ControllerObject::GetTestEnvironment: complete for Win7
V, 1948, 14, 2010/11/02, 13:12:16.062, TEAMBUILD30QTController.exe, RunMonitor: Executing query SELECT * FROM TestRun WHERE (State = ‘InProgress’ OR  State = ‘Waiting’) AND IsAutomated = 1 AND TestEnvironmentId IN (‘943db196-ad33-4a4c-be00-113c1d3b8c92′,’50768fae-50a0-496c-81dc-739602d25a9a’)
ORDER BY CreationDate

 

Can you please confirm that1> Account under which  test controller service is running has read permission on build share.2> Test binaries are present in top folder of build share and not sub-folders.For more diagnosis details, please refer tohttp://social.msdn.microsoft.com/Forums/en-US/vslab/thread/59135bb3-37c9-4d2e-8b35-d0ba810b98d4/#c1138746-07c7-455a-8aea-34e93deaf5c7/

Thank you!Turns out the test controller user did not have the necessary TFS rights.