Skip to content

System.Security.Cryptography.X509Certificates.Tests fails on Linux #120527

@kotlarmilos

Description

@kotlarmilos

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1167858&view=logs&j=803b4c9b-c8dc-5f8e-c2da-4890c86ff82f&t=b981e634-422d-532f-0103-2cf28078ad75
Build error leg or test failing: X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException

Error Message

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

{
  "ErrorMessage": "Chain built validly",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException [FAIL]
Precondition: Chain built validly
Stack Trace:
  /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/CollectionTests.cs(909,0): at System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException()
     at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
     at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
  /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
  /_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(126,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator [FAIL]
Precondition: Chain built validly
Stack Trace:
  /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/CollectionTests.cs(1324,0): at System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator()
     at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
     at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
  /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
  /_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(126,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1167858
Error message validated: [Chain built validly]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/8/2025 8:19:48 AM UTC

Report

Build Definition Test Pull Request
1198136 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121473
1198078 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1198071 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1198047 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121471
1198010 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #119432
1197968 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120716
1197957 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120987
1197943 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1197936 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1197893 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120987
1197888 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121468
1197830 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121464
1197802 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1197791 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1197686 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #120987
1197501 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #119432
1197477 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1197399 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121316
1197086 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #118957
1197408 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1197388 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121412
1197382 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121318
1197381 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1197375 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1197337 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121083
1197280 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121449
1197255 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121111
1197236 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121411
1197205 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #112876
1197190 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121450
1197157 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121363
1196841 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1196709 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #119432
1196959 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #115335
1197033 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #119255
1196824 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1196849 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1196858 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121409
1196852 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1195680 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121405
1196812 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1195995 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121202
1196785 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121363
1196748 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121434
1196737 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120987
1196706 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121359
1196688 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121316
1196629 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121430
1196616 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121429
1196654 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121373
1196612 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121334
1196583 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121365
1196408 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120704
1196549 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120823
1196546 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121186
1196504 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121409
1196291 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121398
1196384 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121426
1196343 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121373
1196010 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121278
1196071 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121411
1196263 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121419
1196242 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #119432
1196251 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1196168 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1196079 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121363
1196058 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121395
1196037 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121186
1196004 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121412
1195999 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121366
1195937 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121217
1194698 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121382
1195856 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121083
1195845 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121409
1195787 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121305
1195230 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121308
1195768 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120949
1195757 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121407
1195709 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120634
1195693 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121406
1195688 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120330
1195663 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121341
1195655 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121398
1195518 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1195647 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #116524
1195607 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1195550 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120330
1195537 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #119575
1195504 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121373
1195496 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1194718 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120704
1195440 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #120634
1195372 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1195331 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121365
1195327 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121334
1195288 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121186
1195261 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121363
1195153 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1195068 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121364
1195030 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
Displaying 100 of 285 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
9 176 285

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Securitytest-bugProblem in test source code (most likely)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions