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][tests][eat] Test failure System.Xml.Tests.CTransformRegressionTest.RegressionTest1 #51244

Closed
radical opened this issue Apr 14, 2021 · 1 comment
Labels
arch-wasm WebAssembly architecture area-System.Xml disabled-test The test is disabled in source code against the issue needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration trimming-for-aot `EnableAggressiveTrimming=true` used for running tests with AOT

Comments

@radical
Copy link
Member

radical commented Apr 14, 2021

Log

[05:44:42] info: console.info: Initializing.....
[05:44:42] info: Could not find constructor for 'Xunit.Sdk.CollectionPerAssemblyTestCollectionFactory' with arguments type(s): Xunit.Sdk.TestAssembly
[05:44:42] info: Discovering: System.Xml.Xsl.XslCompiledTransformApi.Tests.dll (method display = ClassAndMethod, method display options = None)
[05:44:42] info: Discovered:  System.Xml.Xsl.XslCompiledTransformApi.Tests.dll (found 280 of 285 test cases)
[05:44:42] info: Could not find constructor for 'Xunit.Sdk.CollectionPerAssemblyTestCollectionFactory' with arguments type(s): Xunit.Sdk.TestAssembly
[05:44:42] info: Starting:    System.Xml.Xsl.XslCompiledTransformApi.Tests.dll
[05:44:42] fail: [FAIL] System.Xml.Tests.CTransformRegressionTest.RegressionTest1(xslInputType: URI, readerType: XmlValidatingReader, outputType: Stream, navType: XPathDocument)
[05:44:42] info: System.Xml.Xsl.XslTransformException : An error occurred while loading document 'Stra%C3%9Fe.xml'. See InnerException for a complete description of the error.
[05:44:42] info: ---- System.Xml.XmlException : Resolving of external URIs was prohibited.
[05:44:42] info:    at System.Xml.Xsl.Runtime.XmlQueryContext.GetDataSource(String uriRelative, String uriBase)
[05:44:42] info:    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
[05:44:42] info:    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
[05:44:42] info:    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)
[05:44:42] info:    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, Stream results)
[05:44:42] info:    at System.Xml.Tests.XsltApiTestCaseBase2.Transform(String szXmlFile, OutputType outputType, NavType navType, Boolean errorCase)
[05:44:42] info:    at System.Xml.Tests.XsltApiTestCaseBase2.Transform(String szXmlFile, OutputType outputType, NavType navType)
[05:44:42] info:    at System.Xml.Tests.CTransformRegressionTest.RegressionTest1(XslInputType xslInputType, ReaderType readerType, OutputType outputType, NavType navType)
[05:44:42] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[05:44:42] info: ----- Inner Stack Trace -----
[05:44:42] info:    at System.Xml.XmlNullResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
[05:44:42] info:    at System.Xml.Xsl.Runtime.XmlQueryContext.GetDataSource(String uriRelative, String uriBase)
[05:45:08] info: Finished:    System.Xml.Xsl.XslCompiledTransformApi.Tests.dll
@radical radical added arch-wasm WebAssembly architecture disabled-test The test is disabled in source code against the issue trimming-for-aot `EnableAggressiveTrimming=true` used for running tests with AOT labels Apr 14, 2021
@ghost
Copy link

ghost commented Apr 14, 2021

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

Issue Details

Log

[05:44:42] info: console.info: Initializing.....
[05:44:42] info: Could not find constructor for 'Xunit.Sdk.CollectionPerAssemblyTestCollectionFactory' with arguments type(s): Xunit.Sdk.TestAssembly
[05:44:42] info: Discovering: System.Xml.Xsl.XslCompiledTransformApi.Tests.dll (method display = ClassAndMethod, method display options = None)
[05:44:42] info: Discovered:  System.Xml.Xsl.XslCompiledTransformApi.Tests.dll (found 280 of 285 test cases)
[05:44:42] info: Could not find constructor for 'Xunit.Sdk.CollectionPerAssemblyTestCollectionFactory' with arguments type(s): Xunit.Sdk.TestAssembly
[05:44:42] info: Starting:    System.Xml.Xsl.XslCompiledTransformApi.Tests.dll
[05:44:42] fail: [FAIL] System.Xml.Tests.CTransformRegressionTest.RegressionTest1(xslInputType: URI, readerType: XmlValidatingReader, outputType: Stream, navType: XPathDocument)
[05:44:42] info: System.Xml.Xsl.XslTransformException : An error occurred while loading document 'Stra%C3%9Fe.xml'. See InnerException for a complete description of the error.
[05:44:42] info: ---- System.Xml.XmlException : Resolving of external URIs was prohibited.
[05:44:42] info:    at System.Xml.Xsl.Runtime.XmlQueryContext.GetDataSource(String uriRelative, String uriBase)
[05:44:42] info:    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
[05:44:42] info:    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
[05:44:42] info:    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)
[05:44:42] info:    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, Stream results)
[05:44:42] info:    at System.Xml.Tests.XsltApiTestCaseBase2.Transform(String szXmlFile, OutputType outputType, NavType navType, Boolean errorCase)
[05:44:42] info:    at System.Xml.Tests.XsltApiTestCaseBase2.Transform(String szXmlFile, OutputType outputType, NavType navType)
[05:44:42] info:    at System.Xml.Tests.CTransformRegressionTest.RegressionTest1(XslInputType xslInputType, ReaderType readerType, OutputType outputType, NavType navType)
[05:44:42] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[05:44:42] info: ----- Inner Stack Trace -----
[05:44:42] info:    at System.Xml.XmlNullResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
[05:44:42] info:    at System.Xml.Xsl.Runtime.XmlQueryContext.GetDataSource(String uriRelative, String uriBase)
[05:45:08] info: Finished:    System.Xml.Xsl.XslCompiledTransformApi.Tests.dll
Author: radical
Assignees: -
Labels:

arch-wasm, disabled-test, trimming-for-aot

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Xml untriaged New issue has not been triaged by the area owner labels Apr 14, 2021
@radical radical removed the untriaged New issue has not been triaged by the area owner label Apr 14, 2021
@radical radical self-assigned this Apr 14, 2021
radical added a commit to steveisok/runtime that referenced this issue Apr 14, 2021
@radical radical removed their assignment May 26, 2021
@ghost ghost added the needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration label May 26, 2021
radical added a commit to radical/runtime that referenced this issue Jun 10, 2021
This hasn't been crashing for quite some time.
The individual test failures are already disabled with
dotnet#51244, and
dotnet#51911 .

Fixes dotnet#51245
lewing pushed a commit that referenced this issue Jun 11, 2021
* [wasm][aot] Enable tests that are passing now

These don't reproduce on `main` anymore, after the exceptions fix.

`System.Transactions.Locals.Tests` Fixes #50969
`System.Threading.Tasks.Parallel.Tests` Fixes #51677

* [wasm][aot][tests] Enable `System.Xml.Xsl.XslCompiledTransformApi.Tests`

This hasn't been crashing for quite some time.
The individual test failures are already disabled with
#51244, and
#51911 .

Fixes #51245
@lewing lewing closed this as completed Jul 14, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Xml disabled-test The test is disabled in source code against the issue needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration trimming-for-aot `EnableAggressiveTrimming=true` used for running tests with AOT
Projects
No open projects
Development

No branches or pull requests

2 participants