Test Controller exception: No such host is know

I'm getting following errors on the test controller machine, when I'm trying to run CodedUI tests remotely:
(QTController.exe, PID 3032, Thread 12) ControllerDeployment.DoDeployment: System.Net.Sockets.SocketException (0x80004005): No such host is known
During controller and agent configuration no errors came up. And when I go to Manage test controller dialog in Visual Studio I can see all the agents active. But when I try to execute any CodedUI test remotely it's hanging forever.
Not sure if it's connected with the fact that I've upgraded client/controller/agents to 2012 versions recently, but I've started seeing the problem only after this upgrade.

Hello Anton,
Glad to receive your reply.
Have you try the suggestions step by step provided in this link (http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/df043823-ffcf-46a4-9e47-1c4b8854ca13)?
I think that those steps are very useful which you can try them.
1.Use Visual Studio or Microsoft Test Manager (see Tools section above) to view Controller status.
2.If you can’t connect to Controller, make sure that Controller service is running:
   On Controller machine (you can also do that remotely) re/start controller service (see Tools section in Appendix).
3. (if you still can’t connect) On Controller machine make sure that it can accept incoming connections through Firewall:
Open port 6901 (or create exception for the service program/executable).
Add Firewall Exception for File and Printer Sharing.
4. (if you still can’t connect) make sure that the user you run the Client under has permissions to connect to Controller:
On Controller machine, add Client user to the TeamTestControllerAdmins local group.
5. (if you still can’t connect) On Client machine make sure that Firewall is not blocking incoming and outgoing connections:
Make sure that there is Firewall exception for Client program (devenv.exe, mstest.exe, mlm.exe) so that it can accept incoming connections.
Make sure that Firewall is not blocking outgoing connections.
6. If you still can’t connect, you can try to re-configure the test controller and test agent.
7.If you still can’t connect, restart Controller service
In addition, I would like to know if you have VS2010 and VS2012 on the same machine. If yes, maybe it can cause some unexpected issue. I suggest that you can install the VS2010 to check
the result.
Hope you can update the result once you have tried the steps
Best regards,
Amanda Zhu [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Similar Messages

  • Can I know whether test controller for VS 2010 is installed in TFS

    Hi,
    I downloaded the TestController for VS2010 in client machine & it is an iso file. It asks iso reader to read the file.
    My Question is:
    1.Whether Test Controller 2010 need to configure in TFS server?(Team Foundation Server Administration Console)
    Because I received the following error message while I work in MTM 2010(Lab Center)
    “To create a physical environment, you must have a test controller to available. To add a test controller to your team project collection, you must run the Team Test Controller
    Configuration Tool as an administrator on the computer where your test controller is installed”
    2.While I configure Test Controller 2010 in client machine it shows the
    error message in Configuration Summary dialog box,when "Register with Team Project Collection" in Configuring Test Controller dialog box.
    "Failed to update TFS Team Project Collection as the test Controller service account couldnot be granted required permission.To fix this error,run this tool with an account that has a "Project Collection
    Administrator" rights & try again
    3.Whether Test Controller,Build Controller 2010 & Lab Management need to configure in TFS server?
    Inorder to work in the  Lab Center in MTM2010 & in VS 2010
    regards,
    Nazima

    Hi Nazima,
    According to your description, you are want to create lab environment.
    >> Whether Test Controller 2010 need to configure in TFS server? (Team foundation Server Administration Console)
    No, there isn’t the way to configure test controller in TFS administrator console. You just need to register the test control to TFS.
    >> While I configure Test Controller 2010 in client machine it shows the error message in Configuration Summary dialog box,when "Register with Team Project Collection" in Configuring Test Controller dialog box
    The reason is that the account that you specified in test controller configuration tool haven’t enough permission, the account needs team project collection administrator right.
    # Set Administrator Permissions for Team Project Collections
    https://msdn.microsoft.com/en-us/library/dd547204(v=vs.100).aspx
    >> Whether Test Controller,Build Controller 2010 & Lab Management need to configure in TFS server? Inorder to work in the 
    Lab Center in MTM2010 & in VS 2010
    To register test controller to TFS, please refer to:
    # Setting Up Test Controllers in Lab Environments
    https://msdn.microsoft.com/en-us/library/hh546460.aspx
    About configure build controller, please refer to:
    # Deploy and configure a build controller
    https://msdn.microsoft.com/en-us/library/ee330987.aspx
    About configure lab environment (for SCVMM lab environment), please refer to:
    # Configuring and administering Lab Management
    https://msdn.microsoft.com/en-us/library/dd936084.aspx
    By the way, if you just want to use standard lab environment, you don’t need to configure lab management in TFS administrator console.
    Regards
    Starain
    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.

  • Cross Domain Connection Issues with Test Controller

    I am having trouble resolving a problem I have connecting a build agent with the test controller in a cross domain environment.  I have purged out the actual machine names, domain names, and IP addresses just in case that is a security concern. 
    Situation is this:
    All machines are running Visual Studio 2013
    Test controller/agents are on Windows Server 2012 R2
    Test controller is installed as stand-alone in order to be able to do load testing, as well as API and CodedUI.
    Build definition in TFS kicks off the automation using testsettings file to point to build controller
    Application under test uses resources in the ABC.XYZ domain.  Test agents need to be in ABC.XYZ in order to test application E2E.
    TFS is in Main.corp.company.com domain.
    Test controller is a dual-homed box in corp.company.com and ABC.XYZ domains.  It are accessible from Main using the corp.company.com NIC.
    All our dual homed boxes are set up this way.  Dual homed with Main and ABC directly is considered a security violation.
    From the dual homed box, logged in with my ABC credentials, I can access TFS in Main using my Main credentials.
    Manually, I can successfully kick off a test run from a command line from a VM in ABC.
    Build controller and build agents are in Main.corp.company.com.
    Build controller can successfully connect to build agent, and build agent successfully builds the automation.
    Build agent fails to connect to build controller:
    Failed to queue test run 'buildagent@MachineOne 2014-08-12 12:35:34_Any CPU_Debug': No such host is known
    I can ping the build controller from the test agent, and I can successfully query port 6901:
    Querying target system called:
    testcontroller.corp.company.com
    Attempting to resolve name to IP address...
    Name resolved to 10.10.10.111
    TCP port 6901 (unknown service): LISTENING
    Firewall is turned off on the test controller.  Even if it wasn’t, the relevant rules allowing port 6901 and File and Printer Sharing are created.
    Local Security Policy | Security Options | Network access: Sharing & security model = classic
    NETBIOS names of the test agents and build agent are set in the test controller’s hosts file (they were pingable without this anyway)
    NETBIOS name of the test controller is set in the test agent’s hosts file (it was pingable without this anyway)
    Tried both simple NETBIOS name and FSDN for test controller in testsettings file
    Considering installing a build agent on the same machine as the test controller, but suspect that would just move my communication problem to build controller : build agent
    Considering moving test controller to Main and making the four test agents dual-homed, but there is a concern to limit the number of dual-homed boxes, and also suspect that would again just move the communication problem.
    I can use netstat to verify that the service is listening to port 6901 on both NICs:
    TCP    0.0.0.0:6901           0.0.0.0:0              LISTENING       6536
    TCP    [::]:6901              [::]:0                 LISTENING      
    6536
    (PID 6536 is the QTController.exe)
    However the VSTTController.log only mentions listening to the ABC NIC.  Since the connection to the ABC test agents works, that makes sense.
    When I open the testsettings file on my laptop in the Main domain and examine the server name, there is a warning that the host cannot be found.  When I open it on a VM in the ABC domain I am able to manage the test controller and view all the test
    agents.  However, if I try to restart the build controller I get an access denied error.  Not sure if that is related in some way.
    I am using a ABC domain service account to run the test agent sevice.  There is a Main domain service account running the build.  Both service accounts are administrators on the test controller and in the TeatTestControllerAdmins and TeatTestControllerUsers
    groups.  The test agent service account is also in the TeamTestAgentService group.
    I tried to create a port proxy to forward requests from the Main facing NIC to the port on the ABC facing NIC:
    netsh interface portproxy add v4tov4 listenport=6901 listenaddress=10.10.10.111 connectport=6901 connectaddress=10.20.20.222
    This almost worked.  I could see with netstat commands that the port was opened and a connection was established with the build agent,  however after a long wait it hit an error that it couldn’t find the ABC NIC:
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.20.20.222:6901
    So apparently the ABC IP is getting forwarded back to the test agent, which then of course can’t use it.
    I am running out of ideas to try.  Not sure where the problem is:
    Cross-domain issue between Main.corp.company.com and corp.company.com?  Or,
    Problem with the test controller not being able to listen on more than one NIC?
    I know I am not the first person to try to set up something cross domain.  Most of the troubleshooting suggestions I have been able to bing have been about fixing connections between test controller and test agents, which isn’t the problem here. 
    Is this set up just so far from standard that VS can’t handle it?
    Thanks in advance,
    Gary

    Hi Gary,
    Thank you for posting in the MSDN forum.
    >> Build agent fails to connect to build controller: Failed to queue test run 'buildagent@MachineOne 2014-08-12 12:35:34_Any CPU_Debug': No such host is known
    >> I know I am not the first person to try to set up something cross domain.  Most of the troubleshooting suggestions I have been able to bing have been about fixing connections between test controller and test
    agents, which isn’t the problem here. 
    Just to make this issue clearly, you mean that it is not the Test Controller and Test Agent issue, am I right?
    As you said that it is related to the Build controller and build Agent, am I right?
    If it is related to the Build Controller and Build Agent, I suggest you post this issue to the TFS forum, there you would get dedicated support.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vstfs&filter=alltypes&sort=lastpostdesc
    If there's any concern, please feel free to let me know.
    Sincerely,
    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. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Test Controller hangs while connecting to TFS URL

    Hi All,
    When I open Test Controller Configuration tool window it hangs for some time and says that , it cannot connect to my TFS
    Internet URL(in logs), after some time it throws "time out" exception. 
    I need to manually add the TFS Intranet  URL and again it hangs . 
    Option Tried : Deleted TFS Cache from %AppDATA%\Microsoft...\Cache 
    Unfortunately , It again hangs everytime when I open Test Controller Configuration Tool window, tried adding equi Trace to 4 Verbose in QTController.exe.config file to analyze the logs, ended up knowing the same error -
    Not able to connect to TFS Internet URL,  could you please let me know how to change the TFS URL for Test Controller ?
    And why this is happening ?
    Thanks,
    Abraham Dhanyaraj

    Hi Abraham,
    Thanks for your reply.
    From your reply, to check if this issue is related to this Test controller setup file, please you try to install the same test controller on other machine and then try to configure the controller with TFS and then check this issue again.
    (1) If you still did not get same issue, I suggest you could try to the following suggestion to check this issue.
    (1.1) if you installed some third-party tools on your test controller machine, please disable or un-install them and then check this issue again.
    (1.2) I suggest you’d better close some processes on the Task Manager such as the
    Anti-virus software or the firewall
    on your test
    controller machine check your issue.
    (1.3)
    If you run your test controller machine with a long time, maybe restart your machine would be better.
    (1.4) If the above suggestion still could not help you, please you try to un-install the test controller on your machine and then re-install it check this issue again.
    (2) If you still get the some issue, I assume that the issue is related to this setup file, so please try to download this Test controller setup file and then install it check this issue again.
    http://www.microsoft.com/en-hk/download/details.aspx?id=40750
    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.

  • Connection between the test agent and test controller randomly drops.

    Hi all,
    I setup a test environment with the VS2013 IDE, test controllers, and test agents all on the same domain and I am experiencing random connection drops during test runs.
    I am able to get a connection started between the controller and agents, but have not been able to get a stable enough connection to run a test suite of 3000+ tests. 
    I have added firewall exceptions for the default ports and turned to disabling the firewall on both the controller and the agents.
    I installed and configured the controller/agents with the same admin account.
    This account is in the TeamTestAgentService, TeamTestControllerAdmins, and TeamTestControllerUsers groups of the controller machine.
    I am using Windows Server 2012 for the controller, and Windows 8.1 for the agents.
    Here are the agent logs right before failure: 
    V, 2228, 30, 2015/05/01, 07:04:04.481, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 26, 2015/05/01, 07:04:34.264, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 13, 2015/05/01, 07:05:04.469, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 19, 2015/05/01, 07:05:34.284, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 24, 2015/05/01, 07:06:04.395, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 18, 2015/05/01, 07:06:34.428, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    V, 2228, 37, 2015/05/01, 07:07:04.398, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is up.
    I, 2228, 38, 2015/05/01, 07:07:34.400, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 38, 2015/05/01, 07:07:34.400, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 38, 2015/05/01, 07:07:34.400, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 38, 2015/05/01, 07:07:34.400, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 38, 2015/05/01, 07:07:34.479, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 38, 2015/05/01, 07:07:34.541, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 38, 2015/05/01, 07:07:34.541, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 38, 2015/05/01, 07:07:35.291, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 38, 2015/05/01, 07:07:35.291, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Server stack trace: 
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.VisualStudio.TestTools.Controller.IControllerCallback.ConnectAgent(String agentName, String machineName, String domainName, Boolean canPerformUITesting, String configuredUserName, String agentVersion, IAgentService agentObject)
       at Microsoft.VisualStudio.TestTools.Agent.AgentService.ConnectToController(Boolean shouldThrow)
    I, 2228, 25, 2015/05/01, 07:08:04.340, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 25, 2015/05/01, 07:08:04.340, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 25, 2015/05/01, 07:08:04.340, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 25, 2015/05/01, 07:08:04.340, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:08:04.371, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 25, 2015/05/01, 07:08:04.386, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:08:04.386, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 25, 2015/05/01, 07:08:04.871, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 25, 2015/05/01, 07:08:04.871, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Server stack trace: 
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.VisualStudio.TestTools.Controller.IControllerCallback.ConnectAgent(String agentName, String machineName, String domainName, Boolean canPerformUITesting, String configuredUserName, String agentVersion, IAgentService agentObject)
       at Microsoft.VisualStudio.TestTools.Agent.AgentService.ConnectToController(Boolean shouldThrow)
    I, 2228, 25, 2015/05/01, 07:08:34.341, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 25, 2015/05/01, 07:08:34.341, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 25, 2015/05/01, 07:08:34.341, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 25, 2015/05/01, 07:08:34.341, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:08:34.529, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 25, 2015/05/01, 07:08:34.529, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:08:34.529, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 25, 2015/05/01, 07:08:34.638, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 25, 2015/05/01, 07:08:34.638, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Server stack trace: 
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.VisualStudio.TestTools.Controller.IControllerCallback.ConnectAgent(String agentName, String machineName, String domainName, Boolean canPerformUITesting, String configuredUserName, String agentVersion, IAgentService agentObject)
       at Microsoft.VisualStudio.TestTools.Agent.AgentService.ConnectToController(Boolean shouldThrow)
    I, 2228, 25, 2015/05/01, 07:09:04.359, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 25, 2015/05/01, 07:09:04.359, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 25, 2015/05/01, 07:09:04.359, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 25, 2015/05/01, 07:09:04.359, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:09:04.531, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 25, 2015/05/01, 07:09:04.546, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:09:04.546, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 25, 2015/05/01, 07:09:04.937, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 25, 2015/05/01, 07:09:04.953, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Server stack trace: 
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.VisualStudio.TestTools.Controller.IControllerCallback.ConnectAgent(String agentName, String machineName, String domainName, Boolean canPerformUITesting, String configuredUserName, String agentVersion, IAgentService agentObject)
       at Microsoft.VisualStudio.TestTools.Agent.AgentService.ConnectToController(Boolean shouldThrow)
    I, 2228, 25, 2015/05/01, 07:09:34.376, WIN81-AUTO1\QTAgentService.exe, AgentService: Connection to controller is down. Reconnecting...
    V, 2228, 25, 2015/05/01, 07:09:34.376, WIN81-AUTO1\QTAgentService.exe, AgentStatusAggregator.ControllerDisconnected: Connection to controller server2012-2:6901 has been lost.
    I, 2228, 25, 2015/05/01, 07:09:34.376, WIN81-AUTO1\QTAgentService.exe, AgentService: connecting to controller using uri: tcp://server2012-2:6901/ControllerAccessManager.rem
    I, 2228, 25, 2015/05/01, 07:09:34.376, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:09:34.517, WIN81-AUTO1\QTAgentService.exe, GetControllerObject : Controller Version : 12.0 
    I, 2228, 25, 2015/05/01, 07:09:34.517, WIN81-AUTO1\QTAgentService.exe, ExecutionUtilits.UpdateRemotingCredentials Invoked
    I, 2228, 25, 2015/05/01, 07:09:34.517, WIN81-AUTO1\QTAgentService.exe, AgentService: obj is Microsoft.VisualStudio.TestTools.Controller.ControllerObject
    I, 2228, 25, 2015/05/01, 07:09:35.111, WIN81-AUTO1\QTAgentService.exe, AgentService: Connecting to controller. Using AgentName: WIN81-AUTO1 : Domain : 
    I, 2228, 25, 2015/05/01, 07:09:35.126, WIN81-AUTO1\QTAgentService.exe, AgentService: Failed to connect to controller. System.Net.Sockets.SocketException (0x80004005): No such host is known
    Thanks in advance,
    Erik

    Hi,
    To run automated test using MTM, there is at least one lab environment with at least agent one machine.
    It is easy to configure standard lab environment than SCVMM lab environment.
    I suggest that you could refer to this article below to configure lab environment and do tests.
    # Essential Guide for Running Automated Tests from a Test Plan
    https://msdn.microsoft.com/en-us/library/ff472576%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    Regards
    Starain
    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.

  • Java.lang.Exception: No such metric - dbconsole error (RAC DB)

    I'm running the database console (10.2.0.1) from one RAC node (2-node cluster), and the agent is running on the second node. WHen I try to load the cluster home page, I receive the following error "java.lang.Exception: No such metric" at the top of the page. The rest of the page looks correct.
    ***emoms.trc** (last 25 lines from node running the dbconsole)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
    at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
    at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:169)
    at oracle.sysman.db.rac.RacControllerResolver.handleRequest(RacControllerResolver.java:137)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
    at oracle.sysman.eml.app.Console.doGet(Console.java:285)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:138)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:568)
    *****emagent.trc***** (on agent only node - last 25 lines)
    2007-04-03 15:16:33 Thread-2014 ERROR : (nmeusb.c,70):Memory 0x0 encountered, expect struct_id=10006
    2007-04-03 15:16:33 Thread-2014 ERROR : (nmeusb.c,70):Memory 0x0 encountered, expect struct_id=10006
    2007-04-03 15:16:33 Thread-2014 ERROR : (nmeusb.c,70):Memory 0x0 encountered, expect struct_id=10006
    2007-04-03 15:16:33 Thread-2014 ERROR : (nmeusb.c,70):Memory 0x0 encountered, expect struct_id=10006
    2007-04-03 15:21:05 Thread-1212 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
    2007-04-03 15:21:05 Thread-1212 ERROR upload: FxferSend: Cannot connect to: http://auisora1g:1158/em/upload/. retStatus=-32
    2007-04-03 15:21:05 Thread-1212 ERROR upload: Failed to upload file B0000035.xml, ret = -2
    2007-04-03 15:21:05 Thread-1212 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
    2007-04-03 15:21:05 Thread-1212 ERROR upload: FxferSend: Cannot connect to: http://auisora1g:1158/em/upload/. retStatus=-32
    2007-04-03 15:21:05 Thread-1212 ERROR upload: Failed to upload file B0000035.xml, ret = -2
    2007-04-03 15:21:05 Thread-1212 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
    2007-04-03 15:21:05 Thread-1212 ERROR upload: FxferSend: Cannot connect to: http://auisora1g:1158/em/upload/. retStatus=-32
    2007-04-03 15:21:05 Thread-1212 ERROR upload: Failed to upload file B0000035.xml, ret = -2
    2007-04-03 15:21:05 Thread-1212 ERROR upload: 3 Failures in a row for B0000035.xml, we give up
    2007-04-03 15:21:05 Thread-1212 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds.
    2007-04-03 15:21:22 Thread-1214 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
    2007-04-03 15:21:22 Thread-1214 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://auisora1g:1158/em/upload/: retStatus=-32
    2007-04-03 15:21:22 Thread-1214 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
    2007-04-03 15:21:22 Thread-1214 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://auisora1g:1158/em/upload/: retStatus=-32
    2007-04-03 15:21:52 Thread-1217 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
    2007-04-03 15:21:52 Thread-1217 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://auisora1g:1158/em/upload/: retStatus=-32
    2007-04-03 15:21:52 Thread-1217 WARN http: snmehl_connect: connect failed to (auisora1g:1158): A remote host refused an attempted connect operation. (error = 79)
    2007-04-03 15:21:52 Thread-1217 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://auisora1g:1158/em/upload/: retStatus=-32
    2007-04-03 15:23:44 Thread-2014 ERROR recvlets.aq: received threshold change alert for special unregistered metric problemTbsp.pctUsed
    2007-04-03 15:23:44 Thread-2014 ERROR recvlets.aq: received threshold change alert for special unregistered metric problemTbsp.pctUsed
    *******emoms.log******** (from dbconsole node - last 25 lines)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java(Compiled Code))
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java(Compiled Code))
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java(Compiled Code))
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at oracle.sysman.emdrep.dbjava.loader.XMLDocumentSplitter.split(XMLDocumentSplitter.java:373)
    at oracle.sysman.emdrep.dbjava.loader.XMLLoaderContext.loadFromStream(XMLLoaderContext.java:1082)
    at oracle.sysman.emdrep.dbjava.loader.XMLLoader.DirectLoad(XMLLoader.java:403)
    at oracle.sysman.emdrep.receiver.FxferRecv.DirectLoad(FxferRecv.java:1002)
    at oracle.sysman.emdrep.receiver.FxferRecv.loadSeverities(FxferRecv.java:1130)
    at oracle.sysman.emdrep.receiver.FxferRecv.receiveFile(FxferRecv.java:1479)
    at oracle.sysman.emdrep.receiver.FxferRecv.doPost(FxferRecv.java:809)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:568)
    2007-04-03 17:19:19,999 [SeverityLoad http://auisora1f:3938/emd/main] ERROR eml.XMLLoader markFileAsError.733 - Failed to load B0000000001.xml because of errors; moving to errors directory
    2007-04-03 17:19:20,220 [HttpRequestHandler-393332040] ERROR eml.FxferRecv doPost.817 - Upload repsonse header :-ERROR-400|ORA-01861: literal does not match format string
    Does anyone know what can be the problem? We just migrated to a 10g envrionement and I don't have much experience troubleshooting the OEM dbconsole functionality. Using the browser and migrating to the agent port (3938) - shows working. The upload url shows the XML file receiver is active.
    Environment:
    AIX 5.3 ML4
    GPFS 3.1
    Oracle 10.2.0.1
    The emctl status agent command shows the following:
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.4.1
    OMS Version : 10.1.0.4.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /usr/oracle/product/10.2/db/auisora1g_dmsdb2
    Agent binaries : /usr/oracle/product/10.2/db
    Agent Process ID : 1204328
    Parent Process ID : 1241284
    Agent URL : http://auisora1g:3938/emd/main
    Started at : 2007-04-03 15:23:28
    Started by user : ora_idps
    Last Reload : 2007-04-03 15:23:28
    Last successful upload : 2007-04-03 17:21:36
    Total Megabytes of XML files uploaded so far : 1.83
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 64.74%
    Agent is Running and Ready

    bounce the database and bounce the oms. Check again and let me know the result

  • Test Controller and Test Agents on Azure

    Hi everyone,
    I am trying to run a Test Controller and Test Agents on Azure and the controller fails when trying to register with TFS.  We did set up a VPN and it seems to be working but I saw this on MSDN:
    If the On-Premise machines are domain joint, you will need to add an IPSec exemption so that the bidirectional communication can succeed. This can be avoided if you can unjoin the On-premise machine from the domain and join it to a workgroup instead.
    I don't know what "domain joint" means but I am wondering about the IPSec exemption.  Can anybody explain what this means?
    Thanks!
    Randy

    Hi Randy,
    Do you refer to this article below?
    # Hosting TestController and TestAgents on Azure
    http://blogs.msdn.com/b/visualstudioalm/archive/2014/01/13/hosting-testcontroller-and-testagents-on-azure.aspx
    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.
    Regards
    Starain
    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.

  • Error "Test Agent could not connect to the test controller" while configuring the Test Agent on Client machine

    Hi,
    I am getting an Error “Test Agent could not connect to the test controller”
     while configuring The Test Agent on Client machine.
    Pre-requisite used:  
    VS2012 update 4, Test agent & Test controller of same version used
    User has TFS admin access.
    Same user id used for configuring Test Agent.
    Description:
    Test controller is installed on server A. I want to install test agent on client machine B.
    Windows Fire wall is OFF on both Machines A & B. While configuring Test Agent below error is occurred:
    “Test Agent could not connect to the test controller”
    In log file error was “I, 2015/04/02, 15:32:21.723, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.”
    In Event viewer below error details given:
    Unable to connect to the controller on ‘My Server: 6901’. The agent can connect to the controller but the controller cannot connect to the agent because of following reason: The requested name is valid, but no data of the requested type was found.
    Make sure that the firewall on the test agent machine is not blocking the connection.
    Could you please help me to find solution?
    Thanks in advance!
    Kanchan M
    Kanchan

    Hi Kanchan,
    So on each computer, you create a local user account that is a member of the Administrators group, and use the same account and password on each machine(controller and Agent), am I right?
    Could you enable the detailed log message?
    http://blogs.msdn.com/b/aseemb/archive/2010/03/07/how-to-enable-test-agent-logs.aspx
    http://blogs.msdn.com/b/aseemb/archive/2009/11/28/how-to-enable-test-controller-logs.aspx
    >>In log file error was “I, 2015/04/02, 15:32:21.723, 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
    met a similar issue before which was related to the Firewall exceptions, maybe you could refer to it here:
    http://stackoverflow.com/questions/12249093/test-agent-could-not-connect-to-the-test-controller-vs2012-agents
    Best Regards,
    Jack
    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.

  • Java.lang.Exception: No such metric - wait_bottlenecks

    Hi,
    I have a Test-RAC-Sytem (release 11.2.0.3 ) on 2 Linux RH 5.4/X86-64 and managed it with OEM DB Control ( IE9)!
    In the Database part I got often the error:
    Error
    java.lang.Exception: No such metric - wait_bottlenecks I often made the workaround : emctl stop dbconsole & emctl start dbconsole
    But I think it is not the real solution, because the error appesrs 1, 2 minutes again.
    Can any expert helps me to eliminate this error?
    thanks and regards
    hqt200475

    hqt200475 wrote:
    Hi,
    I have a Test-RAC-Sytem (release 11.2.0.3 ) on 2 Linux RH 5.4/X86-64 and managed it with OEM DB Control ( IE9)!
    In the Database part I got often the error:
    Error
    java.lang.Exception: No such metric - wait_bottlenecks I often made the workaround : emctl stop dbconsole & emctl start dbconsole
    But I think it is not the real solution, because the error appesrs 1, 2 minutes again.
    Can any expert helps me to eliminate this error?
    emctl stop dbconsole

  • Java.lang.Exception: No Such Target - wait_bottlenecks

    I am using OEM 11g and getting following error on one of the database environment.
    java.lang.Exception: No Such Target - wait_bottlenecks
    I have tried few options based on following oracle note, still no success. 
    I have one node RAC. But there are two instances seen in OEM, one is down.
    Also, following error is displayed under database target of OEM:  Metric Collection Error
    6.3.4 Oracle Enterprise Manager Database Control Error
    The Oracle Enterprise Manager Database Control home page may show the following error if the dynamic properties evaluation is not complete:
    java.lang.Exception: No Such Target - wait_bottlenecks
    Workaround:
    Run these emctl commands on the master agent. Go to the cluster database home page and click View All Properties link to identify the master agent host. Recompute dynamic properties for the Oracle RAC instance and Oracle RAC database on the master agent host using the following commands:
    emctl reload agent dynamicproperties rac_instance_target_name:oracle_database emctl reload agent dynamicproperties rac_database_target_name:rac_database
    If the error persists, then increase the timeout for dynamic properties for the target by editing the emd.properties file located at$ORACLE_HOME/host_dbname/config, and providing a larger value for timeout_value. Increase the timeout value on all the nodes of the cluster. For example:
    dynamicPropsComputeTimeout_oracle_database=timeout_value dynamicPropsComputeTimeout_rac_database=timeout_value emctl reload agent emctl reload agent dynamicproperties rac_instance_target_name:oracle_database emctl reload agent dynamicproperties rac_database_target_name:rac_database
    This issue is tracked with Oracle bug 12907579.

    Error message is same in listener log and EM trace file. Also, same message is repeating in listener log, may be OEM is keep on trying to connect to database.
    dm01dbadm01.cdsiexa.net:oracle:/u01/app/oracle/diag/tnslsnr/dm01dbadm01/listener/trace >lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 21-APR-2015 11:24:05
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                18-DEC-2014 10:43:19
    Uptime                    123 days 23 hr. 40 min. 45 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/11.2.0.4/grid/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/dm01dbadm01/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.100.10.12)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.100.100.10)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "orap" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
    Service "orapXDB" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
    Service "svcp" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    dm01dbadm01.cdsiexa.net:oracle:/u01/app/oracle/diag/tnslsnr/dm01dbadm01/listener/trace >lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 21-APR-2015 11:26:44
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1523691 refused:0 state:ready
             LOCAL SERVER
    Service "orap" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:10705 refused:0 state:ready
             LOCAL SERVER
    Service "orapXDB" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: dm01dbadm01.cdsiexa.net, pid: 79641>
             (ADDRESS=(PROTOCOL=tcp)(HOST=dm01dbadm01.cdsiexa.net)(PORT=55449))
    Service "svcp" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:10705 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully

  • How to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller

    we are using VS 2013, I need to run multiple Coded UI Ordered Tests in parallel on different agents.
    My requirement :
    Example:   I have 40 Coded UI Test scripts in single solution/project. i want to run in different OS environments(example 5 OS ).  I have created 5 Ordered tests with the same 40 test cases. 
    I have one Controller machine and 5 test agent machines. Now I want my tests to be distributed in a way that every agent gets 1 Ordered test to execute. 
    Machine_C = Controller (Controls Machine_1,2,3,4,5)
    Machine_1 = Test Agent 1 (Should execute Ordered Test 1 (ex: OS - WIN 7) )
    Machine_2 = Test Agent 2 (Should execute Ordered Test 2 (ex:
    OS - WIN 8) )
    Machine_3 = Test Agent 3 (Should execute Ordered Test 3
    (ex: OS - WIN 2008 server)  )
    Machine_4 = Test Agent 4 (Should execute Ordered Test 4 (ex:
    OS - WIN 2012 server) )
    Machine_5 = Test Agent 5 (Should execute Ordered Test 5 (ex:
    OS - WIN 2003 server) )
    I have changed the  “MinimumTestsPerAgent” app setting value
    as '1' in controller’s configuration file (QTController.exe.config).
    When I run the Ordered tests from the test explorer all Test agent running with each Ordered test and showing the status as running. but with in the 5 Test Agents only 2 Agents executing the test cases remaining all 3 agents not executing the test cases but
    status showing as 'running' still for long time (exp: More then 3 hr) after that all so  its not responding. 
    I need to know how I can configure my controller or how I can tell it to execute these tests in parallel on different test agents. This will help me reducing the script execution time. 
     I am not sure what steps I am missing. 
    It will be of great help if someone can guide me how this can be achieved.
    -- > One more thing Can I Run one Coded UI Ordered Test on One Specific Test Agent?
    ex: Need to run ordered Test 1 in Win 7 OS (Test Agent 1) only.
    Thanks in Advance.

    Hi Divakar,
    Thank you for posting in MSDN forum.
    As far as I know, we cannot specify coded UI ordered test run on specific test agent. And it is mainly that test controller determine which coded UI ordered test assign to which test agent.
    Generally, I know that if we want to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller.
    We will need to change the MinimumTestsPerAgent property to 1 in the test controller configuration file (QTControllerConfig.exe.config) as you said.
    And then we will need to change the bucketSize number of tests/number of machines in the test settings.
    For more information about how to set this bucketSize value, please refer the following blog.
    http://blogs.msdn.com/b/aseemb/archive/2010/08/11/how-to-run-automated-tests-on-different-machines-in-parallel.aspx
    You can refer this Jack's suggestion to run your coded UI ordered test in lab Environment or load test.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/661e73da-5a08-4c9b-8e5a-fc08c5962783/run-different-codedui-tests-simultaneously-on-different-test-agents-from-a-single-test-controller?forum=vstest
    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.

  • Best way to Unit Test Controller Layer

    Hi, I was hoping to get the opinion on this matter. My group is currently discussing which method would be the best to Unit test the Controller Layer (using StrutsTestCase). Basically with StrutsTestCase, you can test your Action methods and verify that the action forwards to the correct place, or that certain errors come up. The problem is that these Action classes will make Model layer calls that affect the DB. Whats the best way to test the Action classes? Some possibilities are:
    #1) Make a mock model layer that instead of hitting the DB uses a "switch" statement to return the correct value.
    #2) Use a test DB to test this. The problem with this is that after running tests, you want to leave the test DB in the same state as when you started the test. This is not very easy to do if your web application only does inserts to the DB. In addition, the Model layer Unit testing will be designed such that it will insert, select, update, select, and delete (in that order), so the state of the DB will remain the same after the test is run (unless JUnit crashes halfway).
    #3) Use a copy of a test DB on your local computer. This is beneficial because you can do anything to the DB, and then just delete it because a "master" copy is located elsewhere. The problem with this is, we also hoped to do performance testing of the model layer by running multiple threads of the Model layer unit tests. This won't work now because each thread would make a copy of the master DB....
    Thanks for any suggestions you might have!
    -L

    I have never unit tested just a controller. I have always done end to end testing with the systems I have worked on, so I am coming from a different viewpoint than yourself. I would tend to think that just running a full unit test all the way to your database would be the best test. You will be more likely to find the issues with your program if you are testing with an environment as similar to production as possible.
    After running a test you can either purge the data you entered from your test by having sql scripts run against the db, or if this is difficult just reload the database from its original backup. You would probably be able to purge the data quicker than reloading the database from my experience, but it depends on your complexity of the sql scripts.
    best of luck.

  • DW Registration - No such host is known

    I've just unregistered my SCSM 2012 R2 DW server. It was a bit of a process to do this after I swapped my old Windows 2008 R2 server for a new server with Windows 2012 R2 using a different hostname. But its done now.
    Trying to register a new server, but its coming up with:
    Unable to register Service Manager installation with Data Warehouse installation.
     Data Warehouse Server: DW_SCSM2012_New
     Service Manager Management Server: SCSM2012
     Exception: Microsoft.EnterpriseManagement.UI.Core.Shared.PowerShell.PSServiceException: No such host is known
       at Microsoft.EnterpriseManagement.UI.Core.Shared.PowerShell.PSHostService.executeHelper(String cmd, Object[] input)
       at Microsoft.EnterpriseManagement.UI.Core.Shared.PowerShell.PSHostService.Invoke(String cmd, Object[] input)
       at Microsoft.EnterpriseManagement.ServiceManager.UI.Administration.DWRegistration.Registration.DWRegistrationHelper.AcceptChanges(WizardMode wizardMode)
    I've got the same time on both DW and Management server. I've restarted both as well as the SQL instance (on a different server). I've set the <samp class="codeph" style="font-family:'Lucida Console', 'Courier New', monospace;font-size:14px;color:#333333;">Set-ExecutionPolicy
    RemoteSigned</samp>. on both servers. No firewall on either server.
    Any ideas?

    Yeah, its not a DNS error, the "No such host is known" only comes at the final Confirm step of the DW registration process. This first step works fine for example connecting to the new DW server, of course if I make a typo or put in another server,
    this step doesn't work:
    Afterwards the Run As Account in the next step is coming up with the new DW servers Data Source Secure Reference. So my SCSM Management server can definitely pick up on the DW installation and communicate with the new server. But its just something not working
    with the actual registration process.
    I'm thinking my Management Server is trying to register the old Management Server hostname with the DW server because there is some SQL value that is still my old SCSM Management Server, I just have no idea where to look for that in SQL.
    Or its something completely different. But DNS should be fine, ping is fine of course.

  • Junit - test for exception problem

    I'm trying to test if an exception is being thrown (when one is expected)
    I get this error (when I shouldn't):
    java.lang.AssertionError: Expected exception: exception.OutOfRangeException
    The method being tested:
    public void setScore ( int score ) throws exception.OutOfRangeException
      if ( ( score < 0 ) || ( score > 100 ) ) {
          throw new exception.OutOfRangeException( "Score invalid: " + score );
      else {
          this.score = score
    }The test method:
    @Test(expected=exception.OutOfRangeException.class)
    public void testScoreOutOfRangeException() {
        try {
            record.setScore (-1);
        catch ( OutOfRangeException e ) {
             // do nothing because we expected it
    }What I am doing wrong?

    Yes, it does compile.
    You are catching the exception.
    junit expects to see the exception itself. You arecatching it so it doesn't see it.
    I understand what you are saying. I originally didn't
    type in the try/catch in the test method. But if I
    remove the try/catch I get this error:
    Unhandled exception type OutOfRangeExceptionI don't know much about Junit 4, but my preferred way of testing exceptions is to surround them in a try/catch as you have but to call Assert.fail() at the end of the try block
    public void testScoreOutOfRangeException() {
        try {
            record.setScore (-1);
            fail("should have thrown an OutOfRangeException)";
        catch ( OutOfRangeException e ) {
             // do nothing because we expected it
    }You'll have to look at Teh Docs for JUnit4 to see how to force a fail, though

  • TFS Test Controller not configuring

    While upgrading to TFS 2013 test controller to update 4 I received this error during the configuration process.
    Service cannot be started. Microsoft.VisualStudio.TestTools.Exceptions.EqtException: The Controller service could not be started. TF400324: Team Foundation services are not available from server http://tfs.podserv.modelsysllc.com:8080/tfs/modelsyscollection.
    Technical information (for administrator):
      Page not found.
    The remote server returned an error: (404) Not Found.
       at Microsoft.VisualStudio.TestTools.Controller.ControllerServiceBase.OnStart(String[] args)
       at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
    The collection mentioned is a project collection that no longer exist and not the one I pointed to in the sonfiguration setup.
    Any help would be great.
    Thanks,
    James
    Architect

    I re installed a crashed TFS installation and upgraded to TFS 2013 update 4. The Test controller has been upgraded to 2013.4 and when I follow the configuration process I get the error below;
    Service cannot be started. Microsoft.VisualStudio.TestTools.Exceptions.EqtException: The Controller service could not be started. TF400324: Team Foundation services are not available from server http://tfeserver:8080/tfs/modelsyscollection.
    Technical information (for administrator):
      Page not found.
    The remote server returned an error: (404) Not Found.
       at Microsoft.VisualStudio.TestTools.Controller.ControllerServiceBase.OnStart(String[] args)
       at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
    The project collection address I selected in was (http://tfeserver:8080/tfs/modelsysllc). I have tried several time to reconfigure the test controller but it still grabs this no longer exiting project collection during the configuration
    process. Where can I find this setting and clear it, so that my setup can continue?
    Thanks,
    James
    Architect

Maybe you are looking for

  • How can the query results include null if it's a required field on the front end?

    I executed a query that simply asked for all data points on a single table. I am trying to figure out why the query would report back as having all "Null" values in 3 of 10 columns. The information is required for the end user to enter before the sys

  • Wont turn on/Strange noise

    Im using a black macbook that i bought in september of 2008, and just a few minutes ago i came across this problem. When i opened it it made a "clicking" sound and froze, so I decided to turn it off. Upon rebooting, it started the clicking sound agai

  • Calendar, iCal, iCloud & Security, Privacy & Access on a Mac

    With the introduction of 10.8, it seems no longer possible to have calendars locally on your Mac and on iCloud as turning on iCloud forces you to migrate all your local calendars to iCloud. But then why would you care? Here's why: - What if your inte

  • How to disable some rows in a matrix

    Hi experts I have a matrix i want to do set line/rows disable and can't edit in rows please post example code thank you

  • Navigator in Photoshop Not Working!

    Hi guys, my question is about my Navigator feature in Photoshop.  I use this feature all the time but yesterday it stopped working, saying my workspace had too many panels open to show Navigator, which was not true as all I really use is Layers, Hist