264 references to Id
aspire (20)
DotNet\DotNetCliExecution.cs (9)
61_logger.LogDebug("Started dotnet with PID: {ProcessId}", _process.Id);
93_logger.LogDebug("Waiting for dotnet process to exit with PID: {ProcessId}", _process.Id);
102_logger.LogDebug("dotnet process with PID: {ProcessId} has not exited, killing it.", _process.Id);
110_logger.LogDebug("dotnet process with PID: {ProcessId} has exited with code: {ExitCode}", _process.Id, _process.ExitCode);
118_logger.LogDebug("Closing stdout/stderr streams for PID: {ProcessId}", _process.Id);
133_logger.LogWarning("Stream forwarders for PID {ProcessId} did not complete within timeout after stream close. Continuing anyway.", _process.Id);
137_logger.LogDebug("Pending forwarders for PID completed: {ProcessId}", _process.Id);
151_process.Id
164_process.Id,
Aspire.Hosting (2)
Aspire.Hosting.Azure (2)
Aspire.Hosting.Docker (2)
Aspire.Hosting.Tests (1)
ClientSample (1)
csc (3)
dotnet-svcutil-lib (4)
ExampleTask (1)
ExceptionHandlerSample (1)
HelixTestRunner (8)
IdeCoreBenchmarks (8)
IIS.FunctionalTests (3)
IIS.LongTests (3)
IIS.NewHandler.FunctionalTests (3)
IIS.ShadowCopy.Tests (3)
IISExpress.FunctionalTests (3)
InteropTests (3)
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Server.IntegrationTesting (9)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (9)
IISExpressDeployer.cs (9)
225Logger.LogInformation("iisexpress Process {pid} shut down", process.Id);
233Logger.LogInformation("iisexpress Process {pid} started", process.Id);
237Logger.LogError("Host process {processName} {pid} exited with code {exitCode} or failed to start.", startInfo.FileName, process.Id, process.ExitCode);
247Logger.LogInformation("iisexpress Process {pid} failed to bind to port {port}, trying again", process.Id, port);
264Logger.LogInformation("Started iisexpress successfully. Process Id : {processId}, Port: {port}", _hostProcess.Id, port);
444throw new Exception($"iisexpress Process {_hostProcess.Id} failed to shutdown");
560SendStopMessageToProcess(hostProcess.Id);
563throw new InvalidOperationException($"iisexpress Process {hostProcess.Id} failed to gracefully shutdown.");
573throw new InvalidOperationException($"iisexpress Process {hostProcess?.Id} crashed before shutdown was triggered.");
Microsoft.AspNetCore.SpaProxy (4)
Microsoft.Build (44)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (41)
181Stream nodeStream = TryConnectToProcess(nodeProcess.Id, timeout, NodeProviderOutOfProc.GetHandshake(nodeReuse, false), out HandshakeResult result);
186nodeStream = TryConnectToProcess(nodeProcess.Id, timeout, NodeProviderOutOfProc.GetHandshake(nodeReuse, true), out result);
192CommunicationsUtilities.Trace("Shutting down node with pid = {0}", nodeProcess.Id);
332CommunicationsUtilities.Trace("Trying to connect to existing process {2} with id {1} to establish node {0}...", nodeId, nodeToReuse.Id, nodeToReuse.ProcessName);
333if (nodeToReuse.Id == currentProcessId)
339string nodeLookupKey = GetProcessesToIgnoreKey(nodeLaunchData.Handshake, nodeToReuse.Id);
349MSBuildEventSource.Log.NodePipeConnectStart(nodeId, nodeToReuse.Id);
350Stream nodeStream = TryConnectToProcess(nodeToReuse.Id, 0 /* poll, don't wait for connections */, nodeLaunchData.Handshake, out HandshakeResult result);
351MSBuildEventSource.Log.NodePipeConnectStop(nodeId, nodeToReuse.Id, succeeded: nodeStream != null);
355CommunicationsUtilities.Trace("Successfully connected to existed node {0} which is PID {1}", nodeId, nodeToReuse.Id);
356string msg = ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("NodeReused", nodeId, nodeToReuse.Id);
363MSBuildEventSource.Log.NodeConnectStop(nodeId, nodeToReuse.Id, isReused: true);
407MSBuildEventSource.Log.NodeLaunchStop(nodeId, msbuildProcess.Id);
409_processesToIgnore.TryAdd(GetProcessesToIgnoreKey(nodeLaunchData.Handshake, msbuildProcess.Id), default);
416MSBuildEventSource.Log.NodePipeConnectStart(nodeId, msbuildProcess.Id);
417Stream nodeStream = TryConnectToProcess(msbuildProcess.Id, TimeoutForNewNodeCreation, nodeLaunchData.Handshake, out HandshakeResult result);
418MSBuildEventSource.Log.NodePipeConnectStop(nodeId, msbuildProcess.Id, succeeded: nodeStream != null);
422CommunicationsUtilities.Trace("Successfully connected to created node {0} which is PID {1}", nodeId, msbuildProcess.Id);
425MSBuildEventSource.Log.NodeConnectStop(nodeId, msbuildProcess.Id, isReused: false);
435CommunicationsUtilities.Trace("Could not connect to node with PID {0}; it has exited with exit code {1}. This can indicate a crash at startup", msbuildProcess.Id, msbuildProcess.ExitCode);
441CommunicationsUtilities.Trace("Could not connect to node with PID {0}; it has exited with unknown exit code. This can indicate a crash at startup", msbuildProcess.Id);
447CommunicationsUtilities.Trace("Could not connect to node with PID {0}; it is still running. This can occur when two multiprocess builds run in parallel and the other one 'stole' this node", msbuildProcess.Id);
495Array.Sort(processes, static (left, right) => left.Id.CompareTo(right.Id));
517CommunicationsUtilities.Trace("Skipping process {0} - unable to retrieve command line", process.Id);
525CommunicationsUtilities.Trace("Including process {0} - command line retrieval not supported on this platform", process.Id);
533CommunicationsUtilities.Trace("Including process {0} with matching NodeMode {1}", process.Id, processNodeMode.Value);
540process.Id, expectedNodeMode,
547CommunicationsUtilities.Trace("Skipping process {0} - error retrieving command line: {1}", process.Id, ex.Message);
551filtered.Sort(static (left, right) => left.Id.CompareTo(right.Id));
717filteredProcesses.Sort((left, right) => left.Id.CompareTo(right.Id));
721Array.Sort(processes, (left, right) => left.Id.CompareTo(right.Id));
1237CommunicationsUtilities.Trace("Waiting for node with pid = {0} to exit", _process.Id);
1264_process.Id);
1265CommunicationsUtilities.Trace("Killing node with pid = {0}", _process.Id);
1274CommunicationsUtilities.Trace(_nodeId, "COMMUNICATIONS ERROR (HRC) Node: {0} Process: {1} Bytes Read: {2} Expected: {3}", _nodeId, _process.Id, bytesRead, _headerByte.Length);
1279CommunicationsUtilities.Trace(_nodeId, " Child Process {0} has exited.", _process.Id);
1283CommunicationsUtilities.Trace(_nodeId, " Child Process {0} is still running.", _process.Id);
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Engine.UnitTests (11)
Microsoft.Build.Framework (6)
Microsoft.Build.Tasks.CodeAnalysis (3)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (3)
Microsoft.Build.Tasks.UnitTests (2)
Microsoft.Build.UnitTests.Shared (2)
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.DotNet.Open.Api.Tools.Tests (1)
Microsoft.DotNet.RemoteExecutor (5)
Microsoft.Extensions.ApiDescription.Client.Tests (3)
Microsoft.Extensions.Telemetry (1)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.VisualBasic.IntegrationTests (1)
Microsoft.VisualStudio.Extensibility.Testing.Xunit (9)
Microsoft.VisualStudio.IntegrationTestService (3)
Microsoft.VisualStudio.LanguageServices (4)
MSBuildTaskHost (1)
Replay (2)
RunTests (7)
Stress.TelemetryService (1)
System.Diagnostics.Process (3)
System.Windows.Forms.IntegrationTests.Common (1)
Templates.Blazor.Tests (3)
Templates.Blazor.WebAssembly.Auth.Tests (8)
Templates.Blazor.WebAssembly.Tests (8)
Templates.Mvc.Tests (8)
Templates.Tests (8)
UIAutomationClientSideProviders (1)
vbc (3)
VBCSCompiler (4)