Azure-pipelines-tasks: Assertion failure in ROCKRemoteProxy (Xcode Build Task, Hosted Agent, MacOS)

Created on 14 Nov 2018  Â·  14Comments  Â·  Source: microsoft/azure-pipelines-tasks

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?

CrossPlatform

Most helpful comment

I did get this problem using fastlane and travis ci

All 14 comments

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]: -------------------------------------
2018-12-08T12:03:32.6566650Z [12:03:32]: --- Step: capture_ios_screenshots ---
2018-12-08T12:03:32.6567300Z [12:03:32]: -------------------------------------
2018-12-08T12:03:33.4221240Z [12:03:33]: Successfully loaded '/Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/Snapfile' đź“„
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]: $ xcodebuild -showBuildSettings -scheme iosapp -project iosapp/iosapp.xcodeproj
2018-12-08T12:03:35.5602280Z 
2018-12-08T12:03:35.5674800Z +----------------------------+-------------------------------------------------------------+
2018-12-08T12:03:35.5675490Z |                               Summary for snapshot 2.109.1                               |
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]: Building and running project - this might take some time...
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]: Running snapshot on: iPhone 5s
2018-12-08T12:03:42.6882160Z [12:03:42]: $ 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 
2018-12-08T12:03:42.6883000Z [12:03:42]: â–¸ Loading...
2018-12-08T12:03:43.5704570Z [12:03:43]: â–¸ Building iosapp/iosapp [Debug]
2018-12-08T12:03:43.5705660Z [12:03:43]: â–¸ Check Dependencies
2018-12-08T12:03:43.6506760Z [12:03:43]: â–¸ Compiling ViewController.swift
2018-12-08T12:03:47.7570300Z [12:03:47]: â–¸ Compiling AppDelegate.swift
2018-12-08T12:03:47.9307530Z [12:03:47]: â–¸ Linking iosapp
2018-12-08T12:03:48.0308090Z [12:03:48]: â–¸ Compiling LaunchScreen.storyboard
2018-12-08T12:03:48.1059180Z [12:03:48]: â–¸ Compiling Main.storyboard
2018-12-08T12:03:50.0678280Z [12:03:50]: â–¸ Processing Info.plist
2018-12-08T12:03:51.0325410Z [12:03:51]: Running Tests: â–¸ Touching iosapp.app
2018-12-08T12:03:51.0545420Z [12:03:51]: â–¸ Signing /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosapp.app
2018-12-08T12:03:51.2356970Z [12:03:51]: â–¸ Build Succeeded
2018-12-08T12:03:51.3656190Z [12:03:51]: â–¸ 2018-12-08 12:03:51.363 xcodebuild[1959:12164]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-12-08T12:03:51.3701490Z [12:03:51]: â–¸ /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:03:51.3708780Z [12:03:51]: â–¸ 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:03:51.3710390Z [12:03:51]: â–¸ SimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booting)
2018-12-08T12:03:51.3746100Z [12:03:51]: â–¸ } (11.4 (15F79))
2018-12-08T12:03:51.3952430Z [12:03:51]: â–¸ 2018-12-08 12:03:51.393 xcodebuild[1959:12369]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-12-08T12:03:51.4053050Z [12:03:51]: â–¸ /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:03:51.4055010Z [12:03:51]: â–¸ 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:03:51.4056270Z [12:03:51]: â–¸ SimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booted)
2018-12-08T12:03:51.4057410Z [12:03:51]: â–¸ } (11.4 (15F79))
2018-12-08T12:03:53.1261090Z [12:03:53]: â–¸ Building iosapp/iosapp [Debug]
2018-12-08T12:03:53.1791460Z [12:03:53]: â–¸ Check Dependencies
2018-12-08T12:03:53.1917970Z [12:03:53]: â–¸ Building iosapp/iosappUITests [Debug]
2018-12-08T12:03:53.2018370Z [12:03:53]: â–¸ Check Dependencies
2018-12-08T12:03:53.3158040Z [12:03:53]: â–¸ Processing Info.plist
2018-12-08T12:03:53.3258280Z [12:03:53]: â–¸ Copying /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
2018-12-08T12:03:53.3360490Z [12:03:53]: â–¸ Copying /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework
2018-12-08T12:03:53.3561180Z [12:03:53]: â–¸ Preprocessing /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/XCTRunner.app/Info.plist
2018-12-08T12:03:53.4266190Z [12:03:53]: â–¸ Compiling iosappUITests.swift
2018-12-08T12:03:54.4136500Z [12:03:54]: â–¸ Compiling SnapshotHelper.swift
2018-12-08T12:03:54.9280590Z [12:03:54]: â–¸ Linking iosappUITests
2018-12-08T12:04:01.0012680Z [12:04:00]: Running Tests: â–¸ Touching iosappUITests.xctest
2018-12-08T12:04:01.0518460Z [12:04:01]: â–¸ Signing /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:01.4561620Z [12:04:01]: â–¸ Building iosapp/iosappTests [Debug]
2018-12-08T12:04:01.4563280Z [12:04:01]: â–¸ Check Dependencies
2018-12-08T12:04:01.4675900Z [12:04:01]: â–¸ Processing Info.plist
2018-12-08T12:04:01.4815810Z [12:04:01]: â–¸ Copying /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework
2018-12-08T12:04:01.4920610Z [12:04:01]: â–¸ Copying /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework
2018-12-08T12:04:01.5142990Z [12:04:01]: â–¸ Compiling iosappTests.swift
2018-12-08T12:04:01.5349200Z [12:04:01]: â–¸ Linking iosappTests
2018-12-08T12:04:01.5474620Z [12:04:01]: Running Tests: â–¸ Touching iosappTests.xctest
2018-12-08T12:04:01.5590060Z [12:04:01]: â–¸ Signing /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosapp.app/PlugIns/iosappTests.xctest
2018-12-08T12:04:16.5770650Z [12:04:16]: â–¸ Test Succeeded
2018-12-08T12:04:22.5971920Z [12:04:22]: â–¸ 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:22.5988340Z [12:04:22]: â–¸ ** INTERNAL ERROR: Uncaught exception **
2018-12-08T12:04:22.5990580Z [12:04:22]: â–¸ Uncaught Exception: Invalid parameter not satisfying: sessionManager
2018-12-08T12:04:22.5993070Z [12:04:22]: â–¸ Stack:
2018-12-08T12:04:23.6074940Z [12:04:23]: â–¸ Invalid connection: com.apple.coresymbolicationd
2018-12-08T12:04:23.9380120Z [12:04:23]: â–¸ 0   __exceptionPreprocess (in CoreFoundation)
2018-12-08T12:04:23.9400220Z [12:04:23]: â–¸ 1   objc_exception_throw (in libobjc.A.dylib)
2018-12-08T12:04:23.9400920Z [12:04:23]: â–¸ 2   +[NSException raise:format:arguments:] (in CoreFoundation)
2018-12-08T12:04:23.9401490Z [12:04:23]: â–¸ 3   -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] (in Foundation)
2018-12-08T12:04:23.9402040Z [12:04:23]: â–¸ 4   rock_XPCObjectToROCKRemoteProxy (in ROCKit)
2018-12-08T12:04:23.9402560Z [12:04:23]: â–¸ 5   rock_NSDictionaryDeserializer (in ROCKit)
2018-12-08T12:04:23.9403130Z [12:04:23]: â–¸ 6   rock_XPCObjectToNSObject (in ROCKit)
2018-12-08T12:04:23.9403660Z [12:04:23]: â–¸ 7   __rock_XPCObjectToNSDictionary_block_invoke (in ROCKit)
2018-12-08T12:04:23.9404190Z [12:04:23]: â–¸ 8   _xpc_dictionary_apply_apply (in libxpc.dylib)
2018-12-08T12:04:23.9404710Z [12:04:23]: â–¸ 9   _xpc_dictionary_apply_node_f (in libxpc.dylib)
2018-12-08T12:04:23.9405260Z [12:04:23]: â–¸ 10   xpc_dictionary_apply (in libxpc.dylib)
2018-12-08T12:04:23.9405780Z [12:04:23]: â–¸ 11   rock_XPCObjectToNSDictionary (in ROCKit)
2018-12-08T12:04:23.9406300Z [12:04:23]: â–¸ 12   rock_XPCObjectToNSError (in ROCKit)
2018-12-08T12:04:23.9406820Z [12:04:23]: â–¸ 13   simservice_send_request_sync (in CoreSimulatorUtilities)
2018-12-08T12:04:23.9407410Z [12:04:23]: â–¸ 14   -[SimDevice _onBootstrapQueue_shutdownWithError:] (in CoreSimulator)
2018-12-08T12:04:23.9408010Z [12:04:23]: â–¸ 15   __64-[SimDevice shutdownAsyncWithCompletionQueue:completionHandler:]_block_invoke (in CoreSimulator)
2018-12-08T12:04:23.9410010Z [12:04:23]: â–¸ 16   __67-[SimDevice bootstrapQueueAsync:completionQueue:completionHandler:]_block_invoke (in CoreSimulator)
2018-12-08T12:04:23.9412270Z [12:04:23]: â–¸ 17   _dispatch_call_block_and_release (in libdispatch.dylib)
2018-12-08T12:04:23.9414750Z [12:04:23]: â–¸ 18   _dispatch_client_callout (in libdispatch.dylib)
2018-12-08T12:04:23.9418140Z [12:04:23]: â–¸ 19   _dispatch_queue_serial_drain (in libdispatch.dylib)
2018-12-08T12:04:23.9420060Z [12:04:23]: â–¸ 20   _dispatch_queue_invoke (in libdispatch.dylib)
2018-12-08T12:04:23.9422360Z [12:04:23]: â–¸ 21   _dispatch_root_queue_drain_deferred_wlh (in libdispatch.dylib)
2018-12-08T12:04:23.9424690Z [12:04:23]: â–¸ 22   _dispatch_workloop_worker_thread (in libdispatch.dylib)
2018-12-08T12:04:23.9427090Z [12:04:23]: â–¸ 23   _pthread_wqthread (in libsystem_pthread.dylib)
2018-12-08T12:04:23.9429480Z [12:04:23]: â–¸ 24   start_wqthread (in libsystem_pthread.dylib)
2018-12-08T12:04:23.9433850Z [12:04:23]: â–¸ All tests
2018-12-08T12:04:23.9436010Z [12:04:23]: â–¸ Test Suite iosappUITests.xctest started
2018-12-08T12:04:23.9438260Z [12:04:23]: â–¸ iosappUITests
2018-12-08T12:04:23.9440270Z [12:04:23]: â–¸ âś“ testExample (7.969 seconds)
2018-12-08T12:04:23.9447110Z [12:04:23]: â–¸   Executed 1 test, with 0 failures (0 unexpected) in 7.969 (7.971) seconds
2018-12-08T12:04:23.9450790Z [12:04:23]: â–¸ 
2018-12-08T12:04:23.9452550Z [12:04:23]: â–¸ All tests
2018-12-08T12:04:23.9454280Z [12:04:23]: â–¸ Test Suite iosappTests.xctest started
2018-12-08T12:04:23.9456270Z [12:04:23]: â–¸ iosappTests
2018-12-08T12:04:23.9458210Z [12:04:23]: â–¸ âś“ testExample (0.001 seconds)
2018-12-08T12:04:23.9462250Z [12:04:23]: â–¸ â—· testPerformanceExample measured (0.000 seconds)
2018-12-08T12:04:23.9463470Z [12:04:23]: â–¸ âś“ testPerformanceExample (0.316 seconds)
2018-12-08T12:04:23.9469670Z [12:04:23]: â–¸   Executed 2 tests, with 0 failures (0 unexpected) in 0.316 (0.318) seconds
2018-12-08T12:04:23.9472830Z [12:04:23]: â–¸ 
2018-12-08T12:04:23.9528810Z [12:04:23]: â–¸ 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.9530090Z [12:04:23]: â–¸ 1960 Done                    | tee /Users/vsts/Library/Logs/snapshot/iosapp-iosapp.log
2018-12-08T12:04:23.9531690Z [12:04:23]: â–¸ 1961 Done                    | xcpretty
2018-12-08T12:04:23.9532780Z â–¸ Building iosapp/iosapp [Debug]
2018-12-08T12:04:23.9533790Z â–¸ Check Dependencies
2018-12-08T12:04:23.9534940Z â–¸ Compiling ViewController.swift
2018-12-08T12:04:23.9535990Z â–¸ Compiling AppDelegate.swift
2018-12-08T12:04:23.9536570Z â–¸ Linking iosapp
2018-12-08T12:04:23.9537150Z â–¸ Compiling LaunchScreen.storyboard
2018-12-08T12:04:23.9537820Z â–¸ Compiling Main.storyboard
2018-12-08T12:04:23.9538400Z â–¸ Processing Info.plist
2018-12-08T12:04:23.9538960Z â–¸ Touching iosapp.app
2018-12-08T12:04:23.9539590Z â–¸ Signing /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Build/Products/Debug-iphonesimulator/iosapp.app
2018-12-08T12:04:23.9540200Z â–¸ Build 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 â–¸ Building iosapp/iosapp [Debug]
2018-12-08T12:04:23.9547780Z â–¸ Check Dependencies
2018-12-08T12:04:23.9548310Z â–¸ Building iosapp/iosappUITests [Debug]
2018-12-08T12:04:23.9548830Z â–¸ Check Dependencies
2018-12-08T12:04:23.9549350Z â–¸ Processing Info.plist
2018-12-08T12:04:23.9549990Z â–¸ Copying /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
2018-12-08T12:04:23.9550640Z â–¸ Copying /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework
2018-12-08T12:04:23.9551300Z â–¸ Preprocessing /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 â–¸ Compiling iosappUITests.swift
2018-12-08T12:04:23.9552410Z â–¸ Compiling SnapshotHelper.swift
2018-12-08T12:04:23.9552930Z â–¸ Linking iosappUITests
2018-12-08T12:04:23.9553450Z â–¸ Touching iosappUITests.xctest
2018-12-08T12:04:23.9554130Z â–¸ Signing /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 â–¸ Building iosapp/iosappTests [Debug]
2018-12-08T12:04:23.9555280Z â–¸ Check Dependencies
2018-12-08T12:04:23.9555780Z â–¸ Processing Info.plist
2018-12-08T12:04:23.9556440Z â–¸ Copying /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework
2018-12-08T12:04:23.9557090Z â–¸ Copying /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework
2018-12-08T12:04:23.9557670Z â–¸ Compiling iosappTests.swift
2018-12-08T12:04:23.9558170Z â–¸ Linking iosappTests
2018-12-08T12:04:23.9558710Z â–¸ Touching iosappTests.xctest
2018-12-08T12:04:23.9559360Z â–¸ Signing /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 â–¸ Test 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 All tests
2018-12-08T12:04:23.9566620Z Test Suite iosappUITests.xctest started
2018-12-08T12:04:23.9567140Z iosappUITests
2018-12-08T12:04:23.9567780Z âś“ testExample (7.969 seconds)
2018-12-08T12:04:23.9567860Z 
2018-12-08T12:04:23.9567890Z 
2018-12-08T12:04:23.9568420Z      Executed 1 test, with 0 failures (0 unexpected) in 7.969 (7.971) seconds
2018-12-08T12:04:23.9568930Z 
2018-12-08T12:04:23.9569410Z All tests
2018-12-08T12:04:23.9569950Z Test Suite iosappTests.xctest started
2018-12-08T12:04:23.9570440Z iosappTests
2018-12-08T12:04:23.9570960Z âś“ testExample (0.001 seconds)
2018-12-08T12:04:23.9571470Z â—· testPerformanceExample measured (0.000 seconds)
2018-12-08T12:04:23.9572020Z âś“ testPerformanceExample (0.316 seconds)
2018-12-08T12:04:23.9572080Z 
2018-12-08T12:04:23.9572120Z 
2018-12-08T12:04:23.9572650Z      Executed 2 tests, with 0 failures (0 unexpected) in 0.316 (0.318) seconds
2018-12-08T12:04:23.9573120Z 
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]: Exit status: 134
2018-12-08T12:04:23.9684350Z [12:04:23]: Copying '/Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/screenshots/en-US/iPhone 5s-01StartScreen.png'...
2018-12-08T12:04:23.9742890Z [12:04:23]: Tests failed while running on: iPhone 5s
2018-12-08T12:04:23.9745720Z [12:04:23]: For more detail about the test failures, check the logs here:
2018-12-08T12:04:23.9810420Z [12:04:23]: /Users/vsts/Library/Logs/snapshot/iosapp-iosapp.log
2018-12-08T12:04:23.9811450Z [12:04:23]:  
2018-12-08T12:04:23.9813830Z [12:04:23]: You can also find the test result data here:
2018-12-08T12:04:23.9815500Z [12:04:23]: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/snapshot_derived20181208-990-jn3rlb/Logs/Test
2018-12-08T12:04:23.9817100Z [12:04:23]:  
2018-12-08T12:04:23.9820760Z [12:04:23]: You can find the incomplete screenshots here:
2018-12-08T12:04:23.9822540Z [12:04:23]: /Users/vsts/Library/Caches/tools.fastlane/screenshots
2018-12-08T12:04:23.9824240Z [12:04:23]: /Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/screenshots
2018-12-08T12:04:23.9826380Z [12:04:23]: Caught error... 134
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]: Running snapshot on: iPhone 5s
2018-12-08T12:04:30.9431430Z [12:04:30]: $ 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 
2018-12-08T12:04:30.9432490Z [12:04:30]: â–¸ Loading...
2018-12-08T12:04:31.8758820Z [12:04:31]: â–¸ Building iosapp/iosapp [Debug]
2018-12-08T12:04:31.8760250Z [12:04:31]: â–¸ Check Dependencies
2018-12-08T12:04:31.9257100Z [12:04:31]: â–¸ Build Succeeded
2018-12-08T12:04:32.0691310Z [12:04:32]: â–¸ 2018-12-08 12:04:32.066 xcodebuild[2515:16181]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-12-08T12:04:32.0886790Z [12:04:32]: â–¸ /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
2018-12-08T12:04:32.1020270Z [12:04:32]: â–¸ 2018-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> {
2018-12-08T12:04:32.3343660Z [12:04:32]: â–¸ SimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booted)
2018-12-08T12:04:32.3452000Z [12:04:32]: â–¸ } (11.4 (15F79))
2018-12-08T12:04:32.3555370Z [12:04:32]: â–¸ 2018-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> {
2018-12-08T12:04:32.3947750Z [12:04:32]: â–¸ SimDevice: iPhone 5s (1B3AC69E-40E7-4B01-B519-D115478CE544, iOS 11.4, Booted)
2018-12-08T12:04:32.4049500Z [12:04:32]: â–¸ } (11.4 (15F79))
2018-12-08T12:04:32.4151730Z [12:04:32]: â–¸ 2018-12-08 12:04:32.086 xcodebuild[2515:16181]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-12-08T12:04:32.4252050Z [12:04:32]: â–¸ /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
2018-12-08T12:04:33.8426790Z [12:04:33]: â–¸ Building iosapp/iosapp [Debug]
2018-12-08T12:04:33.8627190Z [12:04:33]: â–¸ Check Dependencies
2018-12-08T12:04:33.8729500Z [12:04:33]: â–¸ Building iosapp/iosappTests [Debug]
2018-12-08T12:04:33.8829900Z [12:04:33]: â–¸ Check Dependencies
2018-12-08T12:04:33.8930200Z [12:04:33]: â–¸ Building iosapp/iosappUITests [Debug]
2018-12-08T12:04:33.9434160Z [12:04:33]: â–¸ Check Dependencies
2018-12-08T12:04:54.2983540Z [12:04:54]: â–¸ Test Succeeded
2018-12-08T12:05:00.3344800Z [12:05:00]: â–¸ All tests
2018-12-08T12:05:00.3366980Z [12:05:00]: â–¸ Test Suite iosappTests.xctest started
2018-12-08T12:05:00.3367700Z [12:05:00]: â–¸ iosappTests
2018-12-08T12:05:00.3368280Z [12:05:00]: â–¸ âś“ testExample (0.001 seconds)
2018-12-08T12:05:00.3393020Z [12:05:00]: â–¸ â—· testPerformanceExample measured (0.000 seconds)
2018-12-08T12:05:00.3395010Z [12:05:00]: â–¸ âś“ testPerformanceExample (0.320 seconds)
2018-12-08T12:05:00.3399500Z [12:05:00]: â–¸   Executed 2 tests, with 0 failures (0 unexpected) in 0.321 (0.323) seconds
2018-12-08T12:05:00.3401300Z [12:05:00]: â–¸ 
2018-12-08T12:05:00.3403290Z [12:05:00]: â–¸ All tests
2018-12-08T12:05:00.3405960Z [12:05:00]: â–¸ Test Suite iosappUITests.xctest started
2018-12-08T12:05:00.3407570Z [12:05:00]: â–¸ iosappUITests
2018-12-08T12:05:00.3410430Z [12:05:00]: â–¸ âś“ testExample (7.245 seconds)
2018-12-08T12:05:00.3415080Z [12:05:00]: â–¸   Executed 1 test, with 0 failures (0 unexpected) in 7.245 (7.247) seconds
2018-12-08T12:05:00.3416660Z [12:05:00]: â–¸ 
2018-12-08T12:05:00.3534750Z [12:05:00]: Copying '/Users/vsts/agent/2.142.1/work/1/s/ios/fastlane/screenshots/en-US/iPhone 5s-01StartScreen.png'...
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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yaananth picture yaananth  Â·  3Comments

MichaelWhiteCodingForFun picture MichaelWhiteCodingForFun  Â·  3Comments

timfish picture timfish  Â·  3Comments

fedemkr picture fedemkr  Â·  3Comments

montebhoover picture montebhoover  Â·  3Comments