Skip to content

Disable newly added test on native AOT and drop RequiresProcessIsolation #112095

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

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

MichalStrehovsky
Copy link
Member

CMakeProjectReference is not a reason to add RequiresProcessIsolation, I've been deleting those for a while (e.g. #111406).

@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Feb 3, 2025
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestPriority>1</CLRTestPriority>
<CLRTestTargetUnsupported Condition="'$(TargetOS)' != 'windows'">true</CLRTestTargetUnsupported>
<!-- Testing a backwards compatibility quirk we don't officially support -->
<NativeAotIncompatible>true</NativeAotIncompatible>
</PropertyGroup>
<PropertyGroup>
Copy link
Member Author

Choose a reason for hiding this comment

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

Btw, was this part intentional, or a random copypaste? Optimize=true will make it so that we never run this tests without JIT optimizations enabled. The JIT team sometimes does things like this because they want mulitple variants (they have the _d, _ro, etc. variants).

This test doesn't have variants. This EH teste should ideally also work with optimizations disabled, right?

Copy link
Member

Choose a reason for hiding this comment

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

I am confused - don't we need the RequiresProcessIsolation for the cases when there is a native part of the test built via cmake?

Copy link
Member Author

Choose a reason for hiding this comment

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

We don't. See #111406 or #111887 that deletes this line from projects that have CMakeProjectReference and the native DLL is still placed where the test can find it.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, ok, then it is fine to remove.

@MichalStrehovsky
Copy link
Member Author

/azp run runtime-outerloop

Copy link

No pipelines are associated with this pull request.

@MichalStrehovsky
Copy link
Member Author

/azp list

Copy link

CI/CD Pipelines for this repository:

@MichalStrehovsky
Copy link
Member Author

/azp run runtime-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • src/tests/Regressions/coreclr/GitHub_111242/Test111242.csproj: Language not supported

@MichalStrehovsky
Copy link
Member Author

I ended up having to keep the RequiresProcessIsolation because the test started running and failing on Linux. Turns out process isolation is needed for CLRTestTargetUnsupported. I updated the comment to say that.

@MichalStrehovsky MichalStrehovsky merged commit 9c2bfb9 into main Feb 6, 2025
71 of 73 checks passed
@MichalStrehovsky MichalStrehovsky deleted the MichalStrehovsky-patch-4 branch February 6, 2025 21:51
@github-actions github-actions bot locked and limited conversation to collaborators Mar 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants