locked
failed to queue test run - mismatch of expected and actual output file name RRS feed

  • Question

  • Hi all,

    I run unit tests like this:

    MSTest.exe /testsettings:local.testsettings /testcontainer:D:\Links\TestProject\bin\Debug\TestProject.dll

    and obtain the following output:

    ........

    Summary
    -------
    Test Run Error.
      Not Executed  10
      ----------------
      Total         10
    Results file:  D:\Projects\XXX\TestResults\yyy _2012-05-16 16_38_36_.trx
    Test Settings: Local

    Run has the following issue(s):
    Failed to queue test run 'yyy (2012-05-16 16:38:36)': The system cannot find the file specified

    The system cannot find the file specified

    I easily see the reason: while in the Local.Testsettings the naming is specified according to the user-defined scheme and the examle goes like yyy (2012-05-16 16:00:00), in reality the file name somehow is like shown above, where "(" are substituted with "_". A similar picture happens when I choose the default naming scheme

    UserName@machineName (datetime)

    This time the "@" is substituted by "_" but the result is the same: the output isn't found.

    I'm using VS 2010 ver 4.0.30319 SP1Rel

    Will be grateful for advice.



    • Edited by OlBoldyrev Wednesday, May 16, 2012 1:54 PM
    Wednesday, May 16, 2012 1:00 PM

Answers

  • Hi

    Thanks for posting the traces.  Is this standard install or something else.  Reason I asked this is traces contains below exception. Which indicates it failed to find the file D:\Links\VS10\QTAgent32.exe.  You indicated tests can be executed successfully from IDE, in this case does traces indicate same path for QTAgent32.exe ?
    Also assuming user who is executing the tests can access the path D:\Links\VS10\QTAgent32.exe.

    V, 4236, 6, 2012/05/17, 16:08:39.602, EPRUSARW0628\MSTest.exe, Win32ProcessLauncher: Starting process, D:\Links\VS10\QTAgent32.exe /agentKey 9f9e4ca6-8659-40af-9df1-f2dbf5ce09f0 /hostProcessId 4236 /hostIpcPortName eqt-ca979dcf-df14-6cfe-bde6-975b50ccd728...
    V, 4236, 7, 2012/05/17, 16:08:39.608, EPRUSARW0628\MSTest.exe, ControllerProxy.InitializeTestRun: finished.
    V, 4236, 7, 2012/05/17, 16:08:39.609, EPRUSARW0628\MSTest.exe, ControllerProxy.SetUpTestRun: started.
    E, 4236, 6, 2012/05/17, 16:08:39.610, EPRUSARW0628\MSTest.exe, ProcessMonitorThread: Got exception while trying to start AgentProcess: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start()
       at Microsoft.VisualStudio.TestTools.Agent.Win32ProcessLauncher.Launch(String exeFileName, String args, String workingDir, IEnumerable`1

    • Marked as answer by OlBoldyrev Friday, May 18, 2012 2:42 PM
    Friday, May 18, 2012 7:20 AM

All replies

  • Hi,

    Can you please let us know below

    1. Is this an issue with all test assemblies or this is one specific case ?
    2. Are you able to execute tests using IDE ?
    3. Does it work without specifying local.testsettings file (i.e no /testsettings option)
    4. Is test assembly targeted for .Net3.5 or .Net4.0 ?
    5. Could you please share the traces for mstest.exe. Steps to enable traces are mentioned here http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/df043823-ffcf-46a4-9e47-1c4b8854ca13 under diagnostics information.

    Thanks

    Wednesday, May 16, 2012 7:20 PM
  • Hi,

    1. yes

    2. yes

    3. no, the same picture.

    4. .NET 4

    5. For command line

    D:\Links\VS10\MSTest.exe  /testcontainer:D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll /test:RequestApproveRequestTest

    it's a case where _ is substituted for @.

    The trace file is as follows:

    V, 4236, 1, 2012/05/17, 16:08:39.006, EPRUSARW0628\MSTest.exe, Runner.Main: starting...
    V, 4236, 1, 2012/05/17, 16:08:39.225, EPRUSARW0628\MSTest.exe, Tmi:Tmi
    I, 4236, 1, 2012/05/17, 16:08:39.260, EPRUSARW0628\MSTest.exe, New test type record: {13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b}
    V, 4236, 1, 2012/05/17, 16:08:39.262, EPRUSARW0628\MSTest.exe, Test type {13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b}: Satellite DLL found OK
    I, 4236, 1, 2012/05/17, 16:08:39.268, EPRUSARW0628\MSTest.exe, Test type {13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b}: TIP 'Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestTip, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    W, 4236, 1, 2012/05/17, 16:08:39.279, EPRUSARW0628\MSTest.exe, TestType: #212, {13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b}: Could not find string resource for name from 'Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a:#212'
    V, 4236, 1, 2012/05/17, 16:08:39.279, EPRUSARW0628\MSTest.exe, Test type {13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b}: assosiated with editor {00000000-0000-0000-0000-000000000000}
    I, 4236, 1, 2012/05/17, 16:08:39.280, EPRUSARW0628\MSTest.exe, New test type record: {ec4800e8-40e5-4ab3-8510-b8bf29b1904d}
    V, 4236, 1, 2012/05/17, 16:08:39.281, EPRUSARW0628\MSTest.exe, Test type {ec4800e8-40e5-4ab3-8510-b8bf29b1904d}: Satellite DLL found OK
    I, 4236, 1, 2012/05/17, 16:08:39.281, EPRUSARW0628\MSTest.exe, Test type {ec4800e8-40e5-4ab3-8510-b8bf29b1904d}: TIP 'Microsoft.VisualStudio.TestTools.TestTypes.Ordered.AutoSuiteTip, Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Tip, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    W, 4236, 1, 2012/05/17, 16:08:39.282, EPRUSARW0628\MSTest.exe, TestType: #313, {ec4800e8-40e5-4ab3-8510-b8bf29b1904d}: Could not find string resource for name from 'Microsoft.VisualStudio.TestTools.TestTypes.Ordered.AutoSuiteTip, Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Tip, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a:#313'
    V, 4236, 1, 2012/05/17, 16:08:39.282, EPRUSARW0628\MSTest.exe, Test type {ec4800e8-40e5-4ab3-8510-b8bf29b1904d}: assosiated with editor {700218d8-f6f1-4ec3-be76-a35f72260503}
    W, 4236, 1, 2012/05/17, 16:08:39.282, EPRUSARW0628\MSTest.exe, Total of 2 test types, loaded 2
    V, 4236, 1, 2012/05/17, 16:08:39.305, EPRUSARW0628\MSTest.exe, Tmi.AddOrUpdateResult: AcceptChanges: started.
    V, 4236, 1, 2012/05/17, 16:08:39.305, EPRUSARW0628\MSTest.exe, Tmi.AddOrUpdateResult: AcceptChanges: finished.
    V, 4236, 1, 2012/05/17, 16:08:39.309, EPRUSARW0628\MSTest.exe, Tmi.CreateTestToCategoryRelationsAndExpressionColumns
    V, 4236, 1, 2012/05/17, 16:08:39.309, EPRUSARW0628\MSTest.exe, Tmi.AddRelation: test2testXcat
    V, 4236, 1, 2012/05/17, 16:08:39.310, EPRUSARW0628\MSTest.exe, Tmi.AddRelation: cat2testXcat
    I, 4236, 1, 2012/05/17, 16:08:39.331, EPRUSARW0628\MSTest.exe, AggregatorManager: Creating aggregator: Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileAggregator, Microsoft.VisualStudio.QualityTools.ExecutionCommon, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    V, 4236, 1, 2012/05/17, 16:08:39.346, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: using config file: ''.
    V, 4236, 1, 2012/05/17, 16:08:39.350, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: Created AppDomain.
    V, 4236, 1, 2012/05/17, 16:08:39.362, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: loaded the worker.
    V, 4236, 1, 2012/05/17, 16:08:39.367, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.GetAssemblyClrVersion: unloading AppDomain...
    V, 4236, 1, 2012/05/17, 16:08:39.368, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.GetAssemblyClrVersion: unloading AppDomain succeeded.
    V, 4236, 1, 2012/05/17, 16:08:39.370, EPRUSARW0628\MSTest.exe, Tmi.LoadTests from location: D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll
    V, 4236, 1, 2012/05/17, 16:08:39.377, EPRUSARW0628\MSTest.exe, Test type {13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b}: TIP instantiated OK
    V, 4236, 1, 2012/05/17, 16:08:39.381, EPRUSARW0628\MSTest.exe, TestExecutionSection.GetTestConfigurationFromTestContainer: Loading Resolution settings for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll
    V, 4236, 1, 2012/05/17, 16:08:39.381, EPRUSARW0628\MSTest.exe, TestExecutionSection.GetTestConfigurationFromTestContainer: Loading configuration settings from tests configuration file.
    V, 4236, 1, 2012/05/17, 16:08:39.400, EPRUSARW0628\MSTest.exe, TestExecutionSection.AssemblyResolutionSettings: Done loading execution settings for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll
    V, 4236, 1, 2012/05/17, 16:08:39.400, EPRUSARW0628\MSTest.exe, UnitTestConfig.GetAssemblyResolutionSettings: No resolution settings founnd in run configuration or tests configuration file.
    V, 4236, 1, 2012/05/17, 16:08:39.402, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.GetAppDomainSettings: Generating AppDomain Settings for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll.
    V, 4236, 1, 2012/05/17, 16:08:39.403, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.ApplicationBase: Loading Application Base for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll.
    V, 4236, 1, 2012/05/17, 16:08:39.403, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.ApplicationBase: Applicaton Base is not configured, using test directory D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug.
    V, 4236, 1, 2012/05/17, 16:08:39.403, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.ApplicationBase: Using Application Base of D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug.
    V, 4236, 1, 2012/05/17, 16:08:39.404, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.ResolutionPaths: Loading Resolution Paths for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll
    V, 4236, 1, 2012/05/17, 16:08:39.405, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.ResolutionPaths: Done loading Resolution Paths for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll
    V, 4236, 1, 2012/05/17, 16:08:39.405, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.GetAppDomainSettings: Not generating resolution settings.  There are no resolution paths or setup of full resultion is turned off.
    V, 4236, 1, 2012/05/17, 16:08:39.405, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.GetAppDomainSettings: Configuring users test application configuration file on the test AppDomain.
    V, 4236, 1, 2012/05/17, 16:08:39.408, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.GetAppDomainSettings: Done generating AppDomain Settings for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll.
    V, 4236, 1, 2012/05/17, 16:08:39.408, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.CreateAppDomain: Creating AppDomain for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll.
    V, 4236, 1, 2012/05/17, 16:08:39.409, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.CreateTestAppDomain: Creating test AppDomain for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll.
    V, 4236, 1, 2012/05/17, 16:08:39.415, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.CreateTestAppDomain: Done creating test AppDomain for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll.
    V, 4236, 1, 2012/05/17, 16:08:39.415, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.CreateAppDomain: Done creating AppDomain for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll.
    V, 4236, 1, 2012/05/17, 16:08:39.484, EPRUSARW0628\MSTest.exe, ResolutionAppDomainHelper.Unload: Unloading AppDomain for D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll.
    V, 4236, 1, 2012/05/17, 16:08:39.485, EPRUSARW0628\MSTest.exe, Tmi.LoadTests: TIP #212 loading from D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll
    I, 4236, 1, 2012/05/17, 16:08:39.505, EPRUSARW0628\MSTest.exe, Successfully loaded tests from the storage(s).
    I, 4236, 1, 2012/05/17, 16:08:39.512, EPRUSARW0628\MSTest.exe, GetObjectCount(): select * from test where (Storage = 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll' or Storage = 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll') and HumanReadableId like '%RequestApproveRequestTest%'.
    I, 4236, 1, 2012/05/17, 16:08:39.512, EPRUSARW0628\MSTest.exe, GetObjectCount(): 1 records for (Storage = 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll' or Storage = 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll') and HumanReadableId like '%RequestApproveRequestTest%'.
    I, 4236, 1, 2012/05/17, 16:08:39.521, EPRUSARW0628\MSTest.exe, GetData(): select * from test where (HumanReadableId like '%RequestApproveRequestTest%') and (Storage = 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll' or Storage = 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll').
    I, 4236, 1, 2012/05/17, 16:08:39.522, EPRUSARW0628\MSTest.exe, GetData(): 1 records for (HumanReadableId like '%RequestApproveRequestTest%') and (Storage = 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll' or Storage = 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll').
    V, 4236, 1, 2012/05/17, 16:08:39.530, EPRUSARW0628\MSTest.exe, TMI.CreateRun: started.
    V, 4236, 1, 2012/05/17, 16:08:39.540, EPRUSARW0628\MSTest.exe, TMI.CreateRun: finished.
    V, 4236, 1, 2012/05/17, 16:08:39.557, EPRUSARW0628\MSTest.exe, LocalControllerProxy: constructor is called.
    V, 4236, 1, 2012/05/17, 16:08:39.558, EPRUSARW0628\MSTest.exe, LocalControllerProxy: QueueTestRun: starting...
    V, 4236, 1, 2012/05/17, 16:08:39.561, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: using config file: ''.
    V, 4236, 1, 2012/05/17, 16:08:39.562, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: Created AppDomain.
    V, 4236, 1, 2012/05/17, 16:08:39.572, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: loaded the worker.
    V, 4236, 1, 2012/05/17, 16:08:39.573, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.GetAssemblyClrVersion: unloading AppDomain...
    V, 4236, 1, 2012/05/17, 16:08:39.574, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.GetAssemblyClrVersion: unloading AppDomain succeeded.
    V, 4236, 1, 2012/05/17, 16:08:39.574, EPRUSARW0628\MSTest.exe, LocalControllerProxy: QueueTestRun: setting m_tmi.LocalRunId to cc1042af-192a-414b-837e-32726343de10.
    V, 4236, 1, 2012/05/17, 16:08:39.574, EPRUSARW0628\MSTest.exe, LocalControllerProxy: QueueTestRun: resetting m_runIsQueuingEvent due to exception.
    V, 4236, 6, 2012/05/17, 16:08:39.575, EPRUSARW0628\MSTest.exe, Local ControllerProxy.PrepareQueueTestRunWorker: starting host process in parallel with other activities.
    V, 4236, 6, 2012/05/17, 16:08:39.578, EPRUSARW0628\MSTest.exe, LocalContollerProxy.PrepareProcess: acquiring m_prepareHostProcessLock
    V, 4236, 6, 2012/05/17, 16:08:39.578, EPRUSARW0628\MSTest.exe, LocalContollerProxy.PrepareProcess: acquired m_prepareHostProcessLock
    V, 4236, 6, 2012/05/17, 16:08:39.583, EPRUSARW0628\MSTest.exe, ExecutionUtilities.RegisterIpcClientServerChannel: Registering IPC channel on IPC port 'eqt-ca979dcf-df14-6cfe-bde6-975b50ccd728'
    V, 4236, 1, 2012/05/17, 16:08:39.583, EPRUSARW0628\MSTest.exe, LocalControllerProxy: QueueTestRun is done: queued call QueueTestRunWorker.
    V, 4236, 7, 2012/05/17, 16:08:39.584, EPRUSARW0628\MSTest.exe, ControllerProxy: QueueTestRunWorker: starting...
    V, 4236, 7, 2012/05/17, 16:08:39.585, EPRUSARW0628\MSTest.exe, TMI.SetControllerProxy: Updated proxy for run cc1042af-192a-414b-837e-32726343de10.
    V, 4236, 7, 2012/05/17, 16:08:39.586, EPRUSARW0628\MSTest.exe, ControllerProxy.InitializeTestRun: started.
    V, 4236, 7, 2012/05/17, 16:08:39.588, EPRUSARW0628\MSTest.exe, TMI.CreateInitialNotRunResults: started.
    V, 4236, 6, 2012/05/17, 16:08:39.589, EPRUSARW0628\MSTest.exe, ExecutionUtilities.RegisterIpcClientServerChannel: Successfully registered IPC channel on IPC port 'eqt-ca979dcf-df14-6cfe-bde6-975b50ccd728'
    V, 4236, 7, 2012/05/17, 16:08:39.596, EPRUSARW0628\MSTest.exe, TMI.CreateInitialNotRunResults: now firing events.
    V, 4236, 7, 2012/05/17, 16:08:39.596, EPRUSARW0628\MSTest.exe, TMI.CreateInitialNotRunResults: finished.
    V, 4236, 7, 2012/05/17, 16:08:39.597, EPRUSARW0628\MSTest.exe, ** Created FileCopyService`1
    V, 4236, 7, 2012/05/17, 16:08:39.599, EPRUSARW0628\MSTest.exe, Controller Proxy: DoDeployment: starting deployment...
    V, 4236, 6, 2012/05/17, 16:08:39.600, EPRUSARW0628\MSTest.exe, LocalControllerProxy: about to start agent processes.
    I, 4236, 6, 2012/05/17, 16:08:39.601, EPRUSARW0628\MSTest.exe, OutOfProcessStrategy: Starting agent process
    V, 4236, 6, 2012/05/17, 16:08:39.602, EPRUSARW0628\MSTest.exe, AgentAccessManager object was published successfully.
    I, 4236, 6, 2012/05/17, 16:08:39.602, EPRUSARW0628\MSTest.exe, Process Name and path: D:\Links\VS10\MSTest.exe
    I, 4236, 6, 2012/05/17, 16:08:39.602, EPRUSARW0628\MSTest.exe, OutOfProcessStrategy: starting agent process: D:\Links\VS10\QTAgent32.exe, key: 9f9e4ca6-8659-40af-9df1-f2dbf5ce09f0
    V, 4236, 6, 2012/05/17, 16:08:39.602, EPRUSARW0628\MSTest.exe, Win32ProcessLauncher: Starting process, D:\Links\VS10\QTAgent32.exe /agentKey 9f9e4ca6-8659-40af-9df1-f2dbf5ce09f0 /hostProcessId 4236 /hostIpcPortName eqt-ca979dcf-df14-6cfe-bde6-975b50ccd728...
    V, 4236, 7, 2012/05/17, 16:08:39.608, EPRUSARW0628\MSTest.exe, ControllerProxy.InitializeTestRun: finished.
    V, 4236, 7, 2012/05/17, 16:08:39.609, EPRUSARW0628\MSTest.exe, ControllerProxy.SetUpTestRun: started.
    E, 4236, 6, 2012/05/17, 16:08:39.610, EPRUSARW0628\MSTest.exe, ProcessMonitorThread: Got exception while trying to start AgentProcess: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start()
       at Microsoft.VisualStudio.TestTools.Agent.Win32ProcessLauncher.Launch(String exeFileName, String args, String workingDir, IEnumerable`1 environmentVariables, EventHandler processExitedHandler, Process& process)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.LaunchProcessHelper(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean restarting)
    E, 4236, 6, 2012/05/17, 16:08:39.611, EPRUSARW0628\MSTest.exe, AgentProcessManager.StartAgentProcess: Exception occurred while starting up: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start()
       at Microsoft.VisualStudio.TestTools.Agent.Win32ProcessLauncher.Launch(String exeFileName, String args, String workingDir, IEnumerable`1 environmentVariables, EventHandler processExitedHandler, Process& process)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.LaunchProcessHelper(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean restarting)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProxy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessProxyManager.StartTestAgentProcesses(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean startDataCollectionAgent)
    I, 4236, 6, 2012/05/17, 16:08:39.612, EPRUSARW0628\MSTest.exe, LocalContollerProxy.PrepareProcess: adding error for the run 'cc1042af-192a-414b-837e-32726343de10': System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start()
       at Microsoft.VisualStudio.TestTools.Agent.Win32ProcessLauncher.Launch(String exeFileName, String args, String workingDir, IEnumerable`1 environmentVariables, EventHandler processExitedHandler, Process& process)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.LaunchProcessHelper(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean restarting)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProxy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessProxyManager.StartTestAgentProcesses(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean startDataCollectionAgent)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, TestRunConfiguration testRunConfiguration)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.StartProcess(TestRun run)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareProcess(TestRun run)
    E, 4236, 6, 2012/05/17, 16:08:39.612, EPRUSARW0628\MSTest.exe, Local ControllerProxy.PrepareQueueTestRunWorker: error (ignored): System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start()
       at Microsoft.VisualStudio.TestTools.Agent.Win32ProcessLauncher.Launch(String exeFileName, String args, String workingDir, IEnumerable`1 environmentVariables, EventHandler processExitedHandler, Process& process)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.LaunchProcessHelper(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean restarting)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProxy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessProxyManager.StartTestAgentProcesses(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean startDataCollectionAgent)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, TestRunConfiguration testRunConfiguration)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.StartProcess(TestRun run)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareProcess(TestRun run)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareQueueTestRunWorker(Object state)
    V, 4236, 7, 2012/05/17, 16:08:39.627, EPRUSARW0628\MSTest.exe, Deployment GetDependencies for file: d:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll
    V, 4236, 7, 2012/05/17, 16:08:39.627, EPRUSARW0628\MSTest.exe, AssemblyDependencyFinder.GetDependentAssemblies: start.
    V, 4236, 7, 2012/05/17, 16:08:39.627, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: using config file: 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll.config'.
    V, 4236, 7, 2012/05/17, 16:08:39.628, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: Created AppDomain.
    V, 4236, 7, 2012/05/17, 16:08:39.638, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.CreateWorkerAppDomain: loaded the worker.
    V, 4236, 7, 2012/05/17, 16:08:39.675, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.GetDependentAssemblies: unloading AppDomain...
    V, 4236, 7, 2012/05/17, 16:08:39.678, EPRUSARW0628\MSTest.exe, AssemblyLoadStrategy.GetDependentAssemblies: unloading AppDomain succeeded.
    V, 4236, 7, 2012/05/17, 16:08:39.678, EPRUSARW0628\MSTest.exe, AssemblyDependencyFinder.GetDependentAssemblies: finish.
    V, 4236, 7, 2012/05/17, 16:08:39.680, EPRUSARW0628\MSTest.exe, ControllerProxy.DoDeployment: for file 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll', we will deploy dependency: deployment item 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\ControllerForTesting.dll' directly or indirectly referenced by the test container 'd:\projects\tr\shoppingcart\shoppingcartbltest\bin\debug\shoppingcartbltest.dll'
    V, 4236, 7, 2012/05/17, 16:08:39.692, EPRUSARW0628\MSTest.exe, Computing root index for : D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out\shoppingcartbltest.dll root index = D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out
    V, 4236, 7, 2012/05/17, 16:08:39.699, EPRUSARW0628\MSTest.exe, Computing root index for : D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out\ShoppingCartBLTest.pdb root index = D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out
    V, 4236, 7, 2012/05/17, 16:08:39.704, EPRUSARW0628\MSTest.exe, Computing root index for : D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out\shoppingcartbltest.dll.config root index = D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out
    V, 4236, 7, 2012/05/17, 16:08:39.706, EPRUSARW0628\MSTest.exe, Computing root index for : D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out\ControllerForTesting.dll root index = D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out
    V, 4236, 7, 2012/05/17, 16:08:39.708, EPRUSARW0628\MSTest.exe, Computing root index for : D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out\ControllerForTesting.pdb root index = D:\Projects\TR\ShoppingCart\TestResults\Oleg_Boldyrev_EPRUSARW0628 2012-05-17 16_08_39\Out
    V, 4236, 7, 2012/05/17, 16:08:39.708, EPRUSARW0628\MSTest.exe, Controller Proxy: DoDeployment: deployment is done, successfully.
    V, 4236, 7, 2012/05/17, 16:08:39.712, EPRUSARW0628\MSTest.exe, ControllerProxy.SetUpTestRun: finished.
    V, 4236, 7, 2012/05/17, 16:08:39.713, EPRUSARW0628\MSTest.exe, ControllerProxy.SetupListener: started.
    V, 4236, 7, 2012/05/17, 16:08:39.714, EPRUSARW0628\MSTest.exe, ControllerProxy.SetupListener: finished.
    V, 4236, 7, 2012/05/17, 16:08:39.716, EPRUSARW0628\MSTest.exe, LocalContollerProxy.PrepareProcess: acquiring m_prepareHostProcessLock
    V, 4236, 7, 2012/05/17, 16:08:39.716, EPRUSARW0628\MSTest.exe, LocalContollerProxy.PrepareProcess: acquired m_prepareHostProcessLock
    I, 4236, 7, 2012/05/17, 16:08:39.716, EPRUSARW0628\MSTest.exe, LocalContollerProxy.PrepareProcess: we already tried to submit the run 'cc1042af-192a-414b-837e-32726343de10' and it failed with error: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start()
       at Microsoft.VisualStudio.TestTools.Agent.Win32ProcessLauncher.Launch(String exeFileName, String args, String workingDir, IEnumerable`1 environmentVariables, EventHandler processExitedHandler, Process& process)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.LaunchProcessHelper(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean restarting)
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProxy.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessProxyManager.StartTestAgentProcesses(AgentProcessStartupInfo agentProcessStartupInfo)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, Boolean startDataCollectionAgent)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.StartAgentProcess(AgentProcessStartupInfo agentProcessStartupInfo, TestRunConfiguration testRunConfiguration)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.StartProcess(TestRun run)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareProcess(TestRun run)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareQueueTestRunWorker(Object state)
    E, 4236, 7, 2012/05/17, 16:08:39.716, EPRUSARW0628\MSTest.exe, LocalControllerProxy: Exception Initializing ControllerObject or starting agent process(es): System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareProcess(TestRun run)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.InitializeController(TestRun run)
    V, 4236, 7, 2012/05/17, 16:08:39.717, EPRUSARW0628\MSTest.exe, LocalControllerProxy: StopProcess.
    V, 4236, 7, 2012/05/17, 16:08:39.717, EPRUSARW0628\MSTest.exe, LocalControllerProxy: Shutting down agent processes
    I, 4236, 7, 2012/05/17, 16:08:39.717, EPRUSARW0628\MSTest.exe, OutOfProcessStrategy: received Shutdown command.
    V, 4236, 7, 2012/05/17, 16:08:39.717, EPRUSARW0628\MSTest.exe, OutOfProcessStrategy.StopMonitorThread: starting.
    V, 4236, 7, 2012/05/17, 16:08:39.717, EPRUSARW0628\MSTest.exe, OutOfProcessStrategy.StopMonitorThread: set m_monitorStopped.
    V, 4236, 7, 2012/05/17, 16:08:39.718, EPRUSARW0628\MSTest.exe, LocalControllerProxy: StopProcess threw exception: System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.VisualStudio.TestTools.Agent.OutOfProcessStrategy.Shutdown(Int32 timeout)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProxy.Microsoft.VisualStudio.TestTools.Agent.IAgentProxy.Shutdown(Int32 timeout)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessProxyManager.Shutdown(Int32 timeout)
       at Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.Shutdown(Int32 timeout)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.StopProcessNoLock(Boolean invalidateRunId)
    V, 4236, 7, 2012/05/17, 16:08:39.720, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Execution.SynchronizedEventInfo>(AgentProcessManager.DataCollectionEventReceiver).DoAbort: Clearing 0 queued jobs and 0 jobs waiting to be queued
    V, 4236, 7, 2012/05/17, 16:08:39.721, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Execution.SynchronizedEventInfo>(AgentProcessManager.DataCollectionEventReceiver).Dispose
    V, 4236, 7, 2012/05/17, 16:08:39.721, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Execution.SynchronizedEventInfo>(AgentProcessManager.DataCollectionEventReceiver).DoAbort: Clearing 0 queued jobs and 0 jobs waiting to be queued
    I, 4236, 7, 2012/05/17, 16:08:39.722, EPRUSARW0628\MSTest.exe, OutOfProcessStrategy: Killing agent process
    V, 4236, 7, 2012/05/17, 16:08:39.723, EPRUSARW0628\MSTest.exe, LocalControllerProxy: Cleanup is done.
    E, 4236, 7, 2012/05/17, 16:08:39.724, EPRUSARW0628\MSTest.exe, ControllerProxy: Queue test run error: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareProcess(TestRun run)
       at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.InitializeController(TestRun run)
       at Microsoft.VisualStudio.TestTools.TestManagement.ControllerProxy.QueueTestRunWorker(Object state)
    V, 4236, 7, 2012/05/17, 16:08:39.725, EPRUSARW0628\MSTest.exe, ControllerProxy: OnTestRunOperationError: disconnecting the listener and stopping the process due to an error.
    I, 4236, 7, 2012/05/17, 16:08:39.725, EPRUSARW0628\MSTest.exe, LocalRunMessageListener.Dispose: Disconnecting the listener.
    V, 4236, 7, 2012/05/17, 16:08:39.726, EPRUSARW0628\MSTest.exe, LocalControllerProxy: StopProcess.
    V, 4236, 7, 2012/05/17, 16:08:39.726, EPRUSARW0628\MSTest.exe, LocalControllerProxy: Cleanup is done.
    V, 4236, 7, 2012/05/17, 16:08:39.726, EPRUSARW0628\MSTest.exe, LocalControllerProxy: OnQueueTestRunError: restoring m_runIsQueuingEvent due to error.
    V, 4236, 11, 2012/05/17, 16:08:39.726, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Common.TestMessage>(LocalRunMessageListener.TestMessageReceiver).DoAbort: Clearing 0 queued jobs and 0 jobs waiting to be queued
    V, 4236, 11, 2012/05/17, 16:08:39.727, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Common.TestMessage>(LocalRunMessageListener.TestMessageReceiver).Dispose
    V, 4236, 11, 2012/05/17, 16:08:39.727, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Common.TestMessage>(LocalRunMessageListener.TestMessageReceiver).DoAbort: Clearing 0 queued jobs and 0 jobs waiting to be queued
    V, 4236, 7, 2012/05/17, 16:08:39.733, EPRUSARW0628\MSTest.exe, Tmi.TestRunEndInternal
    V, 4236, 7, 2012/05/17, 16:08:39.738, EPRUSARW0628\MSTest.exe, AggregationManager: No collector event sink for Session '{cc1042af-192a-414b-837e-32726343de10}'; no need to raise data collection event.
    V, 4236, 7, 2012/05/17, 16:08:39.750, EPRUSARW0628\MSTest.exe, Tmi.TestRunEndUpdateProxies: started.
    V, 4236, 7, 2012/05/17, 16:08:39.750, EPRUSARW0628\MSTest.exe, TMI.TestRunEndUpdateProxies: Removed proxy for run cc1042af-192a-414b-837e-32726343de10.
    V, 4236, 7, 2012/05/17, 16:08:39.750, EPRUSARW0628\MSTest.exe, Tmi.TestRunEndUpdateProxies: finished successfully.
    V, 4236, 7, 2012/05/17, 16:08:39.757, EPRUSARW0628\MSTest.exe, Tmi.SaveResults(runId): starting
    V, 4236, 7, 2012/05/17, 16:08:39.785, EPRUSARW0628\MSTest.exe, Tmi.SaveResults(runId): done, successfully
    I, 4236, 7, 2012/05/17, 16:08:39.787, EPRUSARW0628\MSTest.exe, GetObjectsNoLockT(): select * from result where runid_column = convert('cc1042af-192a-414b-837e-32726343de10', 'System.Guid').
    I, 4236, 7, 2012/05/17, 16:08:39.787, EPRUSARW0628\MSTest.exe, GetObjectsNoLockT(): 1 records for runid_column = convert('cc1042af-192a-414b-837e-32726343de10', 'System.Guid').
    V, 4236, 7, 2012/05/17, 16:08:39.807, EPRUSARW0628\MSTest.exe, Tmi.TestRunEndInternal: finished.
    V, 4236, 1, 2012/05/17, 16:08:39.821, EPRUSARW0628\MSTest.exe, Tmi.Dispose: starting
    V, 4236, 1, 2012/05/17, 16:08:39.821, EPRUSARW0628\MSTest.exe, Tmi.Dispose: calling Dispose on proxies...
    V, 4236, 1, 2012/05/17, 16:08:39.821, EPRUSARW0628\MSTest.exe, ControllerProxy: Dispose is called.
    V, 4236, 1, 2012/05/17, 16:08:39.822, EPRUSARW0628\MSTest.exe, LocalControllerProxy: Dispose(True) is called.
    V, 4236, 1, 2012/05/17, 16:08:39.822, EPRUSARW0628\MSTest.exe, LocalControllerProxy: EnsureNoActiveRuns
    V, 4236, 1, 2012/05/17, 16:08:39.822, EPRUSARW0628\MSTest.exe, LocalControllerProxy: StopProcess.
    V, 4236, 1, 2012/05/17, 16:08:39.822, EPRUSARW0628\MSTest.exe, LocalControllerProxy: Cleanup is done.
    V, 4236, 1, 2012/05/17, 16:08:39.822, EPRUSARW0628\MSTest.exe, LocalControllerProxy: Dispose(True) is done, disposed.
    V, 4236, 1, 2012/05/17, 16:08:39.822, EPRUSARW0628\MSTest.exe, Tmi.Dispose: calling Dispose on TIPs...
    V, 4236, 1, 2012/05/17, 16:08:39.825, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileDataMessage>(FileDataReceiver.FileDataMessageReceiver).DoAbort: Clearing 0 queued jobs and 0 jobs waiting to be queued
    V, 4236, 1, 2012/05/17, 16:08:39.825, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileDataMessage>(FileDataReceiver.FileDataMessageReceiver).Dispose
    V, 4236, 1, 2012/05/17, 16:08:39.826, EPRUSARW0628\MSTest.exe, BackgroundJobProcessor<Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileDataMessage>(FileDataReceiver.FileDataMessageReceiver).DoAbort: Clearing 0 queued jobs and 0 jobs waiting to be queued
    V, 4236, 1, 2012/05/17, 16:08:39.826, EPRUSARW0628\MSTest.exe, Tmi.Dispose: finished...
    V, 4236, 1, 2012/05/17, 16:08:39.826, EPRUSARW0628\MSTest.exe, Runner.Main: Exiting with exit code 1
    V, 4236, 1, 2012/05/17, 16:08:39.826, EPRUSARW0628\MSTest.exe, Runner.Main: finished.

    Thursday, May 17, 2012 12:14 PM
  • Thanks for Dhruv’s friendly assistance.

    Hi OlBoldyrev,

    Thank you for posting in the MSDN forum.

    Do you mean that all tests have the same issue?

    If just this specific test project,

    D:\Links\VS10\MSTest.exe /testcontainer:D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug\ShoppingCartBLTest.dll /test:RequestApproveRequestTest.

    Check the path D:\Links\VS10, did you get a TestResults folder? You also need to check whether it has the .dll file in your project path. I try to run a simple unit test, it works well.

    How about run your test like the following steps?

    Cd D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug

    Enter

    D:\Projects\TR\ShoppingCart\ShoppingCartBLTest\bin\Debug>MSTest /testcontainer: ShoppingCartBLTest.dll /test:RequestApproveRequestTest.

    If all test projects generated the same issue, I suggest you try to run VS in /SafeMode or reset your VS settings, since it works well in our computer, I’m afraid that it is related to your VS settings or installing.

    If there's any concern, please feel free to let me know.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    Friday, May 18, 2012 3:04 AM
  • Hi

    Thanks for posting the traces.  Is this standard install or something else.  Reason I asked this is traces contains below exception. Which indicates it failed to find the file D:\Links\VS10\QTAgent32.exe.  You indicated tests can be executed successfully from IDE, in this case does traces indicate same path for QTAgent32.exe ?
    Also assuming user who is executing the tests can access the path D:\Links\VS10\QTAgent32.exe.

    V, 4236, 6, 2012/05/17, 16:08:39.602, EPRUSARW0628\MSTest.exe, Win32ProcessLauncher: Starting process, D:\Links\VS10\QTAgent32.exe /agentKey 9f9e4ca6-8659-40af-9df1-f2dbf5ce09f0 /hostProcessId 4236 /hostIpcPortName eqt-ca979dcf-df14-6cfe-bde6-975b50ccd728...
    V, 4236, 7, 2012/05/17, 16:08:39.608, EPRUSARW0628\MSTest.exe, ControllerProxy.InitializeTestRun: finished.
    V, 4236, 7, 2012/05/17, 16:08:39.609, EPRUSARW0628\MSTest.exe, ControllerProxy.SetUpTestRun: started.
    E, 4236, 6, 2012/05/17, 16:08:39.610, EPRUSARW0628\MSTest.exe, ProcessMonitorThread: Got exception while trying to start AgentProcess: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start()
       at Microsoft.VisualStudio.TestTools.Agent.Win32ProcessLauncher.Launch(String exeFileName, String args, String workingDir, IEnumerable`1

    • Marked as answer by OlBoldyrev Friday, May 18, 2012 2:42 PM
    Friday, May 18, 2012 7:20 AM
  • Hi, Dhruv,

    it was a standard install but a stupid way to run mstest.exe. All is OK after running it like it should be run.

    Thanks a lot.

    Friday, May 18, 2012 2:43 PM