Skip to content

[Wasm] Tracking AOT wasm library test failures #48079

@mdh1418

Description

@mdh1418

To see where the wasm library tests stand with AOT compilation with respect to how many pass/fail, what the failures are, how many hang, the 268 test suites were ran locally.

Dropbox paper with findings

All CI Results

Among all the test suites failing on CI, the following are the main unique test failures observed.


Unique Test Failures based on CI logs

EnableAggressiveTrimming related failures
r) System.ArgumentException : Type Moq.Internals.InterfaceProxy is not valid base type for interface proxy, because it does not have accessible parameterless constructor. Only a non-sealed class with non-private default constructor can be used as base type for interface proxy. Please use some other valid type. #46760 log
s) System.InvalidOperationException : Sequence contains no matching element #46759
t) System.ArgumentNullException : Value cannot be null. (Parameter 'method') #46758 (@naricc working on this)
af) System.NotSupportedException : Use of ResourceManager for custom types is disabled. Set the MSBuild Property CustomResourceTypesSupport to true in order to enable it.
ah) console.error: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object.
ai) Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies log


The Unique failures may appear across several test suites. Each test suite below has failed on CI, and are tagged with the corresponding failure by the alphabetical tag.

Suites that did not produce test results


Error: Failed to load method 0x6000001

  • System.ComponentModel.Composition.Tests -- ai
  • System.Diagnostics.Tracing.Tests -- ai
  • System.Runtime.Loader.DefaultContext.Tests -- ai
  • System.Runtime.Loader.RefEmitLoadContext.Tests -- ai
  • System.Runtime.Tests -- Precompiling failed for log

Suites that failed with 1 or more test failures

  • System.Data.Common.Tests -- u
  • System.Security.Cryptography.Algorithms.Tests -- aj
  • System.Numerics.Vectors.Tests -- c
  • System.Linq.Queryable.Tests -- i, d
  • System.IO.FileSystem.Tests -- as
  • System.Linq.Expressions.Tests -- an
  • System.Runtime.Serialization.Xml.Tests -- an
  • Microsoft.Extensions.DependencyInjection.Tests -- g, h, i, j, k
  • System.Runtime.Serialization.Json.Tests -- c
  • System.Composition.Tests -- i, p, q
  • System.Xml.XmlSchema.XmlSchemaValidatorApi.Tests -- w
  • System.ComponentModel.TypeConverter.Tests -- i, d, t
  • System.Threading.Channels.Tests -- c, f
  • System.IO.Pipelines.Tests -- f, y
  • System.Data.DataSetExtensions.Tests -- u, v, w, missing 33 tests
  • System.Runtime.Numerics.Tests -- ak, al
  • System.ServiceModel.Syndication.Tests -- c, w
  • System.Collections.Immutable.Tests -- d
  • System.ComponentModel.Composition.Registration.Tests -- i
  • System.Reflection.DispatchProxy.Tests -- c
  • System.Net.Http.Json.Functional.Tests -- c, f
  • Microsoft.Extensions.Configuration.Json.Tests -- a, f
  • Microsoft.Extensions.Logging.EventSource.Tests -- g, l, m
  • Microsoft.Extensions.Configuration.Functional.Tests -- f
  • System.IO.Compression.Tests -- w
  • Common.Tests -- a, b
  • System.Collections.Concurrent.Tests -- e, f
  • System.IO.MemoryMappedFiles.Tests -- z
  • System.Composition.Convention.Tests -- i
  • System.Threading.Tests -- f
  • System.Xml.XmlSchemaSet.Tests -- a, w
  • Microsoft.Extensions.Primitives.Tests -- f, r
  • System.Composition.TypedParts.Tests -- i
  • Microsoft.Extensions.Http.Tests -- i, k, t
  • System.Reflection.Emit.Lightweight.Tests -- c
  • Microsoft.Extensions.Configuration.Ini.Tests -- a, f
  • System.IO.Tests -- Random text Kæ￿ $@#�'ã†�ìŽ A5 not AOT related
  • Microsoft.Extensions.Configuration.Xml.Tests -- a, f
  • System.Collections.Tests -- e, killed
  • System.Text.RegularExpressions.Tests -- au
  • System.CodeDom.Tests -- d
  • System.Drawing.Primitives.Tests -- c
  • System.Memory.Tests -- c
  • System.ObjectModel.Tests -- d
  • Microsoft.Extensions.Options.Tests -- f
  • Microsoft.Extensions.Configuration.Tests -- f
  • Microsoft.Extensions.Configuration.UserSecrets.Tests -- f
  • Microsoft.Extensions.Logging.Testing.Tests -- g
  • System.IO.Packaging.Tests -- w
  • System.Memory.Data.Tests -- f, c
  • System.Net.Primitives.Functional.Tests -- e
  • Microsoft.Extensions.FileProviders.Composite.Tests -- a, r
  • System.Diagnostics.TraceSource.Tests -- x, y
  • Microsoft.Extensions.Configuration.Binder.Tests -- e
  • Microsoft.Extensions.Configuration.FileExtensions.Tests -- r
  • System.Composition.Hosting.Tests -- i
  • System.Globalization.Tests -- e
  • System.Net.WebSockets.Tests -- c
  • System.Reflection.CoreCLR.Tests -- EnableAggressiveTrimming failure
  • System.Transactions.Local.Tests -- ak
  • System.Diagnostics.DiagnosticSource.Tests -- t
  • System.Net.Http.Json.Unit.Tests -- c
  • System.Net.Http.Unit.Tests -- k, ab
  • System.Resources.Reader.Tests -- af
  • System.Runtime.CompilerServices.Unsafe.Tests -- ag
  • System.Threading.Tasks.Extensions.Tests -- s
  • System.Reflection.MetadataLoadContext.Tests -- 360 failures -- missing 78 tests -- w
  • System.Diagnostics.StackTrace.Tests -- 22 failures -- a
  • System.Reflection.Tests -- missing ~1100 tests -- d
  • Microsoft.CSharp.Tests -- c, d
  • Microsoft.Extensions.Logging.Tests -- n
  • Microsoft.VisualBasic.Core.Tests -- am
  • System.Dynamic.Runtime.Tests -- an
  • System.Linq.Tests -- i
  • System.Net.Mail.Functional.Tests -- ac
  • System.Private.Runtime.InteropServices.JavaScript.Tests -- ao
  • System.Reflection.Context.Tests -- am
  • System.Reflection.Emit.ILGeneration.Tests -- c
  • System.Reflection.Emit.Tests -- c
  • System.Reflection.Metadata.Tests -- c, w, ad, ae
  • System.Runtime.Extensions.Tests -- d
  • System.Runtime.InteropServices.Tests -- c, ah
  • System.Runtime.Loader.Tests -- am
  • System.Runtime.Serialization.Json.ReflectionOnly.Tests -- ao
  • System.Runtime.Serialization.Xml.ReflectionOnly.Tests -- ao
  • System.Text.Json.Tests -- b, c, d
  • System.Threading.Tasks.Dataflow.Tests -- ap
  • System.Threading.Tasks.Parallel.Tests -- f
  • System.Threading.Tasks.Tests -- d
  • System.ValueTuple.Tests -- aj
  • System.Xml.Linq.xNodeBuilder.Tests -- aq
  • System.Xml.XmlSerializer.ReflectionOnly.Tests -- i
  • System.Xml.XmlSerializer.Tests -- ao
  • System.Xml.Xsl.XslCompiledTransformApi.Tests -- w
  • System.Xml.Xsl.XslTransformApi.Tests -- w

Tests failing in CI

  • System.Collections.Specialized.Tests -- d
  • System.IO.Compression.ZipFile.Tests -- w
  • System.Private.Uri.Functional.Tests -- n
  • System.Xml.RW.XmlWriterApi.Tests -- aj
  • System.Xml.XPath.XmlDocument.Tests -- aj
  • System.Xml.XmlDocument.Tests -- w
  • System.Xml.XmlResolver.Tests -- w
  • System.Xml.RW.XmlSystemPathResolver.Tests -- w

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmWebAssembly architecturearea-Codegen-AOT-monotrackingThis issue is tracking the completion of other related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions