Repository navigation
[ci-scan] Test failure: TensorPrimitives.SpanDestinationFunctions_ValueRange (Tan) on iossimulator #129045
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1449088
Build error leg or test failing: iossimulator-arm64 Release AllSubsets_CoreCLR - System.Numerics.Tensors.Tests
Error Details
SingleGenericTensorPrimitives.SpanDestinationFunctions_ValueRange and DoubleGenericTensorPrimitives.SpanDestinationFunctions_ValueRange fail on iOS simulator (arm64) when testing the Tan function. The vectorized Tan implementation produces values with reduced precision compared to the scalar reference on this platform.
[FAIL] System.Numerics.Tensors.Tests.SingleGenericTensorPrimitives.SpanDestinationFunctions_ValueRange(tensorPrimitivesMethod: SpanDestinationDelegate { Method = Void Tan[Single](System.ReadOnlySpan`1[System.Single], System.Span`1[System.Single]), Target = null }, expectedMethod: Func`2 { Method = Single Tan(Single), Target = null }, tolerance: null)
Assert.All() Failure: 153 out of 201 items in the collection did not pass.
Error: Assert.Equal() Failure: Values differ
Expected: 0.4103213
Actual: 0.4103199
[FAIL] System.Numerics.Tensors.Tests.DoubleGenericTensorPrimitives.SpanDestinationFunctions_ValueRange(tensorPrimitivesMethod: SpanDestinationDelegate { Method = Void Tan[Double](System.ReadOnlySpan`1[System.Double], System.Span`1[System.Double]), Target = null }, expectedMethod: Func`2 { Method = Double Tan(Double), Target = null }, tolerance: null)
Assert.All() Failure: 123 out of 201 items in the collection did not pass.
Error: Assert.Equal() Failure: Values differ
Expected: 0.4103212990482421
Error Message
true only for clear infra flakes. ExcludeConsoleLog skips helix log scanning. -->
{
"ErrorMessage": [
"[FAIL] System.Numerics.Tensors.Tests.SingleGenericTensorPrimitives.SpanDestinationFunctions_ValueRange",
"Void Tan[Single]"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Impact on platforms
- runtime-extra-platforms (def 154) / iossimulator-arm64 Release AllSubsets_CoreCLR / Helix queue: ubuntu.2204.armarch.open.ios / exit code: non-zero (test failure)
First build it occurred
- Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1449088
- Finished: 2026-06-04T09:47:08Z
- Occurrences in window: 2 (builds 1449088 and 1450787)
- Computed within the scanned window; may not be the true origin.
Duplicate search
SpanDestinationFunctions_ValueRange label:"Known Build Error"— 0 resultsTensorPrimitives Tan iossimulator label:"Known Build Error"— 0 resultsSystem.Numerics.Tensors.Tests iossimulator— found closed Mono crashes test runs #73539 (Mono crashes, unrelated)GenericTensorPrimitives SpanDestinationFunctions is:open— 0 resultsTensorPrimitives SpanDestinationFunctions label:"Known Build Error"— found closed Test failure in System.Numerics.Tensors.Tests.SingleGenericTensorPrimitives.SpanDestinationFunctions_SpecialValues #101731 (SpecialValues, different test)
No existing KBE matches this signature.
Filed by ci-failure-scan, which scans dnceng-public outer-loop pipelines on main and converts stable failures into KBEs and test-disable PRs. Comment here or on the workflow file to suggest changes; ci-failure-scan-feedback reads in-scope feedback daily and opens (or updates) a PR with prompt edits.
Note
🔒 Integrity filter blocked 4 items
The following items were blocked because they don't meet the GitHub integrity level.
- #83422
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #86273
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #115508
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #114358
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
To allow these resources, lower min-integrity in your GitHub frontmatter:
tools:
github:
min-integrity: approved # merged | approved | unapproved | noneGenerated by CI Outer-Loop Failure Scanner · ● 72.2M · ◷
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 5 | 24 | 60 |
Activity
dotnet-policy-service commentedon Jun 5, 2026
Tagging subscribers to this area: @dotnet/area-system-numerics-tensors
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Jun 5, 2026
Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
Skip SpanDestinationFunctions_ValueRange on iOS (refs #129045)
Skip SpanDestinationFunctions_ValueRange on iOS (refs #129045)
[ci-fix] Needs review: Fix TensorPrimitives Tan precision tolerance o…
BrzVlad commentedon Jun 29, 2026
Looks like it was fixed by #129652. Letting it open for a few days to make sure.
jkotas commentedon Jun 29, 2026
It is not fixed. #129652 was merged a week ago. The table at the top shows that it failed in the test run last night.
BrzVlad commentedon Jun 29, 2026
@tannergooding thoughts ? Here is failing log helix-console
There are still errors for some small deltas:
tannergooding commentedon Jun 29, 2026
Just looks like continued tolerance differences. The test is using
1e-14when FMA is supported, which puts it on the digit that is differing here.The tensor test tolerance isn't setup as well as the scalar tests are, where it rationalizes the infinitely precise result and an allowed tolerance based on that.
The simple thing is to just bump the allowed tolerance more for the FMA case since there's some cases that are approx 2e-14 off.
Increase vectorized Tan test tolerance (#130469)
[ci-fix] Needs review: Fix TensorPrimitives Tan precision tolerance o…
Increase vectorized Tan test tolerance (#130469)