dotnet / runtime

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

Test failure: System.Numerics.Tensors.Tests.Int16GenericTensorPrimitives.Abs_AllLengths #103261

Open v-wenyuxu opened 2 months ago

v-wenyuxu commented 2 months ago

Failed in: runtime-coreclr libraries-jitstress2-jitstressregs 20240608.1

Failed tests:

net9.0-linux-Release-x64-jitstress2_jitstressregs0x1000-Ubuntu.2204.Amd64.Open
    - System.Numerics.Tensors.Tests.Int16GenericTensorPrimitives.Abs_AllLengths
    - System.Numerics.Tensors.Tests.Int16GenericTensorPrimitives.Abs_InPlace

Error message:

 Assert.All() Failure: 16 out of 257 items in the collection did not pass.
[17]: Item:  17
      Error: Negating the minimum value of a twos complement number is invalid.
[18]: Item:  18
      Error: Negating the minimum value of a twos complement number is invalid.
[19]: Item:  19
      Error: Negating the minimum value of a twos complement number is invalid.
[20]: Item:  20
      Error: Negating the minimum value of a twos complement number is invalid.
[21]: Item:  21
      Error: Negating the minimum value of a twos complement number is invalid.
[22]: Item:  22
      Error: Negating the minimum value of a twos complement number is invalid.
[23]: Item:  23
      Error: Negating the minimum value of a twos complement number is invalid.
[24]: Item:  24
      Error: Negating the minimum value of a twos complement number is invalid.
[25]: Item:  25
      Error: Negating the minimum value of a twos complement number is invalid.
[26]: Item:  26
      Error: Negating the minimum value of a twos complement number is invalid.
[27]: Item:  27
      Error: Negating the minimum value of a twos complement number is invalid.
[28]: Item:  28
      Error: Negating the minimum value of a twos complement number is invalid.
[29]: Item:  29
      Error: Negating the minimum value of a twos complement number is invalid.
[30]: Item:  30
      Error: Negating the minimum value of a twos complement number is invalid.
[31]: Item:  31
      Error: Negating the minimum value of a twos complement number is invalid.
[32]: Item:  32
      Error: Negating the minimum value of a twos complement number is invalid.

Stack trace:

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
dotnet-policy-service[bot] commented 2 months ago

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

v-wenyuxu commented 2 months ago

Failed in: runtime-coreclr libraries-jitstress2-jitstressregs 20240629.1

Failed tests:

net9.0-windows-Release-x86-jitstress2_jitstressregs0x80-Windows.10.Amd64.Open
    - System.Numerics.Tensors.Tests.Int64GenericTensorPrimitives.SumOfMagnitudes_AllLengths

Error message:

 Assert.All() Failure: 19 out of 256 items in the collection did not pass.
[120]: Item:  121
       Error: Negating the minimum value of a twos complement number is invalid.
[121]: Item:  122
       Error: Negating the minimum value of a twos complement number is invalid.
[122]: Item:  123
       Error: Negating the minimum value of a twos complement number is invalid.
[123]: Item:  124
       Error: Negating the minimum value of a twos complement number is invalid.
[125]: Item:  126
       Error: Negating the minimum value of a twos complement number is invalid.
[126]: Item:  127
       Error: Negating the minimum value of a twos complement number is invalid.
[184]: Item:  185
       Error: Negating the minimum value of a twos complement number is invalid.
[186]: Item:  187
       Error: Negating the minimum value of a twos complement number is invalid.
[187]: Item:  188
       Error: Negating the minimum value of a twos complement number is invalid.
[188]: Item:  189
       Error: Negating the minimum value of a twos complement number is invalid.
[189]: Item:  190
       Error: Negating the minimum value of a twos complement number is invalid.
[190]: Item:  191
       Error: Negating the minimum value of a twos complement number is invalid.
[248]: Item:  249
       Error: Negating the minimum value of a twos complement number is invalid.
[249]: Item:  250
       Error: Negating the minimum value of a twos complement number is invalid.
[250]: Item:  251
       Error: Negating the minimum value of a twos complement number is invalid.
[251]: Item:  252
       Error: Negating the minimum value of a twos complement number is invalid.
[252]: Item:  253
       Error: Negating the minimum value of a twos complement number is invalid.
[253]: Item:  254
       Error: Negating the minimum value of a twos complement number is invalid.
[254]: Item:  255
       Error: Negating the minimum value of a twos complement number is invalid.

Stack trace:

   at System.Numerics.Tensors.Tests.TensorPrimitivesTests`1.SumOfMagnitudes_AllLengths() in /_/src/libraries/System.Numerics.Tensors/tests/TensorPrimitivesTests.cs:line 3170
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57