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-iOS] MacCatalyst fails to start/log nativeaot.SmokeTests tests #105804

Open
matouskozak opened this issue Aug 1, 2024 · 6 comments
Open
Assignees
Labels
arch-arm64 area-Infrastructure-mono Known Build Error Use this to report build issues in the .NET Helix tab os-maccatalyst MacCatalyst OS
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Aug 1, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=804204
Build error leg or test failing:

  • nativeaot.SmokeTests.Reflection,
  • nativeaot.SmokeTests.StackTraceMetadata
  • nativeaot.SmokeTests.Preinitialization

Affected CI: maccatalyst-arm64 Release AllSubsets_NativeAOT_RuntimeTests (runtime-extra-platforms)

The test are failing either with:
XHarness exit code: 83 (APP_LAUNCH_FAILURE)

[05:10:37.6845280] The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-600 "procNotFound: no eligible process with specified descriptor" UserInfo={_LSLine=387, _LSFunction=_LSAnnotateAndSendAppleEventWithOptions}

or
XHarness exit code: 82 (RETURN_CODE_NOT_SET)

Failed to detect application's exit code. The log file was empty / not found at /tmp/helix/working/9D2308EA/w/9FFA08F1/uploads/Reports/nativeaot.SmokeTests.Reflection/Reflection/net.dot.nativeaot_SmokeTests_Reflection.log

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorPattern": "nativeaot/SmokeTests/.+\\[FAIL\\]",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=804204
Error message validated: [nativeaot/SmokeTests/.+\[FAIL\]]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/12/2024 10:07:58 AM UTC

Report

Build Definition Test Pull Request
881663 dotnet/runtime nativeaot.SmokeTests.UnitTests.WorkItemExecution
880213 dotnet/runtime nativeaot.SmokeTests.TrimmingBehaviors.WorkItemExecution
879242 dotnet/runtime nativeaot.SmokeTests.StackTraceMetadata.WorkItemExecution
878306 dotnet/runtime nativeaot.SmokeTests.StackTraceMetadata.WorkItemExecution
878000 dotnet/runtime nativeaot.SmokeTests.Reflection.WorkItemExecution
873764 dotnet/runtime nativeaot.SmokeTests.StackTraceMetadata.WorkItemExecution
867413 dotnet/runtime nativeaot.SmokeTests.TrimmingBehaviors.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 5 7
@matouskozak matouskozak added arch-arm64 untriaged New issue has not been triaged by the area owner area-Infrastructure-mono os-maccatalyst MacCatalyst OS Known Build Error Use this to report build issues in the .NET Helix tab labels Aug 1, 2024
Copy link
Contributor

Tagging subscribers to 'os-maccatalyst': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

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

@matouskozak
Copy link
Member Author

Could it be related to #102882 @ivanpovazan @kotlarmilos ?

@matouskozak matouskozak changed the title [NativeAOT-iOS] MacCatalyst fails to start/log nativeaot.SmokeTests.Reflection tests [NativeAOT-iOS] MacCatalyst fails to start/log nativeaot.SmokeTests tests Aug 1, 2024
@ivanpovazan
Copy link
Member

Could it be related to #102882 @ivanpovazan @kotlarmilos ?

I don't think so, that issue did disable the test, but we had a failure with it on tvos-arm64 even before in:
#90460

If I remember correctly the behavior was similar to what you are getting ie the device log showed correct output in the logs but test return value was not what the test runner expected.

I would check if we are properly rooting every possible test infra assembly when we build these tests with NativeAOT.

@ivanpovazan ivanpovazan added this to the 9.0.0 milestone Aug 2, 2024
@ivanpovazan
Copy link
Member

@matouskozak @kotlarmilos could you check this:

I would check if we are properly rooting every possible test infra assembly when we build these tests with NativeAOT.

@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Aug 2, 2024
@kotlarmilos kotlarmilos self-assigned this Aug 2, 2024
@vitek-karas vitek-karas modified the milestones: 9.0.0, 10.0.0 Aug 22, 2024
@ivanpovazan
Copy link
Member

@matouskozak just FYI: updated the ErrorPattern and a newer build failing with the same reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm64 area-Infrastructure-mono Known Build Error Use this to report build issues in the .NET Helix tab os-maccatalyst MacCatalyst OS
Projects
None yet
Development

No branches or pull requests

5 participants