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

[6.0][7.0] MacCatalyst Mono - XcodeBuildApp failed moving directory #79859

Closed
karelz opened this issue Dec 20, 2022 · 4 comments
Closed

[6.0][7.0] MacCatalyst Mono - XcodeBuildApp failed moving directory #79859

karelz opened this issue Dec 20, 2022 · 4 comments
Labels
area-Infrastructure-mono 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 os-maccatalyst MacCatalyst OS runtime-mono specific to the Mono runtime

Comments

@karelz
Copy link
Member

karelz commented Dec 20, 2022

Build Information

Build:
- 6.0: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=111127
- 7.0: https://dev.azure.com/dnceng-public/public/_build/results?buildId=109536&view=results
Build error leg or test failing:
- Build MacCatalyst x64 Release AllSubsets_Mono_AppSandbox / Build product
- Build MacCatalyst x64 Release AllSubsets_Mono / Build product
Pull requests:
- #79620
- #79549
- #79547

Example error on 6.0:

src/libraries/tests.proj(416,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Build) The "XcodeBuildApp" task failed unexpectedly.
System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/runner/work/1/s/artifacts/bundles/tests.all/NormalTestAppBundles/IcuAppLocal.Tests/AppBundle/Release-maccatalyst/IcuAppLocal.Tests.app'.
   at System.IO.Directory.Move(String sourceDirName, String destDirName)
   at Xcode.BuildAppBundle(String xcodePrjPath, Boolean optimized, String devTeamProvisioning, String destination) in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 529
   at XcodeBuildApp.Execute() in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 108
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)

Example error on 7.0:

src/libraries/tests.proj(745,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Build) The "XcodeBuildApp" task failed unexpectedly.
System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/runner/work/1/s/artifacts/bundles/tests.all/NormalTestAppBundles/System.Runtime.Tests/AppBundle/Release-maccatalyst/System.Runtime.Tests.app'.
   at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath, Boolean isCaseSensitiveRename)
   at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath)
   at Xcode.BuildAppBundle(String xcodePrjPath, Boolean optimized, String devTeamProvisioning, String destination) in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 533
   at XcodeBuildApp.Execute() in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 108
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)

Error Message

{
  "ErrorMessage": "The \"XcodeBuildApp\" task failed unexpectedly.",
  "BuildRetry": false
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@karelz karelz added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' runtime-mono specific to the Mono runtime os-maccatalyst MacCatalyst OS Known Build Error Use this to report build issues in the .NET Helix tab labels Dec 20, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Dec 20, 2022
@ghost
Copy link

ghost commented Dec 20, 2022

Tagging subscribers to 'os-maccatalyst': @steveisok, @akoeplinger
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=111127
Build error leg or test failing:
- Build MacCatalyst x64 Release AllSubsets_Mono_AppSandbox / Build product
- Build MacCatalyst x64 Release AllSubsets_Mono / Build product
Pull requests:
- #79620
- #79549

Example error:

src/libraries/tests.proj(416,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Build) The "XcodeBuildApp" task failed unexpectedly.
System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/runner/work/1/s/artifacts/bundles/tests.all/NormalTestAppBundles/IcuAppLocal.Tests/AppBundle/Release-maccatalyst/IcuAppLocal.Tests.app'.
   at System.IO.Directory.Move(String sourceDirName, String destDirName)
   at Xcode.BuildAppBundle(String xcodePrjPath, Boolean optimized, String devTeamProvisioning, String destination) in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 529
   at XcodeBuildApp.Execute() in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 108
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)

Error Message

{
  "ErrorMessage": "error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Build) The \"XcodeBuildApp\" task failed unexpectedly.
System.IO.DirectoryNotFoundException",
  "BuildRetry": false
}
Author: karelz
Assignees: -
Labels:

blocking-clean-ci, runtime-mono, os-maccatalyst, Known Build Error

Milestone: -

@steveisok
Copy link
Member

@akoeplinger does the change you made in main need backported?

@karelz karelz changed the title [6.0] MacCatalyst Mono - XcodeBuildApp failed moving directory [6.0][7.0] MacCatalyst Mono - XcodeBuildApp failed moving directory Dec 20, 2022
@akoeplinger
Copy link
Member

akoeplinger commented Dec 20, 2022

It's waiting for the branch to open back up as far as I know: #79098

@carlossanlop
Copy link
Member

Duplicate of #78778

@carlossanlop carlossanlop marked this as a duplicate of #78778 Jan 4, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jan 4, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Feb 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-mono 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 os-maccatalyst MacCatalyst OS runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

4 participants