Skip to content

CI build failure: Build MacCatalyst x64 Release AllSubsets_Mono - XcodeBuildApp task failed unexpectedly - Could not find System.Runtime.Tests.app #78778

Closed
@carlossanlop

Description

@carlossanlop

Hit this in an unrelated PR in main: #78744

Running: cmake -S. -BNormalTestAppBundles -GXcode -DCMAKE_SYSTEM_NAME=Darwin -DCMAKE_OSX_ARCHITECTURES=x86_64
  Using working directory: /Users/runner/work/1/s/artifacts/bundles//tests.all/
  Exit code: 0
Running: xcodebuild ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY="-" -scheme "System.Runtime.Tests" -destination "generic/platform=macOS,name=Any Mac,variant=Mac Catalyst" -UseModernBuildSystem=YES -archivePath "/Users/runner/work/1/s/artifacts/bundles/tests.all/NormalTestAppBundles/System.Runtime.Tests/AppBundle" -derivedDataPath "/Users/runner/work/1/s/artifacts/bundles/tests.all/NormalTestAppBundles/System.Runtime.Tests/AppBundle" IPHONEOS_DEPLOYMENT_TARGET=13.5 -configuration Release
  Using working directory: /Users/runner/work/1/s/artifacts/bundles/tests.all/NormalTestAppBundles/System.Runtime.Tests/AppBundle
  Exit code: 0
/Users/runner/work/1/s/src/libraries/tests.proj(735,5): error MSB4018: The "XcodeBuildApp" task failed unexpectedly.
/Users/runner/work/1/s/src/libraries/tests.proj(735,5): error MSB4018: 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'.
/Users/runner/work/1/s/src/libraries/tests.proj(735,5): error MSB4018:    at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath, Boolean isCaseSensitiveRename)
/Users/runner/work/1/s/src/libraries/tests.proj(735,5): error MSB4018:    at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath)
/Users/runner/work/1/s/src/libraries/tests.proj(735,5): error MSB4018:    at Xcode.BuildAppBundle(String xcodePrjPath, Boolean optimized, String devTeamProvisioning, String destination) in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 537
/Users/runner/work/1/s/src/libraries/tests.proj(735,5): error MSB4018:    at XcodeBuildApp.Execute() in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 108
/Users/runner/work/1/s/src/libraries/tests.proj(735,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
/Users/runner/work/1/s/src/libraries/tests.proj(735,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
##[error]src/libraries/tests.proj(735,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 537
   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)

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

Report

Build Definition Step Name Console log Pull Request
98927 dotnet/runtime Build product Log #79090
98915 dotnet/runtime Build product Log #79088
98840 dotnet/runtime Build product Log #74579
98581 dotnet/runtime Build product Log #79061
97485 dotnet/runtime Build product Log #78918
98706 dotnet/runtime Build product Log #79076
98698 dotnet/runtime Build product Log #78915
98688 dotnet/runtime Build product Log
98678 dotnet/runtime Build product Log #78852
98671 dotnet/runtime Build product Log
98663 dotnet/runtime Build product Log #78354
98639 dotnet/runtime Build product Log #79074
98594 dotnet/runtime Build product Log #79048
98571 dotnet/runtime Build product Log #79071
98547 dotnet/runtime Build product Log #79069
98494 dotnet/runtime Build product Log #78782
98450 dotnet/runtime Build product Log
98405 dotnet/runtime Build product Log
98388 dotnet/runtime Build product Log #79061
98378 dotnet/runtime Build product Log #79026
98353 dotnet/runtime Build product Log #78995
98326 dotnet/runtime Build product Log #79051
98314 dotnet/runtime Build product Log #79048
98088 dotnet/runtime Build product Log #79024
98229 dotnet/runtime Build product Log #79046
97948 dotnet/runtime Build product Log #79049
98140 dotnet/runtime Build product Log
98134 dotnet/runtime Build product Log
98129 dotnet/runtime Build product Log
97393 dotnet/runtime Build product Log #78087
98103 dotnet/runtime Build product Log #79007
98080 dotnet/runtime Build product Log #77130
98056 dotnet/runtime Build product Log #79057
98062 dotnet/runtime Build product Log
98047 dotnet/runtime Build product Log #74579
96320 dotnet/runtime Build product Log #78852
97985 dotnet/runtime Build product Log #79019
97981 dotnet/runtime Build product Log #79051
97922 dotnet/runtime Build product Log #78829
97905 dotnet/runtime Build product Log #78915
97870 dotnet/runtime Build product Log #79044
97862 dotnet/runtime Build product Log #79044
97841 dotnet/runtime Build product Log #79042
97253 dotnet/runtime Build product Log #79019
97812 dotnet/runtime Build product Log #79039
97811 dotnet/runtime Build product Log #79040
97783 dotnet/runtime Build product Log #79036
97758 dotnet/runtime Build product Log #79035
97680 dotnet/runtime Build product Log #78020
97666 dotnet/runtime Build product Log #78817
97662 dotnet/runtime Build product Log #78915
97636 dotnet/runtime Build product Log #78850
93797 dotnet/runtime Build product Log #78857
96362 dotnet/runtime Build product Log #78646
97564 dotnet/runtime Build product Log #73215
97520 dotnet/runtime Build product Log #78915
97491 dotnet/runtime Build product Log #79027
97479 dotnet/runtime Build product Log
97460 dotnet/runtime Build product Log #78974
97453 dotnet/runtime Build product Log
97430 dotnet/runtime Build product Log #78793
97408 dotnet/runtime Build product Log #79026
97404 dotnet/runtime Build product Log #78861
97383 dotnet/runtime Build product Log #78863
97377 dotnet/runtime Build product Log #79025
97373 dotnet/runtime Build product Log #79024
97359 dotnet/runtime Build product Log #78793
97337 dotnet/runtime Build product Log
97325 dotnet/runtime Build product Log
97308 dotnet/runtime Build product Log #79021
97206 dotnet/runtime Build product Log #79013
97194 dotnet/runtime Build product Log #78860
97200 dotnet/runtime Build product Log #78958
97179 dotnet/runtime Build product Log #78793
97121 dotnet/runtime Build product Log #78996
97089 dotnet/runtime Build product Log #79009
97087 dotnet/runtime Build product Log #79008
97063 dotnet/runtime Build product Log #78411
97057 dotnet/runtime Build product Log #78943
97043 dotnet/runtime Build product Log #79007
97029 dotnet/runtime Build product Log #78782
96953 dotnet/runtime Build product Log #79002
96960 dotnet/runtime Build product Log
96946 dotnet/runtime Build product Log #77130
96951 dotnet/runtime Build product Log
96884 dotnet/runtime Build product Log #78946
96848 dotnet/runtime Build product Log #78998
96847 dotnet/runtime Build product Log #78997
96785 dotnet/runtime Build product Log
96767 dotnet/runtime Build product Log #78411
96723 dotnet/runtime Build product Log #78983
96712 dotnet/runtime Build product Log #78943
96704 dotnet/runtime Build product Log
96650 dotnet/runtime Build product Log #78986
96634 dotnet/runtime Build product Log #78984
96573 dotnet/runtime Build product Log #78982
93237 dotnet/runtime Build product Log #78320
96538 dotnet/runtime Build product Log #78968
96522 dotnet/runtime Build product Log #78974
96495 dotnet/runtime Build product Log #78888
Displaying 100 of 258 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
40 214 258

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions