68 references to ProcessUtil
HelixTestRunner (68)
Program.cs (9)
32ProcessUtil.PrintMessage("Playwright install skipped."); 42ProcessUtil.PrintMessage("RunTest stopping due to test discovery failure."); 47ProcessUtil.PrintMessage("Start running tests"); 49ProcessUtil.PrintMessage("Running tests complete"); 51ProcessUtil.PrintMessage("Uploading test results"); 53ProcessUtil.PrintMessage("Test results uploaded"); 55ProcessUtil.PrintMessage($"Completed Helix job with exit code '{exitCode}'"); 59ProcessUtil.PrintMessage("Tests were not run due to previous failures. Exit code=1"); 64ProcessUtil.PrintMessage($"HelixTestRunner uncaught exception: {e.ToString()}");
TestRunner.cs (59)
31ProcessUtil.PrintMessage($"Current Directory: {Options.HELIX_WORKITEM_ROOT}"); 33ProcessUtil.PrintMessage($"Setting HELIX_DIR: {helixDir}"); 39ProcessUtil.PrintMessage($"Set DotNetEfFullPath: {dotnetEFFullPath}"); 42ProcessUtil.PrintMessage($"Set VSTEST_DUMP_PATH: {dumpPath}"); 50ProcessUtil.PrintMessage($"Setting PLAYWRIGHT_BROWSERS_PATH: {playwrightBrowsers}"); 55ProcessUtil.PrintMessage($"Skipping setting PLAYWRIGHT_BROWSERS_PATH"); 58ProcessUtil.PrintMessage($"Creating nuget restore directory: {nugetRestore}"); 76ProcessUtil.PrintMessage($"Exception in SetupEnvironment: {e}"); 86ProcessUtil.PrintMessage($"Displaying directory contents for {path}:"); 89ProcessUtil.PrintMessage(Path.GetFileName(file)); 93ProcessUtil.PrintMessage(Path.GetFileName(file)); 99ProcessUtil.PrintMessage($"Exception in DisplayContents: {e}"); 107ProcessUtil.PrintMessage($"Installing Playwright Browsers to {Environment.GetEnvironmentVariable("PLAYWRIGHT_BROWSERS_PATH")}"); 116ProcessUtil.PrintMessage($"Exception installing playwright: {e}"); 134await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet", 137outputDataReceived: ProcessUtil.PrintMessage, 138errorDataReceived: ProcessUtil.PrintErrorMessage, 142await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet", 145outputDataReceived: ProcessUtil.PrintMessage, 146errorDataReceived: ProcessUtil.PrintErrorMessage, 150await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet", 153outputDataReceived: ProcessUtil.PrintMessage, 154errorDataReceived: ProcessUtil.PrintErrorMessage, 160ProcessUtil.PrintMessage($"Exception in InstallDotnetTools: {e}"); 170ProcessUtil.PrintMessage($"Adding current directory to nuget sources: {Options.HELIX_WORKITEM_ROOT}"); 172await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet", 175outputDataReceived: ProcessUtil.PrintMessage, 176errorDataReceived: ProcessUtil.PrintErrorMessage, 181await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet", 184outputDataReceived: ProcessUtil.PrintMessage, 185errorDataReceived: ProcessUtil.PrintErrorMessage, 191ProcessUtil.PrintMessage($"Exception in InstallDotnetTools: {e}"); 203var discoveryResult = await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet", 210ProcessUtil.PrintMessage("Exception thrown during test discovery."); 211ProcessUtil.PrintMessage(discoveryResult.StandardOutput); 218ProcessUtil.PrintMessage($"Exception in CheckTestDiscovery: {e}"); 236ProcessUtil.PrintMessage("Running quarantined tests."); 239var result = await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet", 242outputDataReceived: ProcessUtil.PrintMessage, 243errorDataReceived: ProcessUtil.PrintErrorMessage, 249ProcessUtil.PrintMessage($"Quarantined tests exceeded configured timeout: {testProcessTimeout.TotalMinutes}m."); 253ProcessUtil.PrintMessage($"Failure in quarantined tests. Exit code: {result.ExitCode}."); 258ProcessUtil.PrintMessage("Running non-quarantined tests."); 261var result = await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet", 264outputDataReceived: ProcessUtil.PrintMessage, 265errorDataReceived: ProcessUtil.PrintErrorMessage, 271ProcessUtil.PrintMessage($"Non-quarantined tests exceeded configured timeout: {testProcessTimeout.TotalMinutes}m."); 275ProcessUtil.PrintMessage($"Failure in non-quarantined tests. Exit code: {result.ExitCode}."); 282ProcessUtil.PrintMessage($"Exception in HelixTestRunner: {e}"); 291ProcessUtil.PrintMessage("Trying to upload results..."); 294ProcessUtil.PrintMessage("Copying TestResults/TestResults.xml to ./testResults.xml"); 299ProcessUtil.PrintMessage("No test results found."); 305ProcessUtil.PrintMessage("No HELIX_WORKITEM_UPLOAD_ROOT specified, skipping log copy"); 308ProcessUtil.PrintMessage($"Copying artifacts/log/ to {HELIX_WORKITEM_UPLOAD_ROOT}/"); 316ProcessUtil.PrintMessage($"Copying: {file} to {Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, logName)}"); 322ProcessUtil.PrintMessage("No logs found in artifacts/log"); 324ProcessUtil.PrintMessage($"Copying TestResults/**/Sequence*.xml to {HELIX_WORKITEM_UPLOAD_ROOT}/"); 330ProcessUtil.PrintMessage($"Copying: {file} to {Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, fileName)}"); 336ProcessUtil.PrintMessage("No TestResults directory found.");