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: System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime #105609

Closed
v-wenyuxu opened this issue Jul 29, 2024 · 7 comments · Fixed by #108028
Labels
area-System.Security blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' in-pr There is an active PR which will close this issue when it is merged Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@v-wenyuxu
Copy link

v-wenyuxu commented Jul 29, 2024

Failed in: runtime-coreclr libraries-jitstress 20240728.1

Failed tests:

net9.0-windows-Release-arm64-disabler2r-Windows.11.Arm64.Open
    - System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime

Error message:

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

Image Name                     PID Services                                    
========================= ======== ============================================
svchost.exe                    920 BrokerInfrastructure, DcomLaunch, Power,    
                                   SystemEventsBroker                          
svchost.exe                    476 RpcEptMapper, RpcSs                         
svchost.exe                    528 LSM                                         
svchost.exe                   1048 CryptSvc                                    
svchost.exe                   1056 TermService                                 
svchost.exe                   1128 lmhosts                                     
svchost.exe                   1176 NcbService                                  
svchost.exe                   1292 AppIDSvc                                    
svchost.exe                   1324 nsi                                         
svchost.exe                   1332 TimeBrokerSvc                               
svchost.exe                   1444 netprofm                                    
svchost.exe                   1516 Schedule                                    
svchost.exe                   1544 CoreMessagingRegistrar                      
svchost.exe                   1588 ProfSvc                                     
svchost.exe                   1616 UmRdpService                                
svchost.exe                   1756 vmicheartbeat                               
svchost.exe                   1780 UserManager                                 
svchost.exe                   1820 vmicshutdown                                
svchost.exe                   1828 vmickvpexchange                             
svchost.exe                   1836 LanmanWorkstation                           
svchost.exe                   1924 vmictimesync                                
svchost.exe                    640 DispBrokerDesktopSvc                        
svchost.exe                   2096 Dnscache                                    
svchost.exe                   2104 SessionEnv                                  
svchost.exe                   2148 EventLog                                    
svchost.exe                   2192 CertPropSvc                                 
svchost.exe                   2332 SysMain                                     
svchost.exe                   2340 EventSystem                                 
svchost.exe                   2356 Themes                                      
svchost.exe                   2508 SENS                                        
svchost.exe                   2532 Dhcp                                        
svchost.exe                   2584 AudioEndpointBuilder                        
svchost.exe                   2608 FontCache                                   
svchost.exe                   2692 Audiosrv                                    
svchost.exe                   2736 WinHttpAutoProxySvc                         
svchost.exe                   2812 TextInputManagementService                  
svchost.exe                   2868 DusmSvc                                     
svchost.exe                   2876 Wcmsvc                                      
svchost.exe                   2976 ShellHWDetection                            
svchost.exe                   2772 BFE, mpssvc                                 
svchost.exe                   3168 DiagTrack                                   
svchost.exe                   3176 DPS                                         
svchost.exe                   3184 iphlpsvc                                    
svchost.exe                   3232 LanmanServer                                
svchost.exe                   3288 StateRepository                   

Stack trace:

   at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing) in /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 225
   at System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime() in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/PfxIterationCountTests.X509Certificate2.cs:line 47
   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

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime [FAIL]",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=758024
Error message validated: [System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime [FAIL]]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/12/2024 2:00:03 PM UTC

Report

Build Definition Test Pull Request
812752 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime #104731
811593 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime #107836
811460 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime #107960
797562 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime #107353
797304 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.PfxIterationCountTests_X509Certificate2.Import_IterationCountLimitExceeded_ThrowsInAllottedTime #107291

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 3 5
@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 29, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 29, 2024
Copy link
Contributor

Tagging subscribers to this area: @roji, @ajcvickers
See info in area-owners.md if you want to be subscribed.

@jakobbotsch jakobbotsch added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab and removed JitStress CLR JIT issues involving JIT internal stress modes arch-arm64 os-windows blocking-clean-ci-optional Blocking optional rolling runs labels Aug 12, 2024
@jakobbotsch
Copy link
Member

Hit in innerloop run in https://dev.azure.com/dnceng-public/public/_build/results?buildId=772593&view=results without JitStress

@SamMonoRT
Copy link
Member

@krwq @vcsjones - any ideas who might be the best owner for this issue?

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

@jeffhandley jeffhandley added this to the Future milestone Sep 17, 2024
@jeffhandley jeffhandley removed the untriaged New issue has not been triaged by the area owner label Sep 17, 2024
@jkotas
Copy link
Member

jkotas commented Sep 19, 2024

This is hit almost once a day.

@jkotas jkotas modified the milestones: Future, 10.0.0 Sep 19, 2024
@vcsjones
Copy link
Member

This is slightly odd. Locally, the remote executor finish its work in < 1 second. Is CI so bogged down that it takes 5 seconds to spin up a process and run this functionality?

Does that only happen in stress runs?

We can extend the timeout to 10 seconds, but it seems like that shouldn't be needed.

@jkotas
Copy link
Member

jkotas commented Sep 19, 2024

Is CI so bogged down that it takes 5 seconds to spin up a process and run this functionality?

It is not unusual for process start to take this long on overloaded CI machines.

One option is to move the tests that are sensitive to timeouts to outer loop.

Does that only happen in stress runs?

It just happened on a regular CI run in my PR (no stress).

@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 Sep 19, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Security blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' in-pr There is an active PR which will close this issue when it is merged Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants