Skip to content

[outerloop] System.Numerics.Tests.ToStringTest.ToString_ValidLargeFormat faling with OutOfMemoryException #104586

Open
@elinor-fung

Description

@elinor-fung
    System.Numerics.Tests.ToStringTest.ToString_ValidLargeFormat [FAIL]
      System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown.
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/String.cs(108,0): at System.String.Ctor(Char[] value, Int32 startIndex, Int32 length)
        /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigNumber.cs(1181,0): at System.Numerics.BigNumber.FormatBigInteger(Boolean targetSpan, BigInteger value, String formatString, ReadOnlySpan`1 formatSpan, NumberFormatInfo info, Span`1 destination, Int32& charsWritten, Boolean& spanSuccess)
        /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigNumber.cs(1001,0): at System.Numerics.BigNumber.FormatBigInteger(BigInteger value, String format, NumberFormatInfo info)
        /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs(1582,0): at System.Numerics.BigInteger.ToString(String format)
        /_/src/libraries/System.Runtime.Numerics/tests/BigInteger/BigIntegerToStringTests.cs(515,0): at System.Numerics.Tests.ToStringTest.ToString_ValidLargeFormat()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/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/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=733224
Build error leg or test failing: System.Numerics.Tests.ToStringTest.ToString_ValidLargeFormat
Pull request: #104501

Error Message

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

{
  "ErrorMessage": ["ToString_ValidLargeFormat [FAIL]", "OutOfMemoryException"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=733224
Error message validated: [ToString_ValidLargeFormat [FAIL] OutOfMemoryException]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/9/2024 4:01:10 AM UTC

Report

Build Definition Test Pull Request
1067461 dotnet/runtime System.Numerics.Tests.ToStringTest.ToString_ValidLargeFormat #116631

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions