vstest icon indicating copy to clipboard operation
vstest copied to clipboard

dotnet process stays even after `dotnet build-server shutdown` and `killall dotnet`

Open livarcocc opened this issue 4 years ago • 1 comments

From @khteh on Thursday, November 7, 2019 2:50:24 AM

$ donet build-server shutdown
<snip>
Razor build server (process 21629) failed to shut down: The shutdown command failed: The application to execute does not exist: '/usr/share/dotnet/sdk/NuGetFallbackFolder/microsoft.aspnetcore.razor.design/2.2.0/tools/rzc.dll'

Razor build server (process 1857) failed to shut down: The shutdown command failed: The application to execute does not exist: '/usr/share/dotnet/sdk/NuGetFallbackFolder/microsoft.aspnetcore.razor.design/2.2.0/tools/rzc.dll'

Razor build server (process 27970) failed to shut down: The shutdown command failed: The application to execute does not exist: '/usr/share/dotnet/sdk/NuGetFallbackFolder/microsoft.aspnetcore.razor.design/2.2.0/tools/rzc.dll'

VB/C# compiler server shut down successfully.
Razor build server (process 7784) shut down successfully.
$ killall dotnet
$ killall dotnet
$ killall dotnet
$ ps -ef|grep dotnet
khteh     5142  1518  6 10:35 pts/1    00:00:47 /usr/share/dotnet-3.0.100/dotnet exec --runtimeconfig /usr/src/4xlabs/bz-frontend/test/Biz4x.Frontend.Web.Integration.Test/bin/Debug/netcoreapp3.0/Biz4x.Frontend.Web.Integration.Test.runtimeconfig.json --depsfile /usr/src/4xlabs/bz-frontend/test/Biz4x.Frontend.Web.Integration.Test/bin/Debug/netcoreapp3.0/Biz4x.Frontend.Web.Integration.Test.deps.json /home/khteh/.nuget/packages/microsoft.testplatform.testhost/16.2.0/lib/netstandard1.5/testhost.dll --port 38991 --endpoint 127.0.0.1:038991 --role client --parentprocessid 5126 --telemetryoptedin false
khteh     8050 28471  0 10:47 pts/7    00:00:00 grep --color=auto dotnet
khteh    31852 31426  0 Nov05 ?        00:00:00 bash /home/khteh/.vscode/extensions/ms-vscode.csharp-1.21.5/.omnisharp/1.34.5/run -s /usr/src/4xlabs/get4x-dotnet/get4x.sln --hostPID 31426 DotNet:enablePackageRestore=false --encoding utf-8 --loglevel information --plugin /home/khteh/.vscode/extensions/ms-vscode.csharp-1.21.5/.razor/OmniSharpPlugin/Microsoft.AspNetCore.Razor.OmniSharpPlugin.dll FileOptions:SystemExcludeSearchPatterns:0=**/.git FileOptions:SystemExcludeSearchPatterns:1=**/.svn FileOptions:SystemExcludeSearchPatterns:2=**/.hg FileOptions:SystemExcludeSearchPatterns:3=**/CVS FileOptions:SystemExcludeSearchPatterns:4=**/.DS_Store formattingOptions:useTabs=false formattingOptions:tabSize=4 formattingOptions:indentationSize=4
khteh    31876 31852 12 Nov05 ?        05:17:55 /home/khteh/.vscode/extensions/ms-vscode.csharp-1.21.5/.omnisharp/1.34.5/bin/mono /home/khteh/.vscode/extensions/ms-vscode.csharp-1.21.5/.omnisharp/1.34.5/omnisharp/OmniSharp.exe -s /usr/src/4xlabs/get4x-dotnet/get4x.sln --hostPID 31426 DotNet:enablePackageRestore=false --encoding utf-8 --loglevel information --plugin /home/khteh/.vscode/extensions/ms-vscode.csharp-1.21.5/.razor/OmniSharpPlugin/Microsoft.AspNetCore.Razor.OmniSharpPlugin.dll FileOptions:SystemExcludeSearchPatterns:0=**/.git FileOptions:SystemExcludeSearchPatterns:1=**/.svn FileOptions:SystemExcludeSearchPatterns:2=**/.hg FileOptions:SystemExcludeSearchPatterns:3=**/CVS FileOptions:SystemExcludeSearchPatterns:4=**/.DS_Store formattingOptions:useTabs=false formattingOptions:tabSize=4 formattingOptions:indentationSize=4

Copied from original issue: dotnet/cli#13034

livarcocc avatar Nov 08 '19 17:11 livarcocc

From @livarcocc on Thursday, November 7, 2019 9:22:45 PM

It seems it is running a tests. I am not sure why it is not getting shutdown as part of the killall command. The testhost dll is the one that is not respecting the command to shutdown. I am going to move this issue to vstest.

livarcocc avatar Nov 08 '19 17:11 livarcocc