-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Razor build server (process 27970) failed to shut down: The shutdown command failed: The application to execute does not exist #10573
Comments
@wli3 can you take a look at this? |
@khteh is your application targeting netcoreapp3.0 as well? |
Yes, of course. |
I think this issue just came back. Our perf build ran into the same issue with .NET 5. We use the command
|
@ooooolivia could you use This is a tricky issue. We would need sometime to investigate |
@wli3 I assume the process names would be the same on Linux but without the |
Hm.. yes, need to do the equivalent for Linux |
The issue started to happen again in release/5.0.1** branch on .NET SDK 5.0.104 and release/3.1.4.* branch on .NET SDK v3.1.414 since 9/9/21. @wli3 can you or someone from your team to take a look. Since we have the concrete builds which started to repo the issue, hope it will help with the investigation. This issue prevents performance-CI pipeline to stay green, which is something that we try very hard to keep. |
This is still happening. Also on the latest 5.0 SDK. It is breaking our pipelines. Can anyone give us at least some information for a workaround? That issue has been open for almost 2 years now. How much investigation is needed? 🤔 |
I hit this too today and it turned out there was a leftover Razor PID file in
That also explains why it's complaining about dotnet SDK versions that aren't even used since it cached the path in that file. Deleting the file fixed the |
I've opened a PR that should fix the issue: #29029 |
When the server path in the pid file didn't exist we'd hit an error: ``` The shutdown command failed: The application to execute does not exist ``` This can happen when the file wasn't cleaned up and the SDK was uninstalled in the meantime. Ensure we delete the pid file in that case and don't error. Fixes #10573
Steps to reproduce
$ dotnet build-server shutdown
error:Why does it look for 2.2.0 when I am using 3.0?
Expected behavior
Shutdown properly without error
Actual behavior
Environment data
dotnet --info
output:The text was updated successfully, but these errors were encountered: