Skip to content
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.WindowsServiceLifetimeTests.ServiceCanStopItself #103262

Closed
v-wenyuxu opened this issue Jun 11, 2024 · 1 comment · Fixed by #105666
Closed
Assignees
Labels
arch-x86 area-Extensions-Hosting blocking-clean-ci-optional Blocking optional rolling runs in-pr There is an active PR which will close this issue when it is merged os-windows
Milestone

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr libraries-pgo 20240609.1

Failed tests:

net9.0-windows-Release-x86-fullpgo_random_gdv-Windows.10.Amd64.Open
    - Microsoft.Extensions.Hosting.WindowsServiceLifetimeTests.ServiceCanStopItself

Error message:

 System.ServiceProcess.TimeoutException : The operation requested for service 'ServiceCanStopItself' has not been completed within the specified time interval.

Stack trace:

   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout) in /_/src/libraries/System.ServiceProcess.ServiceController/src/System/ServiceProcess/ServiceController.cs:line 994
   at Microsoft.Extensions.Hosting.WindowsServiceTester.WaitForStatus(ServiceControllerStatus desiredStatus) in /_/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/tests/WindowsServiceTester.cs:line 54
   at Microsoft.Extensions.Hosting.WindowsServiceLifetimeTests.ServiceCanStopItself() in /_/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/tests/WindowsServiceLifetimeTests.cs:line 174
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 48
@steveharter
Copy link
Member

steveharter commented Jun 26, 2024

Similar to #84438

@steveharter steveharter added this to the 9.0.0 milestone Jun 26, 2024
@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Aug 1, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x86 area-Extensions-Hosting blocking-clean-ci-optional Blocking optional rolling runs in-pr There is an active PR which will close this issue when it is merged os-windows
Projects
None yet
3 participants