Skip to content

[wasm] Regression in System.Text.Json tests with AOT #80179

Description

@radical

Rolling build:

[10:10:47] fail: [FAIL] System.Text.Json.Tests.JsonDocumentTests.ParseJson_UnseekableStream(compactData: True, type: ProjectLockJson, jsonString: "{  \"locked\": false,  \"version\": 1,  \"targets\"...)
[10:10:47] info: System.ObjectDisposedException : Cannot access a disposed object.
[10:10:47] info: Object name: 'JsonDocument'.
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonElement element, Int32 sizeHint)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonDocument document, Int32 sizeHint)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.ParseJsonAsync(Boolean compactData, TestCaseType type, String jsonString, Func`2 stringDocBuilder, Func`2 bytesDocBuilder)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonElement element, Int32 sizeHint)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonDocument document, Int32 sizeHint)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.ParseJson_UnseekableStream(Boolean compactData, TestCaseType type, String jsonString)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonElement element, Int32 sizeHint)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonDocument document, Int32 sizeHint)
[10:10:47] info: --- End of stack trace from previous location ---
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonElement element, Int32 sizeHint)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonDocument document, Int32 sizeHint)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.DepthFirstAppend(StringBuilder buf, JsonElement element)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonElement element, Int32 sizeHint)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.PrintJson(JsonDocument document, Int32 sizeHint)
[10:10:47] fail: [FAIL] System.Text.Json.Tests.JsonDocumentTests.ParseJson_UnseekableStream(compactData: True, type: Json40KB, jsonString: "[\n  {\n    \"_id\": \"5671eb0737b18866984067ac\","...)
[10:10:47] info: Assert.Equal() Failure
[10:10:47] info:           ↓ (pos 0)
[10:10:47] info: Expected: _id, 5671eb0737b18866984067ac, index, 0, ···
[10:10:47] info: Actual:
[10:10:47] info:           ↑ (pos 0)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.ParseJsonAsync(Boolean compactData, TestCaseType type, String jsonString, Func`2 stringDocBuilder, Func`2 bytesDocBuilder)
[10:10:47] info:    at System.Text.Json.Tests.JsonDocumentTests.ParseJson_UnseekableStream(Boolean compactData, TestCaseType type, String jsonString)
[10:10:47] info: --- End of stack trace from previous location ---

These failures appeared with the rolling build 20221218.2, and log.

The only commit between this, and the previous rolling build - 20221218.1 was 200a90a (#79215).
cc @BrzVlad @vargaz

Report

Summary

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions