#135014·runtime

[ci-scan] Test failure: System.Tests.DoubleTests.Parse_CustomSigns fails for surrogate-pair custom sign

Author: lewingCreated Oct 1, 2026Updated Oct 1, 2026
Labelsblocking-clean-ciarea-InfrastructureuntriagedKnown Build Error

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1618965 Build error leg or test failing: windows-x86 Debug Libraries_CheckedCoreCLR-System.Tests.DoubleTests.Parse_CustomSigns Pull request: https://github.com/dotnet/runtime/pull/134960

Parse_CustomSigns was added on main by #134857 (merged 2026-09-30). It fails in PR builds that don't touch libraries. Before 2026-10-01, Build Analysis wrongly matched these failures to #133999 through an overly broad IsIanaIdTest pattern. That pattern has since been removed, and the failures now show as unmatched. Kusto TestKnownIssues attributes Parse_CustomSigns failures to #133999 in 44 builds across more than 20 PRs, including #134857, #134978, #134960, #134668, #134494, #134875, #134993 and #134991.

The failing row uses a supplementary-plane (surrogate pair) custom positive sign. The log console renders it as ??.

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

System.Tests.DoubleTests.Parse_CustomSigns(value: "??Infinity", positiveSign: "??", negativeSign: "-", expectedSuccess: True, expected: ∞) [FAIL]
  Assert.Equal() Failure: Values differ
  Expected: True
  Actual:   False
  Stack Trace:
    /_/src/libraries/System.Runtime/tests/System.Runtime.Tests/System/DoubleTests.cs(1446,0): at System.Tests.DoubleTests.Parse_CustomSigns(String value, String positiveSign, String negativeSign, Boolean expectedSuccess, Double expected)
       at InvokeStub_DoubleTests.Parse_CustomSigns(Object, Span`1)

The theory row is value: "\U00010400Infinity" (Infinity) with positiveSign: "\U00010428" (). double.TryParse returns false where the test expects true.

Configuration: net11.0-windows-Debug-x86-coreclr_checked-Windows.10.Amd64.Open, Helix job e45775cb-103a-475f-9f07-250ab1a48c98, work item System.Runtime.Tests.

Error Message

json
{
  "ErrorMessage": ["System.Tests.DoubleTests.Parse_CustomSigns(value: ", "Assert.Equal() Failure: Values differ", "Expected: True", "Actual:   False"],
  "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 drafted with GitHub Copilot assistance.

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1618965 Error message validated: [System.Tests.DoubleTests.Parse_CustomSigns(value: Assert.Equal() Failure: Values differ Expected: True Actual: False] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 10/1/2026 12:40:48 PM UTC

Report

Build Repository Test Pull Request
1618965 dotnet/runtime System.Tests.DoubleTests.Parse_CustomSigns dotnet/runtime#134960
1619513 dotnet/runtime System.Tests.DoubleTests.Parse_CustomSigns dotnet/runtime#134869
1619482 dotnet/runtime System.Tests.DoubleTests.Parse_CustomSigns dotnet/runtime#132788
1619421 dotnet/runtime System.Tests.DoubleTests.Parse_CustomSigns dotnet/runtime#129806

Summary

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