Skip to content

Assert failure: System.Text.Json.Tests.Utf8JsonWriterTests.HighSurrogateMissingGetsReplaced / WriteStringValueSegment_Utf8_Split8CodePointsBasic #131436

Description

@JulieLeeMSFT

Massive failures in all HighSurrogateMissingGetsReplaced / WriteStringValueSegment_Utf8_Split8CodePointsBasic tests.

Failed in (1):

Console Log: Console Log
Source: runtime-coreclr libraries-pgo / net11.0-linux-Release-arm64-fullpgo_random_gdv_edge-AzureLinux.3.Arm64.Open / System.Text.Json.Tests.Utf8JsonWriterTests.HighSurrogateMissingGetsReplaced

Failed tests:

- net11.0-linux-Release-arm64-fullpgo_random_gdv_edge-AzureLinux.3.Arm64.Open
  - System.Text.Json.Tests.Utf8JsonWriterTests.HighSurrogateMissingGetsReplaced
  - System.Text.Json.Tests.Utf8JsonWriterTests.WriteStringValueSegment_Utf8_Split8CodePointsBasic

Error Message:

  Starting:    System.Text.Json.Tests (parallel test collections = on [2 threads], stop on fail = off)
    System.Text.Json.Tests.Utf8JsonWriterTests.HighSurrogateMissingGetsReplaced(options: System.Text.Json.JsonWriterOptions) [FAIL]
      Assert.Equal() Failure: Strings differ
                                                ↓ (pos 62)
      Expected: ···"udd1e\\udbff\\udfffa": "a\\ud800\\udc00\\ud803\\ude6d\\ud"···
      Actual:   ···"udd1e\\udbff\\udfffa": "a\\u0000\\u0e6d\\ud11e\\uffffa"\n"···
                                                ↑ (pos 62)

Stack Trace:

        /_/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/JsonTestHelper.cs(719,0): at System.Text.Json.JsonTestHelper.AssertContents(String expectedValue, ArrayBufferWriter`1 buffer, Boolean skipSpecialRules)
        /_/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Utf8JsonWriterTests.cs(5112,0): at System.Text.Json.Tests.Utf8JsonWriterTests.HighSurrogateMissingGetsReplaced(JsonWriterOptions options)
           at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
           at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
        /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(37,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions