maesiva$ appium --address "127.0.0.1" --pre-launch --debug-log-spacing --default-capabilities '{"platformName":"iOS", "platformVersion":"10.0", "automationName":"XCUITest", "deviceName":"iPad", "app":"/Users/maesiva/Development/ScaryBugs4_SimAir210/ScaryBugs4.app", "udid":"9A78F5E4-46F6-4536-A487-19230E0384F6", "nativeInstrumentsLib":true}' [Appium] Welcome to Appium v1.6.0-beta3 [Appium] Non-default server args: [Appium] address: '127.0.0.1' [Appium] launch: true [Appium] debugLogSpacing: true [Appium] defaultCapabilities: { platformName: 'iOS', platformVersion: '10.0', automationName: 'XCUITest', deviceName: 'iPad', app: '/Users/maesiva/Development/ScaryBugs4_SimAir210/ScaryBugs4.app', udid: '9A78F5E4-46F6-4536-A487-19230E0384F6', nativeInstrumentsLib: true } [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities: [Appium] platformName: 'iOS' [Appium] platformVersion: '10.0' [Appium] automationName: 'XCUITest' [Appium] deviceName: 'iPad' [Appium] app: '/Users/maesiva/Development/ScaryBugs4_SimAir210/ScaryBugs4.app' [Appium] udid: '9A78F5E4-46F6-4536-A487-19230E0384F6' [Appium] nativeInstrumentsLib: true [Appium] Appium REST http interface listener started on 127.0.0.1:4723 [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/maesiva/Development/ScaryBugs4_SimAir210/ScaryBugs4.app","platformVersion":"10.0","automationName":"XCUITest","udid":"9A78F5E4-46F6-4536-A487-19230E0384F6","platformName":"iOS","device":"iPad","deviceName":"iPad Air 2"}} [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/maesiva/Dev... [Appium] Creating new XCUITestDriver session [Appium] Capabilities: [Appium] app: '/Users/maesiva/Development/ScaryBugs4_SimAir210/ScaryBugs4.app' [Appium] platformVersion: '10.0' [Appium] automationName: 'XCUITest' [Appium] udid: '9A78F5E4-46F6-4536-A487-19230E0384F6' [Appium] platformName: 'iOS' [Appium] device: 'iPad' [Appium] deviceName: 'iPad Air 2' [Appium] nativeInstrumentsLib: true [debug] [XCUITest] XCUITestDriver version: 2.0.24 [BaseDriver] The following capabilities were provided, but are not recognized by appium: device. [BaseDriver] Session created with session id: 7829f713-3588-4ad1-b782-237db3003964 [debug] [XCUITest] Xcode version set to '8.0' [debug] [XCUITest] iOS SDK Version set to '10.0' [iOSSim] Constructing iOS simulator for Xcode version 8.0 with udid '9A78F5E4-46F6-4536-A487-19230E0384F6' [XCUITest] Determining device to run tests on: udid: '9A78F5E4-46F6-4536-A487-19230E0384F6', real device: false [BaseDriver] Using local app '/Users/maesiva/Development/ScaryBugs4_SimAir210/ScaryBugs4.app' [debug] [XCUITest] Checking whether app is actually present [debug] [ios-app-utils] Getting bundle ID from app [debug] [iOSLog] Starting iOS 10.0 simulator log capture [debug] [iOSLog] System log path: /Users/maesiva/Library/Logs/CoreSimulator/9A78F5E4-46F6-4536-A487-19230E0384F6/system.log [XCUITest] Setting up simulator [debug] [iOS] No reason to set locale [debug] [iOS] No iOS / app preferences to set [XCUITest] Simulator with udid '9A78F5E4-46F6-4536-A487-19230E0384F6' already booted [debug] [XCUITest] Installing app '/Users/maesiva/Development/ScaryBugs4_SimAir210/ScaryBugs4.app' on device [XCUITest] Using default agent: /Users/maesiva/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj [XCUITest] Using default bootstrap: /Users/maesiva/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent [XCUITest] Launching WebDriverAgent on the device [debug] [XCUITest] Carthage found: /usr/local/bin/carthage [debug] [XCUITest] Beginning test with command 'xcodebuild -project /Users/maesiva/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=9A78F5E4-46F6-4536-A487-19230E0384F6 build test' in directory '/Users/maesiva/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [XCUITest] Waiting for WebDriverAgent to start on device [debug] [XCUITest] Log file for xcodebuild test: /Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Logs/Test/4A807639-02A4-43A8-870F-EA6A227F6607/Session-WebDriverAgentRunner-2016-10-11_104302-8uacag.log [debug] [WebDriverAgent] Sim: Oct 11 10:43:08 carbc-l-101002 CoreSimulatorBridge[2406]: Requesting installation of file:///Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/ with options: { [debug] [WebDriverAgent] Sim: CFBundleIdentifier = "com.apple.test.WebDriverAgentRunner-Runner"; [debug] [WebDriverAgent] Sim: PackageType = Developer; [debug] [WebDriverAgent] Sim: SimulatorRootPath = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk"; [debug] [WebDriverAgent] Sim: SimulatorUserPath = "/Users/maesiva/Library/Developer/CoreSimulator/Devices/9A78F5E4-46F6-4536-A487-19230E0384F6/data"; [debug] [WebDriverAgent] Sim: } [debug] [WebDriverAgent] Sim: Oct 11 10:43:12 carbc-l-101002 CoreSimulatorBridge[2406]: Requesting launch of com.apple.test.WebDriverAgentRunner-Runner with options: { [debug] [WebDriverAgent] Sim: arguments = ( [debug] [WebDriverAgent] Sim: "-NSTreatUnknownArgumentsAsOpen", [debug] [WebDriverAgent] Sim: NO, [debug] [WebDriverAgent] Sim: "-ApplePersistenceIgnoreState", [debug] [WebDriverAgent] Sim: YES [debug] [WebDriverAgent] Sim: ); [debug] [WebDriverAgent] Sim: environment = { [debug] [WebDriverAgent] Sim: "DTX_CONNECTION_SERVICES_PATH" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework"; [debug] [WebDriverAgent] Sim: "DYLD_FRAMEWORK_PATH" = "/Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Build/Products/Debug-iphonesimulator:/Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks"; [debug] [WebDriverAgent] Sim: "DYLD_LIBRARY_PATH" = "/Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Build/Products/Debug-iphonesimulator:/Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks"; [debug] [WebDriverAgent] Sim: NSUnbufferedIO = YES; [debug] [WebDriverAgent] Sim: "OS_ACTIVITY_DT_MODE" = YES; [debug] [WebDriverAgent] Sim: "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator"; [debug] [WebDriverAgent] Sim: XCTestConfigurationFilePath = "/var/folders/db/700f4y093cn3n3r_59kr9j_00000gp/T/com.apple.dt.XCTest/AA157154-1BD4-4756-8668-5B03772ECC2D/remote-container/tmp/WebDriverAgentRunner-AA157154-1BD4-4756-8668-5B03772ECC2D.xctestconfiguration"; [debug] [WebDriverAgent] Sim: "__XCODE_BUILT_PRODUCTS_DIR_PATHS" = "/Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Build/Products/Debug-iphonesimulator"; [debug] [WebDriverAgent] Sim: "__XPC_DYLD_FRAMEWORK_PATH" = "/Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Build/Products/Debug-iphonesimulator"; [debug] [WebDriverAgent] Sim: "__XPC_DYLD_LIBRARY_PATH" = "/Users/maesiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-evuunhxarlywewebxgibzsvlgfoi/Build/Products/Debug-iphonesimulator"; [debug] [WebDriverAgent] Sim: }; [debug] [WebDriverAgent] Sim: stderr = "/dev/ttys004"; [debug] [WebDriverAgent] Sim: stdout = "/dev/ttys004"; [debug] [WebDriverAgent] Sim: "wait_for_debugger" = 0; [debug] [WebDriverAgent] Sim: } [debug] [WebDriverAgent] Sim: Oct 11 10:43:12 carbc-l-101002 CoreSimulatorBridge[2406]: [Common] [FBSSystemService][0x2e04] Sending request to open "com.apple.test.WebDriverAgentRunner-Runner" [debug] [WebDriverAgent] Sim: Oct 11 10:43:12 carbc-l-101002 CoreSimulatorBridge[2406]: [Common] [FBSSystemService][0x2e04] Request successful: [debug] [WebDriverAgent] Sim: Oct 11 10:43:12 carbc-l-101002 XCTRunner[4768]: assertion failed: 15G1004 14A345: libxpc.dylib + 62597 [37A9DF49-35C1-3D93-B854-B35CACF0100F]: 0x7d [debug] [WebDriverAgent] Sim: Oct 11 10:43:12 carbc-l-101002 XCTRunner[4768]: Running tests... [debug] [WebDriverAgent] Sim: Oct 11 10:43:13 --- last message repeated 3 times --- [debug] [WebDriverAgent] Sim: Oct 11 10:43:13 carbc-l-101002 XCTRunner[4768]: Continuing to run tests in the background with task ID 1 [debug] [WebDriverAgent] Sim: Oct 11 10:43:14 --- last message repeated 12 times --- [debug] [WebDriverAgent] Sim: Oct 11 10:43:14 carbc-l-101002 XCTRunner[4768]: Built at Oct 11 2016 10:43:05 [XCUITest] Detected that WebDriverAgent is running at url 'http://10.102.172.186:8100' [debug] [WebDriverAgent] Sim: Oct 11 10:43:14 carbc-l-101002 XCTRunner[4768]: ServerURLHere->http://10.102.172.186:8100<-ServerURLHere [XCUITest] WebDriverAgent started at url 'http://10.102.172.186:8100' [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bu... [XCUITest] ProxyRequestError: Could not proxy command to remote server. Original error: 403 - undefined at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13) at tryCatch (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) at GeneratorFunctionPrototype.invoke (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) { ProxyRequestError: Could not proxy command to remote server. Original error: 403 - undefined at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13) at tryCatch (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) at GeneratorFunctionPrototype.invoke (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) jsonwp: undefined } [JSONWP Proxy] Proxying [DELETE /session/7829f713-3588-4ad1-b782-237db3003964] to [DELETE http://localhost:8100/session/7829f713-3588-4ad1-b782-237db3003964] with no body [MJSONWP] Encountered internal error running command: SyntaxError: Unexpected end of JSON input at Object.parse (native) at new ProxyRequestError (lib/mjsonwp/errors.js:322:26) at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13) at tryCatch (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) at GeneratorFunctionPrototype.invoke (/Users/maesiva/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) [HTTP] <-- POST /wd/hub/session 500 24178 ms - 165