Skip to content

Instantly share code, notes, and snippets.

@shanthi2016
Created October 2, 2017 15:12
Show Gist options
  • Save shanthi2016/773f6c891cc83b44ff83431eadff337e to your computer and use it in GitHub Desktop.
Save shanthi2016/773f6c891cc83b44ff83431eadff337e to your computer and use it in GitHub Desktop.
Appium logs1
[Appium] Welcome to Appium v1.7.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/pvara/work/Sep-19th-RC/AE.app","showXcodeLog":true,"newCommandTimeout":120,"platformVersion":"11.0","automationName":"XCUITest","useNewWDA":true,"platformName":"iOS","deviceName":"iPhone 8"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/pvara/work/Sep-19th-RC/AE.app","showXcodeLog":true,"newCommandTimeout":120,"platformVersion":"11.0","automationName":"XCUITest","useNewWDA":true,"platformName":"iOS","deviceName":"iPhone 8"},null,null]
[BaseDriver] Event 'newSessionRequested' logged at 1506956988956 (11:09:48 GMT-0400 (EDT))
[Appium] Creating new XCUITestDriver (v2.51.1) session
[Appium] Capabilities:
[Appium] app: '/Users/pvara/work/Sep-19th-RC/AE.app'
[Appium] showXcodeLog: true
[Appium] newCommandTimeout: 120
[Appium] platformVersion: '11.0'
[Appium] automationName: 'XCUITest'
[Appium] useNewWDA: true
[Appium] platformName: 'iOS'
[Appium] deviceName: 'iPhone 8'
[BaseDriver] Session created with session id: 89f1900a-63dd-4aad-9c14-f5bd33f2719a
[XCUITest] Xcode version set to '9.0' (tools v9.0.0.0.1.1504363082)
[XCUITest] iOS SDK Version set to '11.0'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1506956989045 (11:09:49 GMT-0400 (EDT))
[iOSSim] Constructing iOS simulator for Xcode version 9.0 with udid '7D07E4CE-05AB-455E-B6B9-6C11C845817C'
[XCUITest] Determining device to run tests on: udid: '7D07E4CE-05AB-455E-B6B9-6C11C845817C', real device: false
[BaseDriver] Using local app '/Users/pvara/work/Sep-19th-RC/AE.app'
[BaseDriver] Event 'appConfigured' logged at 1506956989372 (11:09:49 GMT-0400 (EDT))
[XCUITest] Checking whether app '/Users/pvara/work/Sep-19th-RC/AE.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/Users/pvara/work/Sep-19th-RC/AE.app': 'com.aetn.aetv.ios.watch'
[BaseDriver] Event 'resetStarted' logged at 1506956989374 (11:09:49 GMT-0400 (EDT))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event 'resetComplete' logged at 1506956989505 (11:09:49 GMT-0400 (EDT))
[iOSLog] Starting iOS 11.0 simulator log capture
[iOSLog] System log path: /Users/pvara/Library/Logs/CoreSimulator/7D07E4CE-05AB-455E-B6B9-6C11C845817C/system.log
[BaseDriver] Event 'logCaptureStarted' logged at 1506956989682 (11:09:49 GMT-0400 (EDT))
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[iOSSim] Setting common Simulator preferences to {"ConnectHardwareKeyboard":false}
[iOSSim] Updated shared Simulator preferences at '/Users/pvara/Library/Preferences/com.apple.iphonesimulator.plist' with {"ConnectHardwareKeyboard":false}
[iOSSim] The count of running Simulator UI client instances is 0
[iOSSim] Booting Simulator with UDID 7D07E4CE-05AB-455E-B6B9-6C11C845817C...
[iOSSim] Starting Simulator UI with command: open -Fn /Users/pvara/Downloads/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 7D07E4CE-05AB-455E-B6B9-6C11C845817C -ConnectHardwareKeyboard 0
[iOSSim] The count of running Simulator UI client instances is 1
[iOSSim] Simulator with UDID 7D07E4CE-05AB-455E-B6B9-6C11C845817C booted in 20 seconds
[BaseDriver] Event 'simStarted' logged at 1506957010466 (11:10:10 GMT-0400 (EDT))
[XCUITest] Reset requested. Removing app with id 'com.aetn.aetv.ios.watch' from the device
[XCUITest] Installing '/Users/pvara/work/Sep-19th-RC/AE.app' on Simulator with UUID '7D07E4CE-05AB-455E-B6B9-6C11C845817C'...
[XCUITest] The app has been installed successfully.
[BaseDriver] Event 'appInstalled' logged at 1506957039922 (11:10:39 GMT-0400 (EDT))
[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] Capability 'useNewWDA' set to true, so uninstalling WDA before proceeding
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[BaseDriver] Event 'wdaUninstalled' logged at 1506957041194 (11:10:41 GMT-0400 (EDT))
[BaseDriver] Event 'wdaStartAttempted' logged at 1506957041198 (11:10:41 GMT-0400 (EDT))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Killing running processes 'xcodebuild.*7D07E4CE-05AB-455E-B6B9-6C11C845817C, iproxy 8100, 7D07E4CE-05AB-455E-B6B9-6C11C845817C.*XCTRunner' for the device 7D07E4CE-05AB-455E-B6B9-6C11C845817C...
[XCUITest] 'pgrep -nif xcodebuild.*7D07E4CE-05AB-455E-B6B9-6C11C845817C' didn't detect any matching processes. Return code: 1
[XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[XCUITest] 'pgrep -nif 7D07E4CE-05AB-455E-B6B9-6C11C845817C.*XCTRunner' didn't detect any matching processes. Return code: 1
[XCUITest] Using Xcode 9.0, so fixing WDA codebase
[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=7D07E4CE-05AB-455E-B6B9-6C11C845817C IPHONEOS_DEPLOYMENT_TARGET=11.0' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Output from xcodebuild will be logged. To see xcode logging, use 'showXcodeLog' desired capability
[Xcode] Build settings from command line:
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 11.0
[Xcode]
[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] === BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
[Xcode]
[Xcode] Check dependencies
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode]
[Xcode]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[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: /var/folders/lk/0lr9rwwx3fs9vpxhdr5yc56rf82g17/T/com.apple.dt.XCTest/IDETestRunSession-F4CE5C87-C647-443B-8107-D3611461FB9A/WebDriverAgentRunner-A3D818E0-C9BC-45C0-BA99-102C61CFB70F/Session-WebDriverAgentRunner-2017-10-02_111045-gqrsr7.log
[Xcode] 2017-10-02 11:10:45.095 xcodebuild[6661:91388] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /var/folders/lk/0lr9rwwx3fs9vpxhdr5yc56rf82g17/T/com.apple.dt.XCTest/IDETestRunSession-F4CE5C87-C647-443B-8107-D3611461FB9A/WebDriverAgentRunner-A3D818E0-C9BC-45C0-BA99-102C61CFB70F/Session-WebDriverAgentRunner-2017-10-02_111045-gqrsr7.log
[Xcode]
[Xcode] 2017-10-02 11:10:45.096 xcodebuild[6661:91387] [MT] IDETestOperationsObserverDebug: (FEB609BD-4447-47FD-AA2E-26D647FE02AD) Beginning test session WebDriverAgentRunner-FEB609BD-4447-47FD-AA2E-26D647FE02AD at 2017-10-02 11:10:45.096 with Xcode 9A235 on target {
[Xcode] SimDevice: iPhone 8 (7D07E4CE-05AB-455E-B6B9-6C11C845817C, iOS 11.0, Booted)
[Xcode] } (11.0 (15A372))
[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
[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
[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
[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
[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
[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-10-02 11:11:09.966 xcodebuild[6661:91387] Error Domain=FBSOpenApplicationServiceErrorDomain Code=3 "The request to open "com.apple.test.WebDriverAgentRunner-Runner" failed." UserInfo={NSLocalizedFailureReason=The process did launch, but has since exited or crashed., BSErrorCodeDescription=ProcessExited, NSLocalizedDescription=The request to open "com.apple.test.WebDriverAgentRunner-Runner" failed.}
[Xcode] 2017-10-02 11:11:09.966 xcodebuild[6661:91387] 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]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[Xcode] Contents of xcodebuild log file '/var/folders/lk/0lr9rwwx3fs9vpxhdr5yc56rf82g17/T/com.apple.dt.XCTest/IDETestRunSession-F4CE5C87-C647-443B-8107-D3611461FB9A/WebDriverAgentRunner-A3D818E0-C9BC-45C0-BA99-102C61CFB70F/Session-WebDriverAgentRunner-2017-10-02_111045-gqrsr7.log':
[Xcode] 11:10:45.096 xcodebuild[6661:91387] Beginning test session WebDriverAgentRunner-FEB609BD-4447-47FD-AA2E-26D647FE02AD at 2017-10-02 11:10:45.096 with Xcode 9A235 on target {
[Xcode] SimDevice: iPhone 8 (7D07E4CE-05AB-455E-B6B9-6C11C845817C, iOS 11.0, Booted)
[Xcode] } (11.0 (15A372))
[Xcode] 11:10:45.097 xcodebuild[6661:91387] /Users/pvara/Downloads/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=7D07E4CE-05AB-455E-B6B9-6C11C845817C
[Xcode] IPHONEOS_DEPLOYMENT_TARGET=11.0
[Xcode] 11:10:45.097 xcodebuild[6661:91387] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[Xcode] 11:10:45.099 xcodebuild[6661:91387] Test standard output and standard error is at /var/folders/lk/0lr9rwwx3fs9vpxhdr5yc56rf82g17/T/com.apple.dt.XCTest/IDETestRunSession-F4CE5C87-C647-443B-8107-D3611461FB9A/WebDriverAgentRunner-A3D818E0-C9BC-45C0-BA99-102C61CFB70F/StandardOutputAndStandardError.txt
[Xcode] 11:10:45.135 xcodebuild[6661:91387] Setting up test runner session
[Xcode] 11:10:45.136 xcodebuild[6661:91389] Sim iPhone 8: Unregistering for sim device notification with token 4
[Xcode] 11:10:45.136 xcodebuild[6661:91389] Calling -[SimDevice getenv:error:] for TESTMANAGERD_SIM_SOCK
[Xcode] 11:10:45.137 xcodebuild[6661:91389] Sim iPhone 8 has testmanagerd socket at /private/tmp/com.apple.launchd.8g5EdqQdrF/com.apple.testmanagerd.unix-domain.socket
[Xcode] 11:10:45.137 xcodebuild[6661:91389] Validating test connection socket path (/private/tmp/com.apple.launchd.8g5EdqQdrF/com.apple.testmanagerd.unix-domain.socket)
[Xcode] 11:10:45.137 xcodebuild[6661:91389] Constructing transport for test connection socket
[Xcode] 11:10:45.137 xcodebuild[6661:91389] Connected socket 56 to testmanagerd for Sim iPhone 8
[Xcode] 11:10:45.142 xcodebuild[6661:91474] Received connection for test runner session
[Xcode] 11:10:45.142 xcodebuild[6661:91387] Launch session started.
[Xcode] 11:10:45.142 xcodebuild[6661:91474] Listening for proxy connection request from the test bundle
[Xcode] 11:10:45.144 xcodebuild[6661:91474] Initiating session with identifier: FEB609BD-4447-47FD-AA2E-26D647FE02AD
[Xcode] 11:10:45.144 xcodebuild[6661:91387] Test runner session acquired connection.
[Xcode] 11:10:45.144 xcodebuild[6661:91387] Waiting for test process to launch.
[Xcode] 11:10:45.146 xcodebuild[6661:91474] Launch session LaunchSessionClaim_0x7fa041450b70 claimed simulator 7D07E4CE-05AB-455E-B6B9-6C11C845817C
[Xcode] 11:10:45.147 xcodebuild[6661:91436] Launch session LaunchSessionClaim_0x7fa041450b70 claimed simulator 7D07E4CE-05AB-455E-B6B9-6C11C845817C
[Xcode] 11:10:45.147 xcodebuild[6661:91387] Adding console adaptor 58 SlaveFH: 67> 58 stdout: 58 SlaveFH: 67> 58 stderr: (null) 0> for test session FEB609BD-4447-47FD-AA2E-26D647FE02AD.
[Xcode] 11:10:45.148 xcodebuild[6661:91436] 7D07E4CE-05AB-455E-B6B9-6C11C845817C: Registered for sim device notification, got token 5
[Xcode] 11:10:45.148 xcodebuild[6661:91474] 7D07E4CE-05AB-455E-B6B9-6C11C845817C: Unregistering for sim device notification with token 5
[Xcode] 11:10:45.148 xcodebuild[6661:91474] 7D07E4CE-05AB-455E-B6B9-6C11C845817C: Installing app at path: /Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app and options: {
[Xcode] CFBundleIdentifier = "com.apple.test.WebDriverAgentRunner-Runner";
[Xcode] }
[Xcode] 11:10:46.828 xcodebuild[6661:91436] Got reply to session initiation request with identifier FEB609BD-4447-47FD-AA2E-26D647FE02AD (result:error): 25: (null)
[Xcode] 11:10:48.081 xcodebuild[6661:91474] 7D07E4CE-05AB-455E-B6B9-6C11C845817C: Installed app at path: /Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app and options: {
[Xcode] CFBundleIdentifier = "com.apple.test.WebDriverAgentRunner-Runner";
[Xcode] }
[Xcode] 11:10:48.081 xcodebuild[6661:91474] 7D07E4CE-05AB-455E-B6B9-6C11C845817C: Registered for sim device notification, got token 6
[Xcode] 11:10:48.081 xcodebuild[6661:91436] 7D07E4CE-05AB-455E-B6B9-6C11C845817C: Unregistering for sim device notification with token 6
[Xcode] 11:10:48.822 xcodebuild[6661:91474] 7D07E4CE-05AB-455E-B6B9-6C11C845817C: Launching app with identifier: com.apple.test.WebDriverAgentRunner-Runner and options: {
[Xcode] arguments = (
[Xcode] "-NSTreatUnknownArgumentsAsOpen",
[Xcode] NO,
[Xcode] "-ApplePersistenceIgnoreState",
[Xcode] YES
[Xcode] );
[Xcode] environment = {
[Xcode] "DYLD_FRAMEWORK_PATH" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator:/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator:/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks:/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks";
[Xcode] "DYLD_INSERT_LIBRARIES" = "/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib";
[Xcode] "DYLD_LIBRARY_PATH" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator:/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator:/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks:/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks";
[Xcode] "MTC_CRASH_ON_REPORT" = 1;
[Xcode] NSUnbufferedIO = YES;
[Xcode] "OS_ACTIVITY_DT_MODE" = YES;
[Xcode] "USE_PORT" = 8100;
[Xcode] "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
[Xcode] XCTestConfigurationFilePath = "/var/folders/lk/0lr9rwwx3fs9vpxhdr5yc56rf82g17/T/com.apple.dt.XCTest/IDETestRunSession-F4CE5C87-C647-443B-8107-D3611461FB9A/WebDriverAgentRunner-A3D818E0-C9BC-45C0-BA99-102C61CFB70F/LaunchSessions/FEB609BD-4447-47FD-AA2E-26D647FE02AD/remote-container/tmp/WebDriverAgentRunner-FEB609BD-4447-47FD-AA2E-26D647FE02AD.xctestconfiguration";
[Xcode] "__XCODE_BUILT_PRODUCTS_DIR_PATHS" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator";
[Xcode] "__XPC_DYLD_FRAMEWORK_PATH" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator";
[Xcode] "__XPC_DYLD_LIBRARY_PATH" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator";
[Xcode] };
[Xcode] stderr = "/dev/ttys000";
[Xcode] stdout = "/dev/ttys000";
[Xcode] "wait_for_debugger" = 0;
[Xcode] }
[Xcode] 11:11:09.657 xcodebuild[6661:91436] 7D07E4CE-05AB-455E-B6B9-6C11C845817C: Failed to launch app with identifier: com.apple.test.WebDriverAgentRunner-Runner and options: {
[Xcode] arguments = (
[Xcode] "-NSTreatUnknownArgumentsAsOpen",
[Xcode] NO,
[Xcode] "-ApplePersistenceIgnoreState",
[Xcode] YES
[Xcode] );
[Xcode] environment = {
[Xcode] "DYLD_FRAMEWORK_PATH" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator:/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator:/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks:/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks";
[Xcode] "DYLD_INSERT_LIBRARIES" = "/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib";
[Xcode] "DYLD_LIBRARY_PATH" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator:/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator:/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks:/Users/pvara/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks";
[Xcode] "MTC_CRASH_ON_REPORT" = 1;
[Xcode] NSUnbufferedIO = YES;
[Xcode] "OS_ACTIVITY_DT_MODE" = YES;
[Xcode] "USE_PORT" = 8100;
[Xcode] "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
[Xcode] XCTestConfigurationFilePath = "/var/folders/lk/0lr9rwwx3fs9vpxhdr5yc56rf82g17/T/com.apple.dt.XCTest/IDETestRunSession-F4CE5C87-C647-443B-8107-D3611461FB9A/WebDriverAgentRunner-A3D818E0-C9BC-45C0-BA99-102C61CFB70F/LaunchSessions/FEB609BD-4447-47FD-AA2E-26D647FE02AD/remote-container/tmp/WebDriverAgentRunner-FEB609BD-4447-47FD-AA2E-26D647FE02AD.xctestconfiguration";
[Xcode] "__XCODE_BUILT_PRODUCTS_DIR_PATHS" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator";
[Xcode] "__XPC_DYLD_FRAMEWORK_PATH" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator";
[Xcode] "__XPC_DYLD_LIBRARY_PATH" = "/Users/pvara/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphonesimulator";
[Xcode] };
[Xcode] stderr = "/dev/ttys000";
[Xcode] stdout = "/dev/ttys000";
[Xcode] "wait_for_debugger" = 0;
[Xcode] } (error = Error Domain=FBSOpenApplicationServiceErrorDomain Code=3 "The request to open "com.apple.test.WebDriverAgentRunner-Runner" failed." UserInfo={NSLocalizedFailureReason=The process did launch, but has since exited or crashed., BSErrorCodeDescription=ProcessExited, NSLocalizedDescription=The request to open "com.apple.test.WebDriverAgentRunner-Runner" failed.})
[Xcode] 11:11:09.660 xcodebuild[6661:91387] Launch session LaunchSessionClaim_0x7fa041450b70 relinquised claim on simulator 7D07E4CE-05AB-455E-B6B9-6C11C845817C
[Xcode] 11:11:09.661 xcodebuild[6661:91387] Launch session LaunchSessionClaim_0x7fa041450b70 relinquised claim on simulator 7D07E4CE-05AB-455E-B6B9-6C11C845817C
[Xcode] 11:11:09.662 xcodebuild[6661:91387] Test operation failure: Launch session expired before checking in.
[Xcode] 11:11:09.663 xcodebuild[6661:91387] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Launch session expired before checking in." UserInfo={NSLocalizedDescription=Launch session expired before checking in.}
[Xcode]
[BaseDriver] Event 'wdaStartFailed' logged at 1506957070051 (11:11:10 GMT-0400 (EDT))
[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] Removing WDA application from device
[BaseDriver] Event 'wdaStartAttempted' logged at 1506957081280 (11:11:21 GMT-0400 (EDT))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Killing running processes 'xcodebuild.*7D07E4CE-05AB-455E-B6B9-6C11C845817C, iproxy 8100, 7D07E4CE-05AB-455E-B6B9-6C11C845817C.*XCTRunner' for the device 7D07E4CE-05AB-455E-B6B9-6C11C845817C...
[XCUITest] 'pgrep -nif xcodebuild.*7D07E4CE-05AB-455E-B6B9-6C11C845817C' didn't detect any matching processes. Return code: 1
[XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[XCUITest] 'pgrep -nif 7D07E4CE-05AB-455E-B6B9-6C11C845817C.*XCTRunner' didn't detect any matching processes. Return code: 1
[XCUITest] Using Xcode 9.0, so fixing WDA codebase
[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=7D07E4CE-05AB-455E-B6B9-6C11C845817C IPHONEOS_DEPLOYMENT_TARGET=11.0' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Output from xcodebuild will be logged. To see xcode logging, use 'showXcodeLog' desired capability
[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 = 11.0
[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
[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]
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[XCUITest] Log file for xcodebuild test: /var/folders/lk/0lr9rwwx3fs9vpxhdr5yc56rf82g17/T/com.apple.dt.XCTest/IDETestRunSession-D5D5B6BD-6952-4BFA-806F-AD5A36BB5E63/WebDriverAgentRunner-EB30B3A4-04F1-4347-8337-3EBB6EFB8839/Session-WebDriverAgentRunner-2017-10-02_111124-2Nn9cr.log
[Xcode] 2017-10-02 11:11:24.388 xcodebuild[6723:92469] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /var/folders/lk/0lr9rwwx3fs9vpxhdr5yc56rf82g17/T/com.apple.dt.XCTest/IDETestRunSession-D5D5B6BD-6952-4BFA-806F-AD5A36BB5E63/WebDriverAgentRunner-EB30B3A4-04F1-4347-8337-3EBB6EFB8839/Session-WebDriverAgentRunner-2017-10-02_111124-2Nn9cr.log
[Xcode]
[Xcode] 2017-10-02 11:11:24.388 xcodebuild[6723:92445] [MT] IDETestOperationsObserverDebug: (207C3FF8-65B5-457D-A12D-C47B6332DAA7) Beginning test session WebDriverAgentRunner-207C3FF8-65B5-457D-A12D-C47B6332DAA7 at 2017-10-02 11:11:24.388 with Xcode 9A235 on target {
[Xcode] SimDevice: iPhone 8 (7D07E4CE-05AB-455E-B6B9-6C11C845817C, iOS 11.0, Booted)
[Xcode] } (11.0 (15A372))
[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
[HTTP] <-- POST /wd/hub/session - - ms - -
[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
Appium server stopped successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment