dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.65k stars 4.57k forks source link

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

Open elinor-fung opened 2 weeks ago

elinor-fung commented 2 weeks ago
    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: https://github.com/dotnet/runtime/pull/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: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=733224 Error message validated: [ToString_ValidLargeFormat [FAIL] OutOfMemoryException] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 7/9/2024 4:01:10 AM UTC

Report

Build Definition Test Pull Request
739962 dotnet/runtime System.Numerics.Tests.ToStringTest.ToString_ValidLargeFormat dotnet/runtime#104837
733224 dotnet/runtime System.Numerics.Tests.ToStringTest.ToString_ValidLargeFormat dotnet/runtime#104501

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 2
dotnet-policy-service[bot] commented 2 weeks ago

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