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][aot][tests] System.Threading.Tasks.Tests failures #50968

Closed
radical opened this issue Apr 8, 2021 · 3 comments
Closed

[wasm][aot][tests] System.Threading.Tasks.Tests failures #50968

radical opened this issue Apr 8, 2021 · 3 comments
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono wasm-aot-test WebAssembly AOT Test
Milestone

Comments

@radical
Copy link
Member

radical commented Apr 8, 2021

This can be reproduced on main.

Log

[19:53:49] info: Starting:    System.Threading.Tasks.Tests.dll
[19:53:50] fail: [FAIL] System.Threading.Tasks.Tests.AsyncTaskMethodBuilderTests.TaskMethodBuilder_ValidateFaultedTask
[19:53:50] info: Assert.NotNull() Failure
[19:53:50] info: 
[19:53:50] fail: [FAIL] System.Threading.Tasks.Tests.AsyncTaskMethodBuilderTests.TrackedSyncContext_ValidateException
[19:53:50] info: Assert.NotNull() Failure
[19:53:50] info: 
[19:53:50] fail: [FAIL] System.Threading.Tasks.Tests.AsyncTaskMethodBuilderTests.TaskMethodBuilderT_ValidateFaultedTask
[19:53:50] info: Assert.NotNull() Failure
[19:53:50] info: 
[19:53:50] fail: [FAIL] System.Threading.Tasks.Tests.AsyncTaskMethodBuilderTests.Tcs_ValidateFaultedTask
[19:53:50] info: Assert.NotNull() Failure
[19:53:50] info: 
[19:53:50] info: Finished:    System.Threading.Tasks.Tests.dll
@radical radical added arch-wasm WebAssembly architecture area-Codegen-AOT-mono wasm-aot-test WebAssembly AOT Test labels Apr 8, 2021
@ghost
Copy link

ghost commented Apr 8, 2021

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

Issue Details

Log

[19:53:49] info: Starting:    System.Threading.Tasks.Tests.dll
[19:53:50] fail: [FAIL] System.Threading.Tasks.Tests.AsyncTaskMethodBuilderTests.TaskMethodBuilder_ValidateFaultedTask
[19:53:50] info: Assert.NotNull() Failure
[19:53:50] info: 
[19:53:50] fail: [FAIL] System.Threading.Tasks.Tests.AsyncTaskMethodBuilderTests.TrackedSyncContext_ValidateException
[19:53:50] info: Assert.NotNull() Failure
[19:53:50] info: 
[19:53:50] fail: [FAIL] System.Threading.Tasks.Tests.AsyncTaskMethodBuilderTests.TaskMethodBuilderT_ValidateFaultedTask
[19:53:50] info: Assert.NotNull() Failure
[19:53:50] info: 
[19:53:50] fail: [FAIL] System.Threading.Tasks.Tests.AsyncTaskMethodBuilderTests.Tcs_ValidateFaultedTask
[19:53:50] info: Assert.NotNull() Failure
[19:53:50] info: 
[19:53:50] info: Finished:    System.Threading.Tasks.Tests.dll
Author: radical
Assignees: -
Labels:

arch-wasm, area-Codegen-AOT-mono, wasm-aot-test

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Apr 8, 2021
@SamMonoRT SamMonoRT added this to the 6.0.0 milestone Apr 9, 2021
@vargaz
Copy link
Contributor

vargaz commented May 6, 2021

Caused by missing stacktrace support, i.e. this assert fails:

       private static void ValidateException(Exception e)
        {
            Assert.NotNull(e);
            Assert.NotNull(e.StackTrace);
            Assert.Matches(@"---.+---", e.StackTrace);
        }

@lewing lewing removed the untriaged New issue has not been triaged by the area owner label May 8, 2021
@lewing
Copy link
Member

lewing commented May 8, 2021

closing in favor of #50957

@lewing lewing closed this as completed May 8, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono wasm-aot-test WebAssembly AOT Test
Projects
None yet
Development

No branches or pull requests

4 participants