When running a Xcode build on Hosted Agent (macOS) I get this error on 1 in a 10 builds. I do not know where it originates (not in our code). The error output is after the Xcode build is done (succeeded).
Not sure if this is the right place to report this.
2018-11-14T14:39:20.3910660Z 2018-11-14 14:39:20.390 xcodebuild[935:7288] *** Assertion failure in ROCKRemoteProxy * _Nullable rock_XPCObjectToROCKRemoteProxy(xpc_object_t _Nonnull __strong, ROCKSessionManager * _Nonnull __strong, NSError * _Nullable __autoreleasing * _Nullable)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/ROCKit/ROCKit-24/ROCKit/ROCKRemoteProxy+ROCK.m:97
2018-11-14T14:39:20.3918110Z ** INTERNAL ERROR: Uncaught exception **
2018-11-14T14:39:20.3918460Z Uncaught Exception: Invalid parameter not satisfying: sessionManager
2018-11-14T14:39:20.3918520Z Stack:
2018-11-14T14:39:21.4479800Z Invalid connection: com.apple.coresymbolicationd
2018-11-14T14:39:21.7897410Z 0 __exceptionPreprocess (in CoreFoundation)
2018-11-14T14:39:21.7917290Z 1 objc_exception_throw (in libobjc.A.dylib)
2018-11-14T14:39:21.7917890Z 2 +[NSException raise:format:arguments:] (in CoreFoundation)
2018-11-14T14:39:21.7919290Z 3 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] (in Foundation)
2018-11-14T14:39:21.7919790Z 4 rock_XPCObjectToROCKRemoteProxy (in ROCKit)
2018-11-14T14:39:21.7920190Z 5 rock_NSDictionaryDeserializer (in ROCKit)
2018-11-14T14:39:21.7920740Z 6 rock_XPCObjectToNSObject (in ROCKit)
2018-11-14T14:39:21.7921400Z 7 __rock_XPCObjectToNSDictionary_block_invoke (in ROCKit)
2018-11-14T14:39:21.7921850Z 8 _xpc_dictionary_apply_apply (in libxpc.dylib)
2018-11-14T14:39:21.7922150Z 9 _xpc_dictionary_apply_node_f (in libxpc.dylib)
2018-11-14T14:39:21.7922530Z 10 xpc_dictionary_apply (in libxpc.dylib)
2018-11-14T14:39:21.7922860Z 11 rock_XPCObjectToNSDictionary (in ROCKit)
2018-11-14T14:39:21.7923200Z 12 rock_XPCObjectToNSError (in ROCKit)
2018-11-14T14:39:21.7923470Z 13 simservice_send_request_sync (in CoreSimulatorUtilities)
2018-11-14T14:39:21.7924530Z 14 -[SimDevice _onBootstrapQueue_shutdownWithError:] (in CoreSimulator)
2018-11-14T14:39:21.7925210Z 15 __64-[SimDevice shutdownAsyncWithCompletionQueue:completionHandler:]_block_invoke (in CoreSimulator)
2018-11-14T14:39:21.7925770Z 16 __67-[SimDevice bootstrapQueueAsync:completionQueue:completionHandler:]_block_invoke (in CoreSimulator)
2018-11-14T14:39:21.7925840Z 17 _dispatch_call_block_and_release (in libdispatch.dylib)
2018-11-14T14:39:21.7925880Z 18 _dispatch_client_callout (in libdispatch.dylib)
2018-11-14T14:39:22.1129770Z 19 _dispatch_queue_serial_drain (in libdispatch.dylib)
2018-11-14T14:39:22.1129810Z 20 _dispatch_queue_invoke (in libdispatch.dylib)
2018-11-14T14:39:22.1129850Z 21 _dispatch_root_queue_drain_deferred_wlh (in libdispatch.dylib)
2018-11-14T14:39:22.1129900Z 22 _dispatch_workloop_worker_thread (in libdispatch.dylib)
2018-11-14T14:39:22.1129940Z 23 _pthread_wqthread (in libsystem_pthread.dylib)
2018-11-14T14:39:22.1129980Z 24 start_wqthread (in libsystem_pthread.dylib)
Anyone know anything about this and have seen it?
I did get this problem using fastlane and travis ci
I'm also seeing this in ~1/10 builds using Fastlane and TeamCity with Xcode 10
I am getting the same error on Azure Devops Pipelines, but while running snapshot/capture_ios_screenshots of fastlane as a script:
2018-12-08T12:03:32.6565790Z [12:03:32]: [32m-------------------------------------[0m
2018-12-08T12:03:32.6566650Z [12:03:32]: [32m--- Step: capture_ios_screenshots ---[0m
2018-12-08T12:03:32.6567300Z [12:03:32]: [32m-------------------------------------[0m
2018-12-08T12:03:33.4221240Z [12:03:33]: [32mSuccessfully loaded '/Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/Snapfile' đź“„[0m
2018-12-08T12:03:33.4221480Z
2018-12-08T12:03:33.4234420Z +------------------+-------------------------+
2018-12-08T12:03:33.4235110Z | Detected Values from './fastlane/Snapfile' |
2018-12-08T12:03:33.4235640Z +------------------+-------------------------+
2018-12-08T12:03:33.4235740Z | project | iosapp/iosapp.xcodeproj |
2018-12-08T12:03:33.4235820Z | devices | ["iPhone 5s"] |
2018-12-08T12:03:33.4236280Z | languages | ["en-US"] |
2018-12-08T12:03:33.4238610Z +------------------+-------------------------+
2018-12-08T12:03:33.4238710Z
2018-12-08T12:03:33.8636470Z [12:03:33]: [36m$ xcodebuild -showBuildSettings -scheme iosapp -project iosapp/iosapp.xcodeproj[0m
2018-12-08T12:03:35.5602280Z
2018-12-08T12:03:35.5674800Z +----------------------------+-------------------------------------------------------------+
2018-12-08T12:03:35.5675490Z | [32mSummary for snapshot 2.109.1[0m |
2018-12-08T12:03:35.5676050Z +----------------------------+-------------------------------------------------------------+
2018-12-08T12:03:35.5676180Z | scheme | iosapp |
2018-12-08T12:03:35.5676270Z | output_directory | /Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/screenshots |
2018-12-08T12:03:35.5676360Z | project | iosapp/iosapp.xcodeproj |
2018-12-08T12:03:35.5676450Z | devices | ["iPhone 5s"] |
2018-12-08T12:03:35.5676990Z | languages | ["en-US"] |
2018-12-08T12:03:35.5677580Z | launch_arguments | [""] |
2018-12-08T12:03:35.5677680Z | output_simulator_logs | false |
2018-12-08T12:03:35.5677770Z | skip_open_summary | false |
2018-12-08T12:03:35.5677860Z | skip_helper_version_check | false |
2018-12-08T12:03:35.5677950Z | clear_previous_screenshots | false |
2018-12-08T12:03:35.5678040Z | reinstall_app | false |
2018-12-08T12:03:35.5678130Z | erase_simulator | false |
2018-12-08T12:03:35.5678220Z | localize_simulator | false |
2018-12-08T12:03:35.5678310Z | app_identifier | tools.fastlane.iosapp |
2018-12-08T12:03:35.5678420Z | buildlog_path | ~/Library/Logs/snapshot |
2018-12-08T12:03:35.5678500Z | clean | false |
2018-12-08T12:03:35.5678600Z | number_of_retries | 1 |
2018-12-08T12:03:35.5678680Z | stop_after_first_error | false |
2018-12-08T12:03:35.5678780Z | result_bundle | false |
2018-12-08T12:03:35.5678860Z | concurrent_simulators | true |
2018-12-08T12:03:35.5678960Z | xcode_path | /Applications/Xcode.app |
2018-12-08T12:03:35.5679540Z +----------------------------+-------------------------------------------------------------+
2018-12-08T12:03:35.5679640Z
2018-12-08T12:03:35.5680190Z [12:03:35]: [32mBuilding and running project - this might take some time...[0m
2018-12-08T12:03:36.2038330Z [12:03:36]: Patching simulators '/Users/vsts/Library/Preferences/com.apple.iphonesimulator.plist' to scale to 100%
2018-12-08T12:03:41.7516550Z Print: Entry, ":DevicePreferences", Does Not Exist
2018-12-08T12:03:42.6880620Z [12:03:42]: [33mRunning snapshot on: iPhone 5s[0m
2018-12-08T12:03:42.6882160Z [12:03:42]: [36m$ set -o pipefail && xcodebuild -scheme iosapp -project iosapp/iosapp.xcodeproj -derivedDataPath '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb' -destination 'platform=iOS Simulator,name=iPhone 5s,OS=11.4' FASTLANE_SNAPSHOT=YES build test | tee /Users/vsts/Library/Logs/snapshot/iosapp-iosapp.log | xcpretty [0m
2018-12-08T12:03:42.6883000Z [12:03:42]: â–¸ [35mLoading...[0m
2018-12-08T12:03:43.5704570Z [12:03:43]: [35m[33mâ–¸[0m [39;1mBuilding[0m iosapp/iosapp [Debug][0m
2018-12-08T12:03:43.5705660Z [12:03:43]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:03:43.6506760Z [12:03:43]: [35m[33mâ–¸[0m [39;1mCompiling[0m ViewController.swift[0m
2018-12-08T12:03:47.7570300Z [12:03:47]: [35m[33mâ–¸[0m [39;1mCompiling[0m AppDelegate.swift[0m
2018-12-08T12:03:47.9307530Z [12:03:47]: [35m[33mâ–¸[0m [39;1mLinking[0m iosapp[0m
2018-12-08T12:03:48.0308090Z [12:03:48]: [35m[33mâ–¸[0m [39;1mCompiling[0m LaunchScreen.storyboard[0m
2018-12-08T12:03:48.1059180Z [12:03:48]: [35m[33mâ–¸[0m [39;1mCompiling[0m Main.storyboard[0m
2018-12-08T12:03:50.0678280Z [12:03:50]: [35m[33mâ–¸[0m [39;1mProcessing[0m Info.plist[0m
2018-12-08T12:03:51.0325410Z [12:03:51]: [35mRunning Tests: [33mâ–¸[0m [39;1mTouching[0m iosapp.app[0m
2018-12-08T12:03:51.0545420Z [12:03:51]: [35m[33mâ–¸[0m [39;1mSigning[0m /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosapp.app[0m
2018-12-08T12:03:51.2356970Z [12:03:51]: [35m[33mâ–¸[0m [39;1mBuild[0m Succeeded[0m
2018-12-08T12:03:51.3656190Z [12:03:51]: â–¸ [35m2018-12-08 12:03:51.363 xcodebuild[1959:12164] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:[0m
2018-12-08T12:03:51.3701490Z [12:03:51]: â–¸ [35m/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-24DF122B-9B02-48E3-9812-D75EB72404E7/iosappUITests-F6E551F8-1C58-4BD5-97EA-E4197F18E97A/Session-iosappUITests-2018-12-08_120351-Llhlj0.log[0m
2018-12-08T12:03:51.3708780Z [12:03:51]: â–¸ [35m2018-12-08 12:03:51.364 xcodebuild[1959:12162] [MT] IDETestOperationsObserverDebug: (EA4F003F-29D0-40D5-9B8A-E54566E31AC3) Beginning test session iosappUITests-EA4F003F-29D0-40D5-9B8A-E54566E31AC3 at 2018-12-08 12:03:51.362 with Xcode 9F2000 on target <DVTiPhoneSimulator: 0x7fa8ecc972f0> {[0m
2018-12-08T12:03:51.3710390Z [12:03:51]: â–¸ [35mSimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booting)[0m
2018-12-08T12:03:51.3746100Z [12:03:51]: â–¸ [35m} (11.4 (15F79))[0m
2018-12-08T12:03:51.3952430Z [12:03:51]: â–¸ [35m2018-12-08 12:03:51.393 xcodebuild[1959:12369] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:[0m
2018-12-08T12:03:51.4053050Z [12:03:51]: â–¸ [35m/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-24DF122B-9B02-48E3-9812-D75EB72404E7/iosappTests-B361102C-A7FE-4C10-B1AD-9081030A715B/Session-iosappTests-2018-12-08_120351-yfN24I.log[0m
2018-12-08T12:03:51.4055010Z [12:03:51]: â–¸ [35m2018-12-08 12:03:51.394 xcodebuild[1959:12162] [MT] IDETestOperationsObserverDebug: (AD0AF3D2-7DC5-4403-84DA-1AC4A5C286FD) Beginning test session iosappTests-AD0AF3D2-7DC5-4403-84DA-1AC4A5C286FD at 2018-12-08 12:03:51.394 with Xcode 9F2000 on target <DVTiPhoneSimulator: 0x7fa8ecc972f0> {[0m
2018-12-08T12:03:51.4056270Z [12:03:51]: â–¸ [35mSimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booted)[0m
2018-12-08T12:03:51.4057410Z [12:03:51]: â–¸ [35m} (11.4 (15F79))[0m
2018-12-08T12:03:53.1261090Z [12:03:53]: [35m[33mâ–¸[0m [39;1mBuilding[0m iosapp/iosapp [Debug][0m
2018-12-08T12:03:53.1791460Z [12:03:53]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:03:53.1917970Z [12:03:53]: [35m[33mâ–¸[0m [39;1mBuilding[0m iosapp/iosappUITests [Debug][0m
2018-12-08T12:03:53.2018370Z [12:03:53]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:03:53.3158040Z [12:03:53]: [35m[33mâ–¸[0m [39;1mProcessing[0m Info.plist[0m
2018-12-08T12:03:53.3258280Z [12:03:53]: [35m[33mâ–¸[0m [39;1mCopying[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework[0m
2018-12-08T12:03:53.3360490Z [12:03:53]: [35m[33mâ–¸[0m [39;1mCopying[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework[0m
2018-12-08T12:03:53.3561180Z [12:03:53]: [35m[33mâ–¸[0m [39;1mPreprocessing[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/XCTRunner.app/Info.plist[0m
2018-12-08T12:03:53.4266190Z [12:03:53]: [35m[33mâ–¸[0m [39;1mCompiling[0m iosappUITests.swift[0m
2018-12-08T12:03:54.4136500Z [12:03:54]: [35m[33mâ–¸[0m [39;1mCompiling[0m SnapshotHelper.swift[0m
2018-12-08T12:03:54.9280590Z [12:03:54]: [35m[33mâ–¸[0m [39;1mLinking[0m iosappUITests[0m
2018-12-08T12:04:01.0012680Z [12:04:00]: [35mRunning Tests: [33mâ–¸[0m [39;1mTouching[0m iosappUITests.xctest[0m
2018-12-08T12:04:01.0518460Z [12:04:01]: [35m[33mâ–¸[0m [39;1mSigning[0m /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosappUITests-Runner.app/PlugIns/iosappUITests.xctest[0m
2018-12-08T12:04:01.4561620Z [12:04:01]: [35m[33mâ–¸[0m [39;1mBuilding[0m iosapp/iosappTests [Debug][0m
2018-12-08T12:04:01.4563280Z [12:04:01]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:01.4675900Z [12:04:01]: [35m[33mâ–¸[0m [39;1mProcessing[0m Info.plist[0m
2018-12-08T12:04:01.4815810Z [12:04:01]: [35m[33mâ–¸[0m [39;1mCopying[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework[0m
2018-12-08T12:04:01.4920610Z [12:04:01]: [35m[33mâ–¸[0m [39;1mCopying[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework[0m
2018-12-08T12:04:01.5142990Z [12:04:01]: [35m[33mâ–¸[0m [39;1mCompiling[0m iosappTests.swift[0m
2018-12-08T12:04:01.5349200Z [12:04:01]: [35m[33mâ–¸[0m [39;1mLinking[0m iosappTests[0m
2018-12-08T12:04:01.5474620Z [12:04:01]: [35mRunning Tests: [33mâ–¸[0m [39;1mTouching[0m iosappTests.xctest[0m
2018-12-08T12:04:01.5590060Z [12:04:01]: [35m[33mâ–¸[0m [39;1mSigning[0m /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosapp.app/PlugIns/iosappTests.xctest[0m
2018-12-08T12:04:16.5770650Z [12:04:16]: [35m[33mâ–¸[0m [39;1mTest[0m Succeeded[0m
2018-12-08T12:04:22.5971920Z [12:04:22]: â–¸ [35m2018-12-08 12:04:22.596 xcodebuild[1959:12165] *** Assertion failure in ROCKRemoteProxy * _Nullable rock_XPCObjectToROCKRemoteProxy(xpc_object_t _Nonnull __strong, ROCKSessionManager * _Nonnull __strong, NSError * _Nullable __autoreleasing * _Nullable)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/ROCKit/ROCKit-24/ROCKit/ROCKRemoteProxy+ROCK.m:97[0m
2018-12-08T12:04:22.5988340Z [12:04:22]: â–¸ [35m** INTERNAL ERROR: Uncaught exception **[0m
2018-12-08T12:04:22.5990580Z [12:04:22]: â–¸ [35mUncaught Exception: Invalid parameter not satisfying: sessionManager[0m
2018-12-08T12:04:22.5993070Z [12:04:22]: â–¸ [35mStack:[0m
2018-12-08T12:04:23.6074940Z [12:04:23]: â–¸ [35mInvalid connection: com.apple.coresymbolicationd[0m
2018-12-08T12:04:23.9380120Z [12:04:23]: â–¸ [35m0 __exceptionPreprocess (in CoreFoundation)[0m
2018-12-08T12:04:23.9400220Z [12:04:23]: â–¸ [35m1 objc_exception_throw (in libobjc.A.dylib)[0m
2018-12-08T12:04:23.9400920Z [12:04:23]: â–¸ [35m2 +[NSException raise:format:arguments:] (in CoreFoundation)[0m
2018-12-08T12:04:23.9401490Z [12:04:23]: â–¸ [35m3 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] (in Foundation)[0m
2018-12-08T12:04:23.9402040Z [12:04:23]: â–¸ [35m4 rock_XPCObjectToROCKRemoteProxy (in ROCKit)[0m
2018-12-08T12:04:23.9402560Z [12:04:23]: â–¸ [35m5 rock_NSDictionaryDeserializer (in ROCKit)[0m
2018-12-08T12:04:23.9403130Z [12:04:23]: â–¸ [35m6 rock_XPCObjectToNSObject (in ROCKit)[0m
2018-12-08T12:04:23.9403660Z [12:04:23]: â–¸ [35m7 __rock_XPCObjectToNSDictionary_block_invoke (in ROCKit)[0m
2018-12-08T12:04:23.9404190Z [12:04:23]: â–¸ [35m8 _xpc_dictionary_apply_apply (in libxpc.dylib)[0m
2018-12-08T12:04:23.9404710Z [12:04:23]: â–¸ [35m9 _xpc_dictionary_apply_node_f (in libxpc.dylib)[0m
2018-12-08T12:04:23.9405260Z [12:04:23]: â–¸ [35m10 xpc_dictionary_apply (in libxpc.dylib)[0m
2018-12-08T12:04:23.9405780Z [12:04:23]: â–¸ [35m11 rock_XPCObjectToNSDictionary (in ROCKit)[0m
2018-12-08T12:04:23.9406300Z [12:04:23]: â–¸ [35m12 rock_XPCObjectToNSError (in ROCKit)[0m
2018-12-08T12:04:23.9406820Z [12:04:23]: â–¸ [35m13 simservice_send_request_sync (in CoreSimulatorUtilities)[0m
2018-12-08T12:04:23.9407410Z [12:04:23]: â–¸ [35m14 -[SimDevice _onBootstrapQueue_shutdownWithError:] (in CoreSimulator)[0m
2018-12-08T12:04:23.9408010Z [12:04:23]: â–¸ [35m15 __64-[SimDevice shutdownAsyncWithCompletionQueue:completionHandler:]_block_invoke (in CoreSimulator)[0m
2018-12-08T12:04:23.9410010Z [12:04:23]: â–¸ [35m16 __67-[SimDevice bootstrapQueueAsync:completionQueue:completionHandler:]_block_invoke (in CoreSimulator)[0m
2018-12-08T12:04:23.9412270Z [12:04:23]: â–¸ [35m17 _dispatch_call_block_and_release (in libdispatch.dylib)[0m
2018-12-08T12:04:23.9414750Z [12:04:23]: â–¸ [35m18 _dispatch_client_callout (in libdispatch.dylib)[0m
2018-12-08T12:04:23.9418140Z [12:04:23]: â–¸ [35m19 _dispatch_queue_serial_drain (in libdispatch.dylib)[0m
2018-12-08T12:04:23.9420060Z [12:04:23]: â–¸ [35m20 _dispatch_queue_invoke (in libdispatch.dylib)[0m
2018-12-08T12:04:23.9422360Z [12:04:23]: â–¸ [35m21 _dispatch_root_queue_drain_deferred_wlh (in libdispatch.dylib)[0m
2018-12-08T12:04:23.9424690Z [12:04:23]: â–¸ [35m22 _dispatch_workloop_worker_thread (in libdispatch.dylib)[0m
2018-12-08T12:04:23.9427090Z [12:04:23]: â–¸ [35m23 _pthread_wqthread (in libsystem_pthread.dylib)[0m
2018-12-08T12:04:23.9429480Z [12:04:23]: â–¸ [35m24 start_wqthread (in libsystem_pthread.dylib)[0m
2018-12-08T12:04:23.9433850Z [12:04:23]: â–¸ [35m[39;1mAll tests[0m
2018-12-08T12:04:23.9436010Z [12:04:23]: â–¸ [35mTest Suite [39;1miosappUITests.xctest[0m started[0m
2018-12-08T12:04:23.9438260Z [12:04:23]: â–¸ [35m[39;1miosappUITests[0m
2018-12-08T12:04:23.9440270Z [12:04:23]: â–¸ [35m[32;1mâś“[0m testExample ([31m7.969[0m seconds)[0m
2018-12-08T12:04:23.9447110Z [12:04:23]: â–¸ [35m[32;1m Executed 1 test, with 0 failures (0 unexpected) in 7.969 (7.971) seconds[0m
2018-12-08T12:04:23.9450790Z [12:04:23]: â–¸ [35m[0m
2018-12-08T12:04:23.9452550Z [12:04:23]: â–¸ [35m[39;1mAll tests[0m
2018-12-08T12:04:23.9454280Z [12:04:23]: â–¸ [35mTest Suite [39;1miosappTests.xctest[0m started[0m
2018-12-08T12:04:23.9456270Z [12:04:23]: â–¸ [35m[39;1miosappTests[0m
2018-12-08T12:04:23.9458210Z [12:04:23]: â–¸ [35m[32;1mâś“[0m testExample (0.001 seconds)[0m
2018-12-08T12:04:23.9462250Z [12:04:23]: â–¸ [35m[33mâ—·[0m testPerformanceExample measured (0.000 seconds)[0m
2018-12-08T12:04:23.9463470Z [12:04:23]: â–¸ [35m[32;1mâś“[0m testPerformanceExample ([31m0.316[0m seconds)[0m
2018-12-08T12:04:23.9469670Z [12:04:23]: â–¸ [35m[32;1m Executed 2 tests, with 0 failures (0 unexpected) in 0.316 (0.318) seconds[0m
2018-12-08T12:04:23.9472830Z [12:04:23]: â–¸ [35m[0m
2018-12-08T12:04:23.9528810Z [12:04:23]: â–¸ [35msh: line 1: 1959 Abort trap: 6 xcodebuild -scheme iosapp -project iosapp/iosapp.xcodeproj -derivedDataPath '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb' -destination 'platform=iOS Simulator,name=iPhone 5s,OS=11.4' FASTLANE_SNAPSHOT=YES build test[0m
2018-12-08T12:04:23.9530090Z [12:04:23]: â–¸ [35m1960 Done | tee /Users/vsts/Library/Logs/snapshot/iosapp-iosapp.log[0m
2018-12-08T12:04:23.9531690Z [12:04:23]: â–¸ [35m1961 Done | xcpretty[0m
2018-12-08T12:04:23.9532780Z [33mâ–¸[0m [39;1mBuilding[0m iosapp/iosapp [Debug]
2018-12-08T12:04:23.9533790Z [33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:23.9534940Z [33mâ–¸[0m [39;1mCompiling[0m ViewController.swift
2018-12-08T12:04:23.9535990Z [33mâ–¸[0m [39;1mCompiling[0m AppDelegate.swift
2018-12-08T12:04:23.9536570Z [33mâ–¸[0m [39;1mLinking[0m iosapp
2018-12-08T12:04:23.9537150Z [33mâ–¸[0m [39;1mCompiling[0m LaunchScreen.storyboard
2018-12-08T12:04:23.9537820Z [33mâ–¸[0m [39;1mCompiling[0m Main.storyboard
2018-12-08T12:04:23.9538400Z [33mâ–¸[0m [39;1mProcessing[0m Info.plist
2018-12-08T12:04:23.9538960Z [33mâ–¸[0m [39;1mTouching[0m iosapp.app
2018-12-08T12:04:23.9539590Z [33mâ–¸[0m [39;1mSigning[0m /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosapp.app
2018-12-08T12:04:23.9540200Z [33mâ–¸[0m [39;1mBuild[0m Succeeded
2018-12-08T12:04:23.9540820Z 2018-12-08 12:03:51.363 xcodebuild[1959:12164] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-12-08T12:04:23.9541540Z /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-24DF122B-9B02-48E3-9812-D75EB72404E7/iosappUITests-F6E551F8-1C58-4BD5-97EA-E4197F18E97A/Session-iosappUITests-2018-12-08_120351-Llhlj0.log
2018-12-08T12:04:23.9542370Z 2018-12-08 12:03:51.364 xcodebuild[1959:12162] [MT] IDETestOperationsObserverDebug: (EA4F003F-29D0-40D5-9B8A-E54566E31AC3) Beginning test session iosappUITests-EA4F003F-29D0-40D5-9B8A-E54566E31AC3 at 2018-12-08 12:03:51.362 with Xcode 9F2000 on target <DVTiPhoneSimulator: 0x7fa8ecc972f0> {
2018-12-08T12:04:23.9543460Z SimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booting)
2018-12-08T12:04:23.9543560Z } (11.4 (15F79))
2018-12-08T12:04:23.9544150Z 2018-12-08 12:03:51.393 xcodebuild[1959:12369] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-12-08T12:04:23.9545010Z /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-24DF122B-9B02-48E3-9812-D75EB72404E7/iosappTests-B361102C-A7FE-4C10-B1AD-9081030A715B/Session-iosappTests-2018-12-08_120351-yfN24I.log
2018-12-08T12:04:23.9545850Z 2018-12-08 12:03:51.394 xcodebuild[1959:12162] [MT] IDETestOperationsObserverDebug: (AD0AF3D2-7DC5-4403-84DA-1AC4A5C286FD) Beginning test session iosappTests-AD0AF3D2-7DC5-4403-84DA-1AC4A5C286FD at 2018-12-08 12:03:51.394 with Xcode 9F2000 on target <DVTiPhoneSimulator: 0x7fa8ecc972f0> {
2018-12-08T12:04:23.9546490Z SimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booted)
2018-12-08T12:04:23.9546600Z } (11.4 (15F79))
2018-12-08T12:04:23.9547130Z [33mâ–¸[0m [39;1mBuilding[0m iosapp/iosapp [Debug]
2018-12-08T12:04:23.9547780Z [33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:23.9548310Z [33mâ–¸[0m [39;1mBuilding[0m iosapp/iosappUITests [Debug]
2018-12-08T12:04:23.9548830Z [33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:23.9549350Z [33mâ–¸[0m [39;1mProcessing[0m Info.plist
2018-12-08T12:04:23.9549990Z [33mâ–¸[0m [39;1mCopying[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
2018-12-08T12:04:23.9550640Z [33mâ–¸[0m [39;1mCopying[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework
2018-12-08T12:04:23.9551300Z [33mâ–¸[0m [39;1mPreprocessing[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/XCTRunner.app/Info.plist
2018-12-08T12:04:23.9551890Z [33mâ–¸[0m [39;1mCompiling[0m iosappUITests.swift
2018-12-08T12:04:23.9552410Z [33mâ–¸[0m [39;1mCompiling[0m SnapshotHelper.swift
2018-12-08T12:04:23.9552930Z [33mâ–¸[0m [39;1mLinking[0m iosappUITests
2018-12-08T12:04:23.9553450Z [33mâ–¸[0m [39;1mTouching[0m iosappUITests.xctest
2018-12-08T12:04:23.9554130Z [33mâ–¸[0m [39;1mSigning[0m /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosappUITests-Runner.app/PlugIns/iosappUITests.xctest
2018-12-08T12:04:23.9554730Z [33mâ–¸[0m [39;1mBuilding[0m iosapp/iosappTests [Debug]
2018-12-08T12:04:23.9555280Z [33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:23.9555780Z [33mâ–¸[0m [39;1mProcessing[0m Info.plist
2018-12-08T12:04:23.9556440Z [33mâ–¸[0m [39;1mCopying[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework
2018-12-08T12:04:23.9557090Z [33mâ–¸[0m [39;1mCopying[0m /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework
2018-12-08T12:04:23.9557670Z [33mâ–¸[0m [39;1mCompiling[0m iosappTests.swift
2018-12-08T12:04:23.9558170Z [33mâ–¸[0m [39;1mLinking[0m iosappTests
2018-12-08T12:04:23.9558710Z [33mâ–¸[0m [39;1mTouching[0m iosappTests.xctest
2018-12-08T12:04:23.9559360Z [33mâ–¸[0m [39;1mSigning[0m /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosapp.app/PlugIns/iosappTests.xctest
2018-12-08T12:04:23.9559920Z [33mâ–¸[0m [39;1mTest[0m Succeeded
2018-12-08T12:04:23.9560730Z 2018-12-08 12:04:22.596 xcodebuild[1959:12165] *** Assertion failure in ROCKRemoteProxy * _Nullable rock_XPCObjectToROCKRemoteProxy(xpc_object_t _Nonnull __strong, ROCKSessionManager * _Nonnull __strong, NSError * _Nullable __autoreleasing * _Nullable)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/ROCKit/ROCKit-24/ROCKit/ROCKRemoteProxy+ROCK.m:97
2018-12-08T12:04:23.9561190Z ** INTERNAL ERROR: Uncaught exception **
2018-12-08T12:04:23.9561280Z Uncaught Exception: Invalid parameter not satisfying: sessionManager
2018-12-08T12:04:23.9561360Z Stack:
2018-12-08T12:04:23.9561430Z Invalid connection: com.apple.coresymbolicationd
2018-12-08T12:04:23.9561500Z 0 __exceptionPreprocess (in CoreFoundation)
2018-12-08T12:04:23.9561580Z 1 objc_exception_throw (in libobjc.A.dylib)
2018-12-08T12:04:23.9561650Z 2 +[NSException raise:format:arguments:] (in CoreFoundation)
2018-12-08T12:04:23.9562230Z 3 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] (in Foundation)
2018-12-08T12:04:23.9562330Z 4 rock_XPCObjectToROCKRemoteProxy (in ROCKit)
2018-12-08T12:04:23.9562420Z 5 rock_NSDictionaryDeserializer (in ROCKit)
2018-12-08T12:04:23.9562490Z 6 rock_XPCObjectToNSObject (in ROCKit)
2018-12-08T12:04:23.9562570Z 7 __rock_XPCObjectToNSDictionary_block_invoke (in ROCKit)
2018-12-08T12:04:23.9562650Z 8 _xpc_dictionary_apply_apply (in libxpc.dylib)
2018-12-08T12:04:23.9562730Z 9 _xpc_dictionary_apply_node_f (in libxpc.dylib)
2018-12-08T12:04:23.9562800Z 10 xpc_dictionary_apply (in libxpc.dylib)
2018-12-08T12:04:23.9562880Z 11 rock_XPCObjectToNSDictionary (in ROCKit)
2018-12-08T12:04:23.9562940Z 12 rock_XPCObjectToNSError (in ROCKit)
2018-12-08T12:04:23.9563020Z 13 simservice_send_request_sync (in CoreSimulatorUtilities)
2018-12-08T12:04:23.9563560Z 14 -[SimDevice _onBootstrapQueue_shutdownWithError:] (in CoreSimulator)
2018-12-08T12:04:23.9564150Z 15 __64-[SimDevice shutdownAsyncWithCompletionQueue:completionHandler:]_block_invoke (in CoreSimulator)
2018-12-08T12:04:23.9564860Z 16 __67-[SimDevice bootstrapQueueAsync:completionQueue:completionHandler:]_block_invoke (in CoreSimulator)
2018-12-08T12:04:23.9564990Z 17 _dispatch_call_block_and_release (in libdispatch.dylib)
2018-12-08T12:04:23.9565060Z 18 _dispatch_client_callout (in libdispatch.dylib)
2018-12-08T12:04:23.9565160Z 19 _dispatch_queue_serial_drain (in libdispatch.dylib)
2018-12-08T12:04:23.9565230Z 20 _dispatch_queue_invoke (in libdispatch.dylib)
2018-12-08T12:04:23.9565320Z 21 _dispatch_root_queue_drain_deferred_wlh (in libdispatch.dylib)
2018-12-08T12:04:23.9565390Z 22 _dispatch_workloop_worker_thread (in libdispatch.dylib)
2018-12-08T12:04:23.9565470Z 23 _pthread_wqthread (in libsystem_pthread.dylib)
2018-12-08T12:04:23.9565540Z 24 start_wqthread (in libsystem_pthread.dylib)
The tests itself work just fine, but the command still returns an error:
2018-12-08T12:04:23.9566090Z [39;1mAll tests[0m
2018-12-08T12:04:23.9566620Z Test Suite [39;1miosappUITests.xctest[0m started
2018-12-08T12:04:23.9567140Z [39;1miosappUITests[0m
2018-12-08T12:04:23.9567780Z [32;1mâś“[0m testExample ([31m7.969[0m seconds)
2018-12-08T12:04:23.9567860Z
2018-12-08T12:04:23.9567890Z
2018-12-08T12:04:23.9568420Z [32;1m Executed 1 test, with 0 failures (0 unexpected) in 7.969 (7.971) seconds
2018-12-08T12:04:23.9568930Z [0m
2018-12-08T12:04:23.9569410Z [39;1mAll tests[0m
2018-12-08T12:04:23.9569950Z Test Suite [39;1miosappTests.xctest[0m started
2018-12-08T12:04:23.9570440Z [39;1miosappTests[0m
2018-12-08T12:04:23.9570960Z [32;1mâś“[0m testExample (0.001 seconds)
2018-12-08T12:04:23.9571470Z [33mâ—·[0m testPerformanceExample measured (0.000 seconds)
2018-12-08T12:04:23.9572020Z [32;1mâś“[0m testPerformanceExample ([31m0.316[0m seconds)
2018-12-08T12:04:23.9572080Z
2018-12-08T12:04:23.9572120Z
2018-12-08T12:04:23.9572650Z [32;1m Executed 2 tests, with 0 failures (0 unexpected) in 0.316 (0.318) seconds
2018-12-08T12:04:23.9573120Z [0m
2018-12-08T12:04:23.9573890Z sh: line 1: 1959 Abort trap: 6 xcodebuild -scheme iosapp -project iosapp/iosapp.xcodeproj -derivedDataPath '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb' -destination 'platform=iOS Simulator,name=iPhone 5s,OS=11.4' FASTLANE_SNAPSHOT=YES build test
2018-12-08T12:04:23.9574480Z 1960 Done | tee /Users/vsts/Library/Logs/snapshot/iosapp-iosapp.log
2018-12-08T12:04:23.9574900Z 1961 Done | xcpretty
2018-12-08T12:04:23.9575440Z [12:04:23]: [31mExit status: 134[0m
2018-12-08T12:04:23.9684350Z [12:04:23]: [32mCopying '/Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/screenshots/en-US/iPhone 5s-01StartScreen.png'...[0m
2018-12-08T12:04:23.9742890Z [12:04:23]: [33mTests failed while running on: iPhone 5s[0m
2018-12-08T12:04:23.9745720Z [12:04:23]: [33mFor more detail about the test failures, check the logs here:[0m
2018-12-08T12:04:23.9810420Z [12:04:23]: [33m/Users/vsts/Library/Logs/snapshot/iosapp-iosapp.log[0m
2018-12-08T12:04:23.9811450Z [12:04:23]: [33m [0m
2018-12-08T12:04:23.9813830Z [12:04:23]: [33mYou can also find the test result data here:[0m
2018-12-08T12:04:23.9815500Z [12:04:23]: [33m/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Logs/Test[0m
2018-12-08T12:04:23.9817100Z [12:04:23]: [33m [0m
2018-12-08T12:04:23.9820760Z [12:04:23]: [33mYou can find the incomplete screenshots here:[0m
2018-12-08T12:04:23.9822540Z [12:04:23]: [33m/Users/vsts/Library/Caches/tools.fastlane/screenshots[0m
2018-12-08T12:04:23.9824240Z [12:04:23]: [33m/Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/screenshots[0m
2018-12-08T12:04:23.9826380Z [12:04:23]: [31mCaught error... 134[0m
2018-12-08T12:04:24.2442240Z [12:04:24]: Patching simulators '/Users/vsts/Library/Preferences/com.apple.iphonesimulator.plist' to scale to 100%
2018-12-08T12:04:30.0582590Z Print: Entry, ":DevicePreferences", Does Not Exist
2018-12-08T12:04:30.9430290Z [12:04:30]: [33mRunning snapshot on: iPhone 5s[0m
2018-12-08T12:04:30.9431430Z [12:04:30]: [36m$ set -o pipefail && xcodebuild -scheme iosapp -project iosapp/iosapp.xcodeproj -derivedDataPath '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb' -destination 'platform=iOS Simulator,name=iPhone 5s,OS=11.4' FASTLANE_SNAPSHOT=YES build test | tee -a /Users/vsts/Library/Logs/snapshot/iosapp-iosapp.log | xcpretty [0m
2018-12-08T12:04:30.9432490Z [12:04:30]: â–¸ [35mLoading...[0m
2018-12-08T12:04:31.8758820Z [12:04:31]: [35m[33mâ–¸[0m [39;1mBuilding[0m iosapp/iosapp [Debug][0m
2018-12-08T12:04:31.8760250Z [12:04:31]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:31.9257100Z [12:04:31]: [35m[33mâ–¸[0m [39;1mBuild[0m Succeeded[0m
2018-12-08T12:04:32.0691310Z [12:04:32]: â–¸ [35m2018-12-08 12:04:32.066 xcodebuild[2515:16181] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:[0m
2018-12-08T12:04:32.0886790Z [12:04:32]: â–¸ [35m/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-8FDD46A8-A669-4C47-9AF3-278DA20AE408/iosappTests-32B67C66-E19D-40B7-A6A9-BC8BA0664DA8/Session-iosappTests-2018-12-08_120432-KEI3IS.log[0m
2018-12-08T12:04:32.1020270Z [12:04:32]: â–¸ [35m2018-12-08 12:04:32.066 xcodebuild[2515:16098] [MT] IDETestOperationsObserverDebug: (67A7C82F-D8FC-468B-AA69-7908E7269B9A) Beginning test session iosappTests-67A7C82F-D8FC-468B-AA69-7908E7269B9A at 2018-12-08 12:04:32.066 with Xcode 9F2000 on target <DVTiPhoneSimulator: 0x7f97329c9ff0> {[0m
2018-12-08T12:04:32.3343660Z [12:04:32]: â–¸ [35mSimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booted)[0m
2018-12-08T12:04:32.3452000Z [12:04:32]: â–¸ [35m} (11.4 (15F79))[0m
2018-12-08T12:04:32.3555370Z [12:04:32]: â–¸ [35m2018-12-08 12:04:32.083 xcodebuild[2515:16098] [MT] IDETestOperationsObserverDebug: (605CE61B-E2CB-4A93-AAD0-8599D6DCF813) Beginning test session iosappUITests-605CE61B-E2CB-4A93-AAD0-8599D6DCF813 at 2018-12-08 12:04:32.083 with Xcode 9F2000 on target <DVTiPhoneSimulator: 0x7f97329c9ff0> {[0m
2018-12-08T12:04:32.3947750Z [12:04:32]: â–¸ [35mSimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booted)[0m
2018-12-08T12:04:32.4049500Z [12:04:32]: â–¸ [35m} (11.4 (15F79))[0m
2018-12-08T12:04:32.4151730Z [12:04:32]: â–¸ [35m2018-12-08 12:04:32.086 xcodebuild[2515:16181] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:[0m
2018-12-08T12:04:32.4252050Z [12:04:32]: â–¸ [35m/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-8FDD46A8-A669-4C47-9AF3-278DA20AE408/iosappUITests-44E2ACF0-94E3-4347-ADE9-BD6668CCAA83/Session-iosappUITests-2018-12-08_120432-Kq2BZK.log[0m
2018-12-08T12:04:33.8426790Z [12:04:33]: [35m[33mâ–¸[0m [39;1mBuilding[0m iosapp/iosapp [Debug][0m
2018-12-08T12:04:33.8627190Z [12:04:33]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:33.8729500Z [12:04:33]: [35m[33mâ–¸[0m [39;1mBuilding[0m iosapp/iosappTests [Debug][0m
2018-12-08T12:04:33.8829900Z [12:04:33]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:33.8930200Z [12:04:33]: [35m[33mâ–¸[0m [39;1mBuilding[0m iosapp/iosappUITests [Debug][0m
2018-12-08T12:04:33.9434160Z [12:04:33]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
2018-12-08T12:04:54.2983540Z [12:04:54]: [35m[33mâ–¸[0m [39;1mTest[0m Succeeded[0m
2018-12-08T12:05:00.3344800Z [12:05:00]: â–¸ [35m[39;1mAll tests[0m
2018-12-08T12:05:00.3366980Z [12:05:00]: â–¸ [35mTest Suite [39;1miosappTests.xctest[0m started[0m
2018-12-08T12:05:00.3367700Z [12:05:00]: â–¸ [35m[39;1miosappTests[0m
2018-12-08T12:05:00.3368280Z [12:05:00]: â–¸ [35m[32;1mâś“[0m testExample (0.001 seconds)[0m
2018-12-08T12:05:00.3393020Z [12:05:00]: â–¸ [35m[33mâ—·[0m testPerformanceExample measured (0.000 seconds)[0m
2018-12-08T12:05:00.3395010Z [12:05:00]: â–¸ [35m[32;1mâś“[0m testPerformanceExample ([31m0.320[0m seconds)[0m
2018-12-08T12:05:00.3399500Z [12:05:00]: â–¸ [35m[32;1m Executed 2 tests, with 0 failures (0 unexpected) in 0.321 (0.323) seconds[0m
2018-12-08T12:05:00.3401300Z [12:05:00]: â–¸ [35m[0m
2018-12-08T12:05:00.3403290Z [12:05:00]: â–¸ [35m[39;1mAll tests[0m
2018-12-08T12:05:00.3405960Z [12:05:00]: â–¸ [35mTest Suite [39;1miosappUITests.xctest[0m started[0m
2018-12-08T12:05:00.3407570Z [12:05:00]: â–¸ [35m[39;1miosappUITests[0m
2018-12-08T12:05:00.3410430Z [12:05:00]: â–¸ [35m[32;1mâś“[0m testExample ([31m7.245[0m seconds)[0m
2018-12-08T12:05:00.3415080Z [12:05:00]: â–¸ [35m[32;1m Executed 1 test, with 0 failures (0 unexpected) in 7.245 (7.247) seconds[0m
2018-12-08T12:05:00.3416660Z [12:05:00]: â–¸ [35m[0m
2018-12-08T12:05:00.3534750Z [12:05:00]: [32mCopying '/Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/screenshots/en-US/iPhone 5s-01StartScreen.png'...[0m
2018-12-08T12:05:00.3579370Z
2018-12-08T12:05:00.3589310Z +-----------+-------+
2018-12-08T12:05:00.3589450Z | snapshot results |
2018-12-08T12:05:00.3589980Z +-----------+-------+
2018-12-08T12:05:00.3590520Z | Device | en-US |
2018-12-08T12:05:00.3591020Z +-----------+-------+
2018-12-08T12:05:00.3592920Z | iPhone 5s | ❌ |
2018-12-08T12:05:00.3593510Z +-----------+-------+
same here:
2018-12-26T17:19:23.0940540Z 2018-12-26 17:19:23.093 xcodebuild[6650:36518] *** Assertion failure in ROCKRemoteProxy * _Nullable rock_XPCObjectToROCKRemoteProxy(xpc_object_t _Nonnull __strong, ROCKSessionManager * _Nonnull __strong, NSError * _Nullable __autoreleasing * _Nullable)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/ROCKit/ROCKit-24/ROCKit/ROCKRemoteProxy+ROCK.m:97
2018-12-26T17:19:23.0967220Z ** INTERNAL ERROR: Uncaught exception **
2018-12-26T17:19:23.0967650Z Uncaught Exception: Invalid parameter not satisfying: sessionManager
2018-12-26T17:19:23.0968000Z Stack:
2018-12-26T17:19:23.2961730Z 0 __exceptionPreprocess (in CoreFoundation)
2018-12-26T17:19:23.2961960Z 1 objc_exception_throw (in libobjc.A.dylib)
2018-12-26T17:19:23.2962100Z 2 +[NSException raise:format:arguments:] (in CoreFoundation)
2018-12-26T17:19:23.2965480Z 3 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] (in Foundation)
2018-12-26T17:19:23.2965740Z 4 rock_XPCObjectToROCKRemoteProxy (in ROCKit)
2018-12-26T17:19:23.2965870Z 5 rock_NSDictionaryDeserializer (in ROCKit)
2018-12-26T17:19:23.2966430Z 6 rock_XPCObjectToNSObject (in ROCKit)
2018-12-26T17:19:23.2966520Z 7 __rock_XPCObjectToNSDictionary_block_invoke (in ROCKit)
2018-12-26T17:19:23.2966640Z 8 _xpc_dictionary_apply_apply (in libxpc.dylib)
2018-12-26T17:19:23.2966730Z 9 _xpc_dictionary_apply_node_f (in libxpc.dylib)
2018-12-26T17:19:23.2966850Z 10 xpc_dictionary_apply (in libxpc.dylib)
2018-12-26T17:19:23.2966940Z 11 rock_XPCObjectToNSDictionary (in ROCKit)
2018-12-26T17:19:23.2967070Z 12 rock_XPCObjectToNSError (in ROCKit)
2018-12-26T17:19:23.2967150Z 13 simservice_send_request_sync (in CoreSimulatorUtilities)
2018-12-26T17:19:23.2968290Z 14 -[SimDevice _onBootstrapQueue_shutdownWithError:] (in CoreSimulator)
2018-12-26T17:19:23.2977010Z 15 __64-[SimDevice shutdownAsyncWithCompletionQueue:completionHandler:]_block_invoke (in CoreSimulator)
2018-12-26T17:19:23.2978260Z 16 __67-[SimDevice bootstrapQueueAsync:completionQueue:completionHandler:]_block_invoke (in CoreSimulator)
2018-12-26T17:19:23.2978450Z 17 _dispatch_call_block_and_release (in libdispatch.dylib)
2018-12-26T17:19:23.2978550Z 18 _dispatch_client_callout (in libdispatch.dylib)
2018-12-26T17:19:23.2978680Z 19 _dispatch_queue_serial_drain (in libdispatch.dylib)
2018-12-26T17:19:23.2978780Z 20 _dispatch_queue_invoke (in libdispatch.dylib)
2018-12-26T17:19:23.2978900Z 21 _dispatch_root_queue_drain_deferred_wlh (in libdispatch.dylib)
2018-12-26T17:19:23.2979030Z 22 _dispatch_workloop_worker_thread (in libdispatch.dylib)
2018-12-26T17:19:23.2979130Z 23 _pthread_wqthread (in libsystem_pthread.dylib)
2018-12-26T17:19:23.2979230Z 24 start_wqthread (in libsystem_pthread.dylib)
2018-12-26T17:19:23.2979300Z
2018-12-26T17:19:23.3219370Z Killing the simulator.
2018-12-26T17:19:23.3219990Z Removing the DerivedData module cache
We started seeing this randomly on some travis builds after switching from Xcode 10 to Xcode 10.1
Also seeing this consistently on TravisCI only on Xcode 10.1
Anyone managed to solve it? Or at least understand where/why it originates?
I have researched this a lot and have not gotten anywhere so far.
This is what I found out so far:
This also happens in builds with Xcode 9.4.1.
Same problem here. Xcode 10.1
We're also seeing this error on the hosted mac pool at the end of our unit tests. I can't give a guess at the frequency, but 1 in 10 seems reasonable.
Same happens running Fastlane with Bitrise
We're seeing the issue running a plain xcodebuild command on TravisCI. Only when ACTION=test on iOS 12.1 for a framework target.
This is clearly not specific to Azure Pipelines, so closing this issue. The thread has a lot of useful details, thanks to all for sharing. We are not changing anything in Azure Pipelines or the Hosted macOS VMs yet but will be reviewing any workarounds we can provide to mitigate this issue.
FYI, we are experiencing the same problem in my team and the only solution we found was to have some logic that would retry the command when this particular problem is detected.
Most helpful comment
I did get this problem using fastlane and travis ci