{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7063","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7063/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7063/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7063/events","html_url":"https://github.com/appium/appium/issues/7063","id":184217669,"number":7063,"title":"Error: socket hang up (Appium 1.6.0)","user":{"login":"muratme","id":5227443,"avatar_url":"https://avatars.githubusercontent.com/u/5227443?v=3","gravatar_id":"","url":"https://api.github.com/users/muratme","html_url":"https://github.com/muratme","followers_url":"https://api.github.com/users/muratme/followers","following_url":"https://api.github.com/users/muratme/following{/other_user}","gists_url":"https://api.github.com/users/muratme/gists{/gist_id}","starred_url":"https://api.github.com/users/muratme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratme/subscriptions","organizations_url":"https://api.github.com/users/muratme/orgs","repos_url":"https://api.github.com/users/muratme/repos","events_url":"https://api.github.com/users/muratme/events{/privacy}","received_events_url":"https://api.github.com/users/muratme/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-20T12:37:23Z","updated_at":"2016-10-21T07:27:36Z","closed_at":null,"body":"## The problem\r\n\r\nWhen resetApp command send to real device. WebDriverAgent could not be initialized successfully, and throws socket hang up error\r\n\r\n## Environment\r\n\r\n\r\n*    Appium version (or git revision) that exhibits the issue: Appium 1.6.0\r\n*    Desktop OS/version used to run Appium: MACOS 10.11.6 El Capitan\r\n*    Node version (unless using Appium.app|exe): v6.8.0\r\n*    Npm Version : 3.10.8\r\n*    Mobile platform/version under test: IOS 10.0\r\n*    Real device or emulator/simulator: Iphone5\r\n*    java version \"1.8.0_40\"\r\n\r\n\r\n## Details\r\n\r\nWebDriverAgent screen closed and the application could not start after that.\r\n\r\n## Link to Appium logs\r\n\r\n[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up\r\n    at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)\r\n    at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[HTTP] <-- POST /wd/hub/session/c1469f9c-1d1d-4502-83c6-72f018c57968/appium/app/close 500 6 ms - 250\r\n[Xcode] 2016-10-20 15:32:19.586 xcodebuild[99792:3305436]  DTDeviceKit: Could not start house arrest service for app identifier com.apple.test.WebDriverAgentRunner-Runner [Error Domain=com.apple.dtdevicekit Code=-402653093 \"Too many instances of this service are already running.\" UserInfo={NSLocalizedFailureReason=Too many instances of this service are already running., com.apple.dtdevicekit.stacktrace=(\r\n       \t0   DTDeviceKitBase                     0x0000000110cad3cb DTDKCreateNSError + 113\r\n       \t1   DTDeviceKitBase                     0x0000000110cadb09 DTDK_AMDErrorToNSError + 791\r\n       \t2   DTDeviceKitBase                     0x0000000110cbf2f5 __70-[DTDKRemoteDeviceConnection startHouseArrestServiceForAppIdentifier:]_block_invoke + 100\r\n       \t3   DTDeviceKitBase                     0x0000000110cbe1d1 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_4 + 22\r\n       \t4   DTDeviceKitBase                     0x0000000110cb0317 __DTDKExecuteInSession_block_invoke + 38\r\n       \t5   DTDeviceKitBase                     0x0000000110caf940 __DTDKExecuteWithConnection_block_invoke_2 + 477\r\n       \t6   DTDeviceKitBase                     0x0000000110caf73c __DTDKExecuteWithConnection_block_invoke + 107\r\n       \t7   libdispatch.dylib                   0x00007fff9b10240b _dispatch_client_callout + 8\r\n       \t8   libdispatch.dylib                   0x00007fff9b110a9a _dispatch_barrier_sync_f_slow + 856\r\n       \t9   DVTFoundation                       0x0000000107b3bbef DVTDispatchBarrierSync + 206\r\n       \t10  DVTFoundation                       0x0000000107b1859b -[DVTDispatchLock performLockedBlock:] + 116\r\n       \t11  DTDeviceKitBase                     0x0000000110caf646 DTDKExecuteWithConnection + 223\r\n       \t12  DTDeviceKitBase                     0x0000000110cb02a1 DTDKExecuteInSession + 121\r\n       \t13  DTDeviceKitBase                     0x0000000110cbe108 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_3 + 117\r\n       \t14  DVTFoundation                       0x0000000107b3af4b __DVTDispatchAsync_block_invoke + 827\r\n       \t15  libdispatch.dylib                   0x00007fff9b10d93d _dispatch_call_block_and_release + 12\r\n       \t16  libdispatch.dylib                   0x00007fff9b10240b _dispatch_client_callout + 8\r\n       \t17  libdispatch.dylib                   0x00007fff9b114bd7 _dispatch_async_redirect_invoke + 1733\r\n       \t18  libdispatch.dylib                   0x00007fff9b10240b _dispatch_client_callout + 8\r\n       \t19  libdispatch.dylib                   0x00007fff9b10629b _dispatch_root_queue_drain + 1890\r\n       \t20  libdispatch.dylib                   0x00007fff9b105b00 _dispatch_worker_thread3 + 91\r\n       \t21  libsystem_pthread.dylib             0x00007fff900684de _pthread_wqthread + 1129\r\n       \t22  libsystem_pthread.dylib             0x00007fff90066341 start_wqthread + 13\r\n), NSLocalizedRecoverySuggestion=Too many instances of this service are already running., NSLocalizedDescription=Too many instances of this service are already running.}]\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/255313124","html_url":"https://github.com/appium/appium/issues/7063#issuecomment-255313124","issue_url":"https://api.github.com/repos/appium/appium/issues/7063","id":255313124,"user":{"login":"muratme","id":5227443,"avatar_url":"https://avatars.githubusercontent.com/u/5227443?v=3","gravatar_id":"","url":"https://api.github.com/users/muratme","html_url":"https://github.com/muratme","followers_url":"https://api.github.com/users/muratme/followers","following_url":"https://api.github.com/users/muratme/following{/other_user}","gists_url":"https://api.github.com/users/muratme/gists{/gist_id}","starred_url":"https://api.github.com/users/muratme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratme/subscriptions","organizations_url":"https://api.github.com/users/muratme/orgs","repos_url":"https://api.github.com/users/muratme/repos","events_url":"https://api.github.com/users/muratme/events{/privacy}","received_events_url":"https://api.github.com/users/muratme/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T07:27:36Z","updated_at":"2016-10-21T07:27:36Z","body":"@imurchie i try remove and reruning automation test case on device but the situation is the same. \r\n`[debug] [XCUITest] App installed.\r\n[XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj\r\n[XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent\r\n[XCUITest] Launching WebDriverAgent on the device\r\n[debug] [XCUITest] Carthage found: /usr/local/bin/carthage\r\n[debug] [XCUITest] Beginning test with command '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=4ba6b062c167b52ad37c2afe6c8631e720239d21' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'\r\n[XCUITest] Waiting for WebDriverAgent to start on device\r\n[debug] [XCUITest] Log file for xcodebuild test: /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/5012420B-F617-4C51-B64B-9943FB575918/Session-WebDriverAgentRunner-2016-10-21_102457-I8AT0V.log\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[debug] [WebDriverAgent] Device: Oct 21 10:25:08 tests-iPhone XCTRunner[212] <Notice>: Running tests...\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[debug] [WebDriverAgent] Device: Oct 21 10:25:12 tests-iPhone XCTRunner[212] <Notice>: Continuing to run tests in the background with task ID 1\r\n[XCUITest] Detected that WebDriverAgent is running at url 'http://192.168.61.14:8100'\r\n[XCUITest] WebDriverAgent started at url 'http://192.168.61.14:8100'\r\n[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB\r\n[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {\"desiredCapabilities\":{\"bu...\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[JSONWP Proxy] Got response with status 200: {\"sessionId\":\"8FB1685C-85F5...\r\n[Appium] New XCUITestDriver session created successfully, session b2f6b0ed-c12c-4caa-a373-2e3df256b390 added to master session list\r\n[MJSONWP] Responding to client with driver.createSession() result: {\"webStorageEnabled\":false,...\r\n[HTTP] <-- POST /wd/hub/session 200 53640 ms - 603\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/timeouts {\"type\":\"page load\",\"ms\":15000}\r\n[MJSONWP] Calling AppiumDriver.timeouts() with args: [\"page load\",15000,\"b2f6b0e...\r\n[debug] [XCUITest] Executing command 'timeouts'\r\n[debug] [iOS] Set page load timeout to 15000ms\r\n[MJSONWP] Responding to client with driver.timeouts() result: null\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/timeouts 200 6 ms - 76\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/timeouts {\"type\":\"script\",\"ms\":15000}\r\n[MJSONWP] Calling AppiumDriver.timeouts() with args: [\"script\",15000,\"b2f6b0ed-c...\r\n[debug] [XCUITest] Executing command 'timeouts'\r\n[debug] [iOS] Set async script timeout to 15000ms\r\n[MJSONWP] Responding to client with driver.timeouts() result: null\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/timeouts 200 2 ms - 76\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/timeouts {\"type\":\"implicit\",\"ms\":15000}\r\n[MJSONWP] Calling AppiumDriver.timeouts() with args: [\"implicit\",15000,\"b2f6b0ed...\r\n[debug] [XCUITest] Executing command 'timeouts'\r\n[debug] [BaseDriver] Set implicit wait to 15000ms\r\n[MJSONWP] Responding to client with driver.timeouts() result: null\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/timeouts 200 2 ms - 76\r\n[HTTP] --> GET /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/alert_text {}\r\n[MJSONWP] Calling AppiumDriver.getAlertText() with args: [\"b2f6b0ed-c12c-4caa-a373-2...\r\n[debug] [XCUITest] Executing command 'getAlertText'\r\n[JSONWP Proxy] Proxying [GET /alert/text] to [GET http://localhost:8100/session/8FB1685C-85F5-49BF-B293-D06D031268D9/alert/text] with no body\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[JSONWP Proxy] Got response with status 200: \"{\\n  \\\"sessionId\\\" : \\\"8FB...\r\n[MJSONWP] Responding to client with driver.getAlertText() result: \"“sahibinden” Would Like to...\r\n[HTTP] <-- GET /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/alert_text 200 1719 ms - 223\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/accept_alert {}\r\n[MJSONWP] Calling AppiumDriver.postAcceptAlert() with args: [\"b2f6b0ed-c12c-4caa-a373-2...\r\n[debug] [XCUITest] Executing command 'postAcceptAlert'\r\n[JSONWP Proxy] Proxying [POST /alert/accept] to [POST http://localhost:8100/session/8FB1685C-85F5-49BF-B293-D06D031268D9/alert/accept] with no body\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[JSONWP Proxy] Got response with status 200: \"{\\n  \\\"sessionId\\\" : \\\"8FB...\r\n[MJSONWP] Responding to client with driver.postAcceptAlert() result: {}\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/accept_alert 200 3479 ms - 74\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/appium/app/reset {}\r\n[MJSONWP] Calling AppiumDriver.reset() with args: [\"b2f6b0ed-c12c-4caa-a373-2...\r\n[debug] [XCUITest] Executing command 'reset'\r\n[debug] [BaseDriver] Resetting app mid-session\r\n[debug] [BaseDriver] Running generic full reset\r\n[JSONWP Proxy] Proxying [DELETE /session/b2f6b0ed-c12c-4caa-a373-2e3df256b390] to [DELETE http://localhost:8100/session/8FB1685C-85F5-49BF-B293-D06D031268D9] with no body\r\n[JSONWP Proxy] Got response with status 200: \"{\\n  \\\"sessionId\\\" : \\\"FB6...\r\n[XCUITest] Shutting down WebDriverAgent\r\n[XCUITest] xcodebuild exited with code 'null' and signal 'SIGTERM'\r\n[XCUITest] System log exited with code '0'\r\n[debug] [XCUITest] WebDriverAgent process did not end in a timely fashion. Sending SIGHUP signal...\r\n[debug] [XCUITest] Running ios real device reset flow\r\n[debug] [XCUITest] Resetting simulator\r\n[debug] [iOSLog] Stopping iOS log capture\r\n[debug] [BaseDriver] Restarting app\r\n[BaseDriver] The following capabilities were provided, but are not recognized by appium: bundleid.\r\n[BaseDriver] Session created with session id: d33a3ce7-fffc-47e3-98f3-6ae62d371c11\r\n[debug] [XCUITest] Xcode version set to '8.0'\r\n[debug] [XCUITest] iOS SDK Version set to '10.0'\r\n[debug] [XCUITest] Available devices: 4ba6b062c167b52ad37c2afe6c8631e720239d21\r\n[debug] [XCUITest] Creating iDevice object with udid 4ba6b062c167b52ad37c2afe6c8631e720239d21\r\n[XCUITest] Determining device to run tests on: udid: '4ba6b062c167b52ad37c2afe6c8631e720239d21', real device: true\r\n[BaseDriver] Using local app '/opt/sahibinden/sahibinden.app'\r\n[debug] [XCUITest] Checking whether app is actually present\r\n[debug] [ios-app-utils] Getting bundle ID from app\r\n[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog\r\n[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'\r\n[XCUITest] Setting up real device\r\n[debug] [XCUITest] Stdout from app isInstalled check: [....] Waiting for iOS device to be connected\r\n[....] Using iPhone 5 (Global/CDMA) 'test’s iPhone' (4ba6b062c167b52ad37c2afe6c8631e720239d21).\r\ntrue\r\n\r\n[debug] [XCUITest] App is installed.\r\n[debug] [XCUITest] Full reset not requested. No need to install.\r\n[XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj\r\n[XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent\r\n[XCUITest] Launching WebDriverAgent on the device\r\n[XCUITest] killing xcodebuild process: 600\r\n[XCUITest] Could not get xcodebuild processes: Error: kill ESRCH\r\n[debug] [XCUITest] Carthage found: /usr/local/bin/carthage\r\n[debug] [XCUITest] Beginning test with command '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=4ba6b062c167b52ad37c2afe6c8631e720239d21' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'\r\n[XCUITest] Waiting for WebDriverAgent to start on device\r\n[debug] [XCUITest] Log file for xcodebuild test: /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/C971B3C1-01CF-4F6A-B6DC-D8946FC80B0A/Session-WebDriverAgentRunner-2016-10-21_102548-EW4Srx.log\r\n[debug] [WebDriverAgent] Device: Oct 21 10:26:00 tests-iPhone XCTRunner[222] <Notice>: Running tests...\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[debug] [WebDriverAgent] Device: Oct 21 10:26:02 tests-iPhone XCTRunner[222] <Notice>: Continuing to run tests in the background with task ID 1\r\n[debug] [XCUITest] Log file for xcodebuild test: /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/5012420B-F617-4C51-B64B-9943FB575918/Session-WebDriverAgentRunner-2016-10-21_102602-vD3A6g.log\r\n[XCUITest] Detected that WebDriverAgent is running at url 'http://192.168.61.14:8100'\r\n[XCUITest] WebDriverAgent started at url 'http://192.168.61.14:8100'\r\n[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB\r\n[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {\"desiredCapabilities\":{\"bu...\r\n[debug] [iProxy] Error connecting to device!\r\n[XCUITest] ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up\r\n    at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)\r\n    at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n { ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up\r\n    at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)\r\n    at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n  jsonwp:\r\n   { Error: socket hang up\r\n       at createHangUpError (_http_client.js:254:15)\r\n       at Socket.socketOnEnd (_http_client.js:346:23)\r\n       at emitNone (events.js:91:20)\r\n       at Socket.emit (events.js:185:7)\r\n       at endReadableNT (_stream_readable.js:974:12)\r\n       at _combinedTickCallback (internal/process/next_tick.js:74:11)\r\n       at process._tickCallback (internal/process/next_tick.js:98:9) code: 'ECONNRESET' } }\r\n[JSONWP Proxy] Proxying [DELETE /session/d33a3ce7-fffc-47e3-98f3-6ae62d371c11] to [DELETE http://localhost:8100/session/d33a3ce7-fffc-47e3-98f3-6ae62d371c11] with no body\r\n[debug] [iProxy] Error connecting to device!\r\n[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up\r\n    at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)\r\n    at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/appium/app/reset 500 33035 ms - 250\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/appium/app/reset {}\r\n[MJSONWP] Calling AppiumDriver.reset() with args: [\"b2f6b0ed-c12c-4caa-a373-2...\r\n[debug] [XCUITest] Executing command 'reset'\r\n[debug] [BaseDriver] Resetting app mid-session\r\n[debug] [BaseDriver] Running generic full reset\r\n[JSONWP Proxy] Proxying [DELETE /session/b2f6b0ed-c12c-4caa-a373-2e3df256b390] to [DELETE http://localhost:8100/session/d33a3ce7-fffc-47e3-98f3-6ae62d371c11] with no body\r\n[debug] [iProxy] Error connecting to device!\r\n[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up\r\n    at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)\r\n    at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/appium/app/reset 500 6 ms - 250\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation {\"orientation\":\"PORTRAIT\"}\r\n[MJSONWP] Calling AppiumDriver.setOrientation() with args: [\"PORTRAIT\",\"b2f6b0ed-c12c-...\r\n[debug] [XCUITest] Executing command 'setOrientation'\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation 501 2 ms - 122\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation {\"orientation\":\"PORTRAIT\"}\r\n[MJSONWP] Calling AppiumDriver.setOrientation() with args: [\"PORTRAIT\",\"b2f6b0ed-c12c-...\r\n[debug] [XCUITest] Executing command 'setOrientation'\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation 501 1 ms - 122\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation {\"orientation\":\"PORTRAIT\"}\r\n[MJSONWP] Calling AppiumDriver.setOrientation() with args: [\"PORTRAIT\",\"b2f6b0ed-c12c-...\r\n[debug] [XCUITest] Executing command 'setOrientation'\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation 501 1 ms - 122\r\n[debug] [WebDriverAgent] Device: Oct 21 10:26:08 tests-iPhone XCTRunner[226] <Notice>: Running tests...\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation {\"orientation\":\"PORTRAIT\"}\r\n[MJSONWP] Calling AppiumDriver.setOrientation() with args: [\"PORTRAIT\",\"b2f6b0ed-c12c-...\r\n[debug] [XCUITest] Executing command 'setOrientation'\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation 501 2 ms - 122\r\n[debug] [WebDriverAgent] Device: Oct 21 10:26:10 tests-iPhone XCTRunner[226] <Notice>: Continuing to run tests in the background with task ID 1\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation {\"orientation\":\"PORTRAIT\"}\r\n[MJSONWP] Calling AppiumDriver.setOrientation() with args: [\"PORTRAIT\",\"b2f6b0ed-c12c-...\r\n[debug] [XCUITest] Executing command 'setOrientation'\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation 501 2 ms - 122\r\n[debug] [XCUITest] Log file for xcodebuild test: /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/C971B3C1-01CF-4F6A-B6DC-D8946FC80B0A/Session-WebDriverAgentRunner-2016-10-21_102611-Jey0jK.log\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation {\"orientation\":\"PORTRAIT\"}\r\n[MJSONWP] Calling AppiumDriver.setOrientation() with args: [\"PORTRAIT\",\"b2f6b0ed-c12c-...\r\n[debug] [XCUITest] Executing command 'setOrientation'\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation 501 3 ms - 122\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation {\"orientation\":\"PORTRAIT\"}\r\n[MJSONWP] Calling AppiumDriver.setOrientation() with args: [\"PORTRAIT\",\"b2f6b0ed-c12c-...\r\n[debug] [XCUITest] Executing command 'setOrientation'\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation 501 1 ms - 122\r\n[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation {\"orientation\":\"PORTRAIT\"}\r\n[MJSONWP] Calling AppiumDriver.setOrientation() with args: [\"PORTRAIT\",\"b2f6b0ed-c12c-...\r\n[debug] [XCUITest] Executing command 'setOrientation'\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/orientation 501 1 ms - 122\r\n[HTTP] --> POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/appium/app/close {}\r\n[MJSONWP] Calling AppiumDriver.closeApp() with args: [\"b2f6b0ed-c12c-4caa-a373-2...\r\n[debug] [XCUITest] Executing command 'closeApp'\r\n[JSONWP Proxy] Proxying [DELETE /session/b2f6b0ed-c12c-4caa-a373-2e3df256b390] to [DELETE http://localhost:8100/session/d33a3ce7-fffc-47e3-98f3-6ae62d371c11] with no body\r\n[debug] [iProxy] Error connecting to device!\r\n[iOS] Something went wrong while closing the [/opt/sahibinden/sahibinden.app] app.\r\n[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up\r\n    at JWProxy.proxy$ (lib/jsonwp-proxy/proxy.js:122:13)\r\n    at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[HTTP] <-- POST /wd/hub/session/b2f6b0ed-c12c-4caa-a373-2e3df256b390/appium/app/close 500 7 ms - 250\r\n[debug] [WebDriverAgent] Device: Oct 21 10:26:16 tests-iPhone XCTRunner[232] <Notice>: Running tests...\r\n[debug] [WebDriverAgent] Device: Oct 21 10:26:18 tests-iPhone XCTRunner[232] <Notice>: Continuing to run tests in the background with task ID 1\r\n[XCUITest] xcodebuild exited with code '65' and signal 'null'`"}}
{"actor":{"display_login":"muratme"}}