Skip to content

[wasm][aot] Disable failing AOT tests, to get a green build#51724

Merged
radical merged 29 commits into
dotnet:mainfrom
radical:wasm-aot-green
Apr 27, 2021
Merged

[wasm][aot] Disable failing AOT tests, to get a green build#51724
radical merged 29 commits into
dotnet:mainfrom
radical:wasm-aot-green

Conversation

@radical

@radical radical commented Apr 23, 2021

Copy link
Copy Markdown
Member
  • this will allow tracking new failures too
  • uses new PlatformDetection.IsMonoAOT, and PlatformDetection.IsBuiltWithAggressiveTrimming

@radical radical added arch-wasm WebAssembly architecture area-Build-mono labels Apr 23, 2021
@ghost

ghost commented Apr 23, 2021

Copy link
Copy Markdown

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

Issue Details
  • this will allow tracking new failures too
Author: radical
Assignees: -
Labels:

arch-wasm, area-Build-mono

Milestone: -

@radical

radical commented Apr 23, 2021

Copy link
Copy Markdown
Member Author

cc @SamMonoRT

@lewing

lewing commented Apr 23, 2021

Copy link
Copy Markdown
Member

Won't the ActiveIssue attribute disable them on the interpreter too?

@SamMonoRT

SamMonoRT commented Apr 23, 2021

Copy link
Copy Markdown
Member

Won't the ActiveIssue attribute disable them on the interpreter too?

yes, they actually might for Library tests

@naricc is trying to clear that out via #51522 for Runtime tests.

Comment thread eng/testing/tests.wasm.targets Outdated
@radical radical requested a review from marek-safar as a code owner April 24, 2021 05:46
radical added 5 commits April 24, 2021 02:39
…a.Tests.TagToTokenTests.ValidateTagToTokenConversion

```
[07:29:18] fail: [FAIL] System.Reflection.Metadata.Tests.TagToTokenTests.ValidateTagToTokenConversion
[07:29:18] info: System.NullReferenceException : Object reference not set to an instance of an object.
[07:29:18] info:    at System.Reflection.Metadata.Tests.TagToTokenTests.<>c__DisplayClass1_0.<GetTags>b__3()
[07:29:18] info:    at System.Reflection.Metadata.Tests.TagToTokenTests.ValidateTagToTokenConversion()
[07:29:18] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
```

Issue: dotnet#50714
` error : FilesToIncludeInFileSystem file '/Users/radical/dev/runtime/artifacts/bin/System.Reflection.Tests/net6.0-Release/browser-wasm/publish/System.Reflection.Tests.pdb' not found`
`TestAssembly` gets trimmed causing errors like:

```
  fail: [FAIL] System.Reflection.Tests.AssemblyTests.CreateInstance_Invalid(typeName: null, exceptionType: typeof(System.ArgumentNullException))
  info: System.IO.FileNotFoundException : Could not find file '/TestAssembly.dll'.
```
@radical radical requested a review from lewing April 26, 2021 17:48
Comment thread src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs Outdated
Comment thread src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs Outdated
radical added 2 commits April 26, 2021 21:48
- since we don't run with fullaot at all, both interpreter and aot
  checks should be true, when using aot-interpreter mode

@lewing lewing left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ghost

ghost commented Apr 27, 2021

Copy link
Copy Markdown

Hello @radical!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Comment thread src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs Outdated
@radical

radical commented Apr 27, 2021

Copy link
Copy Markdown
Member Author

runtime-staging (Build windows x64 Release AllSubsets_Mono) failing due to nuget errors, unrelated to this PR:

.dotnet\sdk\6.0.100-preview.2.21155.3\NuGet.RestoreEx.targets(19,5): error : (NETCORE_ENGINEERING_TELEMETRY=Restore) Failed to download package 'System.Reflection.Emit.Lightweight.4.3.0' from 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.reflection.emit.lightweight/4.3.0/system.reflection.emit.lightweight.4.3.0.nupkg'.
The SSL connection could not be established, see inner exception.
  Unable to read data from the transport connection: An existing conne

@radical radical merged commit fa7c6a9 into dotnet:main Apr 27, 2021
@radical radical deleted the wasm-aot-green branch April 27, 2021 05:55
@karelz karelz modified the milestones: 5.0.x, 6.0.0 May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Build-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants