Skip to content

Instantly share code, notes, and snippets.

@Arun-AG
Created July 6, 2017 06:26
Show Gist options
  • Save Arun-AG/53845933eb03b7adae18f3fd3e76c523 to your computer and use it in GitHub Desktop.
Save Arun-AG/53845933eb03b7adae18f3fd3e76c523 to your computer and use it in GitHub Desktop.
exitcode65 and null_ Arun.ag_python
[Appium] Welcome to Appium v1.6.5
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"capabilities":{"alwaysMatch":{"deviceName":"iPhone 7","udid":"d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6","showXcodeLog":true,"automationName":"XCUITest","browserName":"Safari","platformVersion":"10.2","platformName":"iOS","bundleId":"com.apple.mobilesafari"},"firstMatch":[]},"desiredCapabilities":{"deviceName":"iPhone 7","udid":"d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6","platformName":"iOS","automationName":"XCUITest","browserName":"Safari","platformVersion":"10.2","showXcodeLog":true,"bundleId":"com.apple.mobilesafari"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone 7","udid":"d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6","platformName":"iOS","automationName":"XCUITest","browserName":"Safari","platformVersion":"10.2","showXcodeLog":true,"bundleId":"com.apple.mobilesafari"},null,{"alwaysMatch":{"deviceName":"iPhone 7","udid":"d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6","showXcodeLog":true,"automationName":"XCUITest","browserName":"Safari","platformVersion":"10.2","platformName":"iOS","bundleId":"com.apple.mobilesafari"},"firstMatch":[]}]
[BaseDriver] Event 'newSessionRequested' logged at 1499321678133 (11:44:38 GMT+0530 (IST))
[Appium] Creating new XCUITestDriver (v2.30.0) session
[Appium] Capabilities:
[Appium] deviceName: 'iPhone 7'
[Appium] udid: 'd9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6'
[Appium] platformName: 'iOS'
[Appium] automationName: 'XCUITest'
[Appium] browserName: 'Safari'
[Appium] platformVersion: '10.2'
[Appium] showXcodeLog: true
[Appium] bundleId: 'com.apple.mobilesafari'
[XCUITest] XCUITestDriver version: 2.30.0
[BaseDriver] Session created with session id: e8b561e7-78dc-4db8-aceb-b1804146a726
[XCUITest] Xcode version set to '8.3.3'
[XCUITest] iOS SDK Version set to '10.3'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1499321679207 (11:44:39 GMT+0530 (IST))
[XCUITest] Available devices: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[XCUITest] Creating iDevice object with udid 'd9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6'
[XCUITest] Determining device to run tests on: udid: 'd9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6', real device: true
[XCUITest] Safari test requested
[BaseDriver] Event 'appConfigured' logged at 1499321680193 (11:44:40 GMT+0530 (IST))
[BaseDriver] Event 'resetStarted' logged at 1499321680194 (11:44:40 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event 'resetComplete' logged at 1499321680195 (11:44:40 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[BaseDriver] Event 'logCaptureStarted' logged at 1499321680585 (11:44:40 GMT+0530 (IST))
[XCUITest] Setting up real device
[BaseDriver] Event 'wdaStartAttempted' logged at 1499321680587 (11:44:40 GMT+0530 (IST))
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Killing hanging processes
[XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6 -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.2' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Output from xcodebuild will be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[Xcode] Build settings from command line:
[Xcode]
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 10.2
[Xcode]
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] === BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
[Xcode]
[Xcode]
[Xcode] Check dependencies
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode]
[Xcode]
[Xcode] === BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
[Xcode]
[Xcode]
[Xcode] Check dependencies
[Xcode]
[Xcode]
[Xcode] Write auxiliary files
[Xcode] write-file /Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Intermediates/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner-all-non-framework-target-headers.hmap
[Xcode]
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[XCUITest] Log file for xcodebuild test: /Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/D4178449-B806-428F-A9EE-EB8580EB689B/Session-WebDriverAgentRunner-2017-07-06_114450-dVy7Nc.log
[Xcode] 2017-07-06 11:44:50.832 xcodebuild[1106:16452] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/D4178449-B806-428F-A9EE-EB8580EB689B/Session-WebDriverAgentRunner-2017-07-06_114450-dVy7Nc.log
[Xcode]
[Xcode] 2017-07-06 11:44:50.832 xcodebuild[1106:16430] [MT] IDETestOperationsObserverDebug: (C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220) Beginning test session WebDriverAgentRunner-C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220 at 2017-07-06 11:44:50.832 with Xcode 8E3004b on target {
[Xcode] deviceSerialNumber: DNPT8C7BHG7J
[Xcode] identifier: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] deviceClass: iPhone
[Xcode] deviceName: IT’s iPhone 7
[Xcode] deviceIdentifier: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] productVersion: 10.2.1
[Xcode] buildVersion: 14D27
[Xcode] deviceSoftwareVersion: 10.2.1 (14D27)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 27783299072
[Xcode] deviceAvailableCapacity: 20838162432
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType:
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] activityProgress: -2
[Xcode] activityTitle:
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs:
[Xcode] } (10.2.1 (14D27))
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/jn/nv0mr5b149l5hv3sz5ddxll80000gs/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/e103ab54596ea7c7f85217c82a143362/d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6/ManifestCache.plist
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] 2017-07-06 11:44:59.042 xcodebuild[1106:16430] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[Xcode] Contents of xcodebuild log file '/Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/D4178449-B806-428F-A9EE-EB8580EB689B/Session-WebDriverAgentRunner-2017-07-06_114450-dVy7Nc.log':
[Xcode] 11:44:50.833 xcodebuild[1106:16430] Beginning test session WebDriverAgentRunner-C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220 at 2017-07-06 11:44:50.832 with Xcode 8E3004b on target {
[Xcode] deviceSerialNumber: DNPT8C7BHG7J
[Xcode] identifier: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] deviceClass: iPhone
[Xcode] deviceName: IT’s iPhone 7
[Xcode] deviceIdentifier: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] productVersion: 10.2.1
[Xcode] buildVersion: 14D27
[Xcode] deviceSoftwareVersion: 10.2.1 (14D27)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 27783299072
[Xcode] deviceAvailableCapacity: 20838162432
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType:
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] activityProgress: -2
[Xcode] activityTitle:
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs:
[Xcode] } (10.2.1 (14D27))
[Xcode] 11:44:50.833 xcodebuild[1106:16430] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
[Xcode] build-for-testing
[Xcode] test-without-building
[Xcode] -project
[Xcode] /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[Xcode] -scheme
[Xcode] WebDriverAgentRunner
[Xcode] -destination
[Xcode] id=d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] -configuration
[Xcode] Debug
[Xcode] IPHONEOS_DEPLOYMENT_TARGET=10.2
[Xcode] 11:44:50.833 xcodebuild[1106:16430] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[Xcode] 11:44:50.843 xcodebuild[1106:16430] Launch session started.
[Xcode] 11:44:50.843 xcodebuild[1106:16432] Connecting to mobile device: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] 11:44:50.847 xcodebuild[1106:16432] Starting session with mobile device
[Xcode] 11:44:50.900 xcodebuild[1106:16432] Starting test manager service on mobile device.
[Xcode] 11:44:50.925 xcodebuild[1106:16527] Received connection for test runner session
[Xcode] 11:44:50.925 xcodebuild[1106:16527] Listening for proxy connection request from the test bundle
[Xcode] 11:44:50.926 xcodebuild[1106:16430] Test runner session acquired connection.
[Xcode] 11:44:50.926 xcodebuild[1106:16430] Waiting for test process to launch.
[Xcode] 11:44:50.926 xcodebuild[1106:16527] Initiating session with identifier: C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220
[Xcode] 11:44:50.959 xcodebuild[1106:16452] Got reply to session initiation request with identifier C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220 (result:error): 22: (null)
[Xcode] 11:44:51.013 xcodebuild[1106:16529] Installing com.apple.test.WebDriverAgentRunner-Runner using MobileInstall
[Xcode] 11:44:51.069 xcodebuild[1106:16452] app uninstall set - {(
[Xcode] )}
[Xcode] 11:44:51.069 xcodebuild[1106:16452] app install set - {(
[Xcode]
[Xcode] )}
[Xcode] 11:44:55.889 xcodebuild[1106:16529] remoteExecutable setInstalledPath:/private/var/containers/Bundle/Application/C3F386B0-DD41-4D19-B6A8-20208958D747/WebDriverAgentRunner-Runner.app
[Xcode]
[Xcode] 11:44:55.890 xcodebuild[1106:16529] Configuring for testing on device...
[Xcode] 11:44:55.890 xcodebuild[1106:16529] Updating test configuration with device paths.
[Xcode] 11:44:55.891 xcodebuild[1106:16529] Updated test configuration at /var/folders/jn/nv0mr5b149l5hv3sz5ddxll80000gs/T/com.apple.dt.XCTest/C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220/remote-container/tmp/WebDriverAgentRunner-C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220.xctestconfiguration with device paths:
[Xcode] testBundleURL:file:///private/var/containers/Bundle/Application/C3F386B0-DD41-4D19-B6A8-20208958D747/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
[Xcode] testBundleRelativePath:(null)
[Xcode] productModuleName:WebDriverAgentRunner
[Xcode] testsToSkip:(null)
[Xcode] testsToRun:(null)
[Xcode] reportResultsToIDE:YES
[Xcode] sessionIdentifier:C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220
[Xcode] pathToXcodeReportingSocket:(null)
[Xcode] disablePerformanceMetrics:no
[Xcode] treatMissingBaselinesAsFailures:no
[Xcode] baselineFileURL:(null)
[Xcode] baselineFileRelativePath:(null)
[Xcode] targetApplicationPath:(null)
[Xcode] targetApplicationBundleID:(null)
[Xcode] targetApplicationArguments:(null)
[Xcode] targetApplicationEnvironment:
[Xcode] (null)
[Xcode] reportActivities:YES
[Xcode] testsMustRunOnMainThread:YES
[Xcode] initializeForUITesting:YES
[Xcode] aggregateStatisticsBeforeCrash:{
[Xcode] XCSuiteRecordsKey = {
[Xcode] };
[Xcode] }
[Xcode] automationFrameworkPath:/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
[Xcode] emitOSLogs:no
[Xcode]
[Xcode] 11:44:55.891 xcodebuild[1106:16529] Uploading test configuration to app container.
[Xcode] 11:44:57.515 xcodebuild[1106:16529] Updating test process environment variables.
[Xcode] 11:44:57.515 xcodebuild[1106:16529] Updated testing environment variables {
[Xcode] "DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/C3F386B0-DD41-4D19-B6A8-20208958D747/WebDriverAgentRunner-Runner.app/Frameworks:/Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
[Xcode] "DYLD_LIBRARY_PATH" = "/private/var/containers/Bundle/Application/C3F386B0-DD41-4D19-B6A8-20208958D747/WebDriverAgentRunner-Runner.app/Frameworks:/Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
[Xcode] "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
[Xcode] XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/FDD20925-7955-476B-B09A-9C5346E36B65/tmp/WebDriverAgentRunner-C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220.xctestconfiguration";
[Xcode] }
[Xcode] 11:44:58.804 xcodebuild[1106:16430] Adding console adaptor for test session C2B8D235-8A0B-4E30-AFE9-FFD3B9D69220.
[Xcode] 11:44:58.892 xcodebuild[1106:16430] Test process runnable PID is 237.
[Xcode] 11:44:59.039 xcodebuild[1106:16430] ############## DID EXECUTE #################
[Xcode] 11:44:59.041 xcodebuild[1106:16430] Test operation failure: Launch session expired before checking in.
[Xcode] 11:44:59.042 xcodebuild[1106:16430] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Launch session expired before checking in." UserInfo={NSLocalizedDescription=Launch session expired before checking in.} didCancel: 1
[Xcode]
[BaseDriver] Event 'wdaStartFailed' logged at 1499321699065 (11:44:59 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 1104)
[XCUITest] iproxy exited with code 'null'
[XCUITest] Removing WDA application from device
[BaseDriver] Event 'wdaStartAttempted' logged at 1499321709218 (11:45:09 GMT+0530 (IST))
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Killing hanging processes
[XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6 -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.2' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Output from xcodebuild will be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[Xcode] Build settings from command line:
[Xcode]
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 10.2
[Xcode]
[Xcode]
[Xcode] === BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
[Xcode]
[Xcode]
[Xcode] Check dependencies
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode]
[Xcode]
[Xcode] === BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
[Xcode]
[Xcode] Check dependencies
[Xcode]
[Xcode]
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[XCUITest] Log file for xcodebuild test: /Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/94D3B528-1834-48E2-8AD1-1479D46F9206/Session-WebDriverAgentRunner-2017-07-06_114515-Upu1mB.log
[Xcode] 2017-07-06 11:45:15.323 xcodebuild[1139:16704] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/94D3B528-1834-48E2-8AD1-1479D46F9206/Session-WebDriverAgentRunner-2017-07-06_114515-Upu1mB.log
[Xcode]
[Xcode] 2017-07-06 11:45:15.324 xcodebuild[1139:16681] [MT] IDETestOperationsObserverDebug: (77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81) Beginning test session WebDriverAgentRunner-77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81 at 2017-07-06 11:45:15.324 with Xcode 8E3004b on target {
[Xcode] deviceSerialNumber: DNPT8C7BHG7J
[Xcode] identifier: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] deviceClass: iPhone
[Xcode] deviceName: IT’s iPhone 7
[Xcode] deviceIdentifier: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] productVersion: 10.2.1
[Xcode] buildVersion: 14D27
[Xcode] deviceSoftwareVersion: 10.2.1 (14D27)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 27783299072
[Xcode] deviceAvailableCapacity: 20834373632
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType:
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] activityProgress: -2
[Xcode] activityTitle:
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs:
[Xcode] } (10.2.1 (14D27))
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/jn/nv0mr5b149l5hv3sz5ddxll80000gs/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/e103ab54596ea7c7f85217c82a143362/d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6/ManifestCache.plist
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] 2017-07-06 11:45:21.128 xcodebuild[1139:16681] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[Xcode] Contents of xcodebuild log file '/Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/94D3B528-1834-48E2-8AD1-1479D46F9206/Session-WebDriverAgentRunner-2017-07-06_114515-Upu1mB.log':
[Xcode] 11:45:15.324 xcodebuild[1139:16681] Beginning test session WebDriverAgentRunner-77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81 at 2017-07-06 11:45:15.324 with Xcode 8E3004b on target {
[Xcode] deviceSerialNumber: DNPT8C7BHG7J
[Xcode] identifier: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] deviceClass: iPhone
[Xcode] deviceName: IT’s iPhone 7
[Xcode] deviceIdentifier: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] productVersion: 10.2.1
[Xcode] buildVersion: 14D27
[Xcode] deviceSoftwareVersion: 10.2.1 (14D27)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 27783299072
[Xcode] deviceAvailableCapacity: 20834373632
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType:
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] activityProgress: -2
[Xcode] activityTitle:
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs:
[Xcode] } (10.2.1 (14D27))
[Xcode] 11:45:15.324 xcodebuild[1139:16681] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
[Xcode] build-for-testing
[Xcode] test-without-building
[Xcode] -project
[Xcode] /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[Xcode] -scheme
[Xcode] WebDriverAgentRunner
[Xcode] -destination
[Xcode] id=d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] -configuration
[Xcode] Debug
[Xcode] IPHONEOS_DEPLOYMENT_TARGET=10.2
[Xcode] 11:45:15.324 xcodebuild[1139:16681] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[Xcode] 11:45:15.330 xcodebuild[1139:16681] Launch session started.
[Xcode] 11:45:15.339 xcodebuild[1139:16683] Connecting to mobile device: d9ddaa496c5f95f9ee02e5c7af65c10ba4b3ebf6
[Xcode] 11:45:15.343 xcodebuild[1139:16683] Starting session with mobile device
[Xcode] 11:45:15.397 xcodebuild[1139:16683] Starting test manager service on mobile device.
[Xcode] 11:45:15.405 xcodebuild[1139:16771] Received connection for test runner session
[Xcode] 11:45:15.405 xcodebuild[1139:16771] Listening for proxy connection request from the test bundle
[Xcode] 11:45:15.405 xcodebuild[1139:16681] Test runner session acquired connection.
[Xcode] 11:45:15.406 xcodebuild[1139:16681] Waiting for test process to launch.
[Xcode] 11:45:15.406 xcodebuild[1139:16771] Initiating session with identifier: 77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81
[Xcode] 11:45:15.428 xcodebuild[1139:16774] Got reply to session initiation request with identifier 77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81 (result:error): 22: (null)
[Xcode] 11:45:15.508 xcodebuild[1139:16772] Installing com.apple.test.WebDriverAgentRunner-Runner using MobileInstall
[Xcode] 11:45:15.576 xcodebuild[1139:16702] app uninstall set - {(
[Xcode] )}
[Xcode] 11:45:15.577 xcodebuild[1139:16702] app install set - {(
[Xcode]
[Xcode] )}
[Xcode] 11:45:18.230 xcodebuild[1139:16772] remoteExecutable setInstalledPath:/private/var/containers/Bundle/Application/C0AC198E-3D42-42A1-A206-06156B3C2FF4/WebDriverAgentRunner-Runner.app
[Xcode]
[Xcode] 11:45:18.231 xcodebuild[1139:16772] Configuring for testing on device...
[Xcode] 11:45:18.231 xcodebuild[1139:16772] Updating test configuration with device paths.
[Xcode] 11:45:18.232 xcodebuild[1139:16772] Updated test configuration at /var/folders/jn/nv0mr5b149l5hv3sz5ddxll80000gs/T/com.apple.dt.XCTest/77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81/remote-container/tmp/WebDriverAgentRunner-77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81.xctestconfiguration with device paths:
[Xcode] testBundleURL:file:///private/var/containers/Bundle/Application/C0AC198E-3D42-42A1-A206-06156B3C2FF4/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
[Xcode] testBundleRelativePath:(null)
[Xcode] productModuleName:WebDriverAgentRunner
[Xcode] testsToSkip:(null)
[Xcode] testsToRun:(null)
[Xcode] reportResultsToIDE:YES
[Xcode] sessionIdentifier:77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81
[Xcode] pathToXcodeReportingSocket:(null)
[Xcode] disablePerformanceMetrics:no
[Xcode] treatMissingBaselinesAsFailures:no
[Xcode] baselineFileURL:(null)
[Xcode] baselineFileRelativePath:(null)
[Xcode] targetApplicationPath:(null)
[Xcode] targetApplicationBundleID:(null)
[Xcode] targetApplicationArguments:(null)
[Xcode] targetApplicationEnvironment:
[Xcode] (null)
[Xcode] reportActivities:YES
[Xcode] testsMustRunOnMainThread:YES
[Xcode] initializeForUITesting:YES
[Xcode] aggregateStatisticsBeforeCrash:{
[Xcode] XCSuiteRecordsKey = {
[Xcode] };
[Xcode] }
[Xcode] automationFrameworkPath:/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
[Xcode] emitOSLogs:no
[Xcode]
[Xcode] 11:45:18.232 xcodebuild[1139:16772] Uploading test configuration to app container.
[Xcode] 11:45:19.845 xcodebuild[1139:16772] Updating test process environment variables.
[Xcode] 11:45:19.846 xcodebuild[1139:16772] Updated testing environment variables {
[Xcode] "DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/C0AC198E-3D42-42A1-A206-06156B3C2FF4/WebDriverAgentRunner-Runner.app/Frameworks:/Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
[Xcode] "DYLD_LIBRARY_PATH" = "/private/var/containers/Bundle/Application/C0AC198E-3D42-42A1-A206-06156B3C2FF4/WebDriverAgentRunner-Runner.app/Frameworks:/Users/test/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
[Xcode] "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
[Xcode] XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/4EC74FF1-CA31-4214-BB2F-2587AF9A9496/tmp/WebDriverAgentRunner-77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81.xctestconfiguration";
[Xcode] }
[Xcode] 11:45:20.948 xcodebuild[1139:16681] Adding console adaptor for test session 77DB18C7-B6A5-4FBC-BF3C-A8C21A7C8F81.
[Xcode] 11:45:21.017 xcodebuild[1139:16681] Test process runnable PID is 244.
[Xcode] 11:45:21.126 xcodebuild[1139:16681] ############## DID EXECUTE #################
[Xcode] 11:45:21.128 xcodebuild[1139:16681] Test operation failure: Launch session expired before checking in.
[Xcode] 11:45:21.128 xcodebuild[1139:16681] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Launch session expired before checking in." UserInfo={NSLocalizedDescription=Launch session expired before checking in.} didCancel: 1
[Xcode]
[BaseDriver] Event 'wdaStartFailed' logged at 1499321721154 (11:45:21 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 1138)
[XCUITest] iproxy exited with code 'null'
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:386:15)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:386:15)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:386:15)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
[HTTP] <-- POST /wd/hub/session 500 53182 ms - 230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment