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

System.Runtime.Serialization.Xml.Tests failed #59926

Closed
pavelsavara opened this issue Oct 4, 2021 · 11 comments
Closed

System.Runtime.Serialization.Xml.Tests failed #59926

pavelsavara opened this issue Oct 4, 2021 · 11 comments
Assignees
Labels
area-Codegen-AOT-mono disabled-test The test is disabled in source code against the issue wasm-aot-test WebAssembly AOT Test
Milestone

Comments

@pavelsavara
Copy link
Member

pavelsavara commented Oct 4, 2021

Runfo Tracking Issue: system.runtime.serialization.xml.tests work item

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1747712 runtime PR 68772 net7.0-Linux-Debug-x64-Mono_release-(Debian.10.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-10-helix-amd64-20210304164434-56c6673 console.log runclient.py
1745273 runtime PR 68706 net7.0-OSX-Debug-x64-CoreCLR_release-OSX.1200.Amd64.Open console.log runclient.py
1745273 runtime PR 68706 net7.0-OSX-Debug-x64-Mono_release-OSX.1200.Amd64.Open console.log runclient.py
1745273 runtime PR 68706 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py
1745178 runtime PR 68719 net7.0-Linux-Debug-x64-Mono_release-Ubuntu.1804.Amd64.Open console.log runclient.py
1744568 runtime PR 68717 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py
1744568 runtime PR 68717 net7.0-Linux-Debug-x64-CoreCLR_checked-Ubuntu.1804.Amd64.Open console.log core dump runclient.py
1744568 runtime PR 68717 net7.0-Linux-Debug-arm-CoreCLR_checked-(Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump runclient.py
1744568 runtime PR 68717 net7.0-Linux-Debug-arm-CoreCLR_checked-(Alpine.314.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-arm32v7-20210910135806-8a6f4f3 console.log core dump runclient.py
1744568 runtime PR 68717 net7.0-Linux-Debug-arm64-CoreCLR_checked-(Alpine.314.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-arm64v8-20210910135810-8a6f4f3 console.log core dump runclient.py
1744568 runtime PR 68717 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1744568 runtime PR 68717 net7.0-windows-Debug-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1744568 runtime PR 68717 net7.0-Linux-Debug-x64-CoreCLR_checked-(Alpine.314.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19 console.log core dump runclient.py
1744088 runtime PR 68432 net7.0-Linux-Debug-x64-CoreCLR_checked-Ubuntu.1804.Amd64.Open console.log runclient.py
1744053 runtime PR 66304 net7.0-Linux-Debug-x64-Mono_release-(Debian.10.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-10-helix-amd64-20210304164434-56c6673 console.log runclient.py
1742504 runtime PR 68668 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1742306 runtime PR 68652 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1742290 runtime PR 68655 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1742133 runtime PR 68649 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1742108 runtime PR 68332 net6.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1742069 runtime PR 68603 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1741837 runtime PR 68635 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1741622 runtime PR 68615 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1741399 runtime PR 67998 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1741110 runtime PR 68547 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1740254 runtime PR 68061 net7.0-Linux-Debug-x64-CoreCLR_checked-Ubuntu.1804.Amd64.Open console.log runclient.py
1730292 runtime PR 67389 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py
1725736 runtime PR 67389 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py
1722299 runtime PR 68119 net7.0-Linux-Debug-x64-CoreCLR_checked-(Alpine.314.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19 console.log core dump runclient.py
1721275 runtime PR 68100 net7.0-Linux-Debug-arm-CoreCLR_checked-(Alpine.314.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-arm32v7-20210910135806-8a6f4f3 console.log core dump runclient.py
1721275 runtime PR 68100 net7.0-Linux-Debug-arm-CoreCLR_checked-(Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump runclient.py
1718512 runtime PR 67238 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py
1718512 runtime PR 67238 net7.0-Linux-Debug-arm64-CoreCLR_checked-(Alpine.314.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-arm64v8-20210910135810-8a6f4f3 console.log core dump runclient.py
1718512 runtime PR 67238 net7.0-Linux-Debug-x64-CoreCLR_checked-Ubuntu.1804.Amd64.Open console.log core dump runclient.py
1718512 runtime PR 67238 net7.0-Linux-Debug-x64-CoreCLR_checked-(Alpine.314.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19 console.log core dump runclient.py
1718512 runtime PR 67238 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1718512 runtime PR 67238 net7.0-windows-Debug-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1716215 runtime PR 67917 net7.0-OSX-Debug-x64-Mono_release-OSX.1200.Amd64.Open console.log runclient.py
1716215 runtime PR 67917 net7.0-Linux-Debug-arm64-Mono_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673 console.log runclient.py
1713804 runtime PR 67917 net7.0-OSX-Debug-x64-Mono_release-OSX.1200.Amd64.Open console.log runclient.py
1713804 runtime PR 67917 net7.0-Linux-Debug-x64-Mono_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af console.log runclient.py
1713804 runtime PR 67917 net7.0-Linux-Debug-x64-Mono_release-RedHat.7.Amd64.Open console.log runclient.py
1713804 runtime PR 67917 net7.0-Linux-Debug-x64-Mono_release-(Debian.10.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-10-helix-amd64-20210304164434-56c6673 console.log runclient.py
1713804 runtime PR 67917 net7.0-Linux-Debug-x64-Mono_release-Ubuntu.1804.Amd64.Open console.log runclient.py
1713804 runtime PR 67917 net7.0-Linux-Debug-arm64-Mono_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673 console.log runclient.py
1709072 runtime PR 66877 net7.0-Browser-Release-wasm-Mono_Release-normal-Ubuntu.1804.Amd64.Open console.log test results runclient.py
1709042 runtime PR 61776 net7.0-Linux-Debug-x64-Mono_release-(Debian.10.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-10-helix-amd64-20210304164434-56c6673 console.log runclient.py
1709021 runtime PR 67384 net7.0-Linux-Debug-x64-CoreCLR_checked-Ubuntu.1804.Amd64.Open console.log runclient.py
1707087 runtime PR 67389 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py
1704970 runtime PR 67389 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py
1704667 runtime PR 67389 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
1 17 30
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture wasm-aot-test WebAssembly AOT Test labels Oct 4, 2021
@pavelsavara pavelsavara added this to the 7.0.0 milestone Oct 4, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Codegen-AOT-mono untriaged New issue has not been triaged by the area owner labels Oct 4, 2021
@ghost
Copy link

ghost commented Oct 4, 2021

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

Issue Details

https://dev.azure.com/dnceng/public/_build/results?buildId=1397686&view=ms.vss-test-web.build-test-results-tab&runId=40615278&resultId=164172&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

13:05:56] fail: console.error: RangeError: Maximum call stack size exceeded
[13:05:56] fail: console.error: RangeError: Maximum call stack size exceeded
[13:05:56] fail:     at RangeError.valueOf (<anonymous>)
[13:05:56] fail:     at invoke_vi (dotnet.js:7934:16)
[13:05:56] fail:     at mono_llvm_cpp_catch_exception (<anonymous>:wasm-function[116059]:0x1600f99)
[13:05:56] fail:     at do_jit_call (<anonymous>:wasm-function[98812]:0x140c914)

...

[13:05:56] fail:     at interp_exec_method (<anonymous>:wasm-function[98748]:0x13ffb05)
[13:05:56] fail:     at interp_entry (<anonymous>:wasm-function[98794]:0x140bec5)
[13:05:56] fail:     at interp_entry_static_4 (<anonymous>:wasm-function[98891]:0x140e3c7)
[13:05:56] fail:     at corlib_aot_wrapper_gsharedvt_in_sig_void_objobjobjobj (<anonymous>:wasm-function[48062]:0xa03747)
[13:05:56] fail:     at System_Private_DataContractSerialization_wrapper_delegate_invoke__Module_invoke_void_XmlWriterDelegator_object_XmlObjectSerializerWriteContext_ClassDataContract_System_Runtime_Serialization_XmlWriterDelegator_object_System_Runtime_Serialization_XmlObjectSerializerWriteContext_System_Runtime_Serialization_ClassDataContract (<anonymous>:wasm-function[55265]:0xb70608)
[13:05:56] info: Process v8 exited with 1
Author: pavelsavara
Assignees: -
Labels:

arch-wasm, wasm-aot-test

Milestone: 7.0.0

@pavelsavara pavelsavara changed the title [wasm][aot] Maximum call stack size exceeded [wasm][aot] System.Runtime.Serialization.Xml.Tests - Maximum call stack size exceeded Oct 4, 2021
@SamMonoRT SamMonoRT removed the untriaged New issue has not been triaged by the area owner label Oct 4, 2021
@krwq krwq added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Oct 5, 2021
@krwq
Copy link
Member

krwq commented Oct 6, 2021

@SamMonoRT is it possible to do something so this doesn't happen in the PRs? i.e. if it's affecting some single test cases could they be disabled? this is currently showing quite frequently on PRs

@SamMonoRT
Copy link
Member

@radekdoulik @vargaz @radical - seems like this is showing up only recently. Can you take a look and see if it makes sense to either fix the issue or disable the test so CI is green again ?

@krwq
Copy link
Member

krwq commented Oct 11, 2021

@radical ping, this has affected 28 builds in the last week, can you please investigate to see if possible to disable?

@radical
Copy link
Member

radical commented Oct 11, 2021

I have disabled the tests in #60258 . And I'm investigating the issue.

@radical
Copy link
Member

radical commented Oct 12, 2021

I couldn't reproduce this on macOS, but I can on ubuntu20.04 . The trace suggests that it is in an exception throw/catch loop.

Useful for testing:
WasmXHarnessArgs="-v:trace" WasmXHarnessMonoArgs="--runtime-arg=--trace=E"

@krwq
Copy link
Member

krwq commented Oct 21, 2021

@radical I think you might need to extend the exclusion a bit, we're still getting some hits of this (see runfo stats in the issue)

@radical
Copy link
Member

radical commented Oct 21, 2021

hm only some of these are actually wasm builds. Others seem to be failing due to various infra issues. If this is being used as the general tracking issues by the bot, then maybe we should move the wasm specific part to a separate issue.

@radical radical changed the title [wasm][aot] System.Runtime.Serialization.Xml.Tests - Maximum call stack size exceeded System.Runtime.Serialization.Xml.Tests failed Nov 1, 2021
@radical radical removed arch-wasm WebAssembly architecture wasm-aot-test WebAssembly AOT Test labels Nov 1, 2021
@radical radical removed their assignment Nov 1, 2021
@radical
Copy link
Member

radical commented Nov 1, 2021

hm only some of these are actually wasm builds. Others seem to be failing due to various infra issues. If this is being used as the general tracking issues by the bot, then maybe we should move the wasm specific part to a separate issue.

Opened a new issue for the wasm specific bit - #61061

@jakobbotsch
Copy link
Member

The failures that runfo are listing here look like other failures, e.g. dotnet/arcade#9208 or actual PR issues. Will unmark it as blocking but keep it open for the wasm disabled test.

@jakobbotsch jakobbotsch 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 May 3, 2022
@SamMonoRT SamMonoRT added the wasm-aot-test WebAssembly AOT Test label May 3, 2022
@radical
Copy link
Member

radical commented May 3, 2022

#61061 is tracking the disabled test, so we can close this issue based on #59926 (comment) .

@radical radical closed this as completed May 3, 2022
radical added a commit to radical/runtime that referenced this issue May 5, 2022
This was disabled due to dotnet#59926,
which was then tracked by dotnet#61061
.

The stack overflow is due to one specific test though, and the rest of
the tests can be enabled if we skip this one - `DCS_DeeplyLinkedData`.
radical added a commit that referenced this issue May 10, 2022
* Reenable `System.Runtime.Serialization.Xml.Tests`

This was disabled due to #59926,
which was then tracked by #61061
.

The stack overflow is due to one specific test though, and the rest of
the tests can be enabled if we skip this one - `DCS_DeeplyLinkedData`.

* Disable the test with `SkipOnPlatform` instead, for wasm, as it is

.. unlikely to be fixed (- vargaz).
@ghost ghost locked as resolved and limited conversation to collaborators Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Codegen-AOT-mono disabled-test The test is disabled in source code against the issue wasm-aot-test WebAssembly AOT Test
Projects
None yet
Development

No branches or pull requests

5 participants