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

[NativeAOT] Making Libraries tests to pass with NativeAOT #79509

Closed
wants to merge 2 commits into from

Conversation

VSadov
Copy link
Member

@VSadov VSadov commented Dec 11, 2022

  • Disable System.Data.DataSetExtensions.Tests on NativeAOT
    indirect MethodInfo.MakeGenericMethod() use in a static constructor, maybe fixable, will disable for now.

Re: #79513

@ghost
Copy link

ghost commented Dec 11, 2022

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

no-op change to see what tests are passing in runtime-extra-platforms

Author: VSadov
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

@VSadov VSadov added the NO-REVIEW Experimental/testing PR, do NOT review it label Dec 11, 2022
@dotnet dotnet deleted a comment from azure-pipelines bot Dec 11, 2022
@VSadov VSadov removed the NO-REVIEW Experimental/testing PR, do NOT review it label Dec 11, 2022
@VSadov VSadov changed the title [Test] trivial change to run tests [NativeAOT] Making Libraries tests to pass with NativeAOT Dec 11, 2022
@VSadov VSadov marked this pull request as ready for review December 12, 2022 00:12
@VSadov
Copy link
Member Author

VSadov commented Dec 12, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dotnet dotnet deleted a comment from azure-pipelines bot Dec 12, 2022
@dotnet dotnet deleted a comment from azure-pipelines bot Dec 12, 2022
@@ -492,6 +492,8 @@
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Mail\tests\Functional\System.Net.Mail.Functional.Tests.csproj"
Condition="'$(TargetOS)' == 'windows'"/>

<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Data.DataSetExtensions\tests\System.Data.DataSetExtensions.Tests.csproj" />
Copy link
Member

Choose a reason for hiding this comment

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

This is the place where we dump projects that were not triaged.

The projects that were looked at and have an active bug are at the top of the ItemGroup, with a link to the issue.

It would be better if we could do this with an ActiveIssue on a specific test, but I don't know how many of the tests are failing here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this may be fixable. Likely just add some rd.xml. I just did not have time to do that.

Copy link
Member

Choose a reason for hiding this comment

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

The failure mode is suspicious, like I wrote in #79513 (comment). This would not be RD.XML. The library is supposed to be AOT-compatible - we did the work in the summer.

I cannot repro this locally:

C:\git\runtime\artifacts\bin\System.Data.DataSetExtensions.Tests\Release\net8.0\publish>System.Data.DataSetExtensions.Tests.exe -notrait category=failing
Running assembly:System.Data.DataSetExtensions.Tests, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Finished System.Data.DataSetExtensions.Tests, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

Tests run: 103, Errors: 0, Failures: 0, Skipped: 0. Time: 0.0294375s

Copy link
Member

Choose a reason for hiding this comment

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

I dug out the failure from pipelines (force pushing removed all the Github UI to access that). I wiped my artifacts and going to try to repro this locally with a clean slate. If we're getting the stack the CI is getting, something is seriously wrong.

@MichalStrehovsky
Copy link
Member

Closing in favor of #79523.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants