Skip to content

Instantly share code, notes, and snippets.

@shivamsupr
Created June 23, 2019 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shivamsupr/d33711f6b45f08bf50f6d28b2c4fb9ad to your computer and use it in GitHub Desktop.
Save shivamsupr/d33711f6b45f08bf50f6d28b2c4fb9ad to your computer and use it in GitHub Desktop.
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},null,{"alwaysMatch":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1561265459876 (10:20:59 GMT+0530 (India Standard Time))
[BaseDriver] The capabilities ["deviceName","platformVersion","orientation","newCommandTimeout"] are not standard capabilities and should have an extension prefix
[Appium] DeprecationWarning: 'automationName' capability was not provided. Future versions of Appium will require 'automationName' capability to be set for iOS sessions.
[Appium] Requested iOS support with version >= 10, using 'XCUITest' driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.116.3) session
[Appium] Capabilities:
[Appium] deviceName: iPhone X
[Appium] platformName: iOS
[Appium] platformVersion: 12.1
[Appium] orientation: PORTRAIT
[Appium] browserName: safari
[Appium] newCommandTimeout: 240
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:dev... and MJSONWP desired capabilities {"deviceName":"iPhone X","p... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:dev...
[BaseDriver] Session created with session id: af095ee3-64fb-4c11-8970-3dfc22837fa0
[debug] [XCUITest] Current user: 'shivamr'
[XCUITest] iOS SDK Version set to '12.2'
[iOSSim] Constructing iOS simulator for Xcode version 10.2.1 with udid '33200E21-6134-4D3A-8EE7-09303CB01DD5'
[XCUITest] Determining device to run tests on: udid: '33200E21-6134-4D3A-8EE7-09303CB01DD5', real device: false
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1561265460935 (10:21:00 GMT+0530 (India Standard Time))
[XCUITest] Safari test requested
[debug] [BaseDriver] Event 'appConfigured' logged at 1561265460936 (10:21:00 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'resetStarted' logged at 1561265460936 (10:21:00 GMT+0530 (India Standard Time))
[debug] [iOSSim] Cleaning mobile safari data files
[debug] [iOSSim] Checking whether simulator has been run before: no
[iOSSim] Could not find Safari support directories to clean out old data. Probably there is nothing to clean out
[debug] [BaseDriver] Event 'resetComplete' logged at 1561265462060 (10:21:02 GMT+0530 (India Standard Time))
[XCUITest] Continuing without capturing device logs: iOS Simulator with udid 33200E21-6134-4D3A-8EE7-09303CB01DD5 is not running
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOS] Setting did not need to be updated
[debug] [iOSSim] Setting preferences of 33200E21-6134-4D3A-8EE7-09303CB01DD5 Simulator to {"SimulatorWindowOrientation":"Portrait","SimulatorWindowRotationAngle":0,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Updated 33200E21-6134-4D3A-8EE7-09303CB01DD5 Simulator preferences at '/Users/shivamr/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"33200E21-6134-4D3A-8EE7-09303CB01DD5":{"SimulatorWindowOrientation":"Portrait","SimulatorWindowRotationAngle":0,"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[iOSSim] Booting Simulator with UDID 33200E21-6134-4D3A-8EE7-09303CB01DD5...
[iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 33200E21-6134-4D3A-8EE7-09303CB01DD5 -ConnectHardwareKeyboard 0
[iOSSim] Simulator with UDID 33200E21-6134-4D3A-8EE7-09303CB01DD5 booted in 32 seconds
[debug] [IDB] Connecting idb service to '33200E21-6134-4D3A-8EE7-09303CB01DD5'
[XCUITest] idb will not be used for Simulator interaction. Original error: 'idb' has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
[debug] [BaseDriver] Event 'simStarted' logged at 1561265494838 (10:21:34 GMT+0530 (India Standard Time))
[debug] [XCUITest] Starting log capture for iOS Simulator with udid '33200E21-6134-4D3A-8EE7-09303CB01DD5', using 'xcrun simctl spawn 33200E21-6134-4D3A-8EE7-09303CB01DD5 log stream --style compact'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1561265497172 (10:21:37 GMT+0530 (India Standard Time))
[XCUITest] Using WDA path: '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [XCUITest] Parsed BUILD_DIR configuration value: '/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products'
[debug] [XCUITest] Got derived data root: '/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw'
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'
[debug] [XCUITest] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1561265503946 (10:21:43 GMT+0530 (India Standard Time))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5, iproxy 8100, 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' for the device 33200E21-6134-4D3A-8EE7-09303CB01DD5...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw -destination id=33200E21-6134-4D3A-8EE7-09303CB01DD5 IPHONEOS_DEPLOYMENT_TARGET=12.1 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Log file for xcodebuild test: /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-21-47-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-F5299DA1-C9B1-441D-A0BE-6F88A5B8BAF1/WebDriverAgentRunner-03C22935-5CD1-497B-962D-575AFB02EFA6/Session-WebDriverAgentRunner-2019-06-23_102159-Y56CL7.log
[Xcode] 2019-06-23 10:21:59.212 xcodebuild[69593:1460325] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode]
[Xcode] 'RoutingHTTPServer/RoutingConnection.h' file not found
[Xcode]
[Xcode] Test session results and logs:
[Xcode] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-21-47-+0530.xcresult
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on 'iPhone X'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5, iproxy 8100, 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' for the device 33200E21-6134-4D3A-8EE7-09303CB01DD5...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw -destination id=33200E21-6134-4D3A-8EE7-09303CB01DD5 IPHONEOS_DEPLOYMENT_TARGET=12.1 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Log file for xcodebuild test: /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-03-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-390870B6-DA3D-4F40-9A1E-F1D4D382AC92/WebDriverAgentRunner-21F369DB-8A11-4566-97F4-1DFD1611C342/Session-WebDriverAgentRunner-2019-06-23_102203-PJ8PdB.log
[Xcode] 2019-06-23 10:22:03.840 xcodebuild[69695:1461034] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode]
[Xcode] 'RoutingHTTPServer/RoutingConnection.h' file not found
[Xcode]
[Xcode] Test session results and logs:
[Xcode] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-03-+0530.xcresult
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on 'iPhone X'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1561265523866 (10:22:03 GMT+0530 (India Standard Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest]
[debug] [XCUITest] 2019-06-23 10:22:03.840 xcodebuild[69695:1461034] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[debug] [XCUITest] Testing failed:
[debug] [XCUITest] 'RoutingHTTPServer/RoutingConnection.h' file not found
[debug] [XCUITest] Test session results and logs:
[debug] [XCUITest] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-03-+0530.xcresult
[debug] [XCUITest] ** TEST EXECUTE FAILED **
[debug] [XCUITest] Testing started on 'iPhone X'
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1561265535217 (10:22:15 GMT+0530 (India Standard Time))
[XCUITest] Retrying WDA startup (2 of 2)
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5, iproxy 8100, 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' for the device 33200E21-6134-4D3A-8EE7-09303CB01DD5...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw -destination id=33200E21-6134-4D3A-8EE7-09303CB01DD5 IPHONEOS_DEPLOYMENT_TARGET=12.1 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Log file for xcodebuild test: /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-18-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-8F403199-4C3F-466F-9360-D32F510ECC72/WebDriverAgentRunner-2B14A772-AFD4-46CC-AC6B-41B5B79B96BE/Session-WebDriverAgentRunner-2019-06-23_102218-CzIidT.log
[Xcode] 2019-06-23 10:22:18.981 xcodebuild[69717:1461696] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode]
[Xcode] 'RoutingHTTPServer/RoutingConnection.h' file not found
[Xcode]
[Xcode] Test session results and logs:
[Xcode] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-18-+0530.xcresult
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on 'iPhone X'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5, iproxy 8100, 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' for the device 33200E21-6134-4D3A-8EE7-09303CB01DD5...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw -destination id=33200E21-6134-4D3A-8EE7-09303CB01DD5 IPHONEOS_DEPLOYMENT_TARGET=12.1 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Log file for xcodebuild test: /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-21-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-B1CD558D-BAAD-4CCC-8791-A9550ADB911C/WebDriverAgentRunner-2FDEA6DD-6988-42E4-A6AC-1D0EB89E1CD9/Session-WebDriverAgentRunner-2019-06-23_102221-CfkRWe.log
[Xcode] 2019-06-23 10:22:21.507 xcodebuild[69733:1461997] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode]
[Xcode] 'RoutingHTTPServer/RoutingConnection.h' file not found
[Xcode]
[Xcode] Test session results and logs:
[Xcode] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-21-+0530.xcresult
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on 'iPhone X'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1561265541524 (10:22:21 GMT+0530 (India Standard Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest]
[debug] [XCUITest] 2019-06-23 10:22:21.507 xcodebuild[69733:1461997] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[debug] [XCUITest] Testing failed:
[debug] [XCUITest] 'RoutingHTTPServer/RoutingConnection.h' file not found
[debug] [XCUITest] Test session results and logs:
[debug] [XCUITest] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-21-+0530.xcresult
[debug] [XCUITest] ** TEST EXECUTE FAILED **
[debug] [XCUITest] Testing started on 'iPhone X'
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] xcodebuild error message:
[XCUITest]
[XCUITest] 2019-06-23 10:22:21.507 xcodebuild[69733:1461997] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[XCUITest] Testing failed:
[XCUITest] 'RoutingHTTPServer/RoutingConnection.h' file not found
[XCUITest] Test session results and logs:
[XCUITest] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-21-+0530.xcresult
[XCUITest] ** TEST EXECUTE FAILED **
[XCUITest] Testing started on 'iPhone X'
[XCUITest] at quitAndUninstall (/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/lib/driver.js:515:15)
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1561265542883 (10:22:22 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [W3C] xcodebuild error message:
[debug] [W3C]
[debug] [W3C] 2019-06-23 10:22:21.507 xcodebuild[69733:1461997] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[debug] [W3C] Testing failed:
[debug] [W3C] 'RoutingHTTPServer/RoutingConnection.h' file not found
[debug] [W3C] Test session results and logs:
[debug] [W3C] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-21-+0530.xcresult
[debug] [W3C] ** TEST EXECUTE FAILED **
[debug] [W3C] Testing started on 'iPhone X'
[debug] [W3C] at quitAndUninstall (/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/lib/driver.js:515:15)
[HTTP] <-- POST /wd/hub/session 500 83038 ms - 3243
[HTTP] 
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},null,{"alwaysMatch":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1561265542965 (10:22:22 GMT+0530 (India Standard Time))
[BaseDriver] The capabilities ["deviceName","platformVersion","orientation","newCommandTimeout"] are not standard capabilities and should have an extension prefix
[Appium] DeprecationWarning: 'automationName' capability was not provided. Future versions of Appium will require 'automationName' capability to be set for iOS sessions.
[Appium] Requested iOS support with version >= 10, using 'XCUITest' driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.116.3) session
[Appium] Capabilities:
[Appium] deviceName: iPhone X
[Appium] platformName: iOS
[Appium] platformVersion: 12.1
[Appium] orientation: PORTRAIT
[Appium] browserName: safari
[Appium] newCommandTimeout: 240
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:dev... and MJSONWP desired capabilities {"deviceName":"iPhone X","p... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:dev...
[BaseDriver] Session created with session id: 2c83fd23-2209-448d-951e-cde1e8fac3ed
[debug] [XCUITest] Current user: 'shivamr'
[XCUITest] iOS SDK Version set to '12.2'
[iOSSim] Constructing iOS simulator for Xcode version 10.2.1 with udid '33200E21-6134-4D3A-8EE7-09303CB01DD5'
[XCUITest] Determining device to run tests on: udid: '33200E21-6134-4D3A-8EE7-09303CB01DD5', real device: false
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1561265543612 (10:22:23 GMT+0530 (India Standard Time))
[XCUITest] Safari test requested
[debug] [BaseDriver] Event 'appConfigured' logged at 1561265543613 (10:22:23 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'resetStarted' logged at 1561265543613 (10:22:23 GMT+0530 (India Standard Time))
[debug] [iOSSim] Cleaning mobile safari data files
[debug] [iOSSim] Checking whether simulator has been run before: yes
[debug] [iOSSim] Checking whether simulator has been run before: yes
[debug] [iOSSim] Building bundle path map
[debug] [BaseDriver] Event 'resetComplete' logged at 1561265544784 (10:22:24 GMT+0530 (India Standard Time))
[debug] [XCUITest] Starting log capture for iOS Simulator with udid '33200E21-6134-4D3A-8EE7-09303CB01DD5', using 'xcrun simctl spawn 33200E21-6134-4D3A-8EE7-09303CB01DD5 log stream --style compact'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1561265545294 (10:22:25 GMT+0530 (India Standard Time))
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOS] Setting did not need to be updated
[debug] [iOSSim] Setting preferences of 33200E21-6134-4D3A-8EE7-09303CB01DD5 Simulator to {"SimulatorWindowOrientation":"Portrait","SimulatorWindowRotationAngle":0,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Updated 33200E21-6134-4D3A-8EE7-09303CB01DD5 Simulator preferences at '/Users/shivamr/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"33200E21-6134-4D3A-8EE7-09303CB01DD5":{"SimulatorWindowOrientation":"Portrait","SimulatorWindowRotationAngle":0,"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Got Simulator UI client PID: 69483
[iOSSim] Both Simulator with UDID 33200E21-6134-4D3A-8EE7-09303CB01DD5 and the UI client are currently running
[debug] [IDB] Connecting idb service to '33200E21-6134-4D3A-8EE7-09303CB01DD5'
[XCUITest] idb will not be used for Simulator interaction. Original error: 'idb' has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
[debug] [BaseDriver] Event 'simStarted' logged at 1561265545563 (10:22:25 GMT+0530 (India Standard Time))
[XCUITest] Using WDA path: '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [XCUITest] Parsed BUILD_DIR configuration value: '/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products'
[debug] [XCUITest] Got derived data root: '/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw'
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'
[debug] [XCUITest] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1561265548084 (10:22:28 GMT+0530 (India Standard Time))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5, iproxy 8100, 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' for the device 33200E21-6134-4D3A-8EE7-09303CB01DD5...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw -destination id=33200E21-6134-4D3A-8EE7-09303CB01DD5 IPHONEOS_DEPLOYMENT_TARGET=12.1 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Log file for xcodebuild test: /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-30-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-092FD35F-297A-40D2-BE48-BD828B9A0D66/WebDriverAgentRunner-2E2682D9-E031-4830-8A8B-AC4601F3EC54/Session-WebDriverAgentRunner-2019-06-23_102232-mtueMl.log
[Xcode] 2019-06-23 10:22:32.528 xcodebuild[69796:1463410] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode] 'RoutingHTTPServer/RoutingConnection.h' file not found
[Xcode]
[Xcode] Test session results and logs:
[Xcode] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-30-+0530.xcresult
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on 'iPhone X'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5, iproxy 8100, 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' for the device 33200E21-6134-4D3A-8EE7-09303CB01DD5...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*33200E21-6134-4D3A-8EE7-09303CB01DD5' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -ifn 33200E21-6134-4D3A-8EE7-09303CB01DD5.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw -destination id=33200E21-6134-4D3A-8EE7-09303CB01DD5 IPHONEOS_DEPLOYMENT_TARGET=12.1 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/shivamr/workspaces/sangam-automation/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] Log file for xcodebuild test: /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-36-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-47E3772B-4F43-4FF4-9D37-BA43A51FBA8F/WebDriverAgentRunner-6A3BEA3F-76FD-4CFE-958B-1F0DAA7EB8D7/Session-WebDriverAgentRunner-2019-06-23_102236-Z0RuNs.log
[Xcode] 2019-06-23 10:22:36.983 xcodebuild[69812:1463726] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode]
[Xcode] 'RoutingHTTPServer/RoutingConnection.h' file not found
[Xcode]
[Xcode] Test session results and logs:
[Xcode] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-36-+0530.xcresult
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on 'iPhone X'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1561265557016 (10:22:37 GMT+0530 (India Standard Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest]
[debug] [XCUITest] 2019-06-23 10:22:36.983 xcodebuild[69812:1463726] Error Domain=IDETestApplcationDependencyMapperErrorDomain Code=2 "The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read." UserInfo={NSLocalizedFailureReason=The application may be damaged or incomplete: “/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app”., NSURL=file:///Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/, NSFilePath=/Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app, NSLocalizedDescription=The bundle identifier for WebDriverAgentRunner-Runner.app couldn’t be read.}
[debug] [XCUITest] Testing failed:
[debug] [XCUITest] 'RoutingHTTPServer/RoutingConnection.h' file not found
[debug] [XCUITest] Test session results and logs:
[debug] [XCUITest] /Users/shivamr/Library/Developer/Xcode/DerivedData/WebDriverAgent-dlfyagtlwfjmshdutfrxrzhepnqw/Logs/Test/Test-WebDriverAgentRunner-2019.06.23_10-22-36-+0530.xcresult
[debug] [XCUITest] ** TEST EXECUTE FAILED **
[debug] [XCUITest] Testing started on 'iPhone X'
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[Appium] Received SIGINT - shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment