Skip to content

Conversation

@jkoritzinsky
Copy link
Member

This is a very simplistic port to the merged runner infrastructure just so we can get the last few directories onto it to enable removing the old infrastructure.

I've validated locally that all of the tests actually run with this change.

@dotnet-policy-service
Copy link
Contributor

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

<PropertyGroup>
<DisableProjectBuild Condition="'$(IsMergedTestRunnerAssembly)' == 'true' and '$(BuildAllTestsAsStandalone)' == 'true' and '$(HasMergedInTests)' != 'true'">true</DisableProjectBuild>
<OutputType Condition="('$(IsMergedTestRunnerAssembly)' == 'true' and '$(BuildAllTestsAsStandalone)' != 'true') or ('$(RequiresProcessIsolation)' == 'true' and '$(CLRTestKind)' != 'SharedLibrary')">Exe</OutputType>
<OutputType Condition="'$(SkipInferOutputType)' != 'true' and (('$(IsMergedTestRunnerAssembly)' == 'true' and '$(BuildAllTestsAsStandalone)' != 'true') or ('$(RequiresProcessIsolation)' == 'true' and '$(CLRTestKind)' != 'SharedLibrary'))">Exe</OutputType>
Copy link
Contributor

Choose a reason for hiding this comment

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

I've a question. What is this SkipInferOutputType tag?

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 had to add this to get this test to behave correctly. Basically the test system today infers the OutputType property value based on other properties. Because of file ordering, OutputType is non-empty by the time we're doing it, so we need to add another property as the hint to not do that work.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah I see, thanks for explaining!

@ivdiazsa ivdiazsa added this to the 10.0.0 milestone Aug 27, 2024
@ivdiazsa
Copy link
Contributor

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@ivdiazsa ivdiazsa left a comment

Choose a reason for hiding this comment

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

Overall lgtm!

Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

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

Are we running tests? Clicking the "Build windows-x64 Checked NativeAOT" leg, I see this in the Helix step:

Sent Helix Job; see work items at https://helix.dot.net/api/jobs/21c99c0d-f2cf-4505-bea9-f5b4ce041277/workitems?api-version=2019-06-17

Clicking that, and going to nativeaot detailsuri: https://helix.dot.net/api/jobs/21c99c0d-f2cf-4505-bea9-f5b4ce041277/workitems/nativeaot?api-version=2019-06-17 and from there the consoleoutputuri: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-107002-merge-21c99c0df2cf4505be/nativeaot/1/console.e18a6ba6.log?helixlogtype=result

I'm only seeing test "runs" to the tune of:

19:11:40.357 Running test: nativeaot\SmokeTests\HardwareIntrinsics\X64Avx\X64Avx.cmd
Test executable 'C:\h\w\B4BE09A2\w\A94C08F0\e\nativeaot\nativeaot\native\..\..\SmokeTests\HardwareIntrinsics\X64Avx\X64Avx.cmd' not found, skipping.
19:11:40.358 Passed test: nativeaot\SmokeTests\HardwareIntrinsics\X64Avx\X64Avx.cmd

@jkoritzinsky
Copy link
Member Author

I'll figure out what makes our Helix runs different from local (and why the Helix payloads don't work).

…ation and set as build-as-standalone. Only skip when the test suite is being built in "all tests as standalone" mode.
@jkoritzinsky
Copy link
Member Author

@MichalStrehovsky I've fixed the payload construction. Lets see if CI is happy now.

@jkoritzinsky
Copy link
Member Author

jkoritzinsky commented Aug 28, 2024

@jkoritzinsky jkoritzinsky dismissed MichalStrehovsky’s stale review August 29, 2024 17:44

Tests are running. Issue has been resolved.

@jkoritzinsky jkoritzinsky merged commit 48a6a01 into dotnet:main Aug 29, 2024
@jkoritzinsky jkoritzinsky deleted the nativeaot-merged-runner branch August 29, 2024 17:44
jtschuster pushed a commit to jtschuster/runtime that referenced this pull request Sep 17, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-NativeAOT-coreclr test-enhancement Improvements of test source code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants