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.ExceptionOnStartIsPropagated #105377

Closed
v-wenyuxu opened this issue Jul 24, 2024 · 2 comments
Labels
arch-arm64 area-Extensions-Hosting JitStress CLR JIT issues involving JIT internal stress modes needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners os-windows
Milestone

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr libraries-jitstress 20240723.1

Failed tests:

net9.0-windows-Release-arm64-jitstress1-Windows.11.Arm64.Open
    - Microsoft.Extensions.Hosting.WindowsServiceLifetimeTests.ExceptionOnStartIsPropagated

Error message:

 Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Half-way through waiting for remote process.
Memory load: 35

Image Name                     PID Services                                    
========================= ======== ============================================
svchost.exe                    912 BrokerInfrastructure, DcomLaunch, Power,    
                                   SystemEventsBroker                          
svchost.exe                    480 RpcEptMapper, RpcSs                         
svchost.exe                    644 LSM                                         
svchost.exe                   1048 CryptSvc                                    
svchost.exe                   1064 TermService                                 
svchost.exe                   1140 lmhosts                                     
svchost.exe                   1168 NcbService                                  
svchost.exe                   1264 nsi                                         
svchost.exe                   1276 TimeBrokerSvc                               
svchost.exe                   1340 AppIDSvc                                    
svchost.exe                   1376 gpsvc                                       
svchost.exe                   1396 netprofm                                    
svchost.exe                   1472 vmicheartbeat                               
svchost.exe                   1492 vmickvpexchange                             
svchost.exe                   1540 vmicshutdown                                
svchost.exe                   1560 Schedule                                    
svchost.exe                   1624 vmictimesync                                
svchost.exe                   1664 CoreMessagingRegistrar                      
svchost.exe                   1688 UmRdpService                                
svchost.exe                   1796 ProfSvc                                     
svchost.exe                   2004 Dnscache                                    
svchost.exe                   2024 EventLog                                    
svchost.exe                   1128 LanmanWorkstation                           
svchost.exe                   1764 UserManager                                 
svchost.exe                   1864 SysMain                                     
svchost.exe                   2056 EventSystem                                 
svchost.exe                   2068 Themes                                      
svchost.exe                   2220 SENS                                        
svchost.exe                   2264 SessionEnv                                  
svchost.exe                   2376 AudioEndpointBuilder                        
svchost.exe                   2384 CertPropSvc                                 
svchost.exe                   2424 FontCache                                   
svchost.exe                   2436 DispBrokerDesktopSvc                        
svchost.exe                   2496 Dhcp                                        
svchost.exe                   2612 Audiosrv                                    
svchost.exe                   2700 WinHttpAutoProxySvc                         
svchost.exe                   2740 TextInputManagementService                  
svchost.exe                   2828 Wcmsvc                                      
svchost.exe                   2840 DusmSvc                                     
svchost.exe                   2892 ShellHWDetection                            
svchost.exe                   2136 BFE, mpssvc                                 
svchost.exe                   3128 DiagTrack                                   
svchost.exe                   3136 iphlpsvc                                    
svchost.exe                   3148 DPS                                         
svchost.exe                   3240 LanmanServer                      

Stack trace:

   at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing) in /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 225
   at Microsoft.Extensions.Hosting.WindowsServiceTester.Dispose(Boolean disposing) in /_/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/tests/WindowsServiceTester.cs:line 147
   at System.ComponentModel.Component.Dispose() in /_/src/libraries/System.ComponentModel.Primitives/src/System/ComponentModel/Component.cs:line 73
   at Microsoft.Extensions.Hosting.WindowsServiceLifetimeTests.ExceptionOnStartIsPropagated() in /_/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/tests/WindowsServiceLifetimeTests.cs:line 85
   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 57
@v-wenyuxu v-wenyuxu added arch-arm64 os-windows JitStress CLR JIT issues involving JIT internal stress modes blocking-clean-ci-optional Blocking optional rolling runs labels Jul 24, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 24, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 24, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-hosting
See info in area-owners.md if you want to be subscribed.

@buyaa-n buyaa-n added this to the 9.0.0 milestone Jul 24, 2024
@buyaa-n buyaa-n removed untriaged New issue has not been triaged by the area owner blocking-clean-ci-optional Blocking optional rolling runs labels Jul 24, 2024
@buyaa-n
Copy link
Contributor

buyaa-n commented Jul 24, 2024

Stack trace:

From the Stack trace the ExceptionOnStartIsPropagatedis test is actually finished successfully:
at Microsoft.Extensions.Hosting.WindowsServiceLifetimeTests.ExceptionOnStartIsPropagated() in /_/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/tests/WindowsServiceLifetimeTests.cs:line 85

Assert.Equal(Interop.Errors.ERROR_EXCEPTION_IN_SERVICE, status.win32ExitCode);
}

It is somehow failed on RemoteInvokeHandle.Dispose(bool) and threw:
at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing) in /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 225
Don't know what team owns it, it could be just network failure, whatever it is not runtime issue, so closing

@buyaa-n buyaa-n closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-Extensions-Hosting JitStress CLR JIT issues involving JIT internal stress modes needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners os-windows
Projects
None yet
Development

No branches or pull requests

3 participants