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