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

net9.0-ios-Release-arm64-NativeAOT_Release-OSX.13.Amd64.Iphone.Open leg failing without running tests #95875

Closed
stephentoub opened this issue Dec 11, 2023 · 4 comments
Assignees
Labels
blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners os-ios Apple iOS

Comments

@stephentoub
Copy link
Member

stephentoub commented Dec 11, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=495665
Build error leg or test failing: iOS.Device.Aot.Test.WorkItemExecution
Pull request: #95133

Error Message

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

{
  "ErrorMessage": "Work item iOS.Device.Aot.Test",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-95133-merge-1c6045ed42fb416782/iOS.Device.Aot.Test/1/console.646ae97e.log?helixlogtype=result
e.g.

Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https

----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
MSBuild version 17.8.3+195e7f5a3 for .NET
/private/tmp/helix/working/A93B0950/p/dotnet-cli/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1314,3): warning MSB4011: "/tmp/helix/working/A93B0950/p/build/microsoft.net.illink.tasks/net8.0/build/Microsoft.NET.ILLink.targets" cannot be imported again. It was already imported at "/tmp/helix/working/A93B0950/p/build/apple/AppleBuild.targets (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/private/tmp/helix/working/A93B0950/w/A15008CD/e/publish/ProxyProjectForAOTOnHelix.proj]
  ** Building a proxy for the original test project, to AOT on helix. In order to do that, this recreates the original inputs for the *iOS/tvOS* part of the build. See /private/tmp/helix/working/A93B0950/w/A15008CD/e/publish/ProxyProjectForAOTOnHelix.proj, and . **
  Generating native code
  Running: cmake -S. -BiOS.Device.Aot.Test -GXcode -DTARGETS_APPLE_MOBILE=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0
  Using working directory: /tmp/helix/working/A93B0950/w/A15008CD/e/apple_build/AppBundle/
  Exit code: 0
  Running: xcodebuild ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -arch arm64 -sdk iphoneos -configuration Release
  Using working directory: /tmp/helix/working/A93B0950/w/A15008CD/e/apple_build/AppBundle/iOS.Device.Aot.Test
  Exit code: 0
  
  APP size: 16.7 Mb.
  
  Xcode: /tmp/helix/working/A93B0950/w/A15008CD/e/apple_build/AppBundle/iOS.Device.Aot.Test/iOS.Device.Aot.Test.xcodeproj
  App: /tmp/helix/working/A93B0950/w/A15008CD/e/apple_build/AppBundle/iOS.Device.Aot.Test/Release-iphoneos/iOS.Device.Aot.Test.app
  App moved to: /private/tmp/helix/working/A93B0950/w/A15008CD/e/iOS.Device.Aot.Test.app/
/private/tmp/helix/working/A93B0950/p/dotnet-cli/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 9.0.  Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download [/private/tmp/helix/working/A93B0950/w/A15008CD/e/publish/ProxyProjectForAOTOnHelix.proj]
Signing bundle /tmp/helix/working/A93B0950/w/A15008CD/e/iOS.Device.Aot.Test.app
    "/Users/helix-runner/Library/Keychains/signing-certs.keychain-db"
     0 valid identities found
No valid signing identities found in the keychain
Removing empty log files:
ls: /tmp/helix/working/A93B0950/w/A15008CD/uploads/xunit-*.xml: No such file or directory
+ exit_code=23
+ '[' -f /tmp/helix/working/A93B0950/w/A15008CD/e/.retry ']'
+ '[' -f /tmp/helix/working/A93B0950/w/A15008CD/e/.reboot ']'
+ exit 23
+ export _commandExitCode=23
+ _commandExitCode=23

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=495665
Error message validated: Work item iOS.Device.Aot.Test
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/11/2023 7:54:49 PM UTC

Report

Build Definition Step Name Console log Pull Request
496572 dotnet/runtime Send to Helix Log #95701
496557 dotnet/runtime Send to Helix Log #95896
496530 dotnet/runtime Send to Helix Log
496518 dotnet/runtime Send to Helix Log #95898
496502 dotnet/runtime Send to Helix Log #94764
496476 dotnet/runtime Send to Helix Log
496464 dotnet/runtime Send to Helix Log #95854
496384 dotnet/runtime Send to Helix Log #95894
496381 dotnet/runtime Send to Helix Log #95701
496278 dotnet/runtime Send to Helix Log #95753
496239 dotnet/runtime Send to Helix Log #95701
496226 dotnet/runtime Send to Helix Log #95816
496164 dotnet/runtime Send to Helix Log #95880
496128 dotnet/runtime Send to Helix Log #95879
496079 dotnet/runtime Send to Helix Log #95877
496052 dotnet/runtime Send to Helix Log #95701
496055 dotnet/runtime Send to Helix Log #95808
495988 dotnet/runtime Send to Helix Log
495783 dotnet/runtime Send to Helix Log #95872
495928 dotnet/runtime Send to Helix Log
495880 dotnet/runtime Send to Helix Log #95513
495665 dotnet/runtime Send to Helix Log #95133
495879 dotnet/runtime Send to Helix Log #94999
495763 dotnet/runtime Send to Helix Log #94811
495697 dotnet/runtime Send to Helix Log #94999
495706 dotnet/runtime Send to Helix Log #95065
495612 dotnet/runtime Send to Helix Log #95864
495463 dotnet/runtime Send to Helix Log #95701
495352 dotnet/runtime Send to Helix Log #95788
495230 dotnet/runtime Send to Helix Log #95853
495196 dotnet/runtime Send to Helix Log #95757
495192 dotnet/runtime Send to Helix Log
495036 dotnet/runtime Send to Helix Log #94999
494938 dotnet/runtime Send to Helix Log #95753

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
29 34 34
@stephentoub stephentoub added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Dec 11, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Dec 11, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Dec 11, 2023
@steveisok steveisok added the os-ios Apple iOS label Dec 11, 2023
@ghost
Copy link

ghost commented Dec 11, 2023

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

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=495665
Build error leg or test failing: iOS.Device.Aot.Test.WorkItemExecution
Pull request: #95133

Error Message

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

{
  "ErrorMessage": "Work item iOS.Device.Aot.Test",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-95133-merge-1c6045ed42fb416782/iOS.Device.Aot.Test/1/console.646ae97e.log?helixlogtype=result
e.g.

Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https

----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
MSBuild version 17.8.3+195e7f5a3 for .NET
/private/tmp/helix/working/A93B0950/p/dotnet-cli/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1314,3): warning MSB4011: "/tmp/helix/working/A93B0950/p/build/microsoft.net.illink.tasks/net8.0/build/Microsoft.NET.ILLink.targets" cannot be imported again. It was already imported at "/tmp/helix/working/A93B0950/p/build/apple/AppleBuild.targets (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/private/tmp/helix/working/A93B0950/w/A15008CD/e/publish/ProxyProjectForAOTOnHelix.proj]
  ** Building a proxy for the original test project, to AOT on helix. In order to do that, this recreates the original inputs for the *iOS/tvOS* part of the build. See /private/tmp/helix/working/A93B0950/w/A15008CD/e/publish/ProxyProjectForAOTOnHelix.proj, and . **
  Generating native code
  Running: cmake -S. -BiOS.Device.Aot.Test -GXcode -DTARGETS_APPLE_MOBILE=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0
  Using working directory: /tmp/helix/working/A93B0950/w/A15008CD/e/apple_build/AppBundle/
  Exit code: 0
  Running: xcodebuild ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -arch arm64 -sdk iphoneos -configuration Release
  Using working directory: /tmp/helix/working/A93B0950/w/A15008CD/e/apple_build/AppBundle/iOS.Device.Aot.Test
  Exit code: 0
  
  APP size: 16.7 Mb.
  
  Xcode: /tmp/helix/working/A93B0950/w/A15008CD/e/apple_build/AppBundle/iOS.Device.Aot.Test/iOS.Device.Aot.Test.xcodeproj
  App: /tmp/helix/working/A93B0950/w/A15008CD/e/apple_build/AppBundle/iOS.Device.Aot.Test/Release-iphoneos/iOS.Device.Aot.Test.app
  App moved to: /private/tmp/helix/working/A93B0950/w/A15008CD/e/iOS.Device.Aot.Test.app/
/private/tmp/helix/working/A93B0950/p/dotnet-cli/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(166,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 9.0.  Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download [/private/tmp/helix/working/A93B0950/w/A15008CD/e/publish/ProxyProjectForAOTOnHelix.proj]
Signing bundle /tmp/helix/working/A93B0950/w/A15008CD/e/iOS.Device.Aot.Test.app
    "/Users/helix-runner/Library/Keychains/signing-certs.keychain-db"
     0 valid identities found
No valid signing identities found in the keychain
Removing empty log files:
ls: /tmp/helix/working/A93B0950/w/A15008CD/uploads/xunit-*.xml: No such file or directory
+ exit_code=23
+ '[' -f /tmp/helix/working/A93B0950/w/A15008CD/e/.retry ']'
+ '[' -f /tmp/helix/working/A93B0950/w/A15008CD/e/.reboot ']'
+ exit 23
+ export _commandExitCode=23
+ _commandExitCode=23

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=495665
Error message validated: Work item iOS.Device.Aot.Test
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/11/2023 7:54:49 PM UTC

Report

Build Definition Step Name Console log Pull Request
495665 dotnet/runtime Send to Helix Log #95133
495879 dotnet/runtime Send to Helix Log #94999
495783 dotnet/runtime Send to Helix Log #95872
495763 dotnet/runtime Send to Helix Log #94811
495697 dotnet/runtime Send to Helix Log #94999
495706 dotnet/runtime Send to Helix Log #95065
495612 dotnet/runtime Send to Helix Log #95864
495463 dotnet/runtime Send to Helix Log #95701
495352 dotnet/runtime Send to Helix Log #95788
495230 dotnet/runtime Send to Helix Log #95853
495196 dotnet/runtime Send to Helix Log #95757
495192 dotnet/runtime Send to Helix Log
495036 dotnet/runtime Send to Helix Log #94999
494938 dotnet/runtime Send to Helix Log #95753

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
14 14 14
Author: stephentoub
Assignees: -
Labels:

blocking-clean-ci, untriaged, os-ios, Known Build Error, needs-area-label

Milestone: -

@steveisok
Copy link
Member

@akoeplinger as we discussed, likely a cert issue with one or more devices. Please address

@akoeplinger
Copy link
Member

This is a dnceng issue, filed dotnet/dnceng#1542

@akoeplinger
Copy link
Member

This was fixed by dnceng.

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Dec 12, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners os-ios Apple iOS
Projects
None yet
Development

No branches or pull requests

3 participants