Skip to content

[BUG]: xcode@5 does not publish test results #21241

@m-soltani

Description

@m-soltani

New issue checklist

Task name

Xcode

Task version

5

Issue Description

I am running my xcode build and test actions using xcode@5.
The Junit test results are not published in Azure DevOps UI page, although being executed on the agent and the useXcpretty flag is set to true, which according to the documentation will publish the test results automatically.

My guess:
Looking at the task implementation, I don't see the input publishJUnitResults even being read. I might also have a wrong assumption, but it seems to me that this input is ignored.

Environment type (Please select at least one environment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

macos

Relevant log output

9.0.304
Result Attachments will be stored in LogStore
Run Attachments will be stored in LogStore
No Result Found to Publish '/Users/runner/work/1/s/build/reports/junit.xml'

Full task logs with system.debug enabled

2025-08-21T14:30:08.9779120Z ##[debug]Evaluating condition for step: 'Xcode' 2025-08-21T14:30:08.9783320Z ##[debug]Evaluating: SucceededNode() 2025-08-21T14:30:08.9783750Z ##[debug]Evaluating SucceededNode: 2025-08-21T14:30:08.9784850Z ##[debug]=> True 2025-08-21T14:30:08.9785720Z ##[debug]Result: True 2025-08-21T14:30:08.9786410Z ##[section]Starting: Xcode 2025-08-21T14:30:08.9813160Z ============================================================================== 2025-08-21T14:30:08.9813540Z Task : Xcode 2025-08-21T14:30:08.9813670Z Description : Build, test, or archive an Xcode workspace on macOS. Optionally package an app. 2025-08-21T14:30:08.9814000Z Version : 5.259.0 2025-08-21T14:30:08.9814820Z Author : Microsoft Corporation 2025-08-21T14:30:08.9815020Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/xcode 2025-08-21T14:30:08.9815380Z ============================================================================== 2025-08-21T14:30:09.6532330Z ##[debug]Using node path: /Users/runner/runners/4.260.0/externals/node20_1/bin/node 2025-08-21T14:30:10.9914470Z ##[debug]system.debug=true 2025-08-21T14:30:11.0000460Z ##[debug]DistributedTask.Tasks.Node.SkipDebugLogsWhenDebugModeOff=True 2025-08-21T14:30:11.0242470Z ##[debug]agent.TempDirectory=/Users/runner/work/_temp 2025-08-21T14:30:11.0349920Z ##[debug]loading inputs and endpoints 2025-08-21T14:30:11.0433310Z ##[debug]loading INPUT_ACTIONS 2025-08-21T14:30:11.0501700Z ##[debug]loading INPUT_CONFIGURATION 2025-08-21T14:30:11.0545810Z ##[debug]loading INPUT_SDK 2025-08-21T14:30:11.0590830Z ##[debug]loading INPUT_XCWORKSPACEPATH 2025-08-21T14:30:11.0643390Z ##[debug]loading INPUT_SCHEME 2025-08-21T14:30:11.0707490Z ##[debug]loading INPUT_XCODEVERSION 2025-08-21T14:30:11.0738560Z ##[debug]loading INPUT_XCODEDEVELOPERDIR 2025-08-21T14:30:11.0781420Z ##[debug]loading INPUT_PACKAGEAPP 2025-08-21T14:30:11.0904490Z ##[debug]loading INPUT_ARCHIVEPATH 2025-08-21T14:30:11.0953550Z ##[debug]loading INPUT_EXPORTPATH 2025-08-21T14:30:11.1054070Z ##[debug]loading INPUT_EXPORTOPTIONS 2025-08-21T14:30:11.1092930Z ##[debug]loading INPUT_EXPORTMETHOD 2025-08-21T14:30:11.1152390Z ##[debug]loading INPUT_EXPORTOPTIONSPLIST 2025-08-21T14:30:11.1562010Z ##[debug]loading INPUT_SIGNINGOPTION 2025-08-21T14:30:11.2056550Z ##[debug]loading INPUT_DESTINATIONPLATFORMOPTION 2025-08-21T14:30:11.2121700Z ##[debug]loading INPUT_DESTINATIONTYPEOPTION 2025-08-21T14:30:11.2155250Z ##[debug]loading INPUT_DESTINATIONSIMULATORS 2025-08-21T14:30:11.2364310Z ##[debug]loading INPUT_CWD 2025-08-21T14:30:11.2693670Z ##[debug]loading INPUT_USEXCPRETTY 2025-08-21T14:30:11.2766570Z ##[debug]loading INPUT_PUBLISHJUNITRESULTS 2025-08-21T14:30:11.2932750Z ##[debug]loading INPUT_TESTRUNTITLE 2025-08-21T14:30:11.3000440Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2025-08-21T14:30:11.3301990Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2025-08-21T14:30:11.3527920Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2025-08-21T14:30:11.3876420Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN 2025-08-21T14:30:11.4019260Z ##[debug]loaded 25 2025-08-21T14:30:11.4079770Z ##[debug]Agent.ProxyUrl=undefined 2025-08-21T14:30:11.4148480Z ##[debug]Agent.CAInfo=undefined 2025-08-21T14:30:11.4313520Z ##[debug]Agent.ClientCert=undefined 2025-08-21T14:30:11.4418430Z ##[debug]Agent.SkipCertValidation=undefined 2025-08-21T14:30:11.4820340Z ##[debug]check path : /Users/runner/work/_tasks/Xcode_1e78dc1b-9132-4b18-9c75-0e7ecc634b74/5.259.0/node_modules/azure-pipelines-tasks-ios-signing-common/module.json 2025-08-21T14:30:11.4881640Z ##[debug]adding resource file: /Users/runner/work/_tasks/Xcode_1e78dc1b-9132-4b18-9c75-0e7ecc634b74/5.259.0/node_modules/azure-pipelines-tasks-ios-signing-common/module.json 2025-08-21T14:30:11.5649450Z ##[debug]system.culture=en-US 2025-08-21T14:30:11.5851110Z ##[debug]check path : /Users/runner/work/_tasks/Xcode_1e78dc1b-9132-4b18-9c75-0e7ecc634b74/5.259.0/task.json 2025-08-21T14:30:11.6001460Z ##[debug]adding resource file: /Users/runner/work/_tasks/Xcode_1e78dc1b-9132-4b18-9c75-0e7ecc634b74/5.259.0/task.json 2025-08-21T14:30:11.6082290Z ##[debug]system.culture=en-US 2025-08-21T14:30:11.7093710Z ##[debug]xcodeVersion=specifyPath 2025-08-21T14:30:11.8119530Z ##[debug]xcodeDeveloperDir=/Applications/Xcode_16.3.app/Contents/Developer 2025-08-21T14:30:11.9125220Z ##[debug]set DEVELOPER_DIR=/Applications/Xcode_16.3.app/Contents/Developer 2025-08-21T14:30:12.0148110Z ##[debug]Processed: ##vso[task.setvariable variable=DEVELOPER_DIR;isOutput=false;issecret=false;]/Applications/Xcode_16.3.app/Contents/Developer 2025-08-21T14:30:12.1132230Z ##[debug]which 'xcodebuild' 2025-08-21T14:30:12.2095650Z ##[debug]found: '/usr/bin/xcodebuild' 2025-08-21T14:30:12.2157420Z ##[debug]Tool selected: /usr/bin/xcodebuild 2025-08-21T14:30:12.2314710Z ##[debug]cwd=/Users/runner/work/1/s 2025-08-21T14:30:12.2408490Z ##[debug]xcWorkspacePath=/Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj 2025-08-21T14:30:12.2621810Z ##[debug]xcWorkspacePath=/Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj 2025-08-21T14:30:12.2660030Z ##[debug]Absolute path for pathSegments: /Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj = /Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj 2025-08-21T14:30:12.2669860Z ##[debug]build.sourcesDirectory=/Users/runner/work/1/s 2025-08-21T14:30:12.2682430Z ##[debug]Absolute path for pathSegments: /Users/runner/work/1/s = /Users/runner/work/1/s 2025-08-21T14:30:12.2743190Z ##[debug]xcWorkspacePathpath supplied :true 2025-08-21T14:30:12.2750820Z ##[debug]defaultRoot: '/Users/runner/work/1/s' 2025-08-21T14:30:12.2755270Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false' 2025-08-21T14:30:12.2759800Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'false' 2025-08-21T14:30:12.2769620Z ##[debug]findOptions.followSymbolicLinks: 'false' 2025-08-21T14:30:12.2779050Z ##[debug]findOptions.skipMissingFiles: 'undefined' 2025-08-21T14:30:12.2793160Z ##[debug]matchOptions.debug: 'false' 2025-08-21T14:30:12.2798720Z ##[debug]matchOptions.nobrace: 'true' 2025-08-21T14:30:12.2803640Z ##[debug]matchOptions.noglobstar: 'false' 2025-08-21T14:30:12.2821230Z ##[debug]matchOptions.dot: 'true' 2025-08-21T14:30:12.2829220Z ##[debug]matchOptions.noext: 'false' 2025-08-21T14:30:12.2835990Z ##[debug]matchOptions.nocase: 'false' 2025-08-21T14:30:12.2848020Z ##[debug]matchOptions.nonull: 'false' 2025-08-21T14:30:12.2937950Z ##[debug]matchOptions.matchBase: 'false' 2025-08-21T14:30:12.3015150Z ##[debug]matchOptions.nocomment: 'false' 2025-08-21T14:30:12.3075490Z ##[debug]matchOptions.nonegate: 'false' 2025-08-21T14:30:12.3152750Z ##[debug]matchOptions.flipNegate: 'false' 2025-08-21T14:30:12.3235100Z ##[debug]pattern: '/Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj' 2025-08-21T14:30:12.3311240Z ##[debug]findPath: '/Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj' 2025-08-21T14:30:12.3355700Z ##[debug]statOnly: 'true' 2025-08-21T14:30:12.3361340Z ##[debug]found 1 paths 2025-08-21T14:30:12.3385400Z ##[debug]applying include pattern 2025-08-21T14:30:12.3407380Z ##[debug]1 matches 2025-08-21T14:30:12.3428980Z ##[debug]1 final results 2025-08-21T14:30:12.3465090Z ##[debug]Found 1 workspaces matching. 2025-08-21T14:30:12.3486260Z ##[debug]scheme=SmartPass 2025-08-21T14:30:12.3533770Z ##[debug]destinationPlatformOption=iOS 2025-08-21T14:30:12.3534690Z ##[debug]destinationTypeOption=simulators 2025-08-21T14:30:12.3539280Z ##[debug]destinationSimulators=iPhone 16,OS=18.4 2025-08-21T14:30:12.3542690Z ##[debug]Constructed destination: platform=iOS Simulator,name=iPhone 16,OS=18.4 2025-08-21T14:30:12.3544520Z ##[debug]sdk=iphonesimulator 2025-08-21T14:30:12.3558060Z ##[debug]configuration=Debug 2025-08-21T14:30:12.3571490Z ##[debug]useXcpretty=true 2025-08-21T14:30:12.3593510Z ##[debug]actions=clean build test 2025-08-21T14:30:12.3601830Z ##[debug]packageApp=false 2025-08-21T14:30:12.3606890Z ##[debug]args=undefined 2025-08-21T14:30:12.3613120Z ##[debug]which '/usr/bin/xcodebuild' 2025-08-21T14:30:12.3621910Z ##[debug]found: '/usr/bin/xcodebuild' 2025-08-21T14:30:12.3626410Z ##[debug]/usr/bin/xcodebuild arg: -version 2025-08-21T14:30:12.3633820Z ##[debug]exec tool: /usr/bin/xcodebuild 2025-08-21T14:30:12.3648510Z ##[debug]arguments: 2025-08-21T14:30:12.3649700Z ##[debug] -version 2025-08-21T14:30:12.3671640Z [command]/usr/bin/xcodebuild -version 2025-08-21T14:30:12.3683750Z ##[debug]match = Xcode 16.3 2025-08-21T14:30:12.3695810Z ##[debug]majorVersion = 16 2025-08-21T14:30:12.3751510Z Xcode 16.3 2025-08-21T14:30:12.3808300Z ##[debug]match = null 2025-08-21T14:30:12.3835730Z Build version 16E140 2025-08-21T14:30:12.3872460Z ##[debug]Exit code 0 received from tool '/usr/bin/xcodebuild' 2025-08-21T14:30:12.3880330Z 2025-08-21T14:30:12.3885150Z ##[debug]STDIO streams have closed for tool '/usr/bin/xcodebuild' 2025-08-21T14:30:12.3909730Z ##[debug]xcodeMajorVersion = 16 2025-08-21T14:30:12.3919600Z ##[debug]which '/usr/bin/xcodebuild' 2025-08-21T14:30:12.3925010Z ##[debug]found: '/usr/bin/xcodebuild' 2025-08-21T14:30:12.3930760Z ##[debug]/usr/bin/xcodebuild arg: ["-sdk","iphonesimulator"] 2025-08-21T14:30:12.3943230Z ##[debug]/usr/bin/xcodebuild arg: ["-configuration","Debug"] 2025-08-21T14:30:12.3946030Z ##[debug]xcWorkspacePath=/Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj 2025-08-21T14:30:12.3949490Z ##[debug]Absolute path for pathSegments: /Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj = /Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj 2025-08-21T14:30:12.3953140Z ##[debug]build.sourcesDirectory=/Users/runner/work/1/s 2025-08-21T14:30:12.3958110Z ##[debug]Absolute path for pathSegments: /Users/runner/work/1/s = /Users/runner/work/1/s 2025-08-21T14:30:12.3961570Z ##[debug]xcWorkspacePathpath supplied :true 2025-08-21T14:30:12.3988130Z ##[debug]/usr/bin/xcodebuild arg: -project 2025-08-21T14:30:12.3993170Z ##[debug]/usr/bin/xcodebuild arg: /Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj 2025-08-21T14:30:12.4000710Z ##[debug]/usr/bin/xcodebuild arg: ["-scheme","SmartPass"] 2025-08-21T14:30:12.4003040Z ##[debug]/usr/bin/xcodebuild arg: ["-destination","platform=iOS Simulator,name=iPhone 16,OS=18.4"] 2025-08-21T14:30:12.4022820Z ##[debug]/usr/bin/xcodebuild arg: ["clean","build","test"] 2025-08-21T14:30:12.4031940Z ##[debug]signingOption=nosign 2025-08-21T14:30:12.4045820Z ##[debug]/usr/bin/xcodebuild arg: CODE_SIGNING_ALLOWED=NO 2025-08-21T14:30:12.4111480Z ##[debug]which 'xcpretty' 2025-08-21T14:30:12.4143610Z ##[debug]found: '/usr/local/lib/ruby/gems/3.3.0/bin/xcpretty' 2025-08-21T14:30:12.4183310Z ##[debug]which 'xcpretty' 2025-08-21T14:30:12.4199910Z ##[debug]found: '/usr/local/lib/ruby/gems/3.3.0/bin/xcpretty' 2025-08-21T14:30:12.4226340Z ##[debug]which '/usr/local/lib/ruby/gems/3.3.0/bin/xcpretty' 2025-08-21T14:30:12.4234000Z ##[debug]found: '/usr/local/lib/ruby/gems/3.3.0/bin/xcpretty' 2025-08-21T14:30:12.4237100Z ##[debug]/usr/local/lib/ruby/gems/3.3.0/bin/xcpretty arg: ["-r","junit","--no-color"] 2025-08-21T14:30:12.4240310Z ##[debug]xcprettyArgs=undefined 2025-08-21T14:30:12.4272100Z ##[debug]Agent.TempDirectory=/Users/runner/work/_temp 2025-08-21T14:30:12.4292380Z ##[debug]Absolute path for pathSegments: /Users/runner/work/_temp,xcodebuild.log = /Users/runner/work/_temp/xcodebuild.log 2025-08-21T14:30:12.4302180Z ##[debug]Agent.Version=4.260.0 2025-08-21T14:30:12.4306650Z ##[debug]Agent.Version=4.260.0 2025-08-21T14:30:12.4322310Z ##[debug]set task variable: XCODEBUILD_LOG=/Users/runner/work/_temp/xcodebuild.log 2025-08-21T14:30:12.4328910Z ##[debug]Processed: ##vso[task.settaskvariable variable=XCODEBUILD_LOG;issecret=false;]/Users/runner/work/_temp/xcodebuild.log 2025-08-21T14:30:12.4335250Z ##[debug]exec tool: /usr/bin/xcodebuild 2025-08-21T14:30:12.4340890Z ##[debug]arguments: 2025-08-21T14:30:12.4357510Z ##[debug] -sdk 2025-08-21T14:30:12.4387720Z ##[debug] iphonesimulator 2025-08-21T14:30:12.4416570Z ##[debug] -configuration 2025-08-21T14:30:12.4445980Z ##[debug] Debug 2025-08-21T14:30:12.4460790Z ##[debug] -project 2025-08-21T14:30:12.4490170Z ##[debug] /Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj 2025-08-21T14:30:12.4523830Z ##[debug] -scheme 2025-08-21T14:30:12.4539550Z ##[debug] SmartPass 2025-08-21T14:30:12.4573120Z ##[debug] -destination 2025-08-21T14:30:12.4593890Z ##[debug] platform=iOS Simulator,name=iPhone 16,OS=18.4 2025-08-21T14:30:12.4616100Z ##[debug] clean 2025-08-21T14:30:12.4674790Z ##[debug] build 2025-08-21T14:30:12.4685520Z ##[debug] test 2025-08-21T14:30:12.4699390Z ##[debug] CODE_SIGNING_ALLOWED=NO 2025-08-21T14:30:12.4719400Z [command]/usr/bin/xcodebuild -sdk iphonesimulator -configuration Debug -project /Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass.xcodeproj -scheme SmartPass -destination platform=iOS Simulator,name=iPhone 16,OS=18.4 clean build test CODE_SIGNING_ALLOWED=NO | /usr/local/lib/ruby/gems/3.3.0/bin/xcpretty -r junit --no-color 2025-08-21T14:30:14.1885900Z ##[debug]Agent environment resources - Disk: / Available 136732.93 MB out of 332471.96 MB, Memory: Used 7113.00 MB out of 14330.00 MB, CPU: Usage 100.00% 2025-08-21T14:30:22.2708030Z ##[debug]Agent environment resources - Disk: / Available 136707.95 MB out of 332471.96 MB, Memory: Used 7271.00 MB out of 14330.00 MB, CPU: Usage 99.37% 2025-08-21T14:30:31.1430780Z ##[debug]Agent environment resources - Disk: / Available 136707.09 MB out of 332471.96 MB, Memory: Used 7366.00 MB out of 14333.00 MB, CPU: Usage 100.00% 2025-08-21T14:30:42.1006270Z ##[debug]Agent environment resources - Disk: / Available 136706.21 MB out of 332471.96 MB, Memory: Used 8468.00 MB out of 14330.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:30:47.5394530Z ▸ Clean Succeeded 2025-08-21T14:30:53.6874180Z ##[debug]Agent environment resources - Disk: / Available 136705.60 MB out of 332471.96 MB, Memory: Used 8708.00 MB out of 14330.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:31:02.0666820Z ##[debug]Agent environment resources - Disk: / Available 136704.08 MB out of 332471.96 MB, Memory: Used 8814.00 MB out of 14330.00 MB, CPU: Usage 100.00% 2025-08-21T14:31:09.0515550Z ##[debug]Agent environment resources - Disk: / Available 136699.89 MB out of 332471.96 MB, Memory: Used 8894.00 MB out of 14331.00 MB, CPU: Usage 98.26% 2025-08-21T14:31:12.7654530Z ▸ Linking __preview.dylib 2025-08-21T14:31:16.1704810Z ##[debug]Agent environment resources - Disk: / Available 136687.07 MB out of 332471.96 MB, Memory: Used 9155.00 MB out of 14330.00 MB, CPU: Usage 100.00% 2025-08-21T14:31:23.9868160Z ##[debug]Agent environment resources - Disk: / Available 136645.39 MB out of 332471.96 MB, Memory: Used 9856.00 MB out of 14329.00 MB, CPU: Usage 99.61% 2025-08-21T14:31:32.5336910Z ##[debug]Agent environment resources - Disk: / Available 136618.63 MB out of 332471.96 MB, Memory: Used 9968.00 MB out of 14333.00 MB, CPU: Usage 100.00% 2025-08-21T14:31:41.0477980Z ##[debug]Agent environment resources - Disk: / Available 136598.84 MB out of 332471.96 MB, Memory: Used 9819.00 MB out of 14330.00 MB, CPU: Usage 100.00% 2025-08-21T14:31:49.8494890Z ##[debug]Agent environment resources - Disk: / Available 136595.07 MB out of 332471.96 MB, Memory: Used 9733.00 MB out of 14332.00 MB, CPU: Usage 100.00% 2025-08-21T14:31:59.5425160Z ##[debug]Agent environment resources - Disk: / Available 136590.12 MB out of 332471.96 MB, Memory: Used 9508.00 MB out of 14331.00 MB, CPU: Usage 100.00% 2025-08-21T14:32:07.3760490Z ##[debug]Agent environment resources - Disk: / Available 136561.83 MB out of 332471.96 MB, Memory: Used 9520.00 MB out of 14330.00 MB, CPU: Usage 100.00% 2025-08-21T14:32:10.3701700Z 2025-08-21T14:32:10.3711040Z ⚠️ /Users/runner/work/1/s/Mobile/iOS/App/SmartPassApp/SmartPass/SmartPass/Features/Unauthenticated/UnauthenticatedCoordinator.swift:74:27: variable 'self' was written to, but never read 2025-08-21T14:32:10.3715600Z 2025-08-21T14:32:10.3726440Z .sink { [weak self] path in 2025-08-21T14:32:10.3729570Z ^ 2025-08-21T14:32:10.3736220Z 2025-08-21T14:32:10.3740900Z 2025-08-21T14:32:10.9805420Z ▸ Processing empty-SmartPass.plist 2025-08-21T14:32:11.0298300Z ▸ Linking SmartPass.debug.dylib 2025-08-21T14:32:11.9230880Z ▸ Linking SmartPass 2025-08-21T14:32:12.4778960Z ▸ Touching SmartPass.app (in target 'SmartPass' from project 'SmartPass') 2025-08-21T14:32:12.6602490Z ▸ Build Succeeded 2025-08-21T14:32:14.4474830Z ▸ Processing empty-SmartPass.plist 2025-08-21T14:32:14.4562640Z ##[debug]Agent environment resources - Disk: / Available 136541.61 MB out of 332471.96 MB, Memory: Used 9498.00 MB out of 14330.00 MB, CPU: Usage 94.56% 2025-08-21T14:32:14.4704300Z ▸ Processing empty-SmartPassTests.plist 2025-08-21T14:32:21.8342490Z ##[debug]Agent environment resources - Disk: / Available 136517.73 MB out of 332471.96 MB, Memory: Used 8269.00 MB out of 14330.00 MB, CPU: Usage 65.41% 2025-08-21T14:32:28.5436690Z ##[debug]Agent environment resources - Disk: / Available 136494.27 MB out of 332471.96 MB, Memory: Used 8378.00 MB out of 14329.00 MB, CPU: Usage 89.25% 2025-08-21T14:32:29.8684560Z ▸ Linking SmartPassTests 2025-08-21T14:32:30.7981550Z ▸ Touching SmartPassTests.xctest (in target 'SmartPassTests' from project 'SmartPass') 2025-08-21T14:32:35.4981590Z ##[debug]Agent environment resources - Disk: / Available 136461.54 MB out of 332471.96 MB, Memory: Used 8204.00 MB out of 14334.00 MB, CPU: Usage 76.83% 2025-08-21T14:32:54.4859950Z ##[debug]Agent environment resources - Disk: / Available 136461.39 MB out of 332471.96 MB, Memory: Used 8440.00 MB out of 14330.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:33:12.3174750Z ##[debug]Agent environment resources - Disk: / Available 136456.71 MB out of 332471.96 MB, Memory: Used 8744.00 MB out of 14332.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:33:24.9402600Z ##[debug]Agent environment resources - Disk: / Available 136399.53 MB out of 332471.96 MB, Memory: Used 9110.00 MB out of 14333.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:33:37.4792070Z ##[debug]Agent environment resources - Disk: / Available 136289.71 MB out of 332471.96 MB, Memory: Used 8967.00 MB out of 14331.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:33:49.6363780Z ##[debug]Agent environment resources - Disk: / Available 136239.48 MB out of 332471.96 MB, Memory: Used 8924.00 MB out of 14332.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:33:58.8147870Z ##[debug]Agent environment resources - Disk: / Available 136222.87 MB out of 332471.96 MB, Memory: Used 8896.00 MB out of 14332.00 MB, CPU: Usage 100.00% 2025-08-21T14:34:19.6947440Z ##[debug]Agent environment resources - Disk: / Available 136222.12 MB out of 332471.96 MB, Memory: Used 8875.00 MB out of 14331.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:35:37.7415920Z ##[debug]Agent environment resources - Disk: / Available 136187.98 MB out of 332471.96 MB, Unable to get memory info, exception: The operation was canceled., Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:35:54.1321830Z ##[debug]Agent environment resources - Disk: / Available 135943.74 MB out of 332471.96 MB, Unable to get memory info, exception: The operation was canceled., Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:36:16.7808370Z ##[debug]Agent environment resources - Disk: / Available 135822.20 MB out of 332471.96 MB, Unable to get memory info, exception: The operation was canceled., Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:36:30.3386160Z ##[debug]Agent environment resources - Disk: / Available 135719.31 MB out of 332471.96 MB, Memory: Used 8651.00 MB out of 14332.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:36:44.7324200Z ##[debug]Agent environment resources - Disk: / Available 135677.01 MB out of 332471.96 MB, Memory: Used 8612.00 MB out of 14329.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:37:00.2861000Z ##[debug]Agent environment resources - Disk: / Available 135635.92 MB out of 332471.96 MB, Memory: Used 8804.00 MB out of 14329.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:37:14.4759890Z ##[debug]Agent environment resources - Disk: / Available 135613.95 MB out of 332471.96 MB, Unable to get memory info, exception: The operation was canceled., Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:37:23.5946350Z 2025-08-21 14:37:23.356 xcodebuild[4870:29611] [MT] IDETestOperationsObserverDebug: 292.534 elapsed -- Testing started completed. 2025-08-21T14:37:23.6978360Z 2025-08-21 14:37:23.357 xcodebuild[4870:29611] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start 2025-08-21T14:37:23.7527750Z 2025-08-21 14:37:23.357 xcodebuild[4870:29611] [MT] IDETestOperationsObserverDebug: 292.534 sec, +292.534 sec -- end 2025-08-21T14:37:29.9181140Z ##[debug]Agent environment resources - Disk: / Available 135593.16 MB out of 332471.96 MB, Memory: Used 8840.00 MB out of 14332.00 MB, Unable to get CPU info, exception: The operation was canceled. 2025-08-21T14:37:34.5140420Z ▸ Test Succeeded 2025-08-21T14:37:39.0732650Z ##[debug]success of first tool:true 2025-08-21T14:37:39.1000800Z ##[debug]rc:0 2025-08-21T14:37:39.1706030Z ##[debug]success:true 2025-08-21T14:37:39.2693910Z ##[debug]task result: Succeeded 2025-08-21T14:37:39.3015160Z ##[debug]Processed: ##vso[task.complete result=Succeeded;]Xcode task execution completed with no errors. 2025-08-21T14:37:39.3017350Z ##[debug]Agent.Version=4.260.0 2025-08-21T14:37:39.3096790Z ##[debug]SYSTEM_TASKINSTANCEID=f798d388-8033-53cb-8705-64fa1ab83acd 2025-08-21T14:37:39.3513360Z ##[debug]SYSTEM_JOBID=1007a236-36bf-5fc3-8075-f3f67cda0be1 2025-08-21T14:37:39.4577870Z ##[debug]SYSTEM_PLANID=3da5cb55-2de5-4e97-88b0-8bf9cd793768 2025-08-21T14:37:39.5222360Z ##[debug]SYSTEM_COLLECTIONID=6ce442ab-d184-435b-9ef0-64a663ca1f10 2025-08-21T14:37:39.5951660Z ##[debug]AGENT_ID=9 2025-08-21T14:37:39.6231540Z ##[debug]AGENT_MACHINENAME=Mac-1755783934028 2025-08-21T14:37:39.7238740Z ##[debug]AGENT_NAME=Hosted Agent 2025-08-21T14:37:39.7900060Z ##[debug]AGENT_JOBSTATUS=Succeeded 2025-08-21T14:37:39.8067000Z ##[debug]AGENT_OS=Darwin 2025-08-21T14:37:39.8243900Z ##[debug]AGENT_VERSION=4.260.0 2025-08-21T14:37:39.8501570Z ##[debug]BUILD_BUILDID=87365 2025-08-21T14:37:39.8585020Z ##[debug]BUILD_BUILDNUMBER=20250821.5 2025-08-21T14:37:39.8722940Z ##[debug]BUILD_BUILDURI=vstfs:///Build/Build/87365 2025-08-21T14:37:39.9314400Z ##[debug]BUILD_CONTAINERID=40947051 2025-08-21T14:37:39.9669940Z ##[debug]BUILD_DEFINITIONNAME=SmartPass-iOS-Application 2025-08-21T14:37:39.9915350Z ##[debug]BUILD_DEFINITIONVERSION=2 2025-08-21T14:37:40.0459450Z ##[debug]BUILD_REASON=Manual 2025-08-21T14:37:40.0822400Z ##[debug]BUILD_REPOSITORY_CLEAN=False 2025-08-21T14:37:40.0918490Z ##[debug]BUILD_REPOSITORY_GIT_SUBMODULECHECKOUT=False 2025-08-21T14:37:40.1013770Z ##[debug]BUILD_REPOSITORY_NAME=tcore-smartpass 2025-08-21T14:37:40.1095660Z ##[debug]BUILD_REPOSITORY_PROVIDER=TfsGit 2025-08-21T14:37:40.1161470Z ##[debug]BUILD_SOURCEVERSION=22fb499c516a726e9ff147fbba0f39a77f852f9e 2025-08-21T14:37:40.2331950Z ##[debug]Processed: ##vso[telemetry.publish area=TaskHub;feature=Xcode]{"SYSTEM_TASKINSTANCEID":"f798d388-8033-53cb-8705-64fa1ab83acd","SYSTEM_JOBID":"1007a236-36bf-5fc3-8075-f3f67cda0be1","SYSTEM_PLANID":"3da5cb55-2de5-4e97-88b0-8bf9cd793768","SYSTEM_COLLECTIONID":"6ce442ab-d184-435b-9ef0-64a663ca1f10","AGENT_ID":"9","AGENT_MACHINENAME":"Mac-1755783934028","AGENT_NAME":"Hosted Agent","AGENT_JOBSTATUS":"Succeeded","AGENT_OS":"Darwin","AGENT_VERSION":"4.260.0","BUILD_BUILDID":"87365","BUILD_BUILDNUMBER":"20250821.5","BUILD_BUILDURI":"vstfs:///Build/Build/87365","BUILD_CONTAINERID":"40947051","BUILD_DEFINITIONNAME":"SmartPass-iOS-Application","BUILD_DEFINITIONVERSION":"2","BUILD_REASON":"Manual","BUILD_REPOSITORY_CLEAN":"False","BUILD_REPOSITORY_GIT_SUBMODULECHECKOUT":"False","BUILD_REPOSITORY_NAME":"tcore-smartpass","BUILD_REPOSITORY_PROVIDER":"TfsGit","BUILD_SOURCEVERSION":"22fb499c516a726e9ff147fbba0f39a77f852f9e","xcodeVersionSelection":"specifyPath","xcodeFileName":"Xcode_16.3.app","actions":["clean","build","test"],"packageApp":false,"xcodeVersion":"16.3","signingOption":"nosign"} 2025-08-21T14:37:40.2420530Z ##[section]Finishing: Xcode

Repro steps

variables:
      system.debug: true
      simulatorDevice: 'iPhone 16'
      simulatorOSVersion: '18.4'
      xcodeVersion: '16.3'
      SDK: 'iphonesimulator'
      configuration: 'Debug'
- task: Xcode@5
      inputs:
        actions: 'clean build test'
        scheme: 'READACTED'
        sdk: $(SDK)
        configuration: $(configuration)
        xcWorkspacePath: '$(buildDir)'
        xcodeVersion: specifyPath
        xcodeDeveloperDir: /Applications/Xcode_$(xcodeVersion).app/Contents/Developer
        packageApp: false
        signingOption: nosign
        useXcpretty: true
        destinationPlatformOption: 'iOS'
        destinationSimulators: '$(simulatorDevice),OS=$(simulatorOSVersion)'
        publishJUnitResults: true
        testRunTitle: 'iOS Simulator Tests'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions