54 references to WriteLine
RunTests (54)
AssemblyScheduler.cs (4)
74
ConsoleUtil.
WriteLine
($"Found {orderedTypeInfos.Values.SelectMany(t => t).SelectMany(t => t.Tests).Count()} tests to run in {orderedTypeInfos.Keys.Count()} assemblies");
178
ConsoleUtil.
WriteLine
($"{unmatchedLocalTests.Count} tests were missing historical data. {unmatchedRemoteTests.Count()} tests were missing in local assemblies. Estimate of total execution time for tests is {totalExpectedRunTime}.");
273
ConsoleUtil.
WriteLine
($"Built {workItems.Length} work items");
284
LogFilters(workItem, ConsoleUtil.
WriteLine
);
ConsoleUtil.cs (1)
47
WithColor(color, () =>
WriteLine
(message));
Options.cs (4)
202
ConsoleUtil.
WriteLine
($"Error parsing command line arguments: {e.Message}");
215
ConsoleUtil.
WriteLine
($"Did not find artifacts directory at {artifactsPath}");
228
ConsoleUtil.
WriteLine
($"Did not find 'dotnet' at {dotnetFilePath}");
234
ConsoleUtil.
WriteLine
($"procdumppath was specified without collectdumps hence it will not be used");
Program.cs (19)
45
ConsoleUtil.
WriteLine
($"Running '{options.DotnetFilePath} --version'..");
47
ConsoleUtil.
WriteLine
(string.Join(Environment.NewLine, dotnetResult.OutputLines));
141
ConsoleUtil.
WriteLine
($"Proc dump location: {options.ProcDumpFilePath}");
142
ConsoleUtil.
WriteLine
($"Running tests in {workItems.Length} partitions");
149
ConsoleUtil.
WriteLine
($"Test execution time: {elapsed}");
161
ConsoleUtil.
WriteLine
($"All tests passed");
204
ConsoleUtil.
WriteLine
($"Error writing log file {logFilePath}");
205
ConsoleUtil.
WriteLine
(ex.ToString());
240
ConsoleUtil.
WriteLine
($"succeeded ({new FileInfo(dumpFilePath).Length} bytes)");
244
ConsoleUtil.
WriteLine
($"FAILED with {processOutput.ExitCode}");
245
ConsoleUtil.
WriteLine
($"{procDumpExeFilePath} {args}");
246
ConsoleUtil.
WriteLine
(string.Join(Environment.NewLine, processOutput.OutputLines));
251
ConsoleUtil.
WriteLine
("FAILED");
252
ConsoleUtil.
WriteLine
(ex.Message);
260
ConsoleUtil.
WriteLine
($"Taking screenshot on timeout at {screenshotPath}");
262
ConsoleUtil.
WriteLine
(string.Join(Environment.NewLine, output.OutputLines));
263
ConsoleUtil.
WriteLine
(string.Join(Environment.NewLine, output.ErrorLines));
268
ConsoleUtil.
WriteLine
("Roslyn Error: test timeout exceeded, dumping remaining processes");
435
ConsoleUtil.
WriteLine
($"Deleting '{dumpFile}' because we have exceeded our total dump size of {MaxTotalDumpSizeInMegabytes} megabytes.");
TestHistoryManager.cs (10)
49
ConsoleUtil.
WriteLine
($"Missing required options to lookup test history, accessToken={accessToken}, projectUri={projectUri}, phaseName={phaseName}, targetBranchName={targetBranch}, pipelineDefinitionId={pipelineDefinitionIdStr}");
59
ConsoleUtil.
WriteLine
($"Getting last successful build for branch {targetBranch}");
65
ConsoleUtil.
WriteLine
($"Unable to get the last successful build for definition {pipelineDefinitionId} in {projectUri} and branch {targetBranch}");
74
ConsoleUtil.
WriteLine
($"Unable to get a run with name {phaseName} from build {lastSuccessfulBuild.Url}.");
78
ConsoleUtil.
WriteLine
($"Looking up test execution data for build {lastSuccessfulBuild.Id} on branch {targetBranch} and stage {phaseName}");
123
ConsoleUtil.
WriteLine
($"Retrieved {testInfos.Keys.Count} tests from AzureDevops in {timer.Elapsed}. Total runtime of all tests is {totalTestRuntime}");
132
ConsoleUtil.
WriteLine
($"Missing environment variable {envVarName}");
163
ConsoleUtil.
WriteLine
($"Caught exception querying ADO for passing build: {ex}");
183
ConsoleUtil.
WriteLine
($"Caught exception querying ADO for test runs: {ex}");
198
ConsoleUtil.
WriteLine
($"Caught exception querying ADO for test runs: {ex}");
TestRunner.cs (16)
52
ConsoleUtil.
WriteLine
($@"BUILD_SOURCEBRANCH environment variable was not set. Using source branch ""{sourceBranch}"" instead");
65
ConsoleUtil.
WriteLine
("BUILD_BUILDID environment variable was not set, will not publish test results for a local run.");
79
ConsoleUtil.
WriteLine
($@"BUILD_QUEUEDBY environment variable was not set. Using value ""{queuedBy}"" instead");
85
ConsoleUtil.
WriteLine
($"SYSTEM_JOBDISPLAYNAME environment variable was not set. Using a blank TestRunNamePrefix for Helix job.");
142
onOutputDataReceived: (e) => { Debug.Assert(e.Data is not null); ConsoleUtil.
WriteLine
(e.Data); },
423
ConsoleUtil.
WriteLine
("================");
437
ConsoleUtil.
WriteLine
("================");
440
ConsoleUtil.
WriteLine
("Extra run diagnostics for logging, did not impact run results");
443
ConsoleUtil.
WriteLine
(testResult.Diagnostics!);
452
ConsoleUtil.
WriteLine
($"Errors {testResult.DisplayName}");
453
ConsoleUtil.
WriteLine
(testResult.ErrorOutput);
456
ConsoleUtil.
WriteLine
($"Command: {testResult.CommandLine}");
457
ConsoleUtil.
WriteLine
($"xUnit output log: {outputLogPath}");
463
ConsoleUtil.
WriteLine
(testResult.ErrorOutput);
467
ConsoleUtil.
WriteLine
($"xunit produced no error output but had exit code {testResult.ExitCode}. Writing standard output:");
468
ConsoleUtil.
WriteLine
(testResult.StandardOutput ?? "(no standard output)");