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
1178966 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1178708 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1178578 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1178508 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1177930 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120516
1177920 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1178317 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1177840 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1177651 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1177586 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120831
1177585 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator #120832
1177516 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120819
1177500 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1177428 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120761
1177422 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1177409 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1177269 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120516
1177230 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1177191 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1177000 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120778
1176940 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120516
1176926 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1176808 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120808
1176551 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1176445 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120763
1176433 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1176122 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120781
1176020 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120778
1176010 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120763
1175701 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1175585 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120763
1175534 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120761
1175800 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1175522 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120759
2816844 dotnet-runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #54001
1174457 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime #120516
1174448 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1175385 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1174981 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1174833 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1174438 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1174378 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1174286 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120718
1173891 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1173671 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1173668 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1173307 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1173097 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1172576 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1172514 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException #120374
1172449 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1172427 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1172107 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1171713 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1171424 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1171049 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1170952 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1170846 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1170679 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1170667 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1170406 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsIndexOutOfRangeException
1170378 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1170109 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1169718 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1169618 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1169447 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1169105 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1168753 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime
1168556 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1168232 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509ChainElementCollection_IndexerVsEnumerator
1167858 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.ChainTests.VerifyExpiration_LocalTime

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
7 55 71

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