Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] System.Text.Json.Tests AOT failing with v8, and chrome #86164

Open
radical opened this issue May 12, 2023 · 6 comments
Open

[wasm] System.Text.Json.Tests AOT failing with v8, and chrome #86164

radical opened this issue May 12, 2023 · 6 comments
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono disabled-test The test is disabled in source code against the issue test-failure
Milestone

Comments

@radical
Copy link
Member

radical commented May 12, 2023

Rolling build failing.

For v8 11.3.203:

[09:57:54] info: [STRT] System.Text.Json.Serialization.Tests.ConstructorTests_SyncStream.NonPublicCtors_NotSupported
[09:58:08] info: /home/helixbot/.jsvu/bin/v8: line 2:    69 Killed                  "/home/helixbot/.jsvu/engines/v8/v8" --snapshot_blob="/home/helixbot/.jsvu/engines/v8/snapshot_blob.bin" "$@"
[09:58:08] info: Process v8 exited with 137
                 
[09:58:08] info: Waiting to flush log messages with a timeout of 120 secs ..
[09:58:09] fail: Application has finished with exit code 137 but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)

For chrome which shows a timeout. And from wasm-console.log:

...
[2023-05-12T10:01:20.947Z] [STRT] System.Text.Json.Tests.Utf8JsonReaderTests.TestDepthWithObjectArrayMismatch(depth: 512)
Unable to evaluate script: disconnected: received Inspector.detached event

Known Issue Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "",
  "BuildRetry": false
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@radical radical added arch-wasm WebAssembly architecture area-System.Text.Json blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-Codegen-AOT-mono labels May 12, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 12, 2023
@ghost
Copy link

ghost commented May 12, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Rolling build failing.

For v8 11.3.203:

[09:57:54] info: [STRT] System.Text.Json.Serialization.Tests.ConstructorTests_SyncStream.NonPublicCtors_NotSupported
[09:58:08] info: /home/helixbot/.jsvu/bin/v8: line 2:    69 Killed                  "/home/helixbot/.jsvu/engines/v8/v8" --snapshot_blob="/home/helixbot/.jsvu/engines/v8/snapshot_blob.bin" "$@"
[09:58:08] info: Process v8 exited with 137
                 
[09:58:08] info: Waiting to flush log messages with a timeout of 120 secs ..
[09:58:09] fail: Application has finished with exit code 137 but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)

For chrome which shows a timeout. And from wasm-console.log:

...
[2023-05-12T10:01:20.947Z] [STRT] System.Text.Json.Tests.Utf8JsonReaderTests.TestDepthWithObjectArrayMismatch(depth: 512)
Unable to evaluate script: disconnected: received Inspector.detached event
Author: radical
Assignees: -
Labels:

arch-wasm, area-System.Text.Json, blocking-clean-ci, area-Codegen-AOT-mono

Milestone: -

@radical radical added this to the 8.0.0 milestone May 12, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label May 12, 2023
@lewing
Copy link
Member

lewing commented May 12, 2023

@pavelsavara please take a look

@vargaz
Copy link
Contributor

vargaz commented May 12, 2023

Is this reproducible ?

@lewing
Copy link
Member

lewing commented May 12, 2023

it appears to be across multiple runtime-extra-platform runs last test is ConstructorTests_SyncStream.NonPublicCtors_NotSupported in all the ones I've looked at

@pavelsavara
Copy link
Member

Chrome log shows charmap problem again, after running too long.
ERROR executor(733) _execute_command_in_container Exception: 'charmap' codec can't encode characters in position 339794-339795: character maps to <undefined>

V8 is just slow, no ?

@radical
Copy link
Member Author

radical commented May 25, 2023

Rolling build, and log:

[22:06:45] info: [STRT] System.Text.Json.Serialization.Tests.StreamTests_DeserializeAsyncEnumerable.DeserializeAsyncEnumerable_ReadSimpleObjectAsync(count: 1000, bufferSize: 1000)
[22:06:56] info: 
[22:06:56] info: <--- Last few GCs --->
[22:06:56] info: 
[22:06:56] info: [70:0x560a9068c280]    63266 ms: Mark-Compact (reduce) 2048.2 (2071.2) -> 2048.2 (2071.2) MB, 667.36 / 0.00 ms  (average mu = 0.728, current mu = 0.001) allocation failure; scavenge might not succeed
[22:06:56] info: 
[22:06:56] info: 
[22:06:56] info: <--- JS stacktrace --->
[22:06:56] info: 
[22:06:56] info: 
[22:06:56] info: #
[22:06:56] info: # Fatal JavaScript out of memory: Reached heap limit
[22:06:56] info: #
[22:06:56] info: 
[22:07:23] info: /home/helixbot/.jsvu/bin/v8: line 2:    70 Trace/breakpoint trap   (core dumped) "/home/helixbot/.jsvu/engines/v8/v8" --snapshot_blob="/home/helixbot/.jsvu/engines/v8/snapshot_blob.bin" "$@"
[22:07:23] info: Process v8 exited with 133

radical added a commit to radical/runtime that referenced this issue Jun 2, 2023
V8, and chrome crash currently when running the tests.

Issue: dotnet#86164
radical added a commit that referenced this issue Jun 3, 2023
V8, and chrome crash currently when running the tests.

Issue: #86164
@radical radical added disabled-test The test is disabled in source code against the issue and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels Jun 3, 2023
radical added a commit to radical/runtime that referenced this issue Jun 6, 2023
- this was disabled earlier from highresource_aot builds, but that had a
  side-effect of enabling them for regular aot builds.

Issue: dotnet#86164
radical added a commit that referenced this issue Jun 7, 2023
- this was disabled earlier from highresource_aot builds, but that had a
  side-effect of enabling them for regular aot builds.

Issue: #86164
@lewing lewing modified the milestones: 8.0.0, 9.0.0 Jul 24, 2023
@lewing lewing modified the milestones: 9.0.0, Future Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono disabled-test The test is disabled in source code against the issue test-failure
Projects
None yet
Development

No branches or pull requests

5 participants