none
Test Agent Connection Problems RRS feed

  • Question

  • Hi All!

    I’m trying over and over and over to configure Lab environment in my machine.

    I have 3 machines:

    1st machine:

    1. Windows 7 (Connected to the domain.)
    2. VSUltimate2013, MTM2013 (connected to TFS2013)
    3. Test Controller 2013
    4. UserA@Domain.com that is Administrator and out of Domain group policy (because of screen saver \ lock issues. Also belong to Administrators local group in Local machine)

     

    2nd machine:

    1. Windows 8 (Connected to the domain.)
    2. Test Agent 2013
    3. UserA@Domain.com that is Administrator and out of Domain group policy (because of screen saver \ lock issues. Also belong to Administrators local group in Local machine)

    3rd machine:

    1. Windows Server 2012 R2 (Connected to the domain.)
    2. Test Agent 2013
    3. UserA@Domain.com that is Administrator and out of Domain group policy (because of screen saver \ lock issues. Also belong to Administrators local group in Local machine)


    Results:

    I succeed to configure that Test Controller with UserA@Domain.com (has Project Collection permissions)

    Each time I want to configure the Test Agents (in both 2nd and 3rd machines) – I got the same error again and again. No matter what I’m doing.

    1. I type the controller’sMachine:6901
    2. I type UserA@Domain.com in the Test Agent
    3. I select interactive service
    4. When I apply the settings I got in View log:

    I, 2014/11/05, 17:39:39.214, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

     E, 2014/11/05, 17:39:40.228, Test agent could not connect to the test controller.

    I followed the solution in:

    https://social.msdn.microsoft.com/Forums/en-US/59bc2270-37d9-4297-ac3f-e0da21d10a95/test-agent-could-not-connect-to-the-test-controller-vs2012-agents?forum=vslab

    “I examined my Inbound Rules for my Firewall and discovered that the two exceptions for the QTAgentService.exe were actually blocked.” – I didn’t what role should I search in the Firewall (to mention that the roles Test Agent Lab and Network aren’t block and works fine…I think.

    I followed the guides in:

    http://support.microsoft.com/kb/2634636 I barely understand what they want from me.

    I go to Lab Center | Controllers and see that Test controller is recognized both Test Agents but their status was Disconnected.  

    Please your help.

    I’m so tired of it. L


    • Edited by Hiddai Sharabi Wednesday, November 5, 2014 4:53 PM HTML tags were appeared in the post
    Wednesday, November 5, 2014 4:52 PM

Answers

  • Hi Hiddai,

    Glad to receive your reply.

    According to your log message, the issue is that it could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I suggest you could try to repair test agent on Windows 8 and then configure the test controller and test agent manually again and then check if it works fine.

    Note: When you register a test agent with a test controller, you must also be a member of the Administrators security group on the test controller machine. Moreover note that if the user that you select to start the service or process for the test agent is the current user, when you add this user to the test controller machine, you must log off or restart the machine.

    About installing and configuring test controller and test agent, please see: http://msdn.microsoft.com/en-us/library/hh546459.aspx Please make sure that you have followed correct steps.

    If you still could not configure the test agent successfully, if possible, please provide me the screen shot about how to configure the test controller and test agent.

    In addition, I suggest you can also try to create a lab environment to configure the test agent automatically in lab environment and then check it again.

    Reference:

    http://msdn.microsoft.com/en-us/library/hh546460.aspx

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Friday, November 7, 2014 8:50 AM
    Moderator

All replies

  • Hi Hiddai,

    According to your description, you mean that when you are configuring the test agent every time, you will get the the following error:

    >>Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified. Test agent could not connect to the test controller.

    From your exception error, I suggest you could try the following steps to throubleshooting this issue.

    Step1: I suggest you could try to check whether you could connect to the test controller machine through RDP (remote connection tool)

    Step2: I suggest you could try to locate C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ QTController.exe.config, and then check if the test controller port is default 6901 in QTController.exe.config.

    Step3: I suggest you check test controller service whether it is running on the first machine.

    Step4: if the above suggestions still could not help you, please you enable test agent log and share log to us.

    Reference:

    How to enable test agent logs

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, November 6, 2014 7:49 AM
    Moderator
  • Hi Tina SHi!

    Thanks for your help. I'll be glad to continue by your help to analyze the problem and find the best solution for that.

    step 1 - connect by mstsc to 1st machine (Test Controller):

    I done that successfully.

    step 2 - check 1st machine QTController.exe.config file, inside:

    <add key="ControllerServicePort" value="6901"/>

    step 3 - visual studio test controller service:

    status: started

    Startup type: Automatic 

    Log on As: UserA@Domain.com

    View Log from 2nd machine (Test Agent on WIN 8 PC):

                                                                                                                            


    ************************************************************************************************
    Configuration started on 2014/11/06, 11:10:33.
    OS Version : Microsoft Windows NT 6.3.9600.0
    Executable version : 12.0.21005.1

    I, 2014/11/06, 11:10:33.739, Listing agent configurations
    I, 2014/11/06, 11:10:33.901, GetControllerName : The controller name managed by lab is 
    I, 2014/11/06, 11:10:33.923, IsManagedByLab : lab managed controller name : 
    I, 2014/11/06, 11:10:33.924, GetLabEnvironmentName vstfs:///LabManagement/TestMachine/17 under 1st-machine:6901
    I, 2014/11/06, 11:10:33.948, Creating Channel
    I, 2014/11/06, 11:10:33.962, CreateControllerObject : ControllerVersion : 12.0
    I, 2014/11/06, 11:10:33.982, IsManagedByLab : lab evironment name : 
    I, 2014/11/06, 11:10:33.986, NotManagedByLab = True
    I, 2014/11/06, 11:10:38.337, Agent process is presently running from the user : UserA@Domain.com
    I, 2014/11/06, 11:10:38.340, Agent configuration update pack details :
    I, 2014/11/06, 11:10:38.340, Run as interactive process : True
    I, 2014/11/06, 11:10:38.341, User name : HiddaiS
    I, 2014/11/06, 11:10:38.341, Change Port : False
    I, 2014/11/06, 11:10:38.341, Chang eService Account : True
    I, 2014/11/06, 11:10:38.341, Change Test Controller : True
    I, 2014/11/06, 11:10:38.341, Test Controller Uri : 1st-machine:6901
    I, 2014/11/06, 11:10:38.341, Disable Screensaver : True
    I, 2014/11/06, 11:10:38.341, Enable autologon : True
    I, 2014/11/06, 11:10:38.341, Port : -1
    I, 2014/11/06, 11:10:38.350, Validating user name and password.
    I, 2014/11/06, 11:10:38.393, Validated user name and password.
    I, 2014/11/06, 11:10:38.396, Starting firewall configuration...
    I, 2014/11/06, 11:10:38.413, IsPortExceptionEnabled: Checking for port exception for port 6910 in firewall profile STANDARD
    I, 2014/11/06, 11:10:38.427, IsPortExceptionEnabled: Checking for port exception for port 6910 in firewall profile DOMAIN
    I, 2014/11/06, 11:10:38.435, IsPortExceptionEnabled: Checking for port exception for port 6910 in firewall profile CURRENT
    I, 2014/11/06, 11:10:38.444, BaseConfig: AddFirewallExceptionIfRequired: Firewall exception already enabled for port 6910.
    I, 2014/11/06, 11:10:38.445, No change to the firewall setting as the firewall exception was already enabled for the application 'Microsoft Visual Studio Test Agent Service'.
    I, 2014/11/06, 11:10:38.446, Configured firewall exceptions for: 'Microsoft Visual Studio Test Agent Service'.
    I, 2014/11/06, 11:10:38.447, Enabling Remote Desktop on the machine...
    I, 2014/11/06, 11:10:38.473, No change to the Remote Desktop setting as Remote Desktop was already enabled on the machine.
    I, 2014/11/06, 11:10:38.490, Starting firewall configuration...
    I, 2014/11/06, 11:10:38.545, BaseConfig: AddFirewallExceptionIfRequired: Firewall exception already enabled for service Remote Desktop.
    I, 2014/11/06, 11:10:38.545, No change to the firewall setting as the firewall exception was already enabled for the service 'Remote Desktop'.
    I, 2014/11/06, 11:10:38.547, Configured firewall exceptions for: 'Remote Desktop'.
    I, 2014/11/06, 11:10:38.547, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=3.0.0 on agent machine
    I, 2014/11/06, 11:10:38.547, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=3.0.0 on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.548, Added agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=3.0.0 on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.548, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=3.0.0 on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.548, Added agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=3.0.0 on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.557, Adding agent setting NetworkAdapterInfo=F8B156A54D71 on agent machine
    I, 2014/11/06, 11:10:38.557, Adding agent setting NetworkAdapterInfo=F8B156A54D71 on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.557, Added agent setting NetworkAdapterInfo=F8B156A54D71 on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.557, Adding agent setting NetworkAdapterInfo=F8B156A54D71 on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.558, Added agent setting NetworkAdapterInfo=F8B156A54D71 on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.558, Adding agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE on agent machine
    I, 2014/11/06, 11:10:38.558, Adding agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.558, Added agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.558, Adding agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.558, Added agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.558, Creating event sources VSTTAgent 
    I, 2014/11/06, 11:10:38.558, Creating event sources VSTTAgent 
    I, 2014/11/06, 11:10:38.558, Event source VSTTAgent already exists.
    I, 2014/11/06, 11:10:38.558, Creating event sources VSTTAgentProcess 
    I, 2014/11/06, 11:10:38.558, Event source VSTTAgentProcess already exists.
    I, 2014/11/06, 11:10:38.558, Adding event source for event logging
    I, 2014/11/06, 11:10:38.559, ResetForceGuestKey : Getting the value of ForceGuest key
    I, 2014/11/06, 11:10:38.559, ResetForceGuestKey : The value of ForceGuest key is 0
    I, 2014/11/06, 11:10:38.559, Checking the status of service VSTTAgent
    I, 2014/11/06, 11:10:38.561, Found that service VSTTAgent is installed:False
    I, 2014/11/06, 11:10:38.562, Configuring test agent process...
    I, 2014/11/06, 11:10:38.562, previous user was : UserA@Domain.com, current user is : UserA@Domain.com 
    I, 2014/11/06, 11:10:38.575, Removing startup program for current user
    I, 2014/11/06, 11:10:38.576, Updating the startup registry
    I, 2014/11/06, 11:10:38.576, Removing VSTTAgentProcess from Run registry
    I, 2014/11/06, 11:10:38.581, Adding the process as startup program for user UserA@Domain.com...
    I, 2014/11/06, 11:10:38.582, Updating the startup registry
    I, 2014/11/06, 11:10:38.582, Updating Run registry to value : C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\QTAgentProcessUI.exe
    I, 2014/11/06, 11:10:38.583, Disabling screen saver for user UserA@Domain.com...
    I, 2014/11/06, 11:10:38.583, Updating screensaver registry
    I, 2014/11/06, 11:10:38.583, Adding agent setting DisableScreenSaver=True on agent machine
    I, 2014/11/06, 11:10:38.583, Adding agent setting DisableScreenSaver=True on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.583, Added agent setting DisableScreenSaver=True on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.583, Adding agent setting DisableScreenSaver=True on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.583, Added agent setting DisableScreenSaver=True on agent machine - 64 bit hive
    W, 2014/11/06, 11:10:38.584, Disabling of the screen saver might not be effective because of a group policy which disallows the disabling of screen saver.
    I, 2014/11/06, 11:10:38.584, Adding agent setting AgentRunMode=AsInteractiveProcess on agent machine
    I, 2014/11/06, 11:10:38.584, Adding agent setting AgentRunMode=AsInteractiveProcess on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.584, Added agent setting AgentRunMode=AsInteractiveProcess on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.584, Adding agent setting AgentRunMode=AsInteractiveProcess on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.584, Added agent setting AgentRunMode=AsInteractiveProcess on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.584, Adding agent setting AgentInteractiveProcessUserName=UserA@Domain.com on agent machine
    I, 2014/11/06, 11:10:38.584, Adding agent setting AgentInteractiveProcessUserName=UserA@Domain.com on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.584, Added agent setting AgentInteractiveProcessUserName=UserA@Domain.com on agent machine - 32 bit hive
    I, 2014/11/06, 11:10:38.584, Adding agent setting AgentInteractiveProcessUserName=UserA@Domain.com on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.584, Added agent setting AgentInteractiveProcessUserName=UserA@Domain.com on agent machine - 64 bit hive
    I, 2014/11/06, 11:10:38.584, Setting Tcp Parameters
    V, 2014/11/06, 11:10:38.585, Setting Tcp Parameters in 32bit Hive
    V, 2014/11/06, 11:10:38.585, Setting Tcp Parameters in 32bit Hive completed. 
    V, 2014/11/06, 11:10:38.585, Setting Tcp Parameters in 64bit Hive. 
    V, 2014/11/06, 11:10:38.585, Setting Tcp Parameters in 64bit Hive completed. 
    I, 2014/11/06, 11:10:38.585, Setting Tcp Parameters completed.
    I, 2014/11/06, 11:10:38.587, Registering this test agent with the test controller. This may take few minutes...
    I, 2014/11/06, 11:10:38.587, AgentConfiguration: Starting controller configuration.
    I, 2014/11/06, 11:10:38.587, GetControllerName : The controller name managed by lab is 
    I, 2014/11/06, 11:10:38.587, IsManagedByLab : lab managed controller name : 
    I, 2014/11/06, 11:10:38.587, GetLabEnvironmentName vstfs:///LabManagement/TestMachine/17 under 1st-machine:6901
    I, 2014/11/06, 11:10:38.587, Creating Channel
    I, 2014/11/06, 11:10:38.588, CreateControllerObject : ControllerVersion : 12.0
    I, 2014/11/06, 11:10:38.592, IsManagedByLab : lab evironment name : 
    I, 2014/11/06, 11:10:38.592, Checking whether agent vstfs:///LabManagement/TestMachine/17 exists on 1st-machine:6901
    I, 2014/11/06, 11:10:38.592, Creating Channel
    I, 2014/11/06, 11:10:38.593, CreateControllerObject : ControllerVersion : 12.0
    I, 2014/11/06, 11:10:38.597, AgentConfiguration: Ignoring controller change as agent is already configured on controller 1st-machine:6901. So ignoring it.
    I, 2014/11/06, 11:10:38.597, No change to the test controller setting as this test agent was already registered with the specified test controller.
    I, 2014/11/06, 11:10:38.598, IsManagedByLab : lab managed controller name : 
    I, 2014/11/06, 11:10:38.598, GetLabEnvironmentName vstfs:///LabManagement/TestMachine/17 under 1st-machine:6901
    I, 2014/11/06, 11:10:38.598, Creating Channel
    I, 2014/11/06, 11:10:38.598, CreateControllerObject : ControllerVersion : 12.0
    I, 2014/11/06, 11:10:38.601, IsManagedByLab : lab evironment name : 
    I, 2014/11/06, 11:10:38.601, Adding agent account UserA@Domain.com on controller 1st-machine:6901...
    I, 2014/11/06, 11:10:38.602, AgentConfiguration: Adding agent account UserA@Domain.com on controller 1st-machine:6901.
    I, 2014/11/06, 11:10:38.602, Creating Channel
    I, 2014/11/06, 11:10:38.603, CreateControllerObject : ControllerVersion : 12.0
    V, 2014/11/06, 11:10:38.817, Added agent service account UserA@Domain.com to TeamTestAgentService group on controller 1st-machine:6901
    I, 2014/11/06, 11:10:38.817, AgentConfiguration: Added agent account UserA@Domain.com on controller 1st-machine:6901.
    I, 2014/11/06, 11:10:38.817, Added agent user account UserA@Domain.com on controller 1st-machine:6901 successfully.
    I, 2014/11/06, 11:10:38.818, Configuring ACL...
    V, 2014/11/06, 11:10:38.819, AddAccessToDirectory: started: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE, rights: Write, Read
    V, 2014/11/06, 11:10:38.846, AddAccessToDirectory: completed
    I, 2014/11/06, 11:10:38.846, Granting permission on file C:\WINDOWS\VSTFS\testagent.config to account UserA@Domain.com
    I, 2014/11/06, 11:10:38.847, Granted permission on file C:\WINDOWS\VSTFS\testagent.config to account UserA@Domain.com
    I, 2014/11/06, 11:10:38.848, Configured ACL successfully.
    I, 2014/11/06, 11:10:38.848, Controller Machine = 1st-machine, Agent Machine = 2nd-machine
    I, 2014/11/06, 11:10:38.862, Starting test agent process...
    I, 2014/11/06, 11:10:38.871, Test agent process started successfully.
    I, 2014/11/06, 11:10:38.880, Verifying that the test agent is able to connect to the test controller.
    I, 2014/11/06, 11:10:38.890, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:39.891, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:40.892, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:41.893, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:42.893, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:43.894, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:44.894, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:45.895, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:46.895, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:47.896, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:48.896, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:49.896, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:50.897, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:51.897, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:52.898, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:53.898, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:54.899, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:55.900, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:56.901, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:57.901, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:58.902, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:10:59.902, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:00.902, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:01.903, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:02.904, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:03.905, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:04.905, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:05.906, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:06.906, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:07.907, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:08.907, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:09.907, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:10.908, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:11.908, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:12.909, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:13.910, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:14.911, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:15.911, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:16.911, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:17.912, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:18.912, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:19.913, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:20.913, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:21.913, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:22.914, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:23.914, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:24.915, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:25.915, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:26.915, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:27.916, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:28.916, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:29.917, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:30.917, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:31.918, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:32.918, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:33.918, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:34.919, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:35.919, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:36.920, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:37.920, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:38.921, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:39.921, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:40.921, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:41.922, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:42.922, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:43.923, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:44.923, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:45.924, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:46.925, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:47.925, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:48.927, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:49.928, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:50.929, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:51.930, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:52.930, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:53.931, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:54.931, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:55.932, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:56.933, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:57.933, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:58.934, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:11:59.934, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:00.935, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:01.936, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:02.937, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:03.937, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:04.937, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:05.938, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:06.938, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:07.939, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:08.940, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:09.940, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:10.941, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:11.942, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:12.942, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:13.942, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:14.943, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:15.943, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:16.945, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:17.945, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:18.946, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:19.947, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:20.947, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:21.948, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:22.948, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:23.948, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:24.949, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:25.949, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:26.950, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:27.950, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:28.951, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:29.951, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:30.951, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:31.953, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:32.953, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:33.953, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:34.954, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:35.954, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:36.955, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I, 2014/11/06, 11:12:37.955, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    E, 2014/11/06, 11:12:38.956, Test agent could not connect to the test controller.
    I, 2014/11/06, 11:12:38.957, Enabling auto logon for user UserA@Domain.com...
    I, 2014/11/06, 11:12:39.007, Adding agent setting AutoLogonEnabledByAgentConfiguration=1 on agent machine
    I, 2014/11/06, 11:12:39.007, Adding agent setting AutoLogonEnabledByAgentConfiguration=1 on agent machine - 32 bit hive
    I, 2014/11/06, 11:12:39.007, Added agent setting AutoLogonEnabledByAgentConfiguration=1 on agent machine - 32 bit hive
    I, 2014/11/06, 11:12:39.007, Adding agent setting AutoLogonEnabledByAgentConfiguration=1 on agent machine - 64 bit hive
    I, 2014/11/06, 11:12:39.008, Added agent setting AutoLogonEnabledByAgentConfiguration=1 on agent machine - 64 bit hive
    I, 2014/11/06, 11:12:39.008, Enabled auto logon for user UserA@Domain.com successfully.
    I, 2014/11/06, 11:12:39.008, IsAdminAccount : Trying to determine if the account : UserA@Domain.com is an admin on the local machine
    I, 2014/11/06, 11:12:39.023, Configuring network emulation driver. This may take few minutes...
    I, 2014/11/06, 11:12:39.023, Started checking the status of the Network Emulation Driver.
    I, 2014/11/06, 11:12:39.023, Network Emulation is already installed and configured, so not doing anything here.
    I, 2014/11/06, 11:12:39.023, No change to Network Emulation driver as it was already installed and configured.

    Thursday, November 6, 2014 9:20 AM
  • Hi Hiddai,

    Glad to receive your reply.

    According to your log message, the issue is that it could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.

    I suggest you could try to repair test agent on Windows 8 and then configure the test controller and test agent manually again and then check if it works fine.

    Note: When you register a test agent with a test controller, you must also be a member of the Administrators security group on the test controller machine. Moreover note that if the user that you select to start the service or process for the test agent is the current user, when you add this user to the test controller machine, you must log off or restart the machine.

    About installing and configuring test controller and test agent, please see: http://msdn.microsoft.com/en-us/library/hh546459.aspx Please make sure that you have followed correct steps.

    If you still could not configure the test agent successfully, if possible, please provide me the screen shot about how to configure the test controller and test agent.

    In addition, I suggest you can also try to create a lab environment to configure the test agent automatically in lab environment and then check it again.

    Reference:

    http://msdn.microsoft.com/en-us/library/hh546460.aspx

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Friday, November 7, 2014 8:50 AM
    Moderator
  • Tina Shi Hi!

    "In addition, I suggest you can also try to create a lab environment to configure the test agent automatically in lab environment and then check it again." 

    So...I wanted to updated that 2 days ago I decide to try the above options you suggested.

    I went to Lab Center | Environment.

    click New Environment, and followed the instruction.

    Also the system report that still my File Sharing is disabled in Windows Firewall. I opened all of them there

    Now I have 2 valid Test Agents in a Desktop Client PC, and in a Server PC.

    Thank you so much.

    It saved me a lot of time searching for the source of the problem.

    Sunday, November 9, 2014 7:15 AM