System.Numerics.Tensors.Tests.TensorTests.TensorExtensionsSpanInSpanOut<Single>(tensorPrimitivesOperation: PerformCalculationSpanInSpanOut`1 { Method = Single Exp10M1(Single), Target = null }, tensorOperation: PerformSpanInSpanOut`1 { Method = System.Numerics.Tensors.Tensor`1[System.Single] Exp10M1[Single](System.Numerics.Tensors.ReadOnlyTensorSpan`1[System.Single] ByRef), Target = null }, tolerance: 9.99999975E-06) [FAIL]
Assert.All() Failure: 1 out of 12 items in the collection did not pass.
[10]: Item: [4, 4, 4, 4, 4]
Error: Assert.Equal() Failure: Values differ
Expected: 3.40280805E+38
Actual: +∞
Stack Trace:
/_/src/libraries/System.Numerics.Tensors/tests/TensorTests.cs(102,0): at System.Numerics.Tensors.Tests.TensorTests.TensorExtensionsSpanInSpanOut[Single](PerformCalculationSpanInSpanOut`1 tensorPrimitivesOperation, PerformSpanInSpanOut`1 tensorOperation, Nullable`1 tolerance)
at System.Object.InvokeStub_TensorTests.TensorExtensionsSpanInSpanOut(Object, Span`1)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
{
"ErrorMessage": [
"Method = Single Exp10M1(Single), Target = null }, tensorOperation: PerformSpanInSpanOut`1",
"Actual: +∞"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1619756
Build error leg or test failing: net11.0-linux-Debug-arm64-Mono_Minijit_Debug-(AzureLinux.3.0.ArmArch.Open)-System.Numerics.Tensors.Tests.TensorTests.TensorExtensionsSpanInSpanOut
Pull request: #134959
KBE authoring guidance (ci-failure-scan)
Error Detailsis for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.Error Message.ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.Error Details
Analysis:
FillTensor<T>fills the inputs withRandom.Shared.NextSingle() * 100 - 50. When an input lands just below log10(float.MaxValue) ≈ 38.53, scalarfloat.Exp10M1returns a finite value close tofloat.MaxValue, butTensor.Exp10M1overflows to+∞. A tolerance doesn't help when one side is infinite.Tensorelementwise operations throughTensorPrimitivesand added the tolerance for this case. The failing build's merge commit includes that change, soTensor.Exp10M1probably now uses the vectorizedTensorPrimitivespath, which overflows slightly earlier than the scalar implementation.pal_io.c.Error Message
{ "ErrorMessage": [ "Method = Single Exp10M1(Single), Target = null }, tensorOperation: PerformSpanInSpanOut`1", "Actual: +∞" ], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
Note
This issue was created with the help of GitHub Copilot.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1619756
Error message validated:
[Method = Single Exp10M1(Single), Target = null }, tensorOperation: PerformSpanInSpanOut1 Actual: +∞`]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/1/2026 9:16:58 PM UTC
Report
Summary