-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[tests] Stand up iOS arm runtime tests and enable tracing/eventpipe tests #79169
[tests] Stand up iOS arm runtime tests and enable tracing/eventpipe tests #79169
Conversation
Tagging subscribers to this area: @directhex Issue DetailsFixes #74891 On iOS, runtime tests were previously only stood up on x64 (Simulator) in #43954.
|
@@ -274,6 +274,9 @@ | |||
<BuildDir>$(IntermediateOutputPath)\iOSApps\$(Category)</BuildDir> | |||
<FinalPath>$(XUnitTestBinBase)$(CategoryWithSlash)\$(Category).app</FinalPath> | |||
<RuntimeComponents>diagnostics_tracing;marshal-ilgen</RuntimeComponents> | |||
<DiagnosticPorts>127.0.0.1:9000,nosuspend,listen</DiagnosticPorts> | |||
<RunAOTCompilation>True</RunAOTCompilation> |
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.
I'm a little confused here; what happens if we are running iOSSimulator and both RunAOTCompilation
and MonoForceInterpreter
are true? Does this change how iOSSimulator tests are run?
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.
For iOSlike devices and arm based simulators, AOT is needed for the tests to build. (At least that was the case for library tests, which motivated this PR #76551) When setting RunAOTCompilation and MonoForceInterpreter to true, what will happen is AOT will be ran, and if anything goes wrong, interp will be the fallback instead of JIT (which is important because JIT does not work on iOSlike platforms).
I believe the RunAOTCompilation is necessary here for arm architectures, but we can exclude x64 if thats preferred.
/azp run runtime-ioslike,runtime-ioslikesimulator |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-ioslike,runtime-ioslikesimulator |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-ioslike,runtime-ioslikesimulator |
Azure Pipelines successfully started running 2 pipeline(s). |
eng/pipelines/extra-platforms/runtime-extra-platforms-ioslike.yml
Outdated
Show resolved
Hide resolved
/azp run runtime-ioslike,runtime-ioslikesimulator |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-ioslike |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-ioslike,runtime-ioslikesimulator |
Azure Pipelines failed to run 2 pipeline(s). |
/azp run runtime-ioslike,runtime-ioslikesimulator |
Azure Pipelines successfully started running 2 pipeline(s). |
The failure shouldn't be related. It has been tracked in dotnet/arcade#11683. |
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.
Just a bunch of nits and Jeremy's suggestion for the test grouping, but looks good overall to me!
Would approve, but the approve button is greyed out for me because I was the original PR author
eng/pipelines/extra-platforms/runtime-extra-platforms-ioslikesimulator.yml
Outdated
Show resolved
Hide resolved
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.
Looks good!
/azp run runtime-ioslike,runtime-ioslikesimulator |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-ioslikesimulator |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-ioslikesimulator |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-ioslike,runtime-ioslikesimulator |
Azure Pipelines successfully started running 2 pipeline(s). |
Failures shouldn't be related. The TCP failure is known issue dotnet/arcade#11683. |
Fixes #74891
On iOS, runtime tests were previously only stood up on x64 (Simulator) in #43954.
This PR looks to extend the runtime testing coverage to iOS devices and arm simulators by doing the following:
Fixes: #81233