-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Test failure: Microsoft.Extensions.Hosting.UseWindowsServiceTests.CanCreateService #107240
Comments
Tagging subscribers to this area: @dotnet/area-extensions-hosting |
Failed in: runtime-coreclr libraries-jitstress 20240902.1 Failed tests:
Error message:
Stack trace:
|
Appears to be duplicate of #103548 which was recently fixed in 10.0 and backported to 9.0. That may need to be re-opened. The failure above is from 9.0: |
cc @ericstj |
Failing in |
No repro on x64 - need to have a look on arm64. Could be something with how the service configuration/installation is working there. |
I tested on an arm64 machine and it works here:
I used the exact same test payload from the failing machine. I'm now running in a loop to determine if there's a timing issue at play. I don't really see how that could happen here though - it's waiting for the service to start so even if the service started early or late - it should still sync up. My best guess is that the service is failing to start in a way that's missed by the SCM API. If I cannot reproduce it we can add some more diagnostics here in hopes we can gather more info in case of a failure. |
Failed in: runtime-coreclr libraries-jitstress-random 20240904.1 Failed tests:
Error message:
Stack trace:
|
Failed in: runtime-coreclr libraries-jitstressregs 20240908.1 Failed tests:
Error message:
Stack trace:
|
@ericstj, thanks for continuing to look into the test failure! |
Probably the root cause here is the same as #107671. The process is hanging. Neither the test nor Service nor Extensions libraries are on the stack. I could use help from someone taking a look at the dump who has more SOS-fu than this tired manager. Any takers? |
Failed in: runtime-coreclr libraries-pgo 20240901.1
Failed tests:
Error message:
Stack trace:
The text was updated successfully, but these errors were encountered: