13:10:10.602 xcodebuild[14933:676323] Beginning test session WebDriverAgentRunner-F9F193F7-FA86-420F-957E-32759873D911 at 2016-12-20 13:10:10.601 with Xcode 8C38 on target { deviceSerialNumber: DMVLQV9GFK14 identifier: 5a4de0857c9c5d66d71c7b2ad88aeb09102b63e9 deviceClass: iPad deviceName: Anand’s iPad deviceIdentifier: 5a4de0857c9c5d66d71c7b2ad88aeb09102b63e9 productVersion: 10.2 buildVersion: 14C92 deviceSoftwareVersion: 10.2 (14C92) deviceArchitecture: arm64 deviceTotalCapacity: 12284461056 deviceAvailableCapacity: 10610515968 deviceIsTransient: NO ignored: NO deviceIsBusy: NO deviceIsActivated: YES deviceActivationState: Activated deviceType: supportedDeviceFamilies: ( 1, 2 ) applications: (null) provisioningProfiles: (null) activityProgress: -2 activityTitle: hasInternalSupport: NO isSupportedOS: YES developerDiskMountError: (null) (null) } (10.2 (14C92)) 13:10:10.603 xcodebuild[14933:676323] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=5a4de0857c9c5d66d71c7b2ad88aeb09102b63e9 -configuration Debug -xcconfig /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Config.xcconfig 13:10:10.603 xcodebuild[14933:676323] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn 13:10:10.605 xcodebuild[14933:676323] Initializing test infrastructure. 13:10:10.854 xcodebuild[14933:676476] Creating the test bundle connection. 13:10:10.855 xcodebuild[14933:676476] Listening for proxy connection request from the test bundle (all platforms) 13:10:10.855 xcodebuild[14933:676476] Resuming the connection. 13:10:10.855 xcodebuild[14933:676476] Test connection requires daemon assistance. 13:10:10.856 xcodebuild[14933:676323] Starting test session with ID F9F193F7-FA86-420F-957E-32759873D911 13:10:10.856 xcodebuild[14933:676323] Checking test manager availability..., will wait up to 120s 13:10:10.905 xcodebuild[14933:676593] testmanagerd handled session request. 13:10:10.905 xcodebuild[14933:676323] Waiting for test process to launch. 13:10:11.269 xcodebuild[14933:676323] Launch session started, setting a disallow-finish-token on the run operation. 13:10:11.410 xcodebuild[14933:676592] app uninstall set - {( )} 13:10:11.411 xcodebuild[14933:676592] app install set - {( )} 13:10:13.723 xcodebuild[14933:676459] remoteExecutable setInstalledPath:/private/var/containers/Bundle/Application/3029E69F-0F98-4E06-AD86-C6311B7B3B88/WebDriverAgentRunner-Runner.app 13:10:13.726 xcodebuild[14933:676459] Updated test configuration at /var/folders/3z/mjd_d7dx2_qcxd1g95d38jxw0000gn/T/com.apple.dt.XCTest/F9F193F7-FA86-420F-957E-32759873D911/remote-container/tmp/WebDriverAgentRunner-F9F193F7-FA86-420F-957E-32759873D911.xctestconfiguration with device paths: testBundleURL:file:///private/var/containers/Bundle/Application/3029E69F-0F98-4E06-AD86-C6311B7B3B88/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest testBundleRelativePath:(null) productModuleName:WebDriverAgentRunner testsToSkip:(null) testsToRun:(null) reportResultsToIDE:YES sessionIdentifier:F9F193F7-FA86-420F-957E-32759873D911 pathToXcodeReportingSocket:(null) disablePerformanceMetrics:no treatMissingBaselinesAsFailures:no baselineFileURL:(null) baselineFileRelativePath:(null) targetApplicationPath:(null) targetApplicationBundleID:(null) reportActivities:YES testsMustRunOnMainThread:YES initializeForUITesting:YES aggregateStatisticsBeforeCrash:{ XCSuiteRecordsKey = { }; } 13:10:15.640 xcodebuild[14933:676459] Uploaded test configuration directory from: /var/folders/3z/mjd_d7dx2_qcxd1g95d38jxw0000gn/T/com.apple.dt.XCTest/F9F193F7-FA86-420F-957E-32759873D911/remote-container 13:10:15.640 xcodebuild[14933:676459] Updated testing environment variables { "DTX_CONNECTION_SERVICES_PATH" = "/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework"; "DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/3029E69F-0F98-4E06-AD86-C6311B7B3B88/WebDriverAgentRunner-Runner.app/Frameworks:/Users/NOF/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks"; "DYLD_LIBRARY_PATH" = "/private/var/containers/Bundle/Application/3029E69F-0F98-4E06-AD86-C6311B7B3B88/WebDriverAgentRunner-Runner.app/Frameworks:/Users/NOF/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks"; "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator"; XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/BC413F7B-0EB6-44F6-81AE-42866142BB92/tmp/WebDriverAgentRunner-F9F193F7-FA86-420F-957E-32759873D911.xctestconfiguration"; } 13:10:16.747 xcodebuild[14933:676323] Adding console adaptor for test session F9F193F7-FA86-420F-957E-32759873D911. 13:10:17.012 xcodebuild[14933:676323] Test process runnable PID is 213. 13:10:17.360 xcodebuild[14933:676593] Got proxy channel request from test bundle 13:10:17.360 xcodebuild[14933:676593] Test bundle is ready, running protocol 22, requires at least version 8. IDE is running 22 and requires at least 8 13:10:17.360 xcodebuild[14933:676840] Creating secondary transport and connection for whitelisting test process PID. 13:10:17.406 xcodebuild[14933:676840] Creating the daemon control connection. 13:10:17.406 xcodebuild[14933:676840] Resuming the secondary connection. 13:10:17.406 xcodebuild[14933:676840] Whitelisting test process ID 213 13:09:40.303 testmanagerd[210:6057] Launched testmanagerd from /Developer/usr/libexec/testmanagerd, built at Saturday, 29 October 2016 at 7:48:59 AM India Standard Time 13:09:40.304 testmanagerd[210:6057] Setting availability state. 13:10:17.412 xcodebuild[14933:676734] Got whitelisting response and daemon protocol version 22 13:09:40.306 testmanagerd[210:6057] Posting availability to test bundles... 13:09:40.309 testmanagerd[210:6070] IDE connected via lockdown over socket 4 (__54-[XCTestManagerIDEServer initWithLockdownServiceName:]_block_invoke) 13:09:40.309 testmanagerd[210:6070] Created session with socket 4 13:09:40.315 testmanagerd[210:6070] Handled a proxy request from the IDE with session proxy <_DTXProxy: 0x1003210b0> 13:09:40.316 testmanagerd[210:6057] __84-[XCIDESession _IDE_initiateSessionWithIdentifier:forClient:atPath:protocolVersion:]_block_invoke F9F193F7-FA86-420F-957E-32759873D911 1 4 from client 36906D09-1283-4472-9BC0-4C7E135CFAD9-14933-00002FE1FC73F1CF (/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild) 13:09:40.316 testmanagerd[210:6064] __45-[XCTestManager setIDESession:forIdentifier:]_block_invoke -> F9F193F7-FA86-420F-957E-32759873D911 13:09:40.317 testmanagerd[210:6064] -[XCTestManager _handleRequestForSessionWithIdentifier:] 13:09:45.308 testmanagerd[210:6057] Considering exiting, 0 test sessions, 1 sessions with identifiers, 0 unidentified sessions, does not have control session... 13:09:46.650 testmanagerd[210:6065] Received new test session connection (-[XCTestManager listener:shouldAcceptNewConnection:]) 13:09:46.652 testmanagerd[210:6057] Initial orientation 5 13:09:46.655 testmanagerd[210:6292] Test session F9F193F7-FA86-420F-957E-32759873D911 requested socket (-[XCTestSession _XCT_requestSocketForSessionIdentifier:reply:]) 13:09:46.655 testmanagerd[210:6292] Test session F9F193F7-FA86-420F-957E-32759873D911 requested socket (__57-[XCTestManager requestSocketForSessionIdentifier:reply:]_block_invoke) 13:09:46.656 testmanagerd[210:6292] -[XCTestManager _handleRequestForSessionWithIdentifier:] 13:09:46.656 testmanagerd[210:6292] Closing IDE connection before sending socket 5 to test host. 13:09:46.656 testmanagerd[210:6292] -[XCIDESession closeIDEConnection:] sending barrier 13:09:46.656 testmanagerd[210:6057] barrier flushed, closing DTXConnection to IDE, socket will not be closed 13:09:46.657 testmanagerd[210:6292] DTXSocketTransport disconnected 13:09:46.657 testmanagerd[210:6292] Disconnecting lockdown socket 13:09:46.657 testmanagerd[210:6292] app info { BKSApplicationStateAppIsFrontmost = 1; BKSApplicationStateExtensionKey = 0; SBApplicationStateDisplayIDKey = "com.apple.test.WebDriverAgentRunner-Runner"; SBApplicationStateKey = 8; SBApplicationStateProcessIDKey = 213; SBMostElevatedStateForProcessID = 8; } 13:09:46.658 testmanagerd[210:6292] Got request for process assertion for pid 213. 13:09:46.657 testmanagerd[210:6063] __33-[XCTestManager closeIDESession:]_block_invoke 13:09:46.658 testmanagerd[210:6063] Considering exiting, 1 test sessions, 0 sessions with identifiers, 0 unidentified sessions, does not have control session... 13:09:46.658 testmanagerd[210:6292] Created process assertion for pid 213: , waiting for response from assertiond. 13:09:46.659 testmanagerd[210:6292] Starting to monitor com.apple.test.WebDriverAgentRunner-Runner 13:09:46.660 testmanagerd[210:6292] Got reply for process assertion request, success: YES 13:09:46.660 testmanagerd[210:6063] Got application state update: com.apple.test.WebDriverAgentRunner-Runner (213) -> 8 13:09:46.837 testmanagerd[210:6057] Received request to collect crash reports in directories '/var/mobile/Library/Logs/CrashReporter/' for processes with names 'XCTRunner', 'WebDriverAgentRunner-Runner', 'xctest' 13:09:46.765 testmanagerd[210:6057] Sending socket 5 to test host 13:09:46.767 testmanagerd[210:6064] __33-[XCTestManager closeIDESession:]_block_invoke 13:09:46.768 testmanagerd[210:6064] Considering exiting, 1 test sessions, 0 sessions with identifiers, 0 unidentified sessions, does not have control session... 13:09:46.819 testmanagerd[210:6063] IDE connected via lockdown over socket 6 (__54-[XCTestManagerIDEServer initWithLockdownServiceName:]_block_invoke) 13:09:46.819 testmanagerd[210:6063] Created session with socket 6 13:09:46.838 testmanagerd[210:6057] Initializing crash report observer for /var/mobile/Library/Logs/CrashReporter/ 13:09:46.822 testmanagerd[210:6292] Handled a proxy request from the IDE with session proxy <_DTXProxy: 0x1002026a0> 13:09:46.822 testmanagerd[210:6292] -[XCIDESession _IDE_initiateControlSessionForTestProcessID:protocolVersion:] 213 22 13:09:46.823 testmanagerd[210:6057] Set control session with proto 22 and proxy <_DTXProxy: 0x1002026a0> 13:09:46.839 testmanagerd[210:6057] Getting files in /var/mobile/Library/Logs/CrashReporter/ 13:09:46.857 testmanagerd[210:6057] Found 78 files in /var/mobile/Library/Logs/CrashReporter/ 13:09:46.858 testmanagerd[210:6057] Started monitoring /var/mobile/Library/Logs/CrashReporter/ 13:09:46.622 XCTRunner[213:6265] Linked XCTest.framework from /var/containers/Bundle/Application/3029E69F-0F98-4E06-AD86-C6311B7B3B88/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest, built at Tuesday, 20 December 2016 at 12:26:51 PM India Standard Time 13:09:46.624 XCTRunner[213:6265] System uptime: 11:51 13:09:46.624 XCTRunner[213:6265] Process arguments: ( "/var/containers/Bundle/Application/3029E69F-0F98-4E06-AD86-C6311B7B3B88/WebDriverAgentRunner-Runner.app/XCTRunner", "-NSTreatUnknownArgumentsAsOpen", NO, "-ApplePersistenceIgnoreState", YES ) 13:09:46.624 XCTRunner[213:6265] Process environment: { "CFFIXED_USER_HOME" = "/private/var/mobile/Containers/Data/Application/BC413F7B-0EB6-44F6-81AE-42866142BB92"; CLASSIC = 0; "DTX_CONNECTION_SERVICES_PATH" = "/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework"; "DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/3029E69F-0F98-4E06-AD86-C6311B7B3B88/WebDriverAgentRunner-Runner.app/Frameworks:/Users/NOF/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks"; "DYLD_LIBRARY_PATH" = "/private/var/containers/Bundle/Application/3029E69F-0F98-4E06-AD86-C6311B7B3B88/WebDriverAgentRunner-Runner.app/Frameworks:/Users/NOF/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks"; HOME = "/private/var/mobile/Containers/Data/Application/BC413F7B-0EB6-44F6-81AE-42866142BB92"; LOGNAME = mobile; NSUnbufferedIO = YES; "OS_ACTIVITY_DT_MODE" = YES; PATH = "/usr/bin:/bin:/usr/sbin:/sbin"; SHELL = "/bin/sh"; TMPDIR = "/private/var/mobile/Containers/Data/Application/BC413F7B-0EB6-44F6-81AE-42866142BB92/tmp"; USER = mobile; "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator"; XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/BC413F7B-0EB6-44F6-81AE-42866142BB92/tmp/WebDriverAgentRunner-F9F193F7-FA86-420F-957E-32759873D911.xctestconfiguration"; "XPC_FLAGS" = 0x0; "XPC_SERVICE_NAME" = "UIKitApplication:com.apple.test.WebDriverAgentRunner-Runner[0x9f37]"; "__CF_USER_TEXT_ENCODING" = "0x1F5:0:0"; } 13:09:46.625 XCTRunner[213:6265] Loading DTXConnectionServices from /Developer/Library/PrivateFrameworks/DTXConnectionServices.framework 13:09:46.640 XCTRunner[213:6265] Session ID F9F193F7-FA86-420F-957E-32759873D911 13:09:46.640 XCTRunner[213:6265] Registering for testmanagerd availability notify post. 13:09:46.640 XCTRunner[213:6265] testmanagerd availability confirmed via notify_get_state. 13:09:46.640 XCTRunner[213:6265] Initiating connection to testmanagerd to request socket for IDE connection. 13:09:46.642 XCTRunner[213:6265] Requesting socket 13:09:46.655 XCTRunner[213:6272] Got daemon protocol version 6 13:09:46.767 XCTRunner[213:6271] Got socket 4 from daemon, making connection to IDE 13:09:46.768 XCTRunner[213:6271] Creating connection with transport 13:09:46.770 XCTRunner[213:6271] Resuming connection 13:09:46.772 XCTRunner[213:6271] Messaging IDE proxy - _XCT_testBundleReadyWithProtocolVersion:22 minimumVersion:8 13:09:46.864 XCTRunner[213:6265] -[XCTestDriver _runSuite] 13:10:17.460 xcodebuild[14933:676323] Starting test plan, clearing initialization timeout timer. 13:09:46.865 XCTRunner[213:6265] Initializing for UI testing. 13:09:46.875 testmanagerd[210:6295] Performing block with diagnostics... 13:09:46.878 testmanagerd[210:6295] Waiting 15.0s for AX to finish loading... 13:09:46.882 testmanagerd[210:6295] _AXSApplicationAccessibilityEnabled() returned false 13:09:46.909 testmanagerd[210:6057] AX is loaded 13:09:46.929 testmanagerd[210:6295] AXDisableAccessibilityOnTermination() returned 0 13:09:46.930 testmanagerd[210:6295] Created system wide AX element {pid=0} 13:09:46.933 testmanagerd[210:6295] Registered for accessibility notification 1021 13:09:46.935 testmanagerd[210:6295] Registered for accessibility notification 1000 13:09:46.936 testmanagerd[210:6295] Registered for accessibility notification 1005 13:09:46.937 testmanagerd[210:6295] Registered for accessibility notification 1001 13:09:46.945 testmanagerd[210:6295] Registered for accessibility notification 1011 13:09:46.947 testmanagerd[210:6295] Registered for accessibility notification 4002 13:09:46.948 testmanagerd[210:6295] Registered for accessibility notification 4000 13:09:46.951 testmanagerd[210:6295] Registered for accessibility notification 4001 13:09:46.956 testmanagerd[210:6295] Registered for accessibility notification 5000 13:09:46.957 testmanagerd[210:6295] Block succeeded, canceling diagnostics. 13:09:46.976 testmanagerd[210:6057] AX Notification 1011 13:09:47.114 testmanagerd[210:6295] AXUIElementSetMessagingTimeout( {pid=0}, 15) -> 0 13:09:47.117 testmanagerd[210:6292] -[XCTestManager allowUITestControlForPID:] 213 vs 213 13:09:47.120 testmanagerd[210:6292] Registered for AX notification 4002 13:09:47.135 testmanagerd[210:6295] -[XCTestManager allowUITestControlForPID:] 213 vs 213 13:09:47.136 testmanagerd[210:6295] Registered for AX notification 1006 13:09:47.138 testmanagerd[210:6295] -[XCTestManager allowUITestControlForPID:] 213 vs 213 13:09:47.139 testmanagerd[210:6295] Registered for AX notification 1021 13:09:47.141 testmanagerd[210:6296] Got request for process assertion for pid 213. 13:09:47.142 testmanagerd[210:6296] Invalidating previous process assertion for pid 213. 13:09:47.142 testmanagerd[210:6296] Created process assertion for pid 213: , waiting for response from assertiond. 13:09:47.145 testmanagerd[210:6063] Got reply for process assertion request, success: YES 13:09:47.146 XCTRunner[213:6276] Got reply for background assertion for test process, acquired: YES. 13:09:47.147 XCTRunner[213:6265] Registering for UIApplicationDidEnterBackgroundNotification 13:09:47.149 XCTRunner[213:6265] Hitting home button to enter background. 13:09:47.151 testmanagerd[210:6296] -[XCTestManager allowUITestControlForPID:] 213 vs 213 13:09:47.151 testmanagerd[210:6296] Performing 4 13:09:48.201 testmanagerd[210:6057] AX Notification 1021 13:09:48.238 XCTRunner[213:6275] Got AX notification 1021 13:09:48.239 XCTRunner[213:6275] Got kAXPidStatusChangedNotification for invalid pid 0, full payload { pid = 0; pipPid = 1; } 13:09:48.238 testmanagerd[210:6057] AX Notification 4002 13:09:48.252 XCTRunner[213:6277] Got AX notification 4002 13:09:48.252 testmanagerd[210:6057] Got user testing notification with payload { controllerClass = SBAppContainerViewController; event = ViewDidDisappear; } 13:09:48.255 XCTRunner[213:6265] Got UIApplicationDidEnterBackgroundNotification 13:09:48.256 testmanagerd[210:6057] AX Notification 1021 13:09:48.257 XCTRunner[213:6297] Got AX notification 1021 13:09:48.258 XCTRunner[213:6297] Got kAXPidStatusChangedNotification for 213: suspended 13:09:48.257 testmanagerd[210:6057] AX Notification 4002 13:09:48.259 testmanagerd[210:6057] Got user testing notification with payload { controllerClass = SBLeafIconViewController; event = ViewDidAppear; } 13:09:48.259 XCTRunner[213:6297] Got AX notification 4002 13:09:48.263 XCTRunner[213:6265] No application process found matching pid 213, caching 13:09:48.278 XCTRunner[213:6265] Done initializing for UI testing. 13:09:48.279 XCTRunner[213:6265] Loading test suite... 13:09:48.347 XCTRunner[213:6265] Finished loading test suite, took 0.067s 13:09:48.353 XCTRunner[213:6265] -[_XCTestDriverTestObserver testBundleWillStart:] 13:09:48.354 XCTRunner[213:6265] Running suite... 13:09:48.356 XCTRunner[213:6265] -[_XCTestDriverTestObserver testSuiteWillStart:] Test Suite 'All tests' started at 2016-12-20 13:09:48.355 13:10:18.947 xcodebuild[14933:676592] (LOG ARBITER) Rotating message buffer with 1 messages. 13:10:22.074 xcodebuild[14933:676627] (LOG ARBITER) Rotating message buffer with 18 messages. 13:12:19.937 xcodebuild[14933:676592] (LOG ARBITER) Rotating message buffer with 37 messages. 13:12:22.937 xcodebuild[14933:676592] (LOG ARBITER) Rotating message buffer with 2 messages. 13:20:52.909 xcodebuild[14933:678661] (LOG ARBITER) Rotating message buffer with 19 messages. 13:20:54.913 xcodebuild[14933:686612] (LOG ARBITER) Rotating message buffer with 38 messages.