runtime icon indicating copy to clipboard operation
runtime copied to clipboard

`System.Numerics.Tensors.Tests.TensorSpanTests.TensorExtensionsTwoSpanInFloatOut` fails with `IndexOutOfRangeException`

Open jakobbotsch opened this issue 1 year ago • 8 comments

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=795134&view=ms.vss-test-web.build-test-results-tab&runId=20468106&resultId=187477&paneView=debug Build error leg or test failing: System.Numerics.Tensors.Tests.TensorSpanTests.TensorExtensionsTwoSpanInFloatOut

Error Message

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

{
  "ErrorPattern": "System.Numerics.Tensors.Tests.TensorSpanTests.TensorExtensionsTwoSpanInFloatOut.*FAIL",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=795134 Error message validated: [System.Numerics.Tensors.Tests.TensorSpanTests.TensorExtensionsTwoSpanInFloatOut.*FAIL] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 9/2/2024 11:26:56 AM UTC

Report

Summary

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

jakobbotsch avatar Sep 02 '24 11:09 jakobbotsch

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

Failed in: runtime-coreclr libraries-jitstress 20240904.1

Failed tests:

net9.0-windows-Release-x64-jitminopts-Windows.10.Amd64.Open
    - System.Numerics.Tensors.Tests.TensorSpanTests.TensorExtensionsTwoSpanInFloatOut<Single>(tensorPrimitivesOperation: TensorPrimitivesTwoSpanInTOut`1 { Method = Single Distance(System.ReadOnlySpan`1[System.Single], System.ReadOnlySpan`1[System.Single]), Target = null }, tensorOperation: TensorTwoSpanInTOut`1 { Method = Single Distance[Single](System.Numerics.Tensors.ReadOnlyTensorSpan`1[System.Single] ByRef, System.Numerics.Tensors.ReadOnlyTensorSpan`1[System.Single] ByRef), Target = null })

Error message:

 Assert.All() Failure: 1 out of 12 items in the collection did not pass.
[11]: Item:  [1, 2, 3, 4, 5, ···]
      Error: Index was outside the bounds of the array.

Stack trace:

   at System.Numerics.Tensors.Tests.TensorSpanTests.TensorExtensionsTwoSpanInFloatOut[T](TensorPrimitivesTwoSpanInTOut`1 tensorPrimitivesOperation, TensorTwoSpanInTOut`1 tensorOperation) in /_/src/libraries/System.Numerics.Tensors/tests/TensorSpanTests.cs:line 499
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 174

v-wenyuxu avatar Sep 05 '24 02:09 v-wenyuxu

@dotnet/area-system-numerics-tensors PTAL -- this is failing widely.

BruceForstall avatar Sep 05 '24 03:09 BruceForstall

Failed in: runtime-coreclr libraries-jitstress-random 20240907.1

Failed tests:

net9.0-windows-Release-arm64-jitstress_random_1-Windows.11.Arm64.Open
    - System.Numerics.Tensors.Tests.TensorSpanTests.TensorExtensionsTwoSpanInFloatOut<Single>(tensorPrimitivesOperation: TensorPrimitivesTwoSpanInTOut`1 { Method = Single Distance(System.ReadOnlySpan`1[System.Single], System.ReadOnlySpan`1[System.Single]), Target = null }, tensorOperation: TensorTwoSpanInTOut`1 { Method = Single Distance[Single](System.Numerics.Tensors.ReadOnlyTensorSpan`1[System.Single] ByRef, System.Numerics.Tensors.ReadOnlyTensorSpan`1[System.Single] ByRef), Target = null })

Error message:

 Assert.All() Failure: 1 out of 12 items in the collection did not pass.
[11]: Item:  [1, 2, 3, 4, 5, ···]
      Error: Index was outside the bounds of the array.

Stack trace:

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 174

v-wenyuxu avatar Sep 09 '24 05:09 v-wenyuxu

@jeffhandley, this is blocking JIT pipelines. Please disable the test if it will not be fixed soon. We want to make sure that our pipelines are green before RC2 snap. You can enable it after that. CC @tannergooding.

JulieLeeMSFT avatar Sep 09 '24 05:09 JulieLeeMSFT

fyi: affecting Mono CI as well https://github.com/dotnet/runtime/issues/107244

matouskozak avatar Sep 09 '24 08:09 matouskozak

Test has been disabled. Going to leave the issue open to track a proper fix.

tannergooding avatar Sep 09 '24 18:09 tannergooding

@tannergooding Is it really disabled? I just saw a failure in

https://dev.azure.com/dnceng-public/public/_build/results?buildId=805211&view=ms.vss-test-web.build-test-results-tab&runId=20809392&resultId=173889&paneView=debug

Maybe that's a slight variant of the test that's still enabled?

BruceForstall avatar Sep 11 '24 22:09 BruceForstall

removing blocking-clean-ci as this issue has not been hit in 30 days

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

jeffschwMSFT avatar Jan 22 '25 18:01 jeffschwMSFT

No recent reports and much of the internal implementation has been changed since this was logged. Closing.

jeffhandley avatar Jul 20 '25 22:07 jeffhandley