Skip to content

[mono][tvos] DataSet Xml serialization tests failing on tvos lanes #110771

Closed
@ivanpovazan

Description

@ivanpovazan

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=896707
Affected pipeline: runtime-extra-platforms
Job name: tvos-arm64 Release AllSubsets_Mono
Build error leg or test failing: System.Data.Common.Tests

Crash details

[FAIL] System.Data.Tests.DataSetTest.DeserializeModifiedDataSet
[16:49:48.6707670] System.InvalidOperationException : There was an error generating the XML document.
[16:49:48.6726660] 2024-12-16 21:49:48.709 System.Data.Common.Tests[47911:134275559] ---- System.NotSupportedException : DataSet implementation of IXmlSerializable is not trim compatible and has been disabled in the app configuration.
[16:49:48.6727080]    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
[16:49:48.6727580] 2024-12-16 21:49:48.710 System.Data.Common.Tests[47911:134275559]    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o)
[16:49:48.6727850]    at System.Data.Tests.DataSetTest.DeserializeModifiedDataSet()
[16:49:48.6727960]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[16:49:48.6728360] 2024-12-16 21:49:48.710 System.Data.Common.Tests[47911:134275559]    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[16:49:48.6728680] ----- Inner Stack Trace -----
[16:49:48.6728810]    at System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.WriteXml(XmlWriter writer)
[16:49:48.6729520] 2024-12-16 21:49:48.710 System.Data.Common.Tests[47911:134275559]    at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
[16:49:48.6729820]    at System.Xml.Serialization.ReflectionXmlSerializationWriter.WriteElement(Object o, ElementAccessor element, Boolean writeAccessor)
[16:49:48.6731190] 2024-12-16 21:49:48.710 System.Data.Common.Tests[47911:134275559]    at System.Xml.Serialization.ReflectionXmlSerializationWriter.WriteElements(Object o, ElementAccessor[] elements, TextAccessor text, ChoiceIdentifierAccessor choice, Boolean writeAccessors, Boolean isNullable)
[16:49:48.6732140] 2024-12-16 21:49:48.710 System.Data.Common.Tests[47911:134275559]    at System.Xml.Serialization.ReflectionXmlSerializationWriter.WriteMember(Object o, Object choiceSource, ElementAccessor[] elements, TextAccessor text, ChoiceIdentifierAccessor choice, TypeDesc memberTypeDesc, Boolean writeAccessors)
[16:49:48.6732380]    at System.Xml.Serialization.ReflectionXmlSerializationWriter.GenerateTypeElement(Object o, XmlTypeMapping xmlMapping)
[16:49:48.6732480] 2024-12-16 21:49:48.710 System.Data.Common.Tests[47911:134275559]    at System.Xml.Serialization.ReflectionXmlSerializationWriter.WriteObject(Object o)
[16:49:48.6732590]    at System.Xml.Serialization.XmlSerializer.SerializeUsingReflection(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
[16:49:48.6732710] 2024-12-16 21:49:48.711 System.Data.Common.Tests[47911:134275559]    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
[16:49:48.6791230] 2024-12-16 21:49:48.716 System.Data.Common.Tests[47911:134275559]

ConsoleLog
CrashLog

Root cause

This seems to be introduced with #110477 more specifically: a149938

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorPattern": ["Failed: [1-9]+[0-9]*", "net.dot.System.Data.Common.Tests"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=896707
Error message validated: [Failed: [1-9]\d*.*(net\.dot\.System\.Data\.Common\.Tests)+]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 12/17/2024 9:01:33 AM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=896707
Error message validated: [(Failed: )+[1-9]\d*.*(net\.dot\.System\.Data\.Common\.Tests)+]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 12/17/2024 9:27:50 AM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=896707
Error message validated: [Failed: [1-9]\d*.*net\.dot\.System\.Data\.Common\.Tests]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 12/17/2024 9:34:35 AM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=896707
Error message validated: [Failed: [1-9]+[0-9]* net.dot.System.Data.Common.Tests]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/17/2024 9:43:23 AM UTC

Report

Build Definition Test Pull Request
896707 dotnet/runtime System.Data.Common.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Serializationin-prThere is an active PR which will close this issue when it is mergedos-tvosApple tvOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions