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
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
1194995 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121395
1194922 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121392
1194932 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1194894 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1194874 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1194718 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #120704
1194649 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1194848 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1194827 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1194831 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1194726 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121083
1194714 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121383
1194698 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121382
1194738 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1194684 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121019
1194658 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121308
1194646 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1194614 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120562
1194599 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121202
1194576 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121341
1194561 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121295
1194400 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1194551 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #119575
1194503 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121117
1194369 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121305
1194438 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121373
1194414 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121019
1194376 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121295
1194340 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1194116 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121366
1194154 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1194077 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1194055 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1194125 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121334
1194093 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121365
1194034 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121364
1194058 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1193986 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121363
1193900 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121180
1193871 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120306
1193825 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121341
1193836 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121308
1193809 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121217
1193692 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121354
1193442 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain #121348
1193701 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1193446 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121349
1193597 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1193437 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain #121347
1193386 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1193553 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121058
1193401 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120516
1193368 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain #120808
1193479 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121083
1193372 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121119
1193332 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121180
1193303 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121335
1193297 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #119996
1193284 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121305
1193258 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121111
1191566 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain #120893
1186556 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120900
1193263 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1193158 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121117
1193146 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #121338
1192897 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1192883 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1192778 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1192351 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1192190 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1192109 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121307
1192036 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121292
1191828 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121292
1191691 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1191383 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChain
1191196 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1191034 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1190913 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1190604 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1190131 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1189979 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1189706 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1189164 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1188793 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1188690 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1188613 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #121150
1188211 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1187901 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #121150
1187848 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120832
1187833 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1187787 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1187347 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1186946 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120516
1186931 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildChainCustomTrustStore #121126
1186937 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1186891 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
Displaying 100 of 199 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
35 87 199

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.SecurityuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions