Open radical opened 1 year ago
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Author: | radical |
---|---|
Assignees: | - |
Labels: | `arch-wasm`, `disabled-test`, `trimming-for-aot` |
Milestone: | - |
Likely the result of https://github.com/dotnet/linker/pull/2929, which turned off the serialization heuristics by default.
@sbomer, @lewing, and @radical - What is the expected path forward here? The serializer assemblies are not field-level trimmable. This isn't really an 'area-Serialization' issue as nothing changed with the serializers to cause this. Who should be responsible for ensuring that the serialization exceptions are enabled when running serialization tests?
All failures
Seen on
main
, and https://github.com/dotnet/runtime/pull/73894 : Rolling builds failing due to trimming errors like:TestName | ConsoleUri -- | -- ~~normal-System.Runtime.Serialization.Json.ReflectionOnly.Tests~~ | https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1ee9e77bee6d490fac/normal-System.Runtime.Serialization.Json.ReflectionOnly.Tests/1/console.22326ac1.log?helixlogtype=result ~~normal-System.Runtime.Serialization.Json.Tests~~ | https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1ee9e77bee6d490fac/normal-System.Runtime.Serialization.Json.Tests/1/console.ae864d7d.log?helixlogtype=result normal-System.Runtime.Serialization.Schema.Tests | https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1ee9e77bee6d490fac/normal-System.Runtime.Serialization.Schema.Tests/1/console.53a021b1.log?helixlogtype=result ~~normal-System.Runtime.Serialization.Xml.ReflectionOnly.Tests~~ | https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1ee9e77bee6d490fac/normal-System.Runtime.Serialization.Xml.ReflectionOnly.Tests/1/console.943b0a42.log?helixlogtype=result ~~normal-System.Runtime.Serialization.Xml.Tests~~ | https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1ee9e77bee6d490fac/normal-System.Runtime.Serialization.Xml.Tests/1/console.76324c76.log?helixlogtype=result normal-System.Xml.XmlSerializer.ReflectionOnly.Tests | https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1ee9e77bee6d490fac/normal-System.Xml.XmlSerializer.ReflectionOnly.Tests/1/console.7177f9b5.log?helixlogtype=result normal-System.Xml.XmlSerializer.Tests | https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1ee9e77bee6d490fac/normal-System.Xml.XmlSerializer.Tests/1/console.a2208202.log?helixlogtype=result
The trimming related build errors were fixed in https://github.com/dotnet/runtime/commit/7d986fa00cfc93e656e5bc548f244df82c401b59 . These are actual test failures now. I have pushed fixes for some of these to https://github.com/dotnet/runtime/pull/73894 .
cc @eerhardt @stephentoub
Failures for which the tests have been disabled
System.Runtime.Serialization.Schema.Tests log:
System.Runtime.Serialization.Xml.ReflectionOnly.Tests log:
System.Runtime.Serialization.Xml.Tests log:
Report
Summary