1239 references to EqtTrace
datacollector (20)
DataCollectorMain.cs (12)
91EqtTrace.InitializeTrace(logFile, traceLevel); 97EqtTrace.Warning("DataCollectorMain.Run: Invalid trace level: {0}, defaulting to verbose tracelevel.", traceLevelInt); 102EqtTrace.DoNotInitailize = true; 105if (EqtTrace.IsVerboseEnabled) 110EqtTrace.Verbose($"Version: {version}"); 115EqtTrace.Info("DataCollectorMain.Run: Starting data collector run with args: {0}", args != null ? string.Join(",", args) : "null"); 119EqtTrace.Info("DataCollector: Monitoring parent process with id: '{0}'", parentProcessId); 125EqtTrace.Info("DataCollector: ParentProcess '{0}' Exited.", parentProcessId); 143if (!string.IsNullOrEmpty(EqtTrace.LogFile)) 145(_requestHandler as DataCollectionRequestHandler)?.SendDataCollectionMessage(new DataCollectionMessageEventArgs(TestMessageLevel.Informational, $"Logging DataCollector Diagnostics in file: {EqtTrace.LogFile}")); 149EqtTrace.Info("DataCollector: Start Request Processing."); 165EqtTrace.Error(
Program.cs (2)
29EqtTrace.Error("Program.Main: Error occurred during initialization of Datacollector : {0}", ex); 34EqtTrace.Info("Program.Main: exiting datacollector process.");
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (6)
71EqtTrace.Verbose("ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable is empty will try to run ProcDump from PATH."); 76EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable '{procdumpDirectory}' is not a directory, or the directory does not exist. Will try to run ProcDump from PATH."); 91EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path to ProcDump '{candidatePath}' exists, using that."); 96EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path '{candidatePath}' does not exist will try to run {filename} from PATH."); 101EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Resolved {filename} to {p} from PATH."); 106EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Could not find {filename} on PATH.");
datacollector.arm64 (20)
src\vstest\src\datacollector\DataCollectorMain.cs (12)
91EqtTrace.InitializeTrace(logFile, traceLevel); 97EqtTrace.Warning("DataCollectorMain.Run: Invalid trace level: {0}, defaulting to verbose tracelevel.", traceLevelInt); 102EqtTrace.DoNotInitailize = true; 105if (EqtTrace.IsVerboseEnabled) 110EqtTrace.Verbose($"Version: {version}"); 115EqtTrace.Info("DataCollectorMain.Run: Starting data collector run with args: {0}", args != null ? string.Join(",", args) : "null"); 119EqtTrace.Info("DataCollector: Monitoring parent process with id: '{0}'", parentProcessId); 125EqtTrace.Info("DataCollector: ParentProcess '{0}' Exited.", parentProcessId); 143if (!string.IsNullOrEmpty(EqtTrace.LogFile)) 145(_requestHandler as DataCollectionRequestHandler)?.SendDataCollectionMessage(new DataCollectionMessageEventArgs(TestMessageLevel.Informational, $"Logging DataCollector Diagnostics in file: {EqtTrace.LogFile}")); 149EqtTrace.Info("DataCollector: Start Request Processing."); 165EqtTrace.Error(
src\vstest\src\datacollector\Program.cs (2)
29EqtTrace.Error("Program.Main: Error occurred during initialization of Datacollector : {0}", ex); 34EqtTrace.Info("Program.Main: exiting datacollector process.");
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (6)
71EqtTrace.Verbose("ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable is empty will try to run ProcDump from PATH."); 76EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable '{procdumpDirectory}' is not a directory, or the directory does not exist. Will try to run ProcDump from PATH."); 91EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path to ProcDump '{candidatePath}' exists, using that."); 96EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path '{candidatePath}' does not exist will try to run {filename} from PATH."); 101EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Resolved {filename} to {p} from PATH."); 106EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Could not find {filename} on PATH.");
Microsoft.TestPlatform.CommunicationUtilities (132)
DataCollectionRequestHandler.cs (12)
180EqtTrace.Info("DataCollectionRequestHandler.ProcessRequests: Datacollector received message: {0}", message); 200EqtTrace.Error("DataCollectionRequestHandler.ProcessRequests : Invalid Message types: {0}", message?.MessageType); 232EqtTrace.Info("Closing the connection !"); 249EqtTrace.Verbose("DataCollectionRequestHandler.AddExtensionAssemblies: No sources provided"); 274EqtTrace.Warning($"AdapterPath Not Found: {adapterPath}"); 293EqtTrace.Error("DataCollectionRequestHandler.AddExtensionAssemblies: Exception occurred: {0}", e); 335EqtTrace.Error( 350EqtTrace.Error("DataCollectionRequestHandler.HandleBeforeTestRunStart : Error occurred during test case events handling: {0}.", e); 360EqtTrace.Info("DataCollectionRequestHandler.ProcessRequests : DataCollection started."); 379EqtTrace.Error("DataCollectionRequestHandler.HandleAfterTestRunEnd : Error while processing event from testhost: {0}", ex.ToString()); 399EqtTrace.Info("DataCollectionRequestHandler.ProcessRequests : Session End message received from server. Closing the connection."); 403EqtTrace.Info("DataCollectionRequestHandler.ProcessRequests : DataCollection completed");
DataCollectionRequestSender.cs (7)
57EqtTrace.Verbose("DataCollectionRequestSender.InitializeCommunication : Initialize communication. "); 71EqtTrace.Verbose("DataCollectionRequestSender.WaitForRequestHandlerConnection : Waiting for connection with timeout: {0}", clientConnectionTimeout); 89EqtTrace.Info("Closing the connection"); 106EqtTrace.Verbose("DataCollectionRequestSender.SendBeforeTestRunStartAndGetResult: Send BeforeTestRunStart message with settingsXml {0} and sources {1}: ", settingsXml, string.Join(" ", sources)); 125EqtTrace.Verbose("DataCollectionRequestSender.SendBeforeTestRunStartAndGetResult: Received message: {0}", message); 153EqtTrace.Verbose("DataCollectionRequestSender.SendAfterTestRunStartAndGetResult: Send AfterTestRunEnd message with isCancelled: {0}", isCancelled); 167EqtTrace.Verbose("DataCollectionRequestSender.SendAfterTestRunStartAndGetResult: Received message: {0}", message);
DataCollectionTestCaseEventHandler.cs (10)
79EqtTrace.Info("DataCollectionRequestHandler.ProcessRequests: Datacollector received message: {0}", message); 84EqtTrace.Info("DataCollectionTestCaseEventHandler: Test case starting."); 97EqtTrace.Error($"DataCollectionTestCaseEventHandler.ProcessRequests: Error occurred during TestCaseStarted event handling: {ex}"); 102EqtTrace.Info("DataCollectionTestCaseEventHandler: Test case '{0} - {1}' started.", testCaseStartEventArgs?.TestCaseName, testCaseStartEventArgs?.TestCaseId); 107EqtTrace.Info("DataCollectionTestCaseEventHandler: Test case completing."); 121EqtTrace.Error($"DataCollectionTestCaseEventHandler.ProcessRequests: Error occurred during DataCollectionTestEnd event handling: {ex}"); 127EqtTrace.Info("DataCollectionTestCaseEventHandler: Test case '{0} - {1}' completed", testCaseEndEventArgs?.TestCaseName, testCaseEndEventArgs?.TestCaseId); 133EqtTrace.Info("DataCollectionTestCaseEventHandler: Test session ended"); 142EqtTrace.Error($"DataCollectionTestCaseEventHandler.ProcessRequests: Error occurred during SessionEnd event handling: {ex}"); 148EqtTrace.Info("DataCollectionTestCaseEventHandler: Invalid Message type '{0}'", message?.MessageType);
DataCollectionTestCaseEventSender.cs (2)
79EqtTrace.Info("Closing the connection!"); 90EqtTrace.Error("DataCollectionTestCaseEventSender.SendTestCaseStart : MessageType.DataCollectionTestStartAck not received.");
EventHandlers\TestDiscoveryEventHandler.cs (6)
35EqtTrace.Info("Test Cases found "); 46EqtTrace.Info(discoveryCompleteEventArgs.IsAborted ? "Discover Aborted." : "Discover Finished."); 61EqtTrace.Info(message); 65EqtTrace.Warning(message); 69EqtTrace.Error(message); 73EqtTrace.Info(message);
EventHandlers\TestInitializeEventsHandler.cs (4)
38EqtTrace.Info(message); 42EqtTrace.Warning(message); 46EqtTrace.Error(message); 50EqtTrace.Info(message);
EventHandlers\TestRunEventsHandler.cs (8)
37EqtTrace.Info("Sending test run statistics"); 50EqtTrace.Info("Sending test run complete"); 64EqtTrace.Info(message); 68EqtTrace.Warning(message); 72EqtTrace.Error(message); 76EqtTrace.Info(message); 97EqtTrace.Info("Sending LaunchProcessWithDebuggerAttached on additional test process: {0}", testProcessStartInfo?.FileName); 104EqtTrace.Info("Sending AttachDebuggerToProcess on additional test process with pid: {0}", attachDebuggerInfo.ProcessId);
JsonDataSerializer.cs (2)
37if (!s_serializerNameLogged && EqtTrace.IsInfoEnabled) 40EqtTrace.Info("JsonDataSerializer: Using {0} serializer", SerializerName);
LengthPrefixCommunicationChannel.cs (4)
62EqtTrace.Verbose("LengthPrefixCommunicationChannel.Send: BaseStream is not writable (most likely it was dispose). {0}", ex); 66EqtTrace.Error("LengthPrefixCommunicationChannel.Send: Error sending data: {0}.", ex); 101EqtTrace.Verbose("LengthPrefixCommunicationChannel.Send: BaseStream was disposed. {0}", ex); 112EqtTrace.Verbose("LengthPrefixCommunicationChannel.Dispose: Dispose reader and writer.");
SocketClient.cs (7)
58EqtTrace.Info("SocketClient.Start: connecting to server endpoint: {0}", endPoint); 68EqtTrace.Info("SocketClient.Stop: Stop communication from server endpoint: {0}", _endPoint); 72EqtTrace.Info("SocketClient: Stop: Cancellation requested. Stopping message loop."); 87EqtTrace.Info("SocketClient.OnServerConnected: connected to server endpoint: {0}", _endPoint); 97EqtTrace.Verbose("Unable to connect to server, Exception occurred: {0}", connectAsyncTask.Exception); 104EqtTrace.Verbose("Connected to server, and starting MessageLoopAsync"); 116EqtTrace.Info("SocketClient.PrivateStop: Stop communication from server endpoint: {0}, error:{1}", _endPoint, error);
SocketCommunicationManager.cs (14)
103EqtTrace.Info("Listening on Endpoint : {0}", (IPEndPoint)_tcpListener.LocalEndpoint); 132EqtTrace.Info("Using the buffer size of {0} bytes", SocketConstants.BufferSize); 133EqtTrace.Info("Accepted Client request and set the flag"); 145EqtTrace.Verbose("SocketCommunicationManager.WaitForClientConnection took: {0} ms, with {1} ms timeout, and finished with {2}.", stopWatch.ElapsedMilliseconds, clientConnectionTimeout, result); 175EqtTrace.Info("Trying to connect to server on socket : {0} ", endpoint); 186EqtTrace.Verbose("SocketCommunicationManager : SetupClientAsync : Attempting to connect to the server."); 197EqtTrace.Info("Connected to the server successfully "); 198EqtTrace.Info("Using the buffer size of {0} bytes", SocketConstants.BufferSize); 205EqtTrace.Error("Connection Failed with error {0}, retrying", ex.ToString()); 222EqtTrace.Verbose("SocketCommunicationManager.WaitForServerConnection took: {0} ms, with {1} ms timeout, and finished with {2}.", stopWatch.ElapsedMilliseconds, connectionTimeout, result); 363EqtTrace.Error("SocketCommunicationManager.TryReceiveRawMessage: Socket is null"); 378EqtTrace.Info( 384EqtTrace.Error( 392EqtTrace.Error(
SocketServer.cs (7)
68EqtTrace.Info("SocketServer.Start: Listening on endpoint : {0}", _endPoint); 77EqtTrace.Error("Failed for address {0}, with: {1}", endPoint, ex); 85EqtTrace.Info("SocketServer.Stop: Stop server endPoint: {0}", _endPoint); 88EqtTrace.Info("SocketServer.Stop: Cancellation requested. Stopping message loop."); 106EqtTrace.Verbose("SocketServer.OnClientConnected: Client connected for endPoint: {0}, starting MessageLoopAsync:", _endPoint); 119EqtTrace.Info("SocketServer.PrivateStop: Stopping server endPoint: {0} error: {1}", _endPoint, error); 141EqtTrace.Info("SocketServer.Stop: Raise disconnected event endPoint: {0} error: {1}", _endPoint, error);
TcpClientExtensions.cs (8)
39EqtTrace.Error( 47var isVerboseEnabled = EqtTrace.IsVerboseEnabled; 55EqtTrace.Verbose("TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: {0} localEndPoint: {1} after {2} ms", remoteEndPoint, localEndPoint, sw.ElapsedMilliseconds); 65EqtTrace.Verbose("TcpClientExtensions.MessageLoopAsync: NotifyDataAvailable remoteEndPoint: {0} localEndPoint: {1}", remoteEndPoint, localEndPoint); 75EqtTrace.Info( 83EqtTrace.Error( 98EqtTrace.Error( 111EqtTrace.Verbose("TcpClientExtensions.MessageLoopAsync: exiting MessageLoopAsync remoteEndPoint: {0} localEndPoint: {1}", remoteEndPoint, localEndPoint);
TestRequestSender.cs (41)
135EqtTrace.Verbose("TestRequestSender.InitializeCommunication: initialize communication. "); 215EqtTrace.Verbose("TestRequestSender.WaitForRequestHandlerConnection: waiting for connection with timeout: {0}.", connectionTimeout); 222EqtTrace.Verbose("TestRequestSender.WaitForRequestHandlerConnection: waiting took {0} ms, with timeout {1} ms, and result {2}, which is {3}.", sw.ElapsedMilliseconds, connectionTimeout, waitIndex, waitIndex == 0 ? "success" : "failure"); 244EqtTrace.Verbose("TestRequestSender.CheckVersionWithTestHost: onMessageReceived received message: {0}", message); 280EqtTrace.Verbose("TestRequestSender.CheckVersionWithTestHost: Sending check version message: {0}", data); 308EqtTrace.Verbose("TestRequestSender.InitializeDiscovery: Sending initialize discovery with message: {0}", message); 332EqtTrace.Verbose("TestRequestSender.DiscoverTests: Sending discover tests with message: {0}", message); 342EqtTrace.Verbose("TestRequestSender.SendDiscoveryAbort: Operation is already complete. Skip error message."); 347EqtTrace.Verbose("TestRequestSender.SendDiscoveryAbort: Sending discovery abort."); 363EqtTrace.Verbose("TestRequestSender.InitializeExecution: Sending initialize execution with message: {0}", message); 397EqtTrace.Warning(CommonResources.AttachDebuggerToDefaultTestHostFailure); 406EqtTrace.Verbose("TestRequestSender.StartTestRun: Sending test run with message: {0}", message); 440EqtTrace.Warning(CommonResources.AttachDebuggerToDefaultTestHostFailure); 449EqtTrace.Verbose("TestRequestSender.StartTestRun: Sending test run with message: {0}", message); 459EqtTrace.Verbose("TestRequestSender: SendTestRunCancel: Operation is already complete. Skip error message."); 463EqtTrace.Verbose("TestRequestSender.SendTestRunCancel: Sending test run cancel."); 473EqtTrace.Verbose("TestRequestSender: SendTestRunAbort: Operation is already complete. Skip error message."); 477EqtTrace.Verbose("TestRequestSender.SendTestRunAbort: Sending test run abort."); 489EqtTrace.Verbose("TestRequestSender.EndSession: Sending end session."); 500EqtTrace.Info($"TestRequestSender.OnClientProcessExit: Test host process exited. Standard error: {stdError}"); 513EqtTrace.Info("Closing the connection"); 533EqtTrace.Verbose("TestRequestSender.OnExecutionMessageReceived: Received message: {0}", rawMessage); 575EqtTrace.Verbose("TestRequestSender.OnExecutionMessageReceived: Sending LaunchAdapterProcessWithDebuggerAttachedCallback message: {0}", data); 591EqtTrace.Verbose("TestRequestSender.OnExecutionMessageReceived: Sending AttachDebugger with message: {0}", message); 614EqtTrace.Verbose("TestRequestSender.OnDiscoveryMessageReceived: Received message: {0}", rawMessage); 622EqtTrace.Error("TestRequestSender.OnDiscoveryMessageReceived: Deserialized message is null: {0}", rawMessage); 673EqtTrace.Verbose("TestRequestSender: OnTestRunAbort: Operation is already complete. Skip error message."); 677EqtTrace.Verbose("TestRequestSender: OnTestRunAbort: Set operation complete."); 681EqtTrace.Error("TestRequestSender: Aborting test run because {0}", reason); 698EqtTrace.Verbose("TestRequestSender.OnDiscoveryAbort: Operation is already complete. Skip error message."); 702EqtTrace.Verbose("TestRequestSender.OnDiscoveryAbort: Set operation complete."); 708EqtTrace.Error("TestRequestSender.OnDiscoveryAbort: Aborting test discovery because {0}.", reason); 713EqtTrace.Error("TestRequestSender.OnDiscoveryAbort: Aborting test discovery."); 733EqtTrace.Verbose("TestRequestSender.GetAbortErrorMessage: Exception: " + exception); 745EqtTrace.Verbose("TestRequestSender.GetAbortErrorMessage: Client has disconnected. Wait for standard error."); 753EqtTrace.Info("TestRequestSender.GetAbortErrorMessage: Received test host error message."); 764EqtTrace.Info("TestRequestSender.GetAbortErrorMessage: Timed out waiting for test host error message."); 773EqtTrace.Error("TestRequestSender.LogErrorMessage: Message event handler not set. Error: " + message); 804EqtTrace.Verbose("TestRequestSender.SetOperationComplete: Setting operation complete."); 817EqtTrace.Verbose("TestRequestSender is acting as client."); 822EqtTrace.Verbose("TestRequestSender is acting as server.");
Microsoft.TestPlatform.CoreUtilities (37)
Helpers\DotnetHostHelper.cs (30)
86EqtTrace.Error(errorMessage); 99EqtTrace.Error(errorMessage); 134EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Using dotnet muxer resolution strategy: {dotnetMuxerResolutionStrategy}"); 143EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Target architecture is the same as the current process architecture '{targetArchitecture}', and the current process is a muxer, using that: '{muxerPath}'"); 147EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Target architecture is the same as the current process architecture '{targetArchitecture}', but the current process is not a muxer: '{currentProcessFileName}'"); 154EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Searching for muxer named '{_muxerName}'"); 194EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Folder specified by env variable does not exist: '{envVar}={envKey}'"); 203EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Folder specified by env variable does not contain any muxer: '{envVar}={envKey}'"); 210EqtTrace.Verbose($"DotnetHostHelper: Invalid muxer resolved using env var key '{envKey}' in '{envVar}'"); 215EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer compatible with '{targetArchitecture}' resolved from env variable '{envKey}' in '{muxerPath}'"); 223EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer was not found using DOTNET_ROOT* env variables."); 236EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer file not found for global registration '{muxerPath}'"); 244EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer resolved using global registration is not compatible with the target architecture: '{muxerPath}'"); 249EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer compatible with '{targetArchitecture}' resolved from global registration: '{muxerPath}'"); 253EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer not found using global registrations"); 294EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer was not found in default installation location: '{muxerPath}'"); 302EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer resolved in default installation path is not compatible with the target architecture: '{muxerPath}'"); 307EqtTrace.Verbose($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer compatible with '{targetArchitecture}' resolved from default installation path: '{muxerPath}'"); 320EqtTrace.Verbose($@"DotnetHostHelper.GetMuxerFromGlobalRegistrationWin: Missing SOFTWARE\dotnet\Setup\InstalledVersions subkey"); 327EqtTrace.Verbose($@"DotnetHostHelper.GetMuxerFromGlobalRegistrationWin: Missing RegistryHive.LocalMachine for RegistryView.Registry32"); 335EqtTrace.Verbose($@"DotnetHostHelper.GetMuxerFromGlobalRegistrationWin: Missing registry InstallLocation"); 340EqtTrace.Verbose($@"DotnetHostHelper.GetMuxerFromGlobalRegistrationWin: Muxer resolved using win registry key 'SOFTWARE\dotnet\Setup\InstalledVersions\{targetArchitecture.ToString().ToLowerInvariant()}\InstallLocation' in '{path}'"); 367EqtTrace.Verbose($"DotnetHostHelper: '{installLocation}' content '{content}'"); 369EqtTrace.Verbose($"DotnetHostHelper: Muxer resolved using '{installLocation}' in '{path}'"); 374EqtTrace.Error($"DotnetHostHelper.GetMuxerFromGlobalRegistrationOnUnix: Exception during '{installLocation}' muxer resolution.\n{ex}"); 404EqtTrace.Error($"DotnetHostHelper.GetMuxerArchitectureByPEHeaderOnWin: Failed to get architecture from PEHeader for '{path}'\n{ex}"); 428EqtTrace.Error($"DotnetHostHelper.GetMuxerArchitectureByMachoOnMac: Invalid Mach-O magic bytes: 0x{magic:X8}"); 446EqtTrace.Error($"DotnetHostHelper.GetMuxerArchitectureByMachoOnMac: Failed to get architecture from Mach-O for '{path}'\n{ex}"); 497EqtTrace.Verbose($"DotnetHostHelper.IsValidArchitectureMuxer: Incompatible architecture muxer, target architecture '{targetArchitecture}', actual '{muxerPlatform}'"); 501EqtTrace.Verbose($"DotnetHostHelper.IsValidArchitectureMuxer: Compatible architecture muxer, target architecture '{targetArchitecture}', actual '{muxerPlatform}'");
Helpers\EnvironmentHelper.cs (1)
24EqtTrace.Info("EnvironmentHelper.GetConnectionTimeout: {0} value set to {1}.", VstestConnectionTimeout, value);
Utilities\JobQueue.cs (1)
247EqtTrace.Verbose("blocking on over filled queue.");
Utilities\MulticastDelegateUtilities.cs (5)
47EqtTrace.Verbose("MulticastDelegateUtilities.SafeInvoke: {0}: Invoking callbacks was skipped because there are no subscribers.", traceDisplayName); 60if (EqtTrace.IsVerboseEnabled) 62EqtTrace.Verbose("MulticastDelegateUtilities.SafeInvoke: {0}: Invoking callback {1}/{2} for {3}.{4}, took {5} ms.", 73if (EqtTrace.IsErrorEnabled) 75EqtTrace.Error(
Microsoft.TestPlatform.CrossPlatEngine (254)
Adapter\TestExecutionRecorder.cs (3)
71EqtTrace.Verbose("TestExecutionRecorder.RecordStart: Starting test: {0}.", testCase.FullyQualifiedName); 96EqtTrace.Verbose("TestExecutionRecorder.RecordResult: Received result for test: {0}.", testResult.TestCase.FullyQualifiedName); 116EqtTrace.Verbose("TestExecutionRecorder.RecordEnd: test: {0} execution completed.", testCase.FullyQualifiedName);
AttachmentsProcessing\DataCollectorAttachmentsProcessorsFactory.cs (7)
45EqtTrace.Info($"DataCollectorAttachmentsProcessorsFactory: Analyzing data collector attachment processor Uri: {invokedDataCollector.Uri} AssemblyQualifiedName: {invokedDataCollector.AssemblyQualifiedName} FilePath: {invokedDataCollector.FilePath} HasAttachmentProcessor: {invokedDataCollector.HasAttachmentProcessor}"); 94EqtTrace.Info($"DataCollectorAttachmentsProcessorsFactory: DataCollectorExtension not found for uri '{invokedDataCollector.Uri}'"); 104EqtTrace.Info($"DataCollectorAttachmentsProcessorsFactory: Creation of collector attachment processor '{attachmentProcessorType.AssemblyQualifiedName}' from file '{invokedDataCollector.FilePath}' succeded"); 108EqtTrace.Error($"DataCollectorAttachmentsProcessorsFactory: Failed during the creation of data collector attachment processor '{attachmentProcessorType.AssemblyQualifiedName}'\n{ex}"); 117EqtTrace.Info($"DataCollectorAttachmentsProcessorsFactory: Collector attachment processor '{attachmentProcessorType.AssemblyQualifiedName}' from file '{invokedDataCollector.FilePath}' added to the 'run list'"); 128EqtTrace.Info($"DataCollectorAttachmentsProcessorsFactory: Collector attachment processor '{typeof(CodeCoverageDataAttachmentsHandler).AssemblyQualifiedName}' for the data collector with friendly name '{CoverageFriendlyName}' added to the 'run list'"); 134EqtTrace.Info($"DataCollectorAttachmentsProcessorsFactory: Valid data collector attachment processor found: '{attachementProcessor.Key}'");
AttachmentsProcessing\TestRunAttachmentsProcessingManager.cs (5)
94EqtTrace.Warning("TestRunAttachmentsProcessingManager: Operation was cancelled."); 99EqtTrace.Error("TestRunAttachmentsProcessingManager: Exception in ProcessTestRunAttachmentsAsync: " + e); 128EqtTrace.Error($"TestRunAttachmentsProcessingManager: Non incremental attachment processors are not supported, '{dataCollectorAttachmentsProcessor.DataCollectorAttachmentProcessorInstance.GetType()}'"); 170EqtTrace.Info($"TestRunAttachmentsProcessingManager: Invocation of data collector attachment processor AssemblyQualifiedName: '{dataCollectorAttachmentsProcessor.DataCollectorAttachmentProcessorInstance.GetType().AssemblyQualifiedName}' FriendlyName: '{dataCollectorAttachmentsProcessor.FriendlyName}' with configuration '{(configuration == null ? "null" : configuration.OuterXml)}'"); 188EqtTrace.Error("TestRunAttachmentsProcessingManager: Exception in ProcessAttachmentsAsync: " + e);
Client\InProcessProxyDiscoveryManager.cs (1)
70EqtTrace.Error("InProcessProxyDiscoveryManager.DiscoverTests: Failed to discover tests: {0}", exception);
Client\InProcessProxyexecutionManager.cs (1)
97EqtTrace.Error("InProcessProxyexecutionManager.StartTestRun: Failed to start test run: {0}", exception);
Client\LoggerNameValueConfigurationManager.cs (2)
57EqtTrace.Warning("Skipping configuration setting '{0}' due to missing value", settingName); 65EqtTrace.Verbose(
Client\Parallel\DiscoveryDataAggregator.cs (8)
95EqtTrace.Verbose("DiscoveryDataAggregator.Aggregate: Message was already sent so skipping event aggregation."); 178EqtTrace.Verbose("DiscoveryDataAggregator.MarkSourcesWithStatus: Message was already sent so skipping source update."); 199EqtTrace.Warning($"DiscoveryDataAggregator.MarkSourcesWithStatus: Undiscovered {source} added with status: '{status}'."); 203EqtTrace.Verbose($"DiscoveryDataAggregator.MarkSourcesWithStatus: Adding {source} with status: '{status}'."); 213EqtTrace.Warning($"DiscoveryDataAggregator.MarkSourcesWithStatus: Downgrading source {source} status from '{previousStatus}' to '{status}'."); 217EqtTrace.Verbose($"DiscoveryDataAggregator.MarkSourcesWithStatus: Upgrading {source} status from '{previousStatus}' to '{status}'."); 234EqtTrace.Verbose("DiscoveryDataAggregator.MarkSourcesBasedOnDiscoveredTestCases: Message was already sent so skipping source update."); 259EqtTrace.Verbose($"DiscoveryDataAggregator.MarkSourcesBasedOnDiscoveredTestCases: Discovered test source changed from {previousSource} to {currentSource}.");
Client\Parallel\ParallelDiscoveryEventsHandler.cs (5)
100EqtTrace.Info("ParallelDiscoveryEventsHandler.HandleDiscoveryComplete: Abort requested but discovery data aggregator not updated, marking discovery as aborted."); 108EqtTrace.Info("ParallelDiscoveryEventsHandler.HandleDiscoveryComplete: Discovery completed but some sources are not fully discovered, marking discovery as aborted."); 114EqtTrace.Info("ParallelDiscoveryEventsHandler.HandleDiscoveryComplete: Discovery completed."); 141EqtTrace.Verbose("ParallelDiscoveryEventsHandler.HandleDiscoveryComplete: Sending discovery complete message to IDE."); 157EqtTrace.Verbose("ParallelDiscoveryEventsHandler.HandleDiscoveryComplete: Sending discovery complete event to clients.");
Client\Parallel\ParallelOperationManager.cs (22)
67EqtTrace.Verbose($"ParallelOperationManager.ClearSlots: Clearing all slots. Slots should accept more work: {acceptMoreWork}"); 83if (EqtTrace.IsVerboseEnabled) 85EqtTrace.Verbose($"ParallelOperationManager.SetOccupiedSlotCount: Setting slot counts AvailableSlotCount = {AvailableSlotCount}, OccupiedSlotCount = {OccupiedSlotCount}."); 86EqtTrace.Verbose($"Occupied slots:\n{(string.Join("\n", _managerSlots.Where(s => s.HasWork).Select((slot) => $"{slot.Index}: {GetSourcesForSlotExpensive(slot)}").ToArray()))}"); 104EqtTrace.Verbose($"ParallelOperationManager.StartWork: Starting adding {workloads.Count} workloads."); 138EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: We don't accept more work, returning false."); 169EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: Adding 1 workload to slot, remaining workloads {_workloads.Count}."); 195if (EqtTrace.IsVerboseEnabled) 197EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: Running on pre-started host for work (source) {GetSourcesForSlotExpensive(slot)}: {(DateTime.Now.TimeOfDay - slot.PreStartTime).TotalMilliseconds}ms {slot.InitTask?.Status}"); 204EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: We started {startedWork} work items, which is the max parallel level. Won't start more work."); 221if (EqtTrace.IsVerboseEnabled) 223EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: Started host in slot number {slot.Index} for work (source): {GetSourcesForSlotExpensive(slot)}."); 232EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: We started {startedWork} work items, which is the max parallel level. Won't start more work."); 246if (EqtTrace.IsVerboseEnabled) 248EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: Pre-starting a host for work (source): {GetSourcesForSlotExpensive(slot)}."); 257EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: We started {preStartedWork + startedWork} work items in here, returning {weAddedMoreWork}."); 294if (EqtTrace.IsVerboseEnabled) 296EqtTrace.Verbose($"ParallelOperationManager.ClearCompletedSlot: Clearing slot number {completedSlot[0].Index} with work (source): {GetSourcesForSlotExpensive(completedSlot[0])}."); 320EqtTrace.Verbose($"ParallelOperationManager.DoActionOnAllManagers: Calling an action on all managers."); 360EqtTrace.Warning("ParallelOperationManager.DoManagerAction: Exception while invoking an action on Proxy Manager instance: {0}", ex); 366EqtTrace.Verbose($"ParallelOperationManager.StopAllManagers: Stopping all managers."); 372EqtTrace.Verbose($"ParallelOperationManager.Dispose: Disposing all managers.");
Client\Parallel\ParallelProxyDiscoveryManager.cs (11)
92EqtTrace.Verbose("ParallelProxyDiscoveryManager.DiscoverTests: Start discovery. Total sources: " + _availableTestSources); 175EqtTrace.Verbose("ParallelProxyDiscoveryManager.HandlePartialDiscoveryComplete: Total completed clients = {0}, Discovery complete = {1}, Aborted = {2}, Abort requested: {3}.", _discoveryCompletedClients, allDiscoverersCompleted, isAborted, IsAbortRequested); 188EqtTrace.Verbose("ParallelProxyDiscoveryManager.HandlePartialDiscoveryComplete: All sources were discovered."); 192EqtTrace.Verbose($"ParallelProxyDiscoveryManager.HandlePartialDiscoveryComplete: Abort was requested."); 271EqtTrace.Verbose("ProxyParallelDiscoveryManager.InitializeDiscoverTestsOnConcurrentManager: Discovery preparation started."); 276EqtTrace.Verbose($"ProxyParallelDiscoveryManager.InitializeDiscoverTestsOnConcurrentManager: Init only: {string.Join(", ", discoveryCriteria.Sources)}"); 305EqtTrace.Verbose("ParallelProxyDiscoveryManager: Discovery started."); 308EqtTrace.Verbose($"ProxyParallelDiscoveryManager.DiscoverTestsOnConcurrentManager: Initialize right before run: {string.Join(", ", discoveryCriteria.Sources)}"); 317EqtTrace.Verbose($"ProxyParallelDiscoveryManager.DiscoverTestsOnConcurrentManager: Run: {string.Join(", ", discoveryCriteria.Sources)}"); 321EqtTrace.Verbose("ProxyParallelDiscoveryManager.DiscoverTestsOnConcurrentManager: No sources available for discovery."); 329EqtTrace.Error("ParallelProxyDiscoveryManager: Failed to trigger discovery. Exception: " + t.Exception);
Client\Parallel\ParallelProxyExecutionManager.cs (13)
104EqtTrace.Verbose("ParallelProxyExecutionManager: Start execution. Total sources: " + _availableWorkloads); 162EqtTrace.Verbose("ParallelProxyExecutionManager: HandlePartialRunComplete: Total workloads = {0}, Total started clients = {1} Total completed clients = {2}, Run complete = {3}, Run canceled: {4}.", _availableWorkloads, _runStartedClients, _runCompletedClients, allRunsCompleted, testRunCompleteArgs.IsCanceled); 167EqtTrace.Verbose("ParallelProxyExecutionManager: HandlePartialRunComplete: All runs completed stopping all managers."); 189EqtTrace.Verbose("ParallelProxyExecutionManager: HandlePartialRunComplete: Not cancelled or aborted, running next work."); 194EqtTrace.Verbose("ParallelProxyExecutionManager: HandlePartialRunComplete: Cancelled or aborted, not running next work."); 275EqtTrace.Warning($"ParallelProxyExecutionManager: adjust the numberOfTestHostToUse to the max parallel level, from {numberOfTestHostToUse} to {_parallelLevel}"); 441EqtTrace.Verbose("ParallelProxyExecutionManager.StartTestRunOnConcurrentManager: Initializing uninitialized client. Started clients: " + _runStartedClients); 445EqtTrace.Verbose("ParallelProxyExecutionManager.StartTestRunOnConcurrentManager: Initializing test run. Started clients: " + _runStartedClients); 451EqtTrace.Verbose("ParallelProxyExecutionManager.StartTestRunOnConcurrentManager: Waiting for pre-initialized client to finish initialization. Started clients: " + _runStartedClients); 453EqtTrace.Verbose("ParallelProxyExecutionManager.StartTestRunOnConcurrentManager: Pre-initialized client finished initialization. Started clients: " + _runStartedClients); 456EqtTrace.Verbose("ParallelProxyExecutionManager.StartTestRunOnConcurrentManager: Execution starting. Started clients: " + _runStartedClients); 459EqtTrace.Verbose("ParallelProxyExecutionManager.StartTestRunOnConcurrentManager: Execution started. Started clients: " + _runStartedClients); 466EqtTrace.Error("ParallelProxyExecutionManager.StartTestRunOnConcurrentManager(continuation): Failed to trigger execution. Exception: " + t.Exception);
Client\Parallel\ParallelRunEventsHandler.cs (3)
69EqtTrace.Verbose($"ParallelRunEventsHandler.HandleTestRunComplete: Handling a run completion, this can be either one part of parallel run completing, or the whole parallel run completing."); 74EqtTrace.Verbose($"ParallelRunEventsHandler.HandleTestRunComplete: Whole parallel run completed."); 103EqtTrace.Verbose($"ParallelRunEventsHandler.HandleTestRunComplete: Single part of parallel run completed, but whole run is not complete yet.");
Client\ProxyDiscoveryManager.cs (1)
203EqtTrace.Error("ProxyDiscoveryManager.DiscoverTests: Failed to discover tests: {0}", exception);
Client\ProxyExecutionManager.cs (2)
182EqtTrace.Verbose("ProxyExecutionManager: Test host is always Lazy initialize."); 301EqtTrace.Error("ProxyExecutionManager.StartTestRun: Failed to start test run: {0}", exception);
Client\ProxyOperationManager.cs (11)
217LogFile = GetTimestampedLogFile(EqtTrace.LogFile), 218TraceLevel = (int)EqtTrace.TraceLevel 249EqtTrace.Error("ProxyOperationManager: Failed to launch testhost :{0}", ex); 287EqtTrace.Verbose($"Test host failed to start Test host launched:{_testHostLaunched} test host exited: {_testHostExited.IsSet}"); 331EqtTrace.Verbose("ProxyOperationManager.Close: waiting for test host to exit for {0} ms", timeout); 334EqtTrace.Warning("ProxyOperationManager: Timed out waiting for test host to exit. Will terminate process."); 345EqtTrace.Warning("ProxyOperationManager: Failed to end session: " + ex); 359EqtTrace.Error($"ProxyOperationManager: Cleaning testhost failed: {ex}"); 454EqtTrace.Verbose($"ProxyOperationManager.IsTesthostCompatibleWithTestSessions: Testhost friendly name: {friendlyName}; Sessions support: {isSessionSupported};"); 500EqtTrace.Verbose(e!.Data); 506EqtTrace.Verbose("CrossPlatEngine.TestHostManagerHostExited: calling on client process exit callback.");
Client\TestLoggerManager.cs (15)
199EqtTrace.Warning("TestLoggerManager.HandleTestRunMessage: Ignoring as the object is disposed."); 214EqtTrace.Warning("TestLoggerManager.HandleTestRunStatsChange: Ignoring as the object is disposed."); 232EqtTrace.Warning("TestLoggerManager.HandleTestRunStart: Ignoring as the object is disposed."); 260EqtTrace.Verbose("TestLoggerManager.HandleTestRunComplete: Ignoring as the object is disposed."); 272EqtTrace.Warning("TestLoggerManager.HandleDiscoveryMessage: Ignoring as the object is disposed."); 287EqtTrace.Warning("TestLoggerManager.HandleDiscoveredTests: Ignoring as the object is disposed."); 314EqtTrace.Verbose("TestLoggerManager.HandleDiscoveryComplete: Ignoring as the object is disposed."); 326EqtTrace.Warning("TestLoggerManager.HandleDiscoveryStart: Ignoring as the object is disposed."); 369EqtTrace.Verbose("TestLoggerManager: Skipping duplicate logger initialization: {0}", logger.Value.GetType()); 440EqtTrace.Error("TestLoggerManager.GetResultsDirectory: Unable to get the test results directory: Error {0}", se); 464EqtTrace.Error("TestLoggerManager.GetResultsDirectory: Unable to get the target framework: Error {0}", se); 557EqtTrace.Verbose("TestLoggerManager: Skipping duplicate logger initialization: {0}", logger.GetType()); 574EqtTrace.Error( 601EqtTrace.Error( 609EqtTrace.Error(
DataCollection\DataCollectionLauncher.cs (3)
57EqtTrace.Error("DataCollectionLauncher.ExitCallBack: Data collector exited with exitcode:{0} error: '{1}'", exitCode, processStdErrorStr); 66EqtTrace.Info("DataCollectionLauncher.ExitCallBack: Data collector exited with exitcode: 0 error: '{0}'", processStdErrorStr); 77EqtTrace.Warning("DataCollectionLauncher.ErrorReceivedCallback datacollector standard error line: {0}", data);
DataCollection\DotnetDataCollectionLauncher.cs (5)
79EqtTrace.Verbose("DotnetDataCollectionLauncher: Adding {0} in args", argsToAdd); 83EqtTrace.Verbose("DotnetDataCollectionLauncher: File {0}, does not exist", runtimeConfigPath); 92EqtTrace.Verbose("DotnetDataCollectionLauncher: Adding {0} in args", argsToAdd); 96EqtTrace.Verbose("DotnetDataCollectionLauncher: File {0}, does not exist", depsFilePath); 101EqtTrace.Verbose("DotnetDataCollectionLauncher: Full path of dotnet.exe is {0}", currentProcessFileName);
DataCollection\InProcDataCollectionExtensionManager.cs (2)
224EqtTrace.Error("InProcDataCollectionExtensionManager: Error occurred while Initializing the datacollectors : {0}", ex); 282EqtTrace.Error("InProcDataCollectionExtensionManager: Error occurred while Triggering the {0} method : {1}", methodName, ex);
DataCollection\InProcDataCollectionSink.cs (2)
44EqtTrace.Warning("No DataCollection Data set for the test case {0}", testCaseId); 77EqtTrace.Warning("The data for in-proc data collector with key {0} has already been set. Will be reset with new value", key);
DataCollection\InProcDataCollector.cs (1)
162EqtTrace.Error(
DataCollection\ProxyDataCollectionManager.cs (14)
154EqtTrace.Info("ProxyDataCollectionManager.AfterTestRunEnd: Get attachment set and invoked data collectors processId: {0} port: {1}", _dataCollectionProcessId, _dataCollectionPort); 197EqtTrace.Info("ProxyDataCollectionManager.BeforeTestRunStart: Get environment variable and port for datacollector processId: {0} port: {1}", _dataCollectionProcessId, _dataCollectionPort); 203EqtTrace.Info( 229EqtTrace.Info("ProxyDataCollectionManager.Dispose: calling dispose for datacollector processId: {0} port: {1}", _dataCollectionProcessId, _dataCollectionPort); 240EqtTrace.Info("ProxyDataCollectionManager.Initialize: Launched datacollector processId: {0} port: {1}", _dataCollectionProcessId, _dataCollectionPort); 244EqtTrace.Info("ProxyDataCollectionManager.Initialize: waiting for connection with timeout: {0} seconds", connectionTimeout); 249EqtTrace.Error("ProxyDataCollectionManager.Initialize: failed to connect to datacollector process, processId: {0} port: {1}", _dataCollectionProcessId, _dataCollectionPort); 287EqtTrace.Verbose("ProxyDataCollectionManager.InvokeDataCollectionServiceAction: Starting."); 289EqtTrace.Info("ProxyDataCollectionManager.InvokeDataCollectionServiceAction: Completed."); 293EqtTrace.Warning("ProxyDataCollectionManager.InvokeDataCollectionServiceAction: TestPlatformException = {0}.", ex); 300EqtTrace.Error(exception); 315if (!StringUtils.IsNullOrEmpty(EqtTrace.LogFile)) 318commandlineArguments.Add(GetTimestampedLogFile(EqtTrace.LogFile)); 321commandlineArguments.Add(((int)EqtTrace.TraceLevel).ToString(CultureInfo.CurrentCulture));
Discovery\DiscovererEnumerator.cs (8)
159EqtTrace.Info("DiscovererEnumerator.LoadTestsFromAnExtension: Cancellation Requested. Aborting the discovery"); 212EqtTrace.Verbose( 240EqtTrace.Verbose("DiscovererEnumerator.DiscoverTestsFromSingleDiscoverer: Done loading tests for {0}", 265EqtTrace.Error("DiscovererEnumerator.DiscoverTestsFromSingleDiscoverer: {0} ", e); 282EqtTrace.Error("DiscovererEnumerator.LoadTestsFromAnExtension: {0} ", e); 435if (EqtTrace.IsWarningEnabled && sourcesForWhichNoDiscovererIsAvailable != null) 440EqtTrace.Warning( 510EqtTrace.Error($"TestDiscoveryManager: LoadExtensions: Exception occurred while loading extensions {ex}");
Discovery\DiscoveryContext.cs (1)
57EqtTrace.Info(errorMessage);
Discovery\DiscoveryManager.cs (10)
108EqtTrace.Info("TestDiscoveryManager.DoDiscovery: Background test discovery started."); 135EqtTrace.Verbose("TestDiscoveryManager.DoDiscovery: Background Test Discovery complete."); 140EqtTrace.Verbose("TestDiscoveryManager.DiscoveryComplete: Calling DiscoveryComplete callback."); 188EqtTrace.Warning( 192EqtTrace.Verbose("TestDiscoveryManager.DiscoveryComplete: Called DiscoveryComplete callback."); 235EqtTrace.Warning("DiscoveryManager: Could not pass the test results as the callback is null."); 299EqtTrace.Warning("TestDiscoveryManager: None of the source {0} is valid. ", sourcesString); 305EqtTrace.Info("TestDiscoveryManager: Discovering tests from sources {0}", string.Join(",", verifiedSources.ToArray())); 312EqtTrace.Info( 323EqtTrace.Warning(
Discovery\DiscoveryResultCache.cs (2)
99EqtTrace.Warning("DiscoveryResultCache.AddTest: An attempt was made to add a 'null' test"); 118EqtTrace.Verbose("DiscoveryResultCache.AddTest: Notified the onReportTestCases callback.");
EventHandlers\TestRequestHandler.cs (31)
101message => EqtTrace.Error(message)); 181EqtTrace.Info("Closing the connection !"); 283EqtTrace.Verbose("Waiting for LaunchAdapterProcessWithDebuggerAttached ack"); 318EqtTrace.Verbose("Waiting for AttachDebuggerToProcess ack ..."); 328EqtTrace.Info("TestRequestHandler.OnMessageReceived: received message: {0}", message); 365if (!StringUtils.IsNullOrEmpty(EqtTrace.LogFile)) 367SendLog(TestMessageLevel.Informational, string.Format(CultureInfo.CurrentCulture, CrossPlatResources.TesthostDiagLogOutputFile, EqtTrace.LogFile)); 369else if (!StringUtils.IsNullOrEmpty(EqtTrace.ErrorOnInitialization)) 371SendLog(TestMessageLevel.Warning, EqtTrace.ErrorOnInitialization); 377EqtTrace.Error("Failed processing message {0}, aborting test run.", message.MessageType); 378EqtTrace.Error(ex); 394EqtTrace.Info("TestRequestHandler.OnMessageReceived: Running job '{0}'.", message.MessageType); 403EqtTrace.Error("Failed processing message {0}, aborting test run.", message.MessageType); 404EqtTrace.Error(ex); 422EqtTrace.Info("TestRequestHandler.OnMessageReceived: Running job '{0}'.", message.MessageType); 433EqtTrace.Error("Failed processing message {0}, aborting test run.", message.MessageType); 434EqtTrace.Error(ex); 451EqtTrace.Info("TestRequestHandler.OnMessageReceived: Running job '{0}'.", message.MessageType); 460EqtTrace.Error("Failed processing message {0}, aborting test run.", message.MessageType); 461EqtTrace.Error(ex); 478EqtTrace.Info("TestRequestHandler.OnMessageReceived: Running job '{0}'.", message.MessageType); 494EqtTrace.Error("Failed processing message {0}, aborting test run.", message.MessageType); 495EqtTrace.Error(ex); 513EqtTrace.Info("TestRequestHandler.OnMessageReceived: Running job '{0}'.", message.MessageType); 529EqtTrace.Error("Failed processing message {0}, aborting test run.", message.MessageType); 530EqtTrace.Error(ex); 568EqtTrace.Error("Failed processing message {0}. Stopping communication.", message.MessageType); 569EqtTrace.Error(ex); 577EqtTrace.Info("Session End message received from server. Closing the connection."); 591EqtTrace.Info("Invalid Message types"); 613EqtTrace.Verbose("TestRequestHandler.SendData: sending data from testhost: {0}", data);
Execution\BaseRunTests.cs (17)
213EqtTrace.Error("BaseRunTests.RunTests: Failed to run the tests. Reason: GetExecutorUriExtensionMap returned null."); 219EqtTrace.Error("BaseRunTests.RunTests: Failed to run the tests. Reason: {0}.", ex); 236EqtTrace.Error("BaseRunTests.RunTests: Failed to raise runCompletion error. Reason: {0}.", ex2); 245EqtTrace.Verbose("BaseRunTests.RunTests: Run is complete."); 250EqtTrace.Verbose("BaseRunTests.Abort: Calling RaiseTestRunComplete"); 313EqtTrace.Info("{0}.Cancel threw an exception: {1} ", executor.GetType().FullName, e); 407EqtTrace.Verbose("Attaching to default test host."); 417EqtTrace.Warning(string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.AttachDebuggerToDefaultTestHostFailure, pid)); 439EqtTrace.Verbose( 502EqtTrace.Verbose( 518EqtTrace.Error( 570EqtTrace.Error( 641EqtTrace.Warning("Could not pass run completion as the callback is null. Aborted :{0}", aborted); 664EqtTrace.Error("BaseRunTests.OnCacheHit: Unable to send TestRunStatsChange Event as TestRunEventsHandler is NULL"); 673EqtTrace.Verbose("BaseRunTests.TryToRunInSTAThread: Using STA thread to call adapter API."); 679EqtTrace.Warning("BaseRunTests.TryToRunInSTAThread: Failed to run in STA thread: {0}", ex); 694EqtTrace.Verbose("BaseRunTests.UpdateTestCaseSourceToPackage: Update source details for testResults and testCases.");
Execution\ExecutionManager.cs (6)
199EqtTrace.Verbose("TestExecutorService: Loading the extensions"); 203EqtTrace.Verbose("TestExecutorService: Loaded the executors"); 207EqtTrace.Verbose("TestExecutorService: Loaded the settings providers"); 208EqtTrace.Info("TestExecutorService: Loaded the extensions"); 212EqtTrace.Warning("TestExecutorWebService: Exception occurred while calling test connection. {0}", ex); 244EqtTrace.Warning(
Execution\TestRunCache.cs (5)
238EqtTrace.Warning("TestRunCache: completedTest is null"); 244EqtTrace.Warning("TestRunCache: InProgressTests is null"); 347EqtTrace.Verbose("TestRunCache: OnNewTestResult: Notified the onCacheHit callback."); 360EqtTrace.Error("TestRunCache: OnCacheTimeHit: Exception occurred while checking for cache hit. {0}", ex); 370EqtTrace.Warning("TestRunCache: No test found corresponding to testResult '{0}' in inProgress list.", result.DisplayName);
PostProcessing\ArtifactProcessingManager.cs (16)
87EqtTrace.Verbose("ArtifactProcessingManager.CollectArtifacts: Feature disabled"); 93EqtTrace.Verbose("ArtifactProcessingManager.CollectArtifacts: null testSessionCorrelationId"); 105EqtTrace.Verbose($"ArtifactProcessingManager.CollectArtifacts: Saving data collectors artifacts for post process into {_processArtifactFolder}"); 112EqtTrace.Verbose($"ArtifactProcessingManager.CollectArtifacts: Persist runsettings \n{runSettingsXml}"); 115EqtTrace.Verbose($"ArtifactProcessingManager.CollectArtifacts: Persist ExecutionComplete message \n{serializedExecutionComplete}"); 117EqtTrace.Verbose($"ArtifactProcessingManager.CollectArtifacts: Artifacts saved in {watch.Elapsed}"); 121EqtTrace.Error("ArtifactProcessingManager.CollectArtifacts: Exception during artifact post processing: " + e); 129EqtTrace.Verbose("ArtifactProcessingManager.PostProcessArtifacts: Feature disabled"); 136EqtTrace.Error("ArtifactProcessingManager.PostProcessArtifacts: Unexpected null testSessionCorrelationId"); 143EqtTrace.Verbose("ArtifactProcessingManager.PostProcessArtifacts: There are no artifacts to postprocess"); 159EqtTrace.Verbose($"ArtifactProcessingManager.PostProcessArtifacts: Directory '{_processArtifactFolder}' removed."); 163EqtTrace.Error($"ArtifactProcessingManager.PostProcessArtifacts: Unable to removed directory the '{_processArtifactFolder}'.\n{ex}"); 169EqtTrace.Warning($"ArtifactProcessingManager.PostProcessArtifacts: There are no artifacts to postprocess also if the artifact directory '{_processArtifactFolder}' exits"); 190EqtTrace.Verbose($"ArtifactProcessingManager.MergeDataCollectorAttachments: Chosen runsettings \n{runsettingsXml}"); 194EqtTrace.Verbose($"ArtifactProcessingManager.MergeDataCollectorAttachments: Null runsettings"); 206EqtTrace.Verbose($"ArtifactProcessingManager.MergeDataCollectorAttachments: ExecutionComplete message \n{executionCompleteMessage}");
PostProcessing\PostProcessingTestRunAttachmentsProcessingEventsHandler.cs (1)
40EqtTrace.Warning($"PostProcessingTestRunAttachmentsProcessingEventsHandler.HandleProcessedAttachmentsChunk: Unexpected null attachments");
TestEngine.cs (15)
155EqtTrace.Warning("ProxyDiscoveryManager creation with test session failed."); 257EqtTrace.Verbose($"TestEngine.GetExecutionManager: Chosen execution manager '{executionManager.GetType().AssemblyQualifiedName}' ParallelLevel '{parallelLevel}'."); 304EqtTrace.Warning("ProxyExecutionManager creation with test session failed."); 535EqtTrace.Verbose( 563EqtTrace.Verbose("TestEngine.VerifyParallelSettingAndCalculateParallelLevel: Parallel execution is enabled (cpu count: {0}, max cpu count is {1}, calculated cpu count is {2}, background mode is {3}, number of sources is {4})", _environment.ProcessorCount, maxCpuCount, parallelLevelToUse, isBackgroundDiscoveryEnabled == "1" ? "enabled" : "disabled", sourceCount); 576EqtTrace.Verbose( 584EqtTrace.Error( 587EqtTrace.Warning("TestEngine: Defaulting to Sequential Execution"); 603EqtTrace.Info("TestEngine.ShouldRunInNoIsolation: This run has multiple different architectures or frameworks, running in isolation (in a separate testhost proces)."); 611EqtTrace.Info("TestEngine.ShouldRunInNoIsolation: running test in isolation"); 645EqtTrace.Info("TestEngine.ShouldRunInNoIsolation: running test in process(inside vstest.console.exe process)"); 656EqtTrace.Error($"{nameof(TestEngine)}.{nameof(ThrowExceptionIfTestHostManagerIsNull)}: No suitable testHostProvider found for runsettings: {settingsXml}"); 679EqtTrace.Error(text); 683EqtTrace.Warning(text); 735EqtTrace.Error($"ProxyParallelExecutionManager: Invalid value for TargetFrameworkTestHostDemultiplexer, '{targetFrameworkTestHostDemultiplexer.Value}'");
TestSession\ProxyTestSessionManager.cs (3)
179EqtTrace.Info($"ProxyTestSessionManager.StartSession: At least one proxy setup failed, but failures are tolerated by policy."); 271EqtTrace.Verbose($"ProxyTestSessionManager.DequeueProxy: A proxy exists, but the runsettings do not match. Skipping it. Incoming settings: {runSettings}, Settings on proxy: {_testSessionCriteria.RunSettings}"); 385EqtTrace.Error(
TestSession\TestSessionPool.cs (2)
165EqtTrace.Warning("TestSessionPool.ReturnProxy failed: {0}", ex.ToString()); 211EqtTrace.Warning("TestSessionPool.ReturnProxy failed: {0}", ex.ToString());
Microsoft.TestPlatform.Extensions.BlameDataCollector (111)
BlameCollector.cs (23)
189EqtTrace.Info($"[MonitorPostmortemDump]Monitor enabled: '{_monitorPostmortemDumpFolder}'"); 234EqtTrace.Warning(message); 239EqtTrace.Verbose("Calling dispose on Inactivity timer."); 244EqtTrace.Verbose("Inactivity timer is already disposed."); 289EqtTrace.Error(ex); 294EqtTrace.Error("BlameCollector.CollectDumpAndAbortTesthost: blame:CollectDumpOnHang was enabled but dump file was not generated."); 305EqtTrace.Info("BlameCollector.CollectDumpAndAbortTesthost: Custom path to dump directory was provided via VSTEST_DUMP_PATH. Skipping attachment upload, the caller is responsible for collecting and uploading the dumps themselves."); 326EqtTrace.Error(ex); 460EqtTrace.Info("BlameCollector.EventsTestCaseStart: Test Case Start"); 482EqtTrace.Info("BlameCollector.EventsTestCaseEnd: Test Case End"); 501EqtTrace.Info("Blame Collector: Session End"); 546EqtTrace.Warning(ex.ToString()); 554EqtTrace.Warning(ex.ToString()); 560EqtTrace.Info("BlameCollector.CollectDumpAndAbortTesthost: Custom path to dump directory was provided via VSTEST_DUMP_PATH. Skipping attachment upload, the caller is responsible for collecting and uploading the dumps themselves."); 574EqtTrace.Info($"[MonitorPostmortemDump]'{dumpFileNameFullPath}' dump file found during postmortem monitoring"); 587EqtTrace.Info($"[MonitorPostmortemDump]Acquired global muxer '{muxerName}' for {dumpFileNameFullPath}"); 595EqtTrace.Info($"[MonitorPostmortemDump]Valid pattern start with '{_testHostProcessName}' found for {dumpFileNameFullPath}"); 599EqtTrace.Info($"[MonitorPostmortemDump]Transferring {dumpFileNameFullPath}"); 605EqtTrace.Warning(ex.ToString()); 652EqtTrace.Warning("BlameCollector.TestHostLaunchedHandler: Could not start process dump. {0}", e); 657EqtTrace.Warning("BlameCollector.TestHostLaunchedHandler: Could not start process dump. {0}", e); 672EqtTrace.Verbose("Reset the inactivity timer since an event was received."); 679EqtTrace.Warning($"Failed to reset the inactivity timer with error {e}");
CrashDumperFactory.cs (6)
17EqtTrace.Info($"CrashDumperFactory: Creating dumper for {RuntimeInformation.OSDescription} with target framework {targetFramework}."); 23EqtTrace.Error($"CrashDumperFactory: Could not parse target framework {targetFramework}, to a supported framework version."); 33EqtTrace.Info($"CrashDumperFactory: This is Windows on {targetFramework} which is not net5.0 or newer, returning ProcDumpCrashDumper that uses ProcDump utility."); 47EqtTrace.Info($"CrashDumperFactory: This is Windows on {targetFramework}. Forcing the use of ProcDumpCrashDumper that uses ProcDump utility, via VSTEST_DUMP_FORCEPROCDUMP={procdumpOverride}."); 51EqtTrace.Info($"CrashDumperFactory: This is Windows on {targetFramework}, returning the .NETClient dumper which uses env variables to collect crashdumps of testhost and any child process that is .NET 5 or newer."); 57EqtTrace.Info($"CrashDumperFactory: This is {RuntimeInformation.OSDescription} on {targetFramework} .NETClient dumper which uses env variables to collect crashdumps of testhost and any child process that is .NET 5 or newer.");
HangDumperFactory.cs (8)
20EqtTrace.Info($"HangDumperFactory: Creating dumper for {RuntimeInformation.OSDescription} with target framework {targetFramework}."); 22EqtTrace.Verbose($"HangDumperFactory: Overrides for dumpers: VSTEST_DUMP_FORCEPROCDUMP={procdumpOverride}"); 28EqtTrace.Error($"HangDumperFactory: Could not parse target framework {targetFramework}, to a supported framework version."); 38EqtTrace.Info($"HangDumperFactory: This is Windows on Forcing the use of ProcDumpHangDumper that uses ProcDump utility, via VSTEST_DUMP_FORCEPROCDUMP={procdumpOverride}."); 44EqtTrace.Info($"HangDumperFactory: This is Windows on {tfm.FrameworkName} {tfm.Version}, returning the standard NETClient library dumper."); 48EqtTrace.Info($"HangDumperFactory: This is Windows, returning the default WindowsHangDumper that P/Invokes MiniDumpWriteDump."); 54EqtTrace.Info($"HangDumperFactory: This is Linux returning the standard NETClient library dumper."); 60EqtTrace.Info($"HangDumperFactory: This is OSX returning the standard NETClient library dumper.");
NetClientHangDumper.cs (9)
28if (EqtTrace.IsVerboseEnabled) 32EqtTrace.Verbose("NetClientHangDumper.Dump: Dumping this process tree (from bottom):"); 37EqtTrace.Verbose($"NetClientHangDumper.Dump: {(p.Level != 0 ? " + " : " > ")}{new string('-', p.Level)} {p.Process!.Id} - {p.Process.ProcessName}"); 43EqtTrace.Verbose($"NetClientHangDumper.Dump: Dumping {process.Id} - {process.ProcessName}."); 68EqtTrace.Verbose($"NetClientHangDumper.CollectDump: Selected dump type {type}. Dumping {p.Id} - {p.ProcessName} in {outputFile}. "); 78EqtTrace.Error($"NetClientHangDumper.Dump: Error dumping process {p.Id} - {p.ProcessName}: {ex}."); 89EqtTrace.Error($"NetClientHangDumper.Dump: Hang dump timed out."); 97EqtTrace.Verbose($"NetClientHangDumper.Dump: Killing process {p.Id} - {p.ProcessName}."); 102EqtTrace.Error($"NetClientHangDumper.Dump: Error killing process {p.Id} - {p.ProcessName}: {ex}.");
ProcDumpDumper.cs (29)
72EqtTrace.Info($"ProcDumpDumper.OutputReceivedCallback: Output received from procdump process: {data ?? "<null>"}"); 87EqtTrace.Info($"ProcDumpDumper.OutputReceivedCallback: Output received from procdump process contains 'initiated', crashdump is being written. Don't cancel procdump right now."); 93EqtTrace.Info($"ProcDumpDumper.OutputReceivedCallback: Output received from procdump process contains 'complete' dump is finished, you can cancel procdump if you need."); 99EqtTrace.Error($"ProcDumpDumper.ErrorReceivedCallback: Error received from procdump process: {data ?? "<null>"}"); 106EqtTrace.Info($"ProcDumpDumper.WaitForDumpToFinish: ProcDump was not previously attached, this might indicate error during setup, look for ProcDumpDumper.AttachToTargetProcess."); 121EqtTrace.Info($"ProcDumpDumper.AttachToTargetProcess: Attaching to process '{processId}' to dump into '{outputFile}'."); 133EqtTrace.Warning($"ProcDumpDumper.AttachToTargetProcess: {procdumpNotFound}"); 146EqtTrace.Info($"ProcDumpDumper.AttachToTargetProcess: Running ProcDump with arguments: '{procDumpArgs}'."); 157EqtTrace.Info($"ProcDumpDumper.AttachToTargetProcess: ProcDump started as process with id '{_procDumpProcess.Id}'."); 165EqtTrace.Info($"ProcDumpDumper.DetachFromTargetProcess: ProcDump was not previously attached, this might indicate error during setup, look for ProcDumpDumper.AttachToTargetProcess."); 171EqtTrace.Info($"ProcDumpDumper.DetachFromTargetProcess: ProcDump already exited, returning."); 179EqtTrace.Info($"ProcDumpDumper.DetachFromTargetProcess: ProcDump is currently dumping process '{targetProcessId}', wait at most {_timeout} ms for it to finish so we get the crashdump."); 188EqtTrace.Verbose($"ProcDumpDumper.DetachFromTargetProcess: Waiting for procdump to finish dumping the process."); 193EqtTrace.Verbose($"ProcDumpDumper.DetachFromTargetProcess: Procdump did not exit after {_timeout} ms."); 199EqtTrace.Info($"ProcDumpDumper.DetachFromTargetProcess: ProcDump already exited, returning."); 203EqtTrace.Info($"ProcDumpDumper.DetachFromTargetProcess: ProcDump detaching from target process '{targetProcessId}'."); 210EqtTrace.Info($"ProcDumpDumper.DetachFromTargetProcess: Cancel event '{eventName}' was sent to Procdump."); 216EqtTrace.Info($"ProcDumpDumper.DetachFromTargetProcess: ProcDump cancelled after {sw.ElapsedMilliseconds} ms."); 220EqtTrace.Info($"ProcDumpDumper.DetachFromTargetProcess: ProcDump cancellation timed out, after {sw.ElapsedMilliseconds} ms."); 229EqtTrace.Info("ProcDumpDumper.DetachFromTargetProcess: Procdump process is still running after cancellation, force killing it. This will probably take down the process it is attached to as well."); 235EqtTrace.Warning($"ProcDumpDumper.DetachFromTargetProcess: Failed to kill procdump process with exception {e}"); 273EqtTrace.Verbose($"ProcDumpDumper.GetDumpFiles: Found {allTargetProcessDumps.Count} dumps for the target process, removing {dumpToRemove.Name} because we always collect a dump, even if there is no crash. But the process did not crash and user did not specify CollectAlways=true."); 280EqtTrace.Error($"ProcDumpDumper.GetDumpFiles: Removing dump failed with: {ex}"); 281EqtTrace.Error(ex); 293EqtTrace.Info($"ProcDumpDumper.Dump: Hang dumping process '{processId}' to dump into '{outputFile}'."); 305EqtTrace.Error($"ProcDumpDumper.Dump: {err}"); 317EqtTrace.Info($"ProcDumpDumper.Dump: Running ProcDump with arguments: '{procDumpArgs}'."); 327EqtTrace.Info($"ProcDumpDumper.Dump: ProcDump started as process with id '{procDumpProcess.Id}'."); 331EqtTrace.Info($"ProcDumpDumper.Dump: ProcDump finished hang dumping process with id '{processId}'.");
ProcessCodeMethods.cs (5)
28EqtTrace.Verbose($"ProcessCodeMethods.Suspend: Process {process.Id} - {process.ProcessName} already exited, skipping."); 103EqtTrace.Verbose($"ProcessCodeMethods.GetParentPidWindows: Error getting parent of process {process.Id} - {process.ProcessName}, {ex}."); 128EqtTrace.Verbose($"ProcessCodeMethods.GetParentPidLinux: Error getting parent of process {process.Id} - {process.ProcessName}, {ex}."); 155EqtTrace.Verbose($"ProcessCodeMethods.GetParentPidMacOs: Error getting parent of process {process.Id} - {process.ProcessName}, {error}."); 162EqtTrace.Verbose($"ProcessCodeMethods.GetParentPidMacOs: Error getting parent of process {process.Id} - {process.ProcessName}, {ex}.");
ProcessDumpUtility.cs (8)
46EqtTrace.Info($"ProcessDumpUtility.OutputReceivedCallback: Output received from procdump process: {data ?? "<null>"}"); 68EqtTrace.Info($"ProcessDumpUtility.GetDumpFiles: Looking for dump file '{dumpPath}'."); 72EqtTrace.Info($"ProcessDumpUtility.GetDumpFile: Found dump file '{dumpPath}'."); 77EqtTrace.Warning($"ProcessDumpUtility.GetDumpFile: Dump file '{dumpPath}' was not found."); 83EqtTrace.Error($"ProcessDumpUtility.GetDumpFile: Could not find any dump file in {_hangDumpDirectory}."); 102EqtTrace.Info($"ProcessDumpUtility.CrashDump: Creating a crash dumper for process {processName} ({processId}). If crash happens, dumper will try to create '{dumpType}' dump and store it temporarily in path '{testResultsDirectory}'. Later dumps will become attachments and will be moved to TestResults directory."); 120EqtTrace.Info($"ProcessDumpUtility.HangDump: Creating {dumpType.ToString().ToLowerInvariant()} dump of process {processName} ({processId}) into temporary path '{tempDirectory}'."); 135EqtTrace.Error($"Blame: Failed with error {ex}.");
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (6)
71EqtTrace.Verbose("ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable is empty will try to run ProcDump from PATH."); 76EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable '{procdumpDirectory}' is not a directory, or the directory does not exist. Will try to run ProcDump from PATH."); 91EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path to ProcDump '{candidatePath}' exists, using that."); 96EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path '{candidatePath}' does not exist will try to run {filename} from PATH."); 101EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Resolved {filename} to {p} from PATH."); 106EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Could not find {filename} on PATH.");
WindowsHangDumper.cs (16)
36EqtTrace.Info($"ProcDumpDumper.OutputReceivedCallback: Output received from procdump process: {data ?? "<null>"}"); 46EqtTrace.Verbose("WindowsHangDumper.Dump: Dumping this process tree (from bottom):"); 49EqtTrace.Verbose($"WindowsHangDumper.Dump: {new string(' ', p.Level)}{(p.Level != 0 ? " +" : " >-")} {p.Process!.Id} - {p.Process.ProcessName}"); 61EqtTrace.Verbose($"NetClientHangDumper.Dump: Dumping {process.Id} - {process.ProcessName}."); 78EqtTrace.Error($"WindowsHangDumper.Dump: Error suspending process {p.Id} - {p.ProcessName}: {ex}."); 94EqtTrace.Error($"WindowsHangDumper.Dump: Error dumping process {p.Id} - {p.ProcessName}: {ex}."); 99EqtTrace.Verbose($"WindowsHangDumper.Dump: Killing process {p.Id} - {p.ProcessName}."); 104EqtTrace.Error($"WindowsHangDumper.Dump: Error killing process {p.Id} - {p.ProcessName}: {ex}."); 113EqtTrace.Verbose($"WindowsHangDumper.CollectDump: {process.Id} - {process.ProcessName} already exited, skipping."); 117EqtTrace.Verbose($"WindowsHangDumper.CollectDump: Selected dump type {type}. Dumping {process.Id} - {process.ProcessName} in {outputFile}. "); 124EqtTrace.Verbose($"WindowsHangDumper.CollectDump: Both processes are {currentProcessArchitecture}, using PInvoke dumper directly."); 139EqtTrace.Verbose($"WindowsHangDumper.CollectDump: The target process architecture is {targetProcessArchitecture}, we don't have a DumpMinitool for that, falling back to using PInvoke directly."); 145EqtTrace.Verbose($"WindowsHangDumper.CollectDump: The target process architecture is {targetProcessArchitecture}, dumping it via {dumpMinitoolName}."); 152EqtTrace.Info($"ProcDumpDumper.CollectDump: Running DumpMinitool: '{dumpMinitoolPath} {args}'."); 162EqtTrace.Info($"ProcDumpDumper.CollectDump: {dumpMinitoolName} exited with exitcode: '{dumpMiniTool.ExitCode}'."); 165EqtTrace.Verbose($"WindowsHangDumper.CollectDump: Finished dumping {process.Id} - {process.ProcessName} in {outputFile}. ");
XmlReaderWriter.cs (1)
148EqtTrace.Warning("XmlReaderWriter : Exception ", xmlException);
Microsoft.TestPlatform.TestHostRuntimeProvider (56)
Hosting\DefaultTestHostManager.cs (8)
211EqtTrace.Verbose("DefaultTestHostmanager.GetTestHostProcessStartInfo: Trying to use {0} from {1}", originalTestHostProcessName, testhostProcessPath); 232EqtTrace.Verbose("DefaultTestHostmanager.GetTestHostProcessStartInfo: Could not find {0} in previous location, now using {1}", originalTestHostProcessName, testhostProcessPath); 407EqtTrace.Warning("DefaultTestHostManager: Unable to terminate test host process: " + ex); 498EqtTrace.Verbose("FileVersion for {0} : {1}", path, fileVersion); 530EqtTrace.Verbose("Launching default test Host Process {0} with arguments {1}", testHostStartInfo.FileName, testHostStartInfo.Arguments); 542EqtTrace.Verbose("DefaultTestHostManager: Starting process '{0}' with command line '{1}', CreateNoWindow={2}", testHostStartInfo.FileName, testHostStartInfo.Arguments, _createNoNewWindow); 583EqtTrace.Verbose("Setting test host process priority to {0}", testHostProcess.PriorityClass); 589EqtTrace.Error("Failed to set test host process priority to {0}. Exception: {1}", testHostPriority, ex);
Hosting\DotnetTestHostManager.cs (39)
238EqtTrace.Verbose($"DotnetTestHostmanager.GetTestHostProcessStartInfo: Platform environment '{_platformEnvironment.Architecture}' target architecture '{_architecture}' framework '{_targetFramework}' OS '{_platformEnvironment.OperatingSystem}'"); 253EqtTrace.Verbose($"DotnetTestHostmanager.LaunchTestHostAsync: VSTEST_DOTNET_ROOT_PATH={dotnetRootPath}"); 254EqtTrace.Verbose($"DotnetTestHostmanager.LaunchTestHostAsync: VSTEST_DOTNET_ROOT_ARCHITECTURE={dotnetRootArchitecture}"); 280EqtTrace.Verbose("DotnetTestHostmanager: Adding {0} in args", argsToAdd); 284EqtTrace.Verbose("DotnetTestHostmanager: File {0}, does not exist", runtimeConfigPath); 293EqtTrace.Verbose("DotnetTestHostmanager: Adding {0} in args", argsToAdd); 297EqtTrace.Verbose("DotnetTestHostmanager: File {0}, does not exist", depsFilePath); 306EqtTrace.Verbose("DotnetTestHostmanager: User specified custom path to dotnet host: '{0}'.", _dotnetHostPath); 329EqtTrace.Verbose($"DotnetTestHostManager: {exeName} found at path: " + fullExePath); 359EqtTrace.Verbose("DotnetTestHostManager: Testhost.exe/testhost.x86.exe found at path: " + testHostExeNugetPath); 386EqtTrace.Verbose("DotnetTestHostManager: Found testhost.dll next to runner executable: {0}.", testHostNextToRunner); 397EqtTrace.Verbose("DotnetTestHostmanager: Adding {0} in args", argsToAdd); 412EqtTrace.Verbose("DotnetTestHostmanager: Adding {0} in args", argsToAdd); 455EqtTrace.Verbose("DotnetTestHostmanager: Adding {0} in args", argsToAdd); 468EqtTrace.Verbose($"DotnetTestHostmanager: Current process architetcure '{_processHelper.GetCurrentProcessArchitecture()}'"); 480EqtTrace.Verbose("DotnetTestHostmanager.LaunchTestHostAsync: Compatible muxer architecture of running process '{0}' and target architecture '{1}'", _processHelper.GetCurrentProcessArchitecture(), _architecture); 486EqtTrace.Verbose($"DotnetTestHostmanager: Searching muxer for the architecture '{targetArchitecture}', OS '{_platformEnvironment.OperatingSystem}' framework '{_targetFramework}' SDK platform architecture '{_platformEnvironment.Architecture}'"); 489EqtTrace.Verbose($"DotnetTestHostmanager: Forcing the search to x64 architecure, IsDefaultTargetArchitecture '{_runsettingHelper.IsDefaultTargetArchitecture}' OS '{_platformEnvironment.OperatingSystem}' framework '{_targetFramework}'"); 502EqtTrace.Error(message); 509EqtTrace.Verbose("DotnetTestHostmanager: Full path of testhost.dll is {0}", testHostPath); 514EqtTrace.Verbose("DotnetTestHostmanager: Full path of host exe is {0}", startInfo.FileName); 631EqtTrace.Verbose($"DotnetTestHostmanager.IsWinOnArm: Current PROCESSOR_ARCHITECTURE from environment variable '{processorArchitecture}'"); 636EqtTrace.Verbose($"DotnetTestHostmanager.IsWinOnArm: Is Windows on ARM '{isWinOnArm}'"); 713EqtTrace.Verbose($"DotnetTestHostmanager.IsNativeModule: Source '{sourcePath}' is native."); 728EqtTrace.Verbose($"DotnetTestHostManager.SetDotnetRootForArchitecture: The variable {environmentVariableName} is already set in the surrounding environment, don't add it to testhost start info, because we want to keep what user provided externally."); 737EqtTrace.Verbose($"DotnetTestHostManager.SetDotnetRootForArchitecture: Adding {environmentVariableName}={dotnetRootPath} to testhost start info."); 781EqtTrace.Warning("DotnetTestHostManager: Unable to terminate test host process: " + ex); 819EqtTrace.Verbose("DotnetTestHostManager.OnHostExited: invoking OnHostExited callback"); 824EqtTrace.Verbose("DotnetTestHostManager.OnHostExited: exit event was already raised, skipping"); 846if (EqtTrace.IsVerboseEnabled) 853EqtTrace.Verbose($"DotnetTestHostManager: Starting process '{0}' with command line '{1}' and DOTNET environment: {string.Join(", ", dotnetEnvVars)} ", testHostStartInfo.FileName, testHostStartInfo.Arguments); 857EqtTrace.Verbose("DotnetTestHostManager: Launching testhost with CreateNoWindow={0}", _createNoNewWindow); 901EqtTrace.Verbose("DotnetTestHostmanager: Reading file {0} to get path of testhost.dll", depsFilePath); 930EqtTrace.Verbose("DotnetTestHostmanager: Relative path of testhost.dll with respect to package folder is {0}", testHostPath); 961EqtTrace.Verbose("DotnetTestHostmanager: Looking for path {0} in folder {1}", testHostPath, x.GetString()); 976EqtTrace.Verbose("DotnetTestHostmanager: Found testhost.dll in {0}", testHostFullPath); 1013EqtTrace.Verbose("DotnetTestHostmanager: Runtimeconfig.dev.json {0} does not exist.", runtimeConfigDevPath); 1018EqtTrace.Verbose("DotnetTestHostmanager: Deps file {0} does not exist.", depsFilePath); 1028EqtTrace.Verbose("DotnetTestHostManager: Found testhost.dll in source directory: {0}.", testHostNextToTestProject);
Hosting\TestHostManagerCallbacks.cs (9)
32EqtTrace.Verbose($"TestHostManagerCallbacks.ctor: Forwarding output is enabled.{but}"); 36EqtTrace.Verbose($"TestHostManagerCallbacks.ctor: Forwarding output is disabled."); 44EqtTrace.Verbose("TestHostManagerCallbacks.StandardOutputReceivedCallback Test host standard output line: {0}", data); 56EqtTrace.Warning("TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: {0}", data); 73EqtTrace.Verbose("TestHostProvider.ExitCallBack: Host exited starting callback."); 84EqtTrace.Error("TestHostProvider.ExitCallBack: Invalid process handle we cannot get the error code, error {0}.", ex); 97EqtTrace.Error("TestHostProvider.ExitCallBack: could not get proccess id from process, error: {0}.", ex); 102EqtTrace.Error("TestHostManagerCallbacks.ExitCallBack: Testhost processId: {0} exited with exitcode: {1} error: '{2}'", procId, exitCode, testHostProcessStdErrorStr); 106EqtTrace.Info("TestHostManagerCallbacks.ExitCallBack: Testhost processId: {0} exited with exitcode: 0 error: '{1}'", procId, testHostProcessStdErrorStr);
Microsoft.TestPlatform.Utilities (15)
CodeCoverageDataAttachmentsHandler.cs (3)
115EqtTrace.Error( 137EqtTrace.Error("CodeCoverageDataCollectorAttachmentsHandler: Failed to merge code coverage files."); 153EqtTrace.Error($"CodeCoverageDataCollectorAttachmentsHandler: Failed to remove {file}. Error: {ex}");
CodeCoverageRunSettingsProcessor.cs (1)
270EqtTrace.Error(
CommandLineUtilities.cs (2)
116EqtTrace.Verbose("Executor.Execute: Exiting with exit code of {0}", 1); 117EqtTrace.Error("Error: Unbalanced '\"' in command line argument file");
InferRunSettingsHelper.cs (9)
108EqtTrace.Error("InferRunSettingsHelper.MakeRunsettingsCompatible: Unable to navigate to RunConfiguration. Current node: " + runSettingsNavigator.LocalName); 131EqtTrace.Warning("InferRunSettingsHelper.MakeRunsettingsCompatible: Removing the following settings: {0} from RunSettings file. To use those settings please move to latest version of Microsoft.NET.Test.Sdk", settingsName); 188EqtTrace.Verbose("Using effective platform:{0} effective framework:{1}", architecture, framework); 275EqtTrace.Warning($"Incompatible collector found. {collectorSettings.FriendlyName} : {collectorSettings.Uri}"); 309EqtTrace.Warning($"Incompatible collector found. {collectorRef.FriendlyName} : {collectorRef.Uri}"); 378EqtTrace.Error("Error while trying to read legacy settings. Message: {0}", ex.ToString()); 442EqtTrace.Error("Error while trying to read environment variables settings. Message: {0}", ex.ToString()); 495EqtTrace.Info("InferRunSettingsHelper.IsTestSettingsEnabled: Unable to navigate to RunSettings/MSTest. Current node: " + runSettingsNavigator.LocalName); 526EqtTrace.Error("InferRunSettingsHelper.UpdateNodeIfNotPresent: Unable to navigate to RunConfiguration. Current node: " + xmlDocument.LocalName);
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (73)
VsTestConsoleProcessManager.cs (11)
90EqtTrace.Error("Invalid File Path: {0}", vstestConsolePath); 142EqtTrace.Verbose("VsTestCommandLineWrapper.StartProcess: Process Start Info {0} {1}", info.FileName, info.Arguments); 146EqtTrace.Verbose("VsTestCommandLineWrapper.StartProcess: Clearing all environment variables."); 170EqtTrace.Info($"VsTestConsoleProcessManager.StartProcess: Started process id:{_process.Id}"); // Not normally needed, but if you run multiple instances of wrapper it helps to also add {Environment.StackTrace} 199EqtTrace.Info($"VsTestConsoleProcessManager.ShutDownProcess : Will terminate vstest.console process: {ProcessId}-{ProcessName}, waiting {Endsessiontimeout} milliseconds for it to exit."); 202EqtTrace.Info($"VsTestConsoleProcessManager.ShutDownProcess : Terminating vstest.console process: {ProcessId}-{ProcessName} after waiting for {Endsessiontimeout} milliseconds."); 212EqtTrace.Info($"VsTestConsoleProcessManager.ShutDownProcess : Terminated vstest.console process: {ProcessId}-{ProcessName}."); 216EqtTrace.Verbose($"VsTestConsoleProcessManager.ShutDownProcess : Process: {ProcessId}-{ProcessName} already exited, doing nothing."); 231EqtTrace.Info("VsTestCommandLineWrapper: Error While Terminating Process {0} ", ex.Message); 250EqtTrace.Error(e.Data); 259EqtTrace.Verbose(e.Data);
VsTestConsoleRequestSender.cs (52)
85EqtTrace.Info("VsTestConsoleRequestSender.InitializeCommunication: Started."); 105EqtTrace.Error( 111EqtTrace.Info("VsTestConsoleRequestSender.InitializeCommunication: Ended."); 126EqtTrace.Info($"VsTestConsoleRequestSender.InitializeCommunicationAsync: Started with client connection timeout {clientConnectionTimeout} milliseconds."); 144EqtTrace.Error( 150EqtTrace.Info("VsTestConsoleRequestSender.InitializeCommunicationAsync: Ended."); 158EqtTrace.Info($"VsTestConsoleRequestSender.InitializeExtensions: Initializing extensions with additional extensions path {string.Join(",", pathToAdditionalExtensions.ToList())}."); 174EqtTrace.Info("VsTestConsoleRequestSender.DiscoverTests: Starting test discovery."); 192EqtTrace.Info("VsTestConsoleRequestSender.DiscoverTestsAsync: Starting test discovery."); 211EqtTrace.Info("VsTestConsoleRequestSender.StartTestRun: Starting test run."); 236EqtTrace.Info("VsTestConsoleRequestSender.StartTestRunAsync: Starting test run."); 261EqtTrace.Info("VsTestConsoleRequestSender.StartTestRun: Starting test run."); 286EqtTrace.Info("VsTestConsoleRequestSender.StartTestRunAsync: Starting test run."); 312EqtTrace.Info("VsTestConsoleRequestSender.StartTestRunWithCustomHost: Starting test run."); 339EqtTrace.Info("VsTestConsoleRequestSender.StartTestRunWithCustomHostAsync: Starting test run."); 366EqtTrace.Info("VsTestConsoleRequestSender.StartTestRunWithCustomHost: Starting test run."); 393EqtTrace.Info("VsTestConsoleRequestSender.StartTestRunWithCustomHostAsync: Starting test run."); 427EqtTrace.Info("VsTestConsoleRequestSender.StartTestSession: Starting test session."); 485EqtTrace.Warning( 494EqtTrace.Error( 528EqtTrace.Info("VsTestConsoleRequestSender.StartTestSession: Starting test session."); 585EqtTrace.Warning( 594EqtTrace.Error("Aborting StartTestSession operation due to error: {0}", exception); 624EqtTrace.Info("VsTestConsoleRequestSender.StopTestSession: Stop test session."); 672EqtTrace.Warning( 681EqtTrace.Error( 714EqtTrace.Info("VsTestConsoleRequestSender.StopTestSession: Stop test session."); 762EqtTrace.Warning( 771EqtTrace.Error( 792EqtTrace.Info("VsTestConsoleRequestSender.CancelTestRun: Canceling test run."); 800EqtTrace.Info("VsTestConsoleRequestSender.AbortTestRun: Aborting test run."); 808EqtTrace.Info("VsTestConsoleRequestSender.CancelDiscovery: Canceling test discovery."); 863EqtTrace.Error( 885EqtTrace.Error( 890EqtTrace.Error( 906EqtTrace.Error( 928EqtTrace.Error( 933EqtTrace.Error( 980EqtTrace.Info( 1015EqtTrace.Error("Aborting Test Discovery Operation: {0}", exception); 1072EqtTrace.Info( 1110EqtTrace.Error("Aborting Test Discovery Operation: {0}", exception); 1159EqtTrace.Info( 1197EqtTrace.Error("Aborting Test Run Operation: {0}", exception); 1245EqtTrace.Info( 1282EqtTrace.Error("Aborting Test Run Operation: {0}", exception); 1340EqtTrace.Info( 1374EqtTrace.Warning( 1382EqtTrace.Error("Aborting Test Session End Operation: {0}", exception); 1435EqtTrace.Error("Error while launching custom host: {0}", ex); 1509EqtTrace.Error("VsTestConsoleRequestSender.AttachDebuggerToProcess: Error while attaching debugger to process: {0}", ex); 1539EqtTrace.Error("VsTestConsoleRequestSender.HandleTelemetryEvent: Error while handling telemetry event: {0}", ex);
VsTestConsoleWrapper.cs (10)
162EqtTrace.Info("VsTestConsoleWrapper.StartSession: Starting VsTestConsoleWrapper session."); 654EqtTrace.Info($"VsTestConsoleWrapper.EndSession: Ending VsTestConsoleWrapper session - process id:{_vstestConsoleProcessManager.ProcessId}"); 659EqtTrace.Info("VsTestConsoleWrapper.EndSession: Ended VsTestConsoleWrapper session"); 674EqtTrace.Info("VsTestConsoleWrapperAsync.StartSessionAsync: Starting VsTestConsoleWrapper session"); 1184EqtTrace.Info("VsTestConsoleWrapper.EnsureInitialized: Process is not started."); 1190EqtTrace.Info("VsTestConsoleWrapper.EnsureInitialized: Send a request to initialize extensions."); 1197EqtTrace.Info("VsTestConsoleWrapper.EnsureInitialized: Process Started."); 1206EqtTrace.Info("VsTestConsoleWrapper.EnsureInitializedAsync: Process is not started."); 1209EqtTrace.Info("VsTestConsoleWrapper.EnsureInitializedAsync: Send a request to initialize extensions."); 1216EqtTrace.Info("VsTestConsoleWrapper.WaitForConnection: Waiting for connection to command line runner.");
Microsoft.VisualStudio.TestPlatform.Client (73)
AttachmentsProcessing\TestRunAttachmentsProcessingEventsHandler.cs (1)
34EqtTrace.Info("Test run attachments processing completed.");
DesignMode\DesignModeClient.cs (17)
118EqtTrace.Info("Trying to connect to server on port : {0}", port); 131EqtTrace.Error("DesignModeClient.ConnectToClientAndProcessRequests: Client timed out while connecting to the server."); 151EqtTrace.Info("DesignModeClient.HandleParentProcessExit: Parent process exited, Exiting myself..."); 172EqtTrace.Info("DesignModeClient.ProcessRequests: Processing Message: {0}", message); 274EqtTrace.Info("DesignModeClient: Session End message received from server. Closing the connection."); 282EqtTrace.Info("DesignModeClient: Invalid Message received: {0}", message); 293EqtTrace.Error("DesignModeClient: Error processing request: {0}", ex); 400EqtTrace.Warning($"DesignModeClient.AttachDebuggerToProcess: Attaching to process failed: {ackPayload.ErrorMessage}"); 440EqtTrace.Error(e.Message); 444EqtTrace.Warning(e.Message); 449EqtTrace.Info(e.Message); 456if (_forwardOutput || EqtTrace.IsInfoEnabled) 502EqtTrace.Error("DesignModeClient.StartTestRun: " + ex ?? "payload was null"); 540EqtTrace.Error("DesignModeClient.StartDiscovery: " + ex ?? "payload is null"); 579EqtTrace.Error("DesignModeClient.StartTestRunAttachmentsProcessing: " + ex ?? "payload is null"); 623EqtTrace.Error("DesignModeClient.StartTestSession: " + ex ?? "payload is null"); 655EqtTrace.Error("DesignModeClient.StopTestSession: " + ex ?? "payload is null");
Discovery\DiscoveryRequest.cs (20)
69EqtTrace.Verbose("DiscoveryRequest.DiscoverAsync: Starting."); 103EqtTrace.Info("DiscoveryRequest.DiscoverAsync: Started."); 111EqtTrace.Verbose("DiscoveryRequest.Abort: Aborting."); 138EqtTrace.Info("DiscoveryRequest.Abort: No operation to abort."); 143EqtTrace.Info("DiscoveryRequest.Abort: Aborted."); 152EqtTrace.Verbose("DiscoveryRequest.WaitForCompletion: Waiting with timeout {0}.", timeout); 222EqtTrace.Verbose("DiscoveryRequest.HandleDiscoveryComplete: Begin processing discovery complete notification. Aborted: {0}, TotalTests: {1}", discoveryCompleteEventArgs.IsAborted, discoveryCompleteEventArgs.TotalCount); 228EqtTrace.Warning("DiscoveryRequest.HandleDiscoveryComplete: Ignoring as the object is disposed."); 235EqtTrace.Verbose("DiscoveryRequest.HandleDiscoveryComplete: Ignoring duplicate DiscoveryComplete."); 280EqtTrace.Verbose("DiscoveryRequest.HandleDiscoveryComplete: Notified the discovery complete event."); 284EqtTrace.Warning("DiscoveryRequest.HandleDiscoveryComplete: Discovery request was disposed."); 306EqtTrace.Info("DiscoveryRequest.HandleDiscoveryComplete: Finished processing discovery complete notification."); 312EqtTrace.Verbose("DiscoveryRequest.HandleDiscoveredTests: Starting."); 318EqtTrace.Warning("DiscoveryRequest.HandleDiscoveredTests: Ignoring as the object is disposed."); 327EqtTrace.Info("DiscoveryRequest.HandleDiscoveredTests: Completed."); 337EqtTrace.Verbose("DiscoveryRequest.HandleLogMessage: Starting."); 343EqtTrace.Warning("DiscoveryRequest.HandleLogMessage: Ignoring as the object is disposed."); 352EqtTrace.Info("DiscoveryRequest.HandleLogMessage: Completed."); 473EqtTrace.Verbose("DiscoveryRequest.Dispose: Starting."); 490EqtTrace.Info("DiscoveryRequest.Dispose: Completed.");
Execution\TestRunRequest.cs (30)
89EqtTrace.Verbose("TestRunRequest.ExecuteAsync: Creating test run request."); 107EqtTrace.Verbose("TestRunRequest.ExecuteAsync: Starting."); 127EqtTrace.Info("TestRunRequest.ExecuteAsync: Starting run with settings:{0}", TestRunCriteria); 129EqtTrace.Verbose("TestRunRequest.ExecuteAsync: Wait for the first run request is over."); 145EqtTrace.Verbose("TestRunRequest.ExecuteAsync: TestSessionTimeout is {0} milliseconds.", _testSessionTimeout); 157EqtTrace.Info("TestRunRequest.ExecuteAsync: Started."); 171EqtTrace.Verbose("TestRunRequest.OnTestSessionTimeout: calling cancellation as test run exceeded testSessionTimeout {0} milliseconds", _testSessionTimeout); 187EqtTrace.Verbose("TestRunRequest.WaitForCompletion: Waiting with timeout {0}.", timeout); 214EqtTrace.Verbose("TestRunRequest.CancelAsync: Canceling."); 220EqtTrace.Warning("Ignoring TestRunRequest.CancelAsync() as testRunRequest object has already been disposed."); 226EqtTrace.Info("Ignoring TestRunRequest.CancelAsync(). No test run in progress."); 235EqtTrace.Info("TestRunRequest.CancelAsync: Canceled."); 243EqtTrace.Verbose("TestRunRequest.Abort: Aborting."); 249EqtTrace.Warning("Ignoring TestRunRequest.Abort() as testRunRequest object has already been disposed"); 255EqtTrace.Info("Ignoring TestRunRequest.Abort(). No test run in progress."); 263EqtTrace.Info("TestRunRequest.Abort: Aborted."); 363EqtTrace.Verbose("TestRunRequest:TestRunComplete: Starting. IsAborted:{0} IsCanceled:{1}.", isAborted, isCanceled); 370EqtTrace.Warning("TestRunRequest.TestRunComplete: Ignoring as the object is disposed."); 376EqtTrace.Info("TestRunRequest:TestRunComplete:Ignoring duplicate event. IsAborted:{0} IsCanceled:{1}.", isAborted, isCanceled); 454EqtTrace.Info("TestRunRequest:TestRunComplete: Completed."); 468EqtTrace.Verbose("TestRunRequest:SendTestRunStatsChange: Starting."); 472if (EqtTrace.IsVerboseEnabled) 476EqtTrace.Verbose("InProgress is {0}", testCase.DisplayName); 486EqtTrace.Warning("TestRunRequest.SendTestRunStatsChange: Ignoring as the object is disposed."); 496EqtTrace.Info("TestRunRequest:SendTestRunStatsChange: Completed."); 504EqtTrace.Verbose("TestRunRequest:SendTestRunMessage: Starting."); 511EqtTrace.Warning("TestRunRequest.SendTestRunMessage: Ignoring as the object is disposed."); 520EqtTrace.Info("TestRunRequest:SendTestRunMessage: Completed."); 674EqtTrace.Verbose("TestRunRequest.Dispose: Starting."); 691EqtTrace.Info("TestRunRequest.Dispose: Completed.");
TestPlatform.cs (5)
122EqtTrace.Verbose($"TestPlatform.GetSkipDefaultAdapters: Skipping default adapters because of TestPlatform options SkipDefaultAdapters."); 130EqtTrace.Verbose($"TestPlatform.GetSkipDefaultAdapters: Skipping default adapters because of RunConfiguration SkipDefaultAdapters."); 134EqtTrace.Verbose($"TestPlatform.GetSkipDefaultAdapters: Not skipping default adapters SkipDefaultAdapters was false."); 380EqtTrace.Warning($"{nameof(TestPlatform)}.{nameof(ExpandAdaptersWithExplicitStrategy)} AdapterPath Not Found: {path}"); 390EqtTrace.Warning($"{nameof(TestPlatform)}.{nameof(ExpandAdaptersWithDefaultStrategy)} AdapterPath Not Found: {path}");
Microsoft.VisualStudio.TestPlatform.Common (109)
DataCollection\DataCollectionAttachmentManager.cs (7)
147EqtTrace.Error("DataCollectionAttachmentManager.GetAttachments: Fail to get attachments: {0} ", ex); 169EqtTrace.Error("DataCollectionAttachmentManager.AddAttachment: Initialize not invoked."); 268EqtTrace.Info("DataCollectionAttachmentManager.AddNewFileTransfer: Moving file {0} to {1}", fileTransferInfo.FileName, localFilePath); 272EqtTrace.Info("DataCollectionAttachmentManager.AddNewFileTransfer: Moved file {0} to {1}", fileTransferInfo.FileName, localFilePath); 276EqtTrace.Info("DataCollectionAttachmentManager.AddNewFileTransfer: Copying file {0} to {1}", fileTransferInfo.FileName, localFilePath); 280EqtTrace.Info("DataCollectionAttachmentManager.AddNewFileTransfer: Copied file {0} to {1}", fileTransferInfo.FileName, localFilePath); 314EqtTrace.Error(
DataCollection\DataCollectionManager.cs (18)
167EqtTrace.Info("DataCollectionManager.InitializeDataCollectors: Runsettings is empty."); 252EqtTrace.Error("DataCollectionManager.SessionEnded: Failed to get attachments : {0}", ex); 257if (EqtTrace.IsVerboseEnabled) 349EqtTrace.Error("DataCollectionManager.TestCaseEnded: Failed to get attachments: {0}", ex); 354if (EqtTrace.IsVerboseEnabled) 383EqtTrace.Info("DataCollectionManager.CleanupPlugins: CleanupPlugins called"); 390EqtTrace.Verbose("DataCollectionManager.CleanupPlugins: Cleaning up {0} plugins", RunDataCollectors.Count); 394EqtTrace.Info("DataCollectionManager.CleanupPlugins: CleanupPlugins finished"); 534EqtTrace.Error("DataCollectionManager.LoadAndInitialize: exception while creating data collector {0} : {1}", dataCollectorSettings.FriendlyName, ex); 553EqtTrace.Error("DataCollectionManager.LoadAndInitialize: exception while initializing data collector {0} : {1}", dataCollectorSettings.FriendlyName, ex); 614EqtTrace.Error("DataCollectionManger:SendEvent: SendEvent called when no collection is enabled."); 658EqtTrace.Error("DataCollectionManager.GetEnvironmentVariables: Failed to get variable for Collector '{0}': {1}", friendlyName, ex); 710EqtTrace.Info(message); 724EqtTrace.Verbose("DataCollectionManager.AddCollectionEnvironmentVariables: Adding Environment variable '{0}' value '{1}'", namevaluepair.Key, namevaluepair.Value); 767EqtTrace.Error("DataCollectionManager.LogAttachments: Unexpected null attachmentSets."); 775EqtTrace.Error("DataCollectionManager.LogAttachments: Unexpected null entry inside attachmentSets."); 783EqtTrace.Error("DataCollectionManager.LogAttachments: Unexpected null file inside entry attachments."); 787EqtTrace.Verbose(
DataCollection\DataCollectorInformation.cs (2)
164EqtTrace.Verbose("dataCollectorInfo.DisposeDataCollector: calling Dispose() on {0}", DataCollector.GetType()); 170EqtTrace.Error("DataCollectorInfo.DisposeDataCollector: exception while calling Dispose() on {0}: " + ex, DataCollector.GetType());
DataCollection\TestPlatformDataCollectionEvents.cs (2)
88EqtTrace.Fail("TestPlatformDataCollectionEvents.RaiseEvent: Unrecognized data collection event of type {0}.", e.GetType().FullName); 115EqtTrace.Error("TestPlatformDataCollectionEvents.AreTestCaseLevelEventsRequired: Exception occurred while checking whether event {0} has any listeners or not. {1}", eventToCheck, ex);
DataCollection\TestPlatformDataCollectionLogger.cs (3)
50EqtTrace.Error( 72EqtTrace.Error( 100EqtTrace.Warning(
ExtensionDecorators\SerialTestRunDecorator.cs (2)
30EqtTrace.Info("SerializeTestRunDecorator.RunTests: Test cases will run sequentially"); 52EqtTrace.Error("<ForceOneTestAtTimePerTestHost>true</ForceOneTestAtTimePerTestHost> is not supported for sources test run.");
ExtensionFramework\TestDiscoveryExtensionManager.cs (2)
110EqtTrace.Verbose("TestDiscoveryManager: LoadExtensions: Created discoverer {0}", discoverer.Value); 115EqtTrace.Error("TestDiscoveryManager: LoadExtensions: Exception occurred while loading extensions {0}", ex);
ExtensionFramework\TestExecutorExtensionManager.cs (2)
206EqtTrace.Verbose("TestExecutorExtensionManager: Loading executor {0}", executor.Value); 211EqtTrace.Error(
ExtensionFramework\TestPluginCache.cs (24)
90EqtTrace.Verbose( 96EqtTrace.Verbose( 100EqtTrace.Verbose( 125EqtTrace.Verbose("TestPluginCache.DiscoverTestExtensions: finding test extensions in assemblies ends with: {0} TPluginInfo: {1} TExtension: {2}", endsWithPattern, typeof(TPluginInfo), typeof(TExtension)); 145EqtTrace.Verbose("TestPluginCache.DiscoverTestExtensions: Discovering the extensions using extension path."); 150EqtTrace.Verbose( 163if (EqtTrace.IsVerboseEnabled) 168EqtTrace.Verbose( 186EqtTrace.Error("TestPluginCache: Discovery failed! {0}", e); 216EqtTrace.Verbose("TestPluginCache: Update extensions started. Skip filter = " + skipExtensionFilters); 245if (EqtTrace.IsVerboseEnabled) 249EqtTrace.Verbose( 254EqtTrace.Verbose("TestPluginCache: Updated the available extensions to '{0}'.", extensionString); 418EqtTrace.Verbose( 503EqtTrace.Verbose("CurrentDomainAssemblyResolve: Resolving assembly '{0}'.", args.Name); 525EqtTrace.Verbose("CurrentDomainAssemblyResolve: Failed to resolve assembly '{0}'.", args.Name); 536if (!EqtTrace.IsVerboseEnabled) 544EqtTrace.Verbose("TestPluginCache: Discoverers are '{0}'.", discoverers); 547EqtTrace.Verbose("TestPluginCache: Executors are '{0}'.", executors); 550EqtTrace.Verbose("TestPluginCache: Executors2 are '{0}'.", executors2); 553EqtTrace.Verbose("TestPluginCache: Setting providers are '{0}'.", settingsProviders); 556EqtTrace.Verbose("TestPluginCache: Loggers are '{0}'.", loggers); 559EqtTrace.Verbose("TestPluginCache: TestHosts are '{0}'.", testhosts); 562EqtTrace.Verbose("TestPluginCache: DataCollectors are '{0}'.", dataCollectors);
ExtensionFramework\TestPluginDiscoverer.cs (8)
103EqtTrace.Warning("TestPluginDiscoverer-FileLoadException: Failed to load extensions from file '{0}'. Skipping test extension scan for this file. Error: {1}", file, e); 110EqtTrace.Warning("TestPluginDiscoverer: Failed to load extensions from file '{0}'. Skipping test extension scan for this file. Error: {1}", file, e); 146EqtTrace.Warning("TestPluginDiscoverer: Failed to get types searching for 'TestPlatformExtensionVersionAttribute' from assembly '{0}'. Error: {1}", assembly.FullName, e.ToString()); 164EqtTrace.Warning("TestPluginDiscoverer: Failed to get types from assembly '{0}'. Error: {1}", assembly.FullName, e.ToString()); 176EqtTrace.Warning("LoaderExceptions: {0}", ex); 225EqtTrace.Error( 232EqtTrace.Warning( 239EqtTrace.Info("GetTestExtensionFromType: Register extension with identifier data '{0}' and type '{1}' inside file '{2}'",
ExtensionFramework\TestPluginManager.cs (4)
40EqtTrace.Error( 59EqtTrace.Info("TestPluginManager.CreateTestExtension: Attempting to load test extension: " + extensionType); 72EqtTrace.Error("TestPluginManager.CreateTestExtension: Could not create instance of type: " + extensionType.ToString() + " Exception: " + ex); 82EqtTrace.Error("TestPluginManager.CreateTestExtension: Could not create instance of type: " + extensionType.ToString() + " Exception: " + ex);
ExtensionFramework\Utilities\TestExtensionPluginInformation.cs (1)
83EqtTrace.Error("The type \"{0}\" defined in \"{1}\" does not have ExtensionUri attribute.", testLoggerType.ToString(), testLoggerType.Module.Name);
ExtensionFramework\Utilities\TestExtensions.cs (1)
200EqtTrace.Warning(
ExtensionFramework\VSExtensionManager.cs (2)
91EqtTrace.Warning("VSExtensionManager : Unable to create settings manager"); 107EqtTrace.Warning("VSExtensionManager : Unable to create extension manager");
Logging\InternalTestLoggerEvents.cs (2)
64(message) => EqtTrace.Error(message)); 449EqtTrace.Warning("Unacceptable value '{0}' of {1}. Using default {2}", appSettingValue, appSettingKey, defaultValue);
SettingsProvider\SettingsProviderExtensionManager.cs (2)
148EqtTrace.Verbose("SettingsProviderExtensionManager: Loading settings provider {0}", settingsProvider.Value.Value); 153EqtTrace.Error("SettingsProviderExtensionManager: LoadAndInitialize: Exception occurred while loading extensions {0}", ex);
Utilities\AssemblyProperties.cs (2)
60EqtTrace.Warning("PEReaderHelper.GetAssemblyType: failed to determine assembly type: {0} for assembly: {1}", ex, filePath); 63EqtTrace.Info("PEReaderHelper.GetAssemblyType: Determined assemblyType:'{0}' for source: '{1}'", assemblyType, filePath);
Utilities\AssemblyResolver.cs (15)
52EqtTrace.Info($"AssemblyResolver.ctor: Creating AssemblyResolver with searchDirectories {string.Join(",", directories)}"); 69EqtTrace.Info($"AssemblyResolver.AddSearchDirectories: Adding more searchDirectories {string.Join(",", directories)}"); 93EqtTrace.Info("AssemblyResolver.OnResolve: {0}: There are no search directories, returning.", args.Name); 97EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Resolving assembly.", args.Name); 104EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Resolved from cache.", args.Name); 116EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Failed to create assemblyName. Reason:{1} ", args.Name, ex); 132EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Searching in: '{1}'.", args.Name, dir); 152EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Assembly is searching for itself recursively: '{1}', returning as not found.", args.Name, assemblyPath); 164EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Assembly path does not exist: '{1}', returning.", args.Name, assemblyPath); 173EqtTrace.Info("AssemblyResolver.OnResolve: {0}: File exists but version/public key is wrong. Try next extension.", args.Name); 177EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Loading assembly '{1}'.", args.Name, assemblyPath); 182EqtTrace.Info("AssemblyResolver.OnResolve: Resolved assembly: {0}, from path: {1}", args.Name, assemblyPath); 197EqtTrace.Error("AssemblyResolver.OnResolve: {0}: Failed to load assembly. Reason:{1} ", args.Name, ex); 207EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Failed to load assembly. Reason:{1} ", args.Name, ex); 212EqtTrace.Info("AssemblyResolver.OnResolve: {0}: Failed to load assembly.", args.Name);
Utilities\FakesUtilities.cs (2)
190EqtTrace.Info("Failed to create newly implemented Fakes Configurator. Reason: {0} ", ex); 204EqtTrace.Info("Failed to load assembly {0}. Reason:{1}", FakesConfiguratorAssembly, ex);
Utilities\MetadataReaderHelper.cs (6)
52EqtTrace.Verbose($"MetadataReaderExtensionsHelper: Discovering extensions inside assembly '{loadedAssembly.FullName}' file path '{assemblyFilePath}'"); 62EqtTrace.Verbose($"MetadataReaderExtensionsHelper: Failure during assembly file load '{assemblyFilePath}', fallback to the loaded assembly.\n{FormatException(ex)}"); 160EqtTrace.Verbose($"MetadataReaderExtensionsHelper: Unable to get extension type for '{extensionImplementation}'"); 166EqtTrace.Verbose($"MetadataReaderExtensionsHelper: Valid extension found: extension type '{extension}' identifier '{extensionIdentifier}' implementation '{extensionType}' version '{version}'"); 170EqtTrace.Verbose($"MetadataReaderExtensionsHelper: Failure during type creation, extension full name: '{extensionImplementation}'\n{FormatException(ex)}"); 177EqtTrace.Verbose($"MetadataReaderExtensionsHelper: Failure during custom attribute analysis, attribute full name: {attributeFullName}\n{FormatException(ex)}");
Utilities\RunSettingsUtilities.cs (2)
108EqtTrace.Verbose("RunSettingsUtilities.GetMaxCpuCount: Unable to get maximum CPU count from Setting Xml. {0}", ex); 148EqtTrace.Error("RunSettingsUtilities.GetTreatNoTestsAsError: Unable to get the value of TreatNoTestsAsError from runsettings: Error {0}", se);
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (4)
HtmlLogger.cs (4)
143EqtTrace.Error(htmlParameterErrorMsg); 180EqtTrace.Info("htmlLogger.TestMessageHandler: The test message level is unrecognized: {0}", 333EqtTrace.Error("HtmlLogger: Failed to populate html file. Exception: {0}", 347EqtTrace.Info(htmlFilePathMessage);
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (16)
ObjectModel\TestResult.cs (1)
279EqtTrace.WarningIf(value < TimeSpan.Zero, "TestResult.Duration: The duration is being set to {0}. Since the duration is negative the duration will be updated to zero.", value);
TrxLogger.cs (3)
152EqtTrace.Error(trxParameterErrorMsg); 427EqtTrace.Info(resultsFileMessage); 470EqtTrace.Warning(overwriteWarningMsg);
Utility\Converter.cs (11)
175EqtTrace.Info($"Converter.ToCollectionEntries: Received {nameof(attachmentSets)} as null returning empty collection entries."); 179EqtTrace.Info($"Converter.ToCollectionEntries: Converting attachmentSets {string.Join(",", attachmentSets)} to collection entries."); 220EqtTrace.Error("Converter: ToResultFiles: " + errorMsg); 259EqtTrace.Warning("The message category " + message.Category + " does not match any predefined category."); 413EqtTrace.Error("Converter: UpdateTestResultAttachments: " + errorMsg); 459EqtTrace.Verbose($"TrxLogger.ToCollectorEntry: Got attachment {uriDataAttachment.Uri} with description {uriDataAttachment.Description}"); 483EqtTrace.Error($"Trxlogger.ToCollectorEntry: {ex}"); 517EqtTrace.Verbose($"TrxLogger.ToResultFiles: Got attachment {uriDataAttachment.Uri} with local path {sourceFile}"); 534EqtTrace.Error("Trxlogger: ToResultFiles: " + ex); 549EqtTrace.Error("Trxlogger: Failed to copy file {0} to {1}. Reason:{2}", sourceFile, targetFile, ex); 630EqtTrace.Verbose("Converter: GetTestClassName: " + ex);
XML\XmlPersistence.cs (1)
646EqtTrace.Info("TypeConverter not supported for {0} : NotSupportedException: {1}", value.ToString(), nosupportEx);
Microsoft.VisualStudio.TestPlatform.ObjectModel (10)
Framework.cs (1)
116EqtTrace.Error(ex);
Navigation\FullSymbolReader.cs (2)
283EqtTrace.Error( 298EqtTrace.Error("Ignoring the exception while iterating type symbols:{0}", ex);
Navigation\PortablePdbReader.cs (1)
161EqtTrace.Error("failed to get dia navigation data: {0}", exception);
Navigation\PortableSymbolReader.cs (3)
121EqtTrace.Error($"Unable to find source information for method: {methodInfo.Name} type: {type.FullName}"); 133EqtTrace.Error("PortableSymbolReader: Failed to load symbols for binary: {0}", binaryPath); 134EqtTrace.Error(ex);
Properties\AssemblyInfo.cs (1)
12[assembly: TypeForwardedTo(typeof(EqtTrace))]
RunSettings\RunConfiguration.cs (2)
903EqtTrace.Error(string.Format(CultureInfo.CurrentCulture, Resources.Resources.SolutionDirectoryNotExists, solutionDirectory)); 1049EqtTrace.Warning(
testhost (27)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (6)
71EqtTrace.Verbose("ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable is empty will try to run ProcDump from PATH."); 76EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable '{procdumpDirectory}' is not a directory, or the directory does not exist. Will try to run ProcDump from PATH."); 91EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path to ProcDump '{candidatePath}' exists, using that."); 96EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path '{candidatePath}' does not exist will try to run {filename} from PATH."); 101EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Resolved {filename} to {p} from PATH."); 106EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Could not find {filename} on PATH.");
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (16)
106if (EqtTrace.IsVerboseEnabled) 111EqtTrace.Verbose($"Version: {version} Current process architecture: {_processHelper.GetCurrentProcessArchitecture()}"); 118EqtTrace.Verbose($"Runtime location: {Path.GetDirectoryName(objectTypeLocation)}"); 123if (EqtTrace.IsInfoEnabled) 125EqtTrace.Info("DefaultEngineInvoker.Invoke: Testhost process started with args :{0}", 156EqtTrace.Info("DefaultEngineInvoker.Invoke: Start Request Processing."); 185EqtTrace.Info("DefaultEngineInvoker.ConnectToDatacollector: Connecting to datacollector, port: {0}", 197EqtTrace.Error( 224EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: Skipping querying parent process with id: '{0}'", parentProcessId); 228EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: Monitoring parent process with id: '{0}'", parentProcessId); 246EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: ParentProcess '{0}' Exited.", 263EqtTrace.Info("DefaultEngineInvoker.GetConnectionInfo: Initialize communication on endpoint address: '{0}'", endpoint); 295EqtTrace.InitializeTrace(logFile, traceLevel); 299EqtTrace.DoNotInitailize = true; 318EqtTrace.Info("DefaultEngineInvoker.StartProcessingAsync: Connected to vstest.console, Starting process requests."); 323EqtTrace.Info(
src\vstest\src\testhost.x86\Program.cs (2)
41EqtTrace.Error("TestHost: Error occurred during initialization of TestHost : {0}", ex); 49EqtTrace.Info("Testhost process exiting.");
src\vstest\src\testhost.x86\TestHostTraceListener.cs (3)
19EqtTrace.Info("Setting up debug trace listener."); 28EqtTrace.Verbose($"TestPlatformTraceListener.Setup: Replacing listener {Trace.Listeners[i]} with {nameof(TestHostTraceListener)}."); 33EqtTrace.Verbose("TestPlatformTraceListener.Setup: Added test platform trace listener.");
testhost.arm64 (27)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (6)
71EqtTrace.Verbose("ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable is empty will try to run ProcDump from PATH."); 76EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable '{procdumpDirectory}' is not a directory, or the directory does not exist. Will try to run ProcDump from PATH."); 91EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path to ProcDump '{candidatePath}' exists, using that."); 96EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path '{candidatePath}' does not exist will try to run {filename} from PATH."); 101EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Resolved {filename} to {p} from PATH."); 106EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Could not find {filename} on PATH.");
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (16)
106if (EqtTrace.IsVerboseEnabled) 111EqtTrace.Verbose($"Version: {version} Current process architecture: {_processHelper.GetCurrentProcessArchitecture()}"); 118EqtTrace.Verbose($"Runtime location: {Path.GetDirectoryName(objectTypeLocation)}"); 123if (EqtTrace.IsInfoEnabled) 125EqtTrace.Info("DefaultEngineInvoker.Invoke: Testhost process started with args :{0}", 156EqtTrace.Info("DefaultEngineInvoker.Invoke: Start Request Processing."); 185EqtTrace.Info("DefaultEngineInvoker.ConnectToDatacollector: Connecting to datacollector, port: {0}", 197EqtTrace.Error( 224EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: Skipping querying parent process with id: '{0}'", parentProcessId); 228EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: Monitoring parent process with id: '{0}'", parentProcessId); 246EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: ParentProcess '{0}' Exited.", 263EqtTrace.Info("DefaultEngineInvoker.GetConnectionInfo: Initialize communication on endpoint address: '{0}'", endpoint); 295EqtTrace.InitializeTrace(logFile, traceLevel); 299EqtTrace.DoNotInitailize = true; 318EqtTrace.Info("DefaultEngineInvoker.StartProcessingAsync: Connected to vstest.console, Starting process requests."); 323EqtTrace.Info(
src\vstest\src\testhost.x86\Program.cs (2)
41EqtTrace.Error("TestHost: Error occurred during initialization of TestHost : {0}", ex); 49EqtTrace.Info("Testhost process exiting.");
src\vstest\src\testhost.x86\TestHostTraceListener.cs (3)
19EqtTrace.Info("Setting up debug trace listener."); 28EqtTrace.Verbose($"TestPlatformTraceListener.Setup: Replacing listener {Trace.Listeners[i]} with {nameof(TestHostTraceListener)}."); 33EqtTrace.Verbose("TestPlatformTraceListener.Setup: Added test platform trace listener.");
testhost.x86 (27)
DefaultEngineInvoker.cs (16)
106if (EqtTrace.IsVerboseEnabled) 111EqtTrace.Verbose($"Version: {version} Current process architecture: {_processHelper.GetCurrentProcessArchitecture()}"); 118EqtTrace.Verbose($"Runtime location: {Path.GetDirectoryName(objectTypeLocation)}"); 123if (EqtTrace.IsInfoEnabled) 125EqtTrace.Info("DefaultEngineInvoker.Invoke: Testhost process started with args :{0}", 156EqtTrace.Info("DefaultEngineInvoker.Invoke: Start Request Processing."); 185EqtTrace.Info("DefaultEngineInvoker.ConnectToDatacollector: Connecting to datacollector, port: {0}", 197EqtTrace.Error( 224EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: Skipping querying parent process with id: '{0}'", parentProcessId); 228EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: Monitoring parent process with id: '{0}'", parentProcessId); 246EqtTrace.Info("DefaultEngineInvoker.SetParentProcessExitCallback: ParentProcess '{0}' Exited.", 263EqtTrace.Info("DefaultEngineInvoker.GetConnectionInfo: Initialize communication on endpoint address: '{0}'", endpoint); 295EqtTrace.InitializeTrace(logFile, traceLevel); 299EqtTrace.DoNotInitailize = true; 318EqtTrace.Info("DefaultEngineInvoker.StartProcessingAsync: Connected to vstest.console, Starting process requests."); 323EqtTrace.Info(
Program.cs (2)
41EqtTrace.Error("TestHost: Error occurred during initialization of TestHost : {0}", ex); 49EqtTrace.Info("Testhost process exiting.");
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (6)
71EqtTrace.Verbose("ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable is empty will try to run ProcDump from PATH."); 76EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable '{procdumpDirectory}' is not a directory, or the directory does not exist. Will try to run ProcDump from PATH."); 91EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path to ProcDump '{candidatePath}' exists, using that."); 96EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path '{candidatePath}' does not exist will try to run {filename} from PATH."); 101EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Resolved {filename} to {p} from PATH."); 106EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Could not find {filename} on PATH.");
TestHostTraceListener.cs (3)
19EqtTrace.Info("Setting up debug trace listener."); 28EqtTrace.Verbose($"TestPlatformTraceListener.Setup: Replacing listener {Trace.Listeners[i]} with {nameof(TestHostTraceListener)}."); 33EqtTrace.Verbose("TestPlatformTraceListener.Setup: Added test platform trace listener.");
vstest.console (114)
CommandLine\AssemblyMetadataProvider.cs (9)
45EqtTrace.Warning("AssemblyMetadataProvider.GetFrameworkName: failed to determine TargetFrameworkVersion exception: {0} for assembly: {1}", ex, filePath); 48EqtTrace.Info("AssemblyMetadataProvider.GetFrameworkName: Determined framework:'{0}' for source: '{1}'", frameworkName, filePath); 77EqtTrace.Verbose("AssemblyMetadataProvider.GetArchitecture: Failed get ProcessorArchitecture using AssemblyName API with exception: {0}", ex); 85EqtTrace.Info("AssemblyMetadataProvider.GetArchitecture: Failed to determine Assembly Architecture with exception: {0}", e); 89EqtTrace.Info("AssemblyMetadataProvider.GetArchitecture: Determined architecture:{0} info for assembly: {1}", archType, 120EqtTrace.Error($"AssemblyMetadataProvider.GetArchitecture: Unhandled architecture '{peReader.PEHeaders.CoffHeader.Machine}'."); 191EqtTrace.Info("Unable to map to Architecture, using platform: {0}", arch); 288EqtTrace.Info( 297EqtTrace.Info(
CommandLine\Executor.cs (4)
200EqtTrace.Verbose("Executor.Execute: Exiting with exit code of {0}", exitCode); 398EqtTrace.Error("ExecuteArgumentProcessor: failed to execute argument process: {0}", ex); 545EqtTrace.Verbose("Executor.Execute: Exiting with exit code of {0}", 1); 546EqtTrace.Error(string.Format(CultureInfo.InvariantCulture, "Error: Can't open command line argument file '{0}' : '{1}'", fileName, e.Message));
CommandLine\InferHelper.cs (10)
63EqtTrace.Info("Determined platform for source '{0}' was AnyCPU and it will use the default plaform {1}.", source, defaultArchitecture); 68EqtTrace.Info("Determined platform for source '{0}' was '{1}'.", source, detectedArchitecture); 75EqtTrace.Info("No platform was determined for source '{0}' because it is not a dll or an executable.", source); 108EqtTrace.Error("Failed to determine platform for source: {0}, using default: {1}, exception: {2}", source, defaultArchitecture, ex); 115EqtTrace.Info("Determined platform for all sources: {0}", commonArchitecture); 119EqtTrace.Info("None of the sources provided any runnable platform, using the default platform: {0}", defaultArchitecture); 125EqtTrace.Error("Failed to determine platform for all sources: {0}, using default: {1}", ex, defaultArchitecture); 144EqtTrace.Info( 149EqtTrace.Info("Determined framework for all sources: {0}", framework); 219EqtTrace.Error("Failed to determine framework for source: {0} using default framework: {1}, exception: {2}", source, defaultFramework.Name, ex);
InProcessVsTestConsoleWrapper.cs (14)
78EqtTrace.Info("VsTestConsoleWrapper.StartSession: Starting VsTestConsoleWrapper session."); 169EqtTrace.Error("InProcessVsTestConsoleWrapper.AbortTestRun: Exception occurred: " + ex); 182EqtTrace.Error("InProcessVsTestConsoleWrapper.CancelDiscovery: Exception occurred: " + ex); 195EqtTrace.Error("InProcessVsTestConsoleWrapper.CancelTestRun: Exception occurred: " + ex); 293EqtTrace.Error("InProcessVsTestConsoleWrapper.StartTestSession: Exception occurred: " + ex); 360EqtTrace.Error("InProcessVsTestConsoleWrapper.StopTestSession: Exception occurred: " + ex); 382EqtTrace.Error("InProcessVsTestConsoleWrapper.InitializeExtensions: Exception occurred: " + ex); 442EqtTrace.Error("InProcessVsTestConsoleWrapper.DiscoverTests: Exception occurred: " + ex); 521EqtTrace.Error("InProcessVsTestConsoleWrapper.RunTests: Exception occurred: " + ex); 611EqtTrace.Error("InProcessVsTestConsoleWrapper.RunTests: Exception occurred: " + ex); 720EqtTrace.Error("InProcessVsTestConsoleWrapper.RunTestsWithCustomTestHost: Exception occurred: " + ex); 831EqtTrace.Error("InProcessVsTestConsoleWrapper.RunTestsWithCustomTestHost: Exception occurred: " + ex); 976EqtTrace.Error("InProcessVsTestConsoleWrapper.ProcessTestRunAttachmentsAsync: Exception occurred: " + ex); 1289EqtTrace.Info("InProcessVsTestConsoleWrapper.WaitForConnection: Waiting for connection to command line runner.");
Internal\ConsoleLogger.cs (2)
489EqtTrace.Warning("ConsoleLogger.TestMessageHandler: The test message level is unrecognized: {0}", e.Level.ToString()); 885EqtTrace.Info("Skipped printing test execution time on console because it looks like the test run had faced some errors");
Internal\FilePatternParser.cs (2)
61EqtTrace.Info($"FilePatternParser: The given file {filePattern} is a full path."); 77EqtTrace.Info($"FilePatternParser: Matching file pattern '{splitPattern.Item2}' within directory '{splitPattern.Item1}'");
Processors\ArtifactProcessingCollectModeProcessor.cs (1)
81EqtTrace.Verbose($"ArtifactProcessingPostProcessModeProcessorExecutor.Initialize: ArtifactProcessingMode.Collect");
Processors\ArtifactProcessingPostProcessModeProcessor.cs (2)
86EqtTrace.Verbose($"ArtifactProcessingPostProcessModeProcessorExecutor.Initialize: ArtifactProcessingMode.PostProcess"); 101EqtTrace.Error("ArtifactProcessingPostProcessModeProcessorExecutor: Exception during artifact post processing: " + e);
Processors\CollectArgumentProcessor.cs (1)
125EqtTrace.Verbose("CoverletDataCollector in-process codeBase path '{0}'", collectorPath);
Processors\EnableBlameArgumentProcessor.cs (1)
298EqtTrace.Error("EnableBlameArgumentProcessor: Unable to get the test results directory: Error {0}", se);
Processors\EnableDiagArgumentProcessor.cs (5)
144EqtTrace.Verbose($"Version: {Product.Version} Current process architecture: {_processHelper.GetCurrentProcessArchitecture()}"); 150EqtTrace.Verbose($"Runtime location: {Path.GetDirectoryName(objectTypeLocation)}"); 176var traceInitialized = EqtTrace.InitializeTrace(diagFilePath, traceLevel); 179if (!traceInitialized && !StringUtils.IsNullOrEmpty(EqtTrace.ErrorOnInitialization)) 181ConsoleOutput.Instance.Warning(false, EqtTrace.ErrorOnInitialization);
Processors\FrameworkArgumentProcessor.cs (1)
128EqtTrace.Info("Using .Net Framework version:{0}", _commandLineOptions.TargetFrameworkVersion);
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (5)
173if (!EqtTrace.LogFile.IsNullOrEmpty()) 175Output.Information(false, CommandLineResources.VstestDiagLogOutputPath, EqtTrace.LogFile); 259EqtTrace.Verbose("TestCaseFilter.FilterTests : Test Filtering invoked."); 269EqtTrace.Error("TestCaseFilter.FilterTests : Exception during filtering : {0}", ex.ToString()); 289EqtTrace.Error("TestCaseFilter.ValidateFilter : Filtering failed with exception : " + fe.Message);
Processors\ListTestsArgumentProcessor.cs (2)
178if (!StringUtils.IsNullOrEmpty(EqtTrace.LogFile)) 180Output.Information(false, CommandLineResources.VstestDiagLogOutputPath, EqtTrace.LogFile);
Processors\PlatformArgumentProcessor.cs (1)
132EqtTrace.Info("Using platform:{0}", _commandLineOptions.TargetArchitecture);
Processors\PortArgumentProcessor.cs (1)
175EqtTrace.Info($"PortArgumentProcessor: parent process:{parentProcessId} exited.");
Processors\RunSpecificTestsArgumentProcessor.cs (3)
217if (!StringUtils.IsNullOrEmpty(EqtTrace.LogFile)) 219Output.Information(false, CommandLineResources.VstestDiagLogOutputPath, EqtTrace.LogFile); 243EqtTrace.Verbose("RunSpecificTestsArgumentProcessor:Execute: Test run is queued.");
Processors\RunTestsArgumentProcessor.cs (5)
149if (!StringUtils.IsNullOrEmpty(EqtTrace.LogFile)) 151Output.Information(false, CommandLineResources.VstestDiagLogOutputPath, EqtTrace.LogFile); 169EqtTrace.Info("RunTestsArgumentProcessor:Execute: Test run is starting."); 170EqtTrace.Verbose("RunTestsArgumentProcessor:Execute: Queuing Test run."); 179EqtTrace.Info("RunTestsArgumentProcessor:Execute: Test run is completed.");
Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (1)
190EqtTrace.Warning(
Processors\TestSessionCorrelationIdProcessor.cs (1)
81EqtTrace.Verbose($"TestSessionCorrelationIdProcessorModeProcessorExecutor.Initialize: TestSessionCorrelationId '{argument}'");
Processors\Utilities\ArgumentProcessorFactory.cs (4)
274EqtTrace.Error("ArgumentProcessorFactory.WrapLazyProcessorToInitializeOnInstantiation: Exception creating argument processor: {0}", e); 284EqtTrace.Error("ArgumentProcessorFactory.WrapLazyProcessorToInitializeOnInstantiation: Exception initializing argument processor: {0}", e); 315EqtTrace.Error("ArgumentProcessorFactory.WrapLazyProcessorToInitializeOnInstantiation: Exception creating argument processor: {0}", e); 325EqtTrace.Error("ArgumentProcessorFactory.WrapLazyProcessorToInitializeOnInstantiation: Exception initializing argument processor: {0}", e);
Publisher\TextFileTelemetryPublisher.cs (1)
73EqtTrace.Info("TextFileTelemetryPublisher.LogToFile: Logging telemetry data points to file {0}", path);
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (6)
71EqtTrace.Verbose("ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable is empty will try to run ProcDump from PATH."); 76EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable '{procdumpDirectory}' is not a directory, or the directory does not exist. Will try to run ProcDump from PATH."); 91EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path to ProcDump '{candidatePath}' exists, using that."); 96EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path '{candidatePath}' does not exist will try to run {filename} from PATH."); 101EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Resolved {filename} to {p} from PATH."); 106EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Could not find {filename} on PATH.");
TestPlatformHelpers\TestRequestManager.cs (32)
155EqtTrace.Info("TestRequestManager.InitializeExtensions: Initialize extensions started."); 158EqtTrace.Info("TestRequestManager.InitializeExtensions: Initialize extensions completed."); 182EqtTrace.Info("TestRequestManager.DiscoverTests: Discovery tests started."); 243EqtTrace.Info("TestRequestManager.DiscoverTests: Synchronization context taken"); 272EqtTrace.Info("TestRequestManager.DiscoverTests: Discovery tests completed."); 295EqtTrace.Info("TestRequestManager.RunTests: run tests started."); 400EqtTrace.Info("TestRequestManager.RunTests: run tests completed."); 419EqtTrace.Info("TestRequestManager.ProcessTestRunAttachments: Test run attachments processing started."); 431EqtTrace.Info("TestRequestManager.ProcessTestRunAttachments: Synchronization context taken."); 453EqtTrace.Info("TestRequestManager.ProcessTestRunAttachments: Test run attachments processing completed."); 471EqtTrace.Info("TestRequestManager.StartTestSession: Starting test session."); 535EqtTrace.Info("TestRequestManager.StartTestSession: Synchronization context taken."); 555EqtTrace.Warning("TestRequestManager.StartTestSession: Unable to start test session."); 560EqtTrace.Info("TestRequestManager.StartTestSession: Starting test session completed."); 577EqtTrace.Info("TestRequestManager.StopTestSession: Stopping test session."); 586EqtTrace.Info("TestRequestManager.StopTestSession: Synchronization context taken."); 600EqtTrace.Warning("TestRequestManager.StopTestSession: Unable to stop test session."); 605EqtTrace.Info("TestRequestManager.StopTestSession: Stopping test session completed."); 639EqtTrace.Info("TestRequestManager.CancelTestRun: Sending cancel request."); 646EqtTrace.Info("TestRequestManager.CancelDiscovery: Sending cancel request."); 659EqtTrace.Info("TestRequestManager.AbortTestRun: Sending abort request."); 666EqtTrace.Info("TestRequestManager.CancelTestRunAttachmentsProcessing: Sending cancel request."); 782EqtTrace.Verbose($"TestRequestManager.UpdateRunSettingsIfRequired: Default architecture: {defaultArchitecture} IsDefaultTargetArchitecture: {RunSettingsHelper.Instance.IsDefaultTargetArchitecture}, Current process architecture: {_processHelper.GetCurrentProcessArchitecture()} OperatingSystem: {_environment.OperatingSystem}."); 894EqtTrace.Error($"TestRequestManager.TranslateToArchitecture: Unhandled architecture '{targetArchitecture}'."); 1057EqtTrace.Warning(incompatibleSettingWarning); 1062EqtTrace.Info("Compatible sources list: "); 1063EqtTrace.Info(string.Join("\n", compatibleSources.ToArray())); 1081EqtTrace.Info($"Platform is set by runsettings to be '{commonPlatform}' for all sources."); 1105EqtTrace.Info($"Platform was updated to '{commonPlatform}'."); 1158EqtTrace.Warning("TestRequestManager.UpdateRunSettingsIfRequired: throw warning on /Framework:Framework35 option."); 1296EqtTrace.Error("TestRequestManager.RunTests: failed to run tests: {0}", ex); 1663EqtTrace.Info($"TestRequestManager.FilterKnownPlatformSources: Known platform dll was provided in sources, removing it '{source}'");
vstest.console.arm64 (114)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (6)
71EqtTrace.Verbose("ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable is empty will try to run ProcDump from PATH."); 76EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: PROCDUMP_PATH env variable '{procdumpDirectory}' is not a directory, or the directory does not exist. Will try to run ProcDump from PATH."); 91EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path to ProcDump '{candidatePath}' exists, using that."); 96EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Path '{candidatePath}' does not exist will try to run {filename} from PATH."); 101EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Resolved {filename} to {p} from PATH."); 106EqtTrace.Verbose($"ProcDumpExecutableHelper.GetProcDumpExecutable: Could not find {filename} on PATH.");
src\vstest\src\vstest.console\CommandLine\AssemblyMetadataProvider.cs (9)
45EqtTrace.Warning("AssemblyMetadataProvider.GetFrameworkName: failed to determine TargetFrameworkVersion exception: {0} for assembly: {1}", ex, filePath); 48EqtTrace.Info("AssemblyMetadataProvider.GetFrameworkName: Determined framework:'{0}' for source: '{1}'", frameworkName, filePath); 77EqtTrace.Verbose("AssemblyMetadataProvider.GetArchitecture: Failed get ProcessorArchitecture using AssemblyName API with exception: {0}", ex); 85EqtTrace.Info("AssemblyMetadataProvider.GetArchitecture: Failed to determine Assembly Architecture with exception: {0}", e); 89EqtTrace.Info("AssemblyMetadataProvider.GetArchitecture: Determined architecture:{0} info for assembly: {1}", archType, 120EqtTrace.Error($"AssemblyMetadataProvider.GetArchitecture: Unhandled architecture '{peReader.PEHeaders.CoffHeader.Machine}'."); 191EqtTrace.Info("Unable to map to Architecture, using platform: {0}", arch); 288EqtTrace.Info( 297EqtTrace.Info(
src\vstest\src\vstest.console\CommandLine\Executor.cs (4)
200EqtTrace.Verbose("Executor.Execute: Exiting with exit code of {0}", exitCode); 398EqtTrace.Error("ExecuteArgumentProcessor: failed to execute argument process: {0}", ex); 545EqtTrace.Verbose("Executor.Execute: Exiting with exit code of {0}", 1); 546EqtTrace.Error(string.Format(CultureInfo.InvariantCulture, "Error: Can't open command line argument file '{0}' : '{1}'", fileName, e.Message));
src\vstest\src\vstest.console\CommandLine\InferHelper.cs (10)
63EqtTrace.Info("Determined platform for source '{0}' was AnyCPU and it will use the default plaform {1}.", source, defaultArchitecture); 68EqtTrace.Info("Determined platform for source '{0}' was '{1}'.", source, detectedArchitecture); 75EqtTrace.Info("No platform was determined for source '{0}' because it is not a dll or an executable.", source); 108EqtTrace.Error("Failed to determine platform for source: {0}, using default: {1}, exception: {2}", source, defaultArchitecture, ex); 115EqtTrace.Info("Determined platform for all sources: {0}", commonArchitecture); 119EqtTrace.Info("None of the sources provided any runnable platform, using the default platform: {0}", defaultArchitecture); 125EqtTrace.Error("Failed to determine platform for all sources: {0}, using default: {1}", ex, defaultArchitecture); 144EqtTrace.Info( 149EqtTrace.Info("Determined framework for all sources: {0}", framework); 219EqtTrace.Error("Failed to determine framework for source: {0} using default framework: {1}, exception: {2}", source, defaultFramework.Name, ex);
src\vstest\src\vstest.console\InProcessVsTestConsoleWrapper.cs (14)
78EqtTrace.Info("VsTestConsoleWrapper.StartSession: Starting VsTestConsoleWrapper session."); 169EqtTrace.Error("InProcessVsTestConsoleWrapper.AbortTestRun: Exception occurred: " + ex); 182EqtTrace.Error("InProcessVsTestConsoleWrapper.CancelDiscovery: Exception occurred: " + ex); 195EqtTrace.Error("InProcessVsTestConsoleWrapper.CancelTestRun: Exception occurred: " + ex); 293EqtTrace.Error("InProcessVsTestConsoleWrapper.StartTestSession: Exception occurred: " + ex); 360EqtTrace.Error("InProcessVsTestConsoleWrapper.StopTestSession: Exception occurred: " + ex); 382EqtTrace.Error("InProcessVsTestConsoleWrapper.InitializeExtensions: Exception occurred: " + ex); 442EqtTrace.Error("InProcessVsTestConsoleWrapper.DiscoverTests: Exception occurred: " + ex); 521EqtTrace.Error("InProcessVsTestConsoleWrapper.RunTests: Exception occurred: " + ex); 611EqtTrace.Error("InProcessVsTestConsoleWrapper.RunTests: Exception occurred: " + ex); 720EqtTrace.Error("InProcessVsTestConsoleWrapper.RunTestsWithCustomTestHost: Exception occurred: " + ex); 831EqtTrace.Error("InProcessVsTestConsoleWrapper.RunTestsWithCustomTestHost: Exception occurred: " + ex); 976EqtTrace.Error("InProcessVsTestConsoleWrapper.ProcessTestRunAttachmentsAsync: Exception occurred: " + ex); 1289EqtTrace.Info("InProcessVsTestConsoleWrapper.WaitForConnection: Waiting for connection to command line runner.");
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (2)
489EqtTrace.Warning("ConsoleLogger.TestMessageHandler: The test message level is unrecognized: {0}", e.Level.ToString()); 885EqtTrace.Info("Skipped printing test execution time on console because it looks like the test run had faced some errors");
src\vstest\src\vstest.console\Internal\FilePatternParser.cs (2)
61EqtTrace.Info($"FilePatternParser: The given file {filePattern} is a full path."); 77EqtTrace.Info($"FilePatternParser: Matching file pattern '{splitPattern.Item2}' within directory '{splitPattern.Item1}'");
src\vstest\src\vstest.console\Processors\ArtifactProcessingCollectModeProcessor.cs (1)
81EqtTrace.Verbose($"ArtifactProcessingPostProcessModeProcessorExecutor.Initialize: ArtifactProcessingMode.Collect");
src\vstest\src\vstest.console\Processors\ArtifactProcessingPostProcessModeProcessor.cs (2)
86EqtTrace.Verbose($"ArtifactProcessingPostProcessModeProcessorExecutor.Initialize: ArtifactProcessingMode.PostProcess"); 101EqtTrace.Error("ArtifactProcessingPostProcessModeProcessorExecutor: Exception during artifact post processing: " + e);
src\vstest\src\vstest.console\Processors\CollectArgumentProcessor.cs (1)
125EqtTrace.Verbose("CoverletDataCollector in-process codeBase path '{0}'", collectorPath);
src\vstest\src\vstest.console\Processors\EnableBlameArgumentProcessor.cs (1)
298EqtTrace.Error("EnableBlameArgumentProcessor: Unable to get the test results directory: Error {0}", se);
src\vstest\src\vstest.console\Processors\EnableDiagArgumentProcessor.cs (5)
144EqtTrace.Verbose($"Version: {Product.Version} Current process architecture: {_processHelper.GetCurrentProcessArchitecture()}"); 150EqtTrace.Verbose($"Runtime location: {Path.GetDirectoryName(objectTypeLocation)}"); 176var traceInitialized = EqtTrace.InitializeTrace(diagFilePath, traceLevel); 179if (!traceInitialized && !StringUtils.IsNullOrEmpty(EqtTrace.ErrorOnInitialization)) 181ConsoleOutput.Instance.Warning(false, EqtTrace.ErrorOnInitialization);
src\vstest\src\vstest.console\Processors\FrameworkArgumentProcessor.cs (1)
128EqtTrace.Info("Using .Net Framework version:{0}", _commandLineOptions.TargetFrameworkVersion);
src\vstest\src\vstest.console\Processors\ListFullyQualifiedTestsArgumentProcessor.cs (5)
173if (!EqtTrace.LogFile.IsNullOrEmpty()) 175Output.Information(false, CommandLineResources.VstestDiagLogOutputPath, EqtTrace.LogFile); 259EqtTrace.Verbose("TestCaseFilter.FilterTests : Test Filtering invoked."); 269EqtTrace.Error("TestCaseFilter.FilterTests : Exception during filtering : {0}", ex.ToString()); 289EqtTrace.Error("TestCaseFilter.ValidateFilter : Filtering failed with exception : " + fe.Message);
src\vstest\src\vstest.console\Processors\ListTestsArgumentProcessor.cs (2)
178if (!StringUtils.IsNullOrEmpty(EqtTrace.LogFile)) 180Output.Information(false, CommandLineResources.VstestDiagLogOutputPath, EqtTrace.LogFile);
src\vstest\src\vstest.console\Processors\PlatformArgumentProcessor.cs (1)
132EqtTrace.Info("Using platform:{0}", _commandLineOptions.TargetArchitecture);
src\vstest\src\vstest.console\Processors\PortArgumentProcessor.cs (1)
175EqtTrace.Info($"PortArgumentProcessor: parent process:{parentProcessId} exited.");
src\vstest\src\vstest.console\Processors\RunSpecificTestsArgumentProcessor.cs (3)
217if (!StringUtils.IsNullOrEmpty(EqtTrace.LogFile)) 219Output.Information(false, CommandLineResources.VstestDiagLogOutputPath, EqtTrace.LogFile); 243EqtTrace.Verbose("RunSpecificTestsArgumentProcessor:Execute: Test run is queued.");
src\vstest\src\vstest.console\Processors\RunTestsArgumentProcessor.cs (5)
149if (!StringUtils.IsNullOrEmpty(EqtTrace.LogFile)) 151Output.Information(false, CommandLineResources.VstestDiagLogOutputPath, EqtTrace.LogFile); 169EqtTrace.Info("RunTestsArgumentProcessor:Execute: Test run is starting."); 170EqtTrace.Verbose("RunTestsArgumentProcessor:Execute: Queuing Test run."); 179EqtTrace.Info("RunTestsArgumentProcessor:Execute: Test run is completed.");
src\vstest\src\vstest.console\Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (1)
190EqtTrace.Warning(
src\vstest\src\vstest.console\Processors\TestSessionCorrelationIdProcessor.cs (1)
81EqtTrace.Verbose($"TestSessionCorrelationIdProcessorModeProcessorExecutor.Initialize: TestSessionCorrelationId '{argument}'");
src\vstest\src\vstest.console\Processors\Utilities\ArgumentProcessorFactory.cs (4)
274EqtTrace.Error("ArgumentProcessorFactory.WrapLazyProcessorToInitializeOnInstantiation: Exception creating argument processor: {0}", e); 284EqtTrace.Error("ArgumentProcessorFactory.WrapLazyProcessorToInitializeOnInstantiation: Exception initializing argument processor: {0}", e); 315EqtTrace.Error("ArgumentProcessorFactory.WrapLazyProcessorToInitializeOnInstantiation: Exception creating argument processor: {0}", e); 325EqtTrace.Error("ArgumentProcessorFactory.WrapLazyProcessorToInitializeOnInstantiation: Exception initializing argument processor: {0}", e);
src\vstest\src\vstest.console\Publisher\TextFileTelemetryPublisher.cs (1)
73EqtTrace.Info("TextFileTelemetryPublisher.LogToFile: Logging telemetry data points to file {0}", path);
src\vstest\src\vstest.console\TestPlatformHelpers\TestRequestManager.cs (32)
155EqtTrace.Info("TestRequestManager.InitializeExtensions: Initialize extensions started."); 158EqtTrace.Info("TestRequestManager.InitializeExtensions: Initialize extensions completed."); 182EqtTrace.Info("TestRequestManager.DiscoverTests: Discovery tests started."); 243EqtTrace.Info("TestRequestManager.DiscoverTests: Synchronization context taken"); 272EqtTrace.Info("TestRequestManager.DiscoverTests: Discovery tests completed."); 295EqtTrace.Info("TestRequestManager.RunTests: run tests started."); 400EqtTrace.Info("TestRequestManager.RunTests: run tests completed."); 419EqtTrace.Info("TestRequestManager.ProcessTestRunAttachments: Test run attachments processing started."); 431EqtTrace.Info("TestRequestManager.ProcessTestRunAttachments: Synchronization context taken."); 453EqtTrace.Info("TestRequestManager.ProcessTestRunAttachments: Test run attachments processing completed."); 471EqtTrace.Info("TestRequestManager.StartTestSession: Starting test session."); 535EqtTrace.Info("TestRequestManager.StartTestSession: Synchronization context taken."); 555EqtTrace.Warning("TestRequestManager.StartTestSession: Unable to start test session."); 560EqtTrace.Info("TestRequestManager.StartTestSession: Starting test session completed."); 577EqtTrace.Info("TestRequestManager.StopTestSession: Stopping test session."); 586EqtTrace.Info("TestRequestManager.StopTestSession: Synchronization context taken."); 600EqtTrace.Warning("TestRequestManager.StopTestSession: Unable to stop test session."); 605EqtTrace.Info("TestRequestManager.StopTestSession: Stopping test session completed."); 639EqtTrace.Info("TestRequestManager.CancelTestRun: Sending cancel request."); 646EqtTrace.Info("TestRequestManager.CancelDiscovery: Sending cancel request."); 659EqtTrace.Info("TestRequestManager.AbortTestRun: Sending abort request."); 666EqtTrace.Info("TestRequestManager.CancelTestRunAttachmentsProcessing: Sending cancel request."); 782EqtTrace.Verbose($"TestRequestManager.UpdateRunSettingsIfRequired: Default architecture: {defaultArchitecture} IsDefaultTargetArchitecture: {RunSettingsHelper.Instance.IsDefaultTargetArchitecture}, Current process architecture: {_processHelper.GetCurrentProcessArchitecture()} OperatingSystem: {_environment.OperatingSystem}."); 894EqtTrace.Error($"TestRequestManager.TranslateToArchitecture: Unhandled architecture '{targetArchitecture}'."); 1057EqtTrace.Warning(incompatibleSettingWarning); 1062EqtTrace.Info("Compatible sources list: "); 1063EqtTrace.Info(string.Join("\n", compatibleSources.ToArray())); 1081EqtTrace.Info($"Platform is set by runsettings to be '{commonPlatform}' for all sources."); 1105EqtTrace.Info($"Platform was updated to '{commonPlatform}'."); 1158EqtTrace.Warning("TestRequestManager.UpdateRunSettingsIfRequired: throw warning on /Framework:Framework35 option."); 1296EqtTrace.Error("TestRequestManager.RunTests: failed to run tests: {0}", ex); 1663EqtTrace.Info($"TestRequestManager.FilterKnownPlatformSources: Known platform dll was provided in sources, removing it '{source}'");