-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Split the MergedTestWrapper for the HWIntrinsic tests so we can actually filter per platform #84959
Split the MergedTestWrapper for the HWIntrinsic tests so we can actually filter per platform #84959
Conversation
CC. @trylek, @kunalspathak again Actually getting tests to run this time so I can confirm that CI doesn't execute them as it seems CI is very different from local testing. From what I can tell, the This new change splits it into three distinct groups (Arm, General, and X86) so that the wrapper projects can have the filter instead, which looks to work, but we'll see for certain in CI. |
-- The original logic I had (two PRs to the file back now), where I conditionally excluded projects from the wrapper (prior to #82221) did work; but since we build on one machine and then copy to a potentially unrelated machine, it meant we might not have tested Arm64 for example. Ideally the wrapper would respect the priority and/or target support settings of each referenced project merged into it, but since that wasn't working, this seems like the "next best thing". |
It's working as expected in CI: https://dev.azure.com/dnceng-public/public/_build/results?buildId=242445&view=ms.vss-test-web.build-test-results-tab 🎉 Unlike other CI runs, if you filter down to |
May be I am not seeing things correctly, can you paste a screenshot of the filter you are using to search for Here is what I see: |
@kunalspathak, the general filtering doesn't seem to always work and can fail if there are "too many" results from what I've seen. In the below, see that we have many legs that ran Prior PRsThis PR: |
Notably it looks like we may need 1 further split, pulling Avx512F jobs into their own leg as they still run on OSX despite the filter and that times out in #84909 |
6ef9465
to
819a9de
Compare
819a9de
to
1cb309c
Compare
With the new logic, do we still need to keep |
Technically no, but it does help with local builds and avoiding building those projects as part of the "standalone" test projects by default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Tanner for figuring this out!
Neither #84948 nor the logic prior to it were actually filtering the tests and keeping them from running on unrelated platforms.
It seems like
ClrTestPriority
norCLRTestTargetUnsupported
on the main projects impact how theMergedWrapperProjectReference
items get run or not.