Created
September 18, 2013 19:08
-
-
Save rockbot/6614011 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockbot@rocksauce:appium$ node server.js | |
info: Welcome to Appium v0.9.1 (REV 6868e3e70f1d56319f48fd771444d70f1d15fa97) | |
info: Appium REST http interface listener started on 0.0.0.0:4723 | |
info - socket.io started | |
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"browserName":"Android","device":"Android","platform":"Mac","version":"6.1","app":"/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk","app-package":"com.example.android.apis","app-activity":".ApiDemos","javascriptEnabled":true}} | |
info: Using local app from desiredCaps: /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
info: Creating new appium session bfa951c7-e68d-4397-9a8e-16aebff71402 | |
info: Starting android appium | |
debug: Using fast reset? true | |
info: Preparing device for session | |
info: Checking whether app is actually present | |
info: Checking whether adb is present | |
info: [ADB] Using adb from /usr/local/adt/sdk/platform-tools/adb | |
info: Trying to find a connected android device | |
info: [ADB] Getting connected devices... | |
info: [ADB] 1 device(s) connected | |
info: [ADB] Setting device id to 4d004312613130fd | |
info: Found device, no need to retry | |
info: [ADB] Waiting for device 4d004312613130fd to be ready and to respond to shell commands (timeout = 5) | |
info: Starting logcat capture | |
info: Checking whether we need to run fast reset | |
debug: Checking app cert for /tmp/com.example.android.apis.clean.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/tmp/com.example.android.apis.clean.apk" | |
debug: App already signed. | |
debug: Checking app cert for /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" | |
debug: App already signed. | |
debug: App signed? true /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
debug: java -jar "/Users/rockbot/dev/appium/app/android/strings_from_apk.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" "/tmp/com.example.android.apis" | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Determining app install/clean status | |
debug: Getting install/clean status for com.example.android.apis | |
debug: Running fast reset clean: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am instrument com.example.android.apis.clean/clean.apk.Clean | |
info: [ADB] Forwarding system:4724 to device:4724 | |
info: [ADB] Pushing appium bootstrap to device... | |
info: [ADB] Pushing unlock helper app to device... | |
info: Running bootstrap | |
info: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] io.appium.android.bootstrap.Bootstrap: | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 1 | |
info: [ADB] Connecting to server on device on port 4724... | |
info: [ANDROID] [info] Socket opened on port 4724 | |
info: [ANDROID] [info] Appium Socket Server Ready | |
info: [ANDROID] [info] Loading json... | |
info: [ADB] Connected! | |
info: [ADB] Waking up device if it's not alive | |
info: Pushing command to appium work queue: ["wake",{}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] json loading complete. | |
info: [ANDROID] [info] Client connected | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: wake | |
info: [ANDROID] [info] Returning result: {"value":true,"status":0} | |
info: [ADB] Received command result from bootstrap | |
info: [ADB] Checking if screen is unlocked via `dumpsys window`... | |
info: [ADB] Attempting to unlock screen by starting Unlock app... | |
info: [ADB] Checking if screen is unlocked via `dumpsys window`... | |
info: Starting app | |
info: [ADB] Starting app | |
"/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am start -n com.example.android.apis/.ApiDemos | |
info: Waiting for app's activity to become focused | |
info: Getting focused package and activity | |
info: ADB launched! Ready for commands (will time out in 60secs) | |
info: Appium session started with sessionId bfa951c7-e68d-4397-9a8e-16aebff71402 | |
POST /wd/hub/session 303 8439ms - 9 | |
debug: Appium request initiated at /wd/hub/session/bfa951c7-e68d-4397-9a8e-16aebff71402/timeouts/implicit_wait | |
debug: Request received with params: {"ms":5000} | |
info: Set Android implicit wait to 5000ms | |
info: Responding to client with success: {"status":0,"value":null,"sessionId":"bfa951c7-e68d-4397-9a8e-16aebff71402"} | |
POST /wd/hub/session/bfa951c7-e68d-4397-9a8e-16aebff71402/timeouts/implicit_wait 200 3ms - 89 | |
debug: Appium request initiated at /wd/hub/session/bfa951c7-e68d-4397-9a8e-16aebff71402/window/current/size | |
debug: Request received with params: {} | |
info: Pushing command to appium work queue: ["getDeviceSize"] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"getDeviceSize","params":{}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"getDeviceSize","params":{}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: getDeviceSize | |
info: [ANDROID] [info] Returning result: {"value":{"width":1080,"height":1920},"status":0} | |
info: [ADB] Received command result from bootstrap | |
info: Responding to client with success: {"status":0,"value":{"width":1080,"height":1920},"sessionId":"bfa951c7-e68d-4397-9a8e-16aebff71402"} | |
GET /wd/hub/session/bfa951c7-e68d-4397-9a8e-16aebff71402/window/current/size 200 19ms - 128 | |
debug: Appium request initiated at /wd/hub/session/bfa951c7-e68d-4397-9a8e-16aebff71402 | |
debug: Request received with params: {} | |
info: Shutting down appium session... | |
info: [ADB] Pressing the HOME button | |
info: [ADB] Sending command to android: {"cmd":"shutdown"} | |
info: Stopping logcat capture | |
info: [ANDROID] [info] Got data from client: {"cmd":"shutdown"} | |
info: [ANDROID] [info] Got command of type SHUTDOWN | |
info: [ADB] Received command result from bootstrap | |
info: Sent shutdown command, waiting for ADB to stop... | |
info: [ANDROID] [info] Returning result: {"value":"OK, shutting down","status":0} | |
info: [ANDROID] [info] Closed client connection | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream=. | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 0 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] Test results for WatcherResultPrinter=. | |
info: [ADB STDOUT] Time: 3.207 | |
info: [ADB STDOUT] OK (1 test) | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: -1 | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Clearing out appium devices | |
info: Responding to client with success: {"status":0,"value":null,"sessionId":"bfa951c7-e68d-4397-9a8e-16aebff71402"} | |
DELETE /wd/hub/session/bfa951c7-e68d-4397-9a8e-16aebff71402 200 634ms - 89 | |
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"browserName":"Android","device":"Android","platform":"Mac","version":"6.1","app":"/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk","app-package":"com.example.android.apis","app-activity":".ApiDemos","javascriptEnabled":true}} | |
info: Using local app from desiredCaps: /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
info: Creating new appium session 6ed43cb2-13c0-4cf0-8be7-25ac56ca703b | |
info: Starting android appium | |
debug: Using fast reset? true | |
info: Preparing device for session | |
info: Checking whether app is actually present | |
info: Checking whether adb is present | |
info: [ADB] Using adb from /usr/local/adt/sdk/platform-tools/adb | |
info: Trying to find a connected android device | |
info: [ADB] Getting connected devices... | |
info: [ADB] 1 device(s) connected | |
info: [ADB] Setting device id to 4d004312613130fd | |
info: Found device, no need to retry | |
info: [ADB] Waiting for device 4d004312613130fd to be ready and to respond to shell commands (timeout = 5) | |
info: Starting logcat capture | |
info: Checking whether we need to run fast reset | |
debug: Checking app cert for /tmp/com.example.android.apis.clean.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/tmp/com.example.android.apis.clean.apk" | |
debug: App already signed. | |
debug: Checking app cert for /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" | |
debug: App already signed. | |
debug: App signed? true /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
debug: java -jar "/Users/rockbot/dev/appium/app/android/strings_from_apk.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" "/tmp/com.example.android.apis" | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Determining app install/clean status | |
debug: Getting install/clean status for com.example.android.apis | |
debug: Running fast reset clean: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am instrument com.example.android.apis.clean/clean.apk.Clean | |
info: [ADB] Forwarding system:4724 to device:4724 | |
info: [ADB] Pushing appium bootstrap to device... | |
info: [ADB] Pushing unlock helper app to device... | |
info: Running bootstrap | |
info: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] io.appium.android.bootstrap.Bootstrap: | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 1 | |
info: [ANDROID] [info] Socket opened on port 4724 | |
info: [ADB] Connecting to server on device on port 4724... | |
info: [ANDROID] [info] Appium Socket Server Ready | |
info: [ANDROID] [info] Loading json... | |
info: [ADB] Connected! | |
info: [ADB] Waking up device if it's not alive | |
info: Pushing command to appium work queue: ["wake",{}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] json loading complete. | |
info: [ANDROID] [info] Client connected | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: wake | |
info: [ANDROID] [info] Returning result: {"value":true,"status":0} | |
info: [ADB] Received command result from bootstrap | |
info: [ADB] Checking if screen is unlocked via `dumpsys window`... | |
info: [ADB] Screen already unlocked, continuing. | |
info: Starting app | |
info: [ADB] Starting app | |
"/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am start -n com.example.android.apis/.ApiDemos | |
info: Waiting for app's activity to become focused | |
info: Getting focused package and activity | |
info: ADB launched! Ready for commands (will time out in 60secs) | |
info: Appium session started with sessionId 6ed43cb2-13c0-4cf0-8be7-25ac56ca703b | |
POST /wd/hub/session 303 5961ms - 9 | |
debug: Appium request initiated at /wd/hub/session/6ed43cb2-13c0-4cf0-8be7-25ac56ca703b/timeouts/implicit_wait | |
debug: Request received with params: {"ms":5000} | |
info: Set Android implicit wait to 5000ms | |
info: Responding to client with success: {"status":0,"value":null,"sessionId":"6ed43cb2-13c0-4cf0-8be7-25ac56ca703b"} | |
POST /wd/hub/session/6ed43cb2-13c0-4cf0-8be7-25ac56ca703b/timeouts/implicit_wait 200 1ms - 89 | |
debug: Appium request initiated at /wd/hub/session/6ed43cb2-13c0-4cf0-8be7-25ac56ca703b/execute | |
debug: Request received with params: {"script":"mobile: setCommandTimeout","args":[{"timeout":3}]} | |
info: Setting command timeout for android to 3 secs | |
info: Responding to client with success: {"status":0,"value":3,"sessionId":"6ed43cb2-13c0-4cf0-8be7-25ac56ca703b"} | |
POST /wd/hub/session/6ed43cb2-13c0-4cf0-8be7-25ac56ca703b/execute 200 2ms - 86 | |
info: Didn't get a new command in 3 secs, shutting down... | |
info: [ADB] Pressing the HOME button | |
info: [ADB] Sending command to android: {"cmd":"shutdown"} | |
info: Stopping logcat capture | |
info: [ANDROID] [info] Got data from client: {"cmd":"shutdown"} | |
info: [ANDROID] [info] Got command of type SHUTDOWN | |
info: [ANDROID] [info] Returning result: {"value":"OK, shutting down","status":0} | |
info: [ADB] Received command result from bootstrap | |
info: Sent shutdown command, waiting for ADB to stop... | |
info: [ANDROID] [info] Closed client connection | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream=. | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 0 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] Test results for WatcherResultPrinter=. | |
info: [ADB STDOUT] Time: 4.616 | |
info: [ADB STDOUT] OK (1 test) | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: -1 | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Clearing out appium devices | |
debug: Appium request initiated at /wd/hub/session/6ed43cb2-13c0-4cf0-8be7-25ac56ca703b/element | |
debug: Request received with params: {"using":"name","value":"Animation"} | |
POST /wd/hub/session/6ed43cb2-13c0-4cf0-8be7-25ac56ca703b/element 404 1ms - 53 | |
debug: Appium request initiated at /wd/hub/session/6ed43cb2-13c0-4cf0-8be7-25ac56ca703b | |
debug: Request received with params: {} | |
DELETE /wd/hub/session/6ed43cb2-13c0-4cf0-8be7-25ac56ca703b 404 0ms - 53 | |
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"browserName":"Android","device":"Android","platform":"Mac","version":"6.1","app":"/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk","app-package":"com.example.android.apis","app-activity":".ApiDemos","javascriptEnabled":true}} | |
info: Using local app from desiredCaps: /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
info: Creating new appium session cc355da5-6f6f-47e2-9e19-c861fed3f997 | |
info: Starting android appium | |
debug: Using fast reset? true | |
info: Preparing device for session | |
info: Checking whether app is actually present | |
info: Checking whether adb is present | |
info: [ADB] Using adb from /usr/local/adt/sdk/platform-tools/adb | |
info: Trying to find a connected android device | |
info: [ADB] Getting connected devices... | |
info: [ADB] 1 device(s) connected | |
info: [ADB] Setting device id to 4d004312613130fd | |
info: Found device, no need to retry | |
info: [ADB] Waiting for device 4d004312613130fd to be ready and to respond to shell commands (timeout = 5) | |
info: Starting logcat capture | |
info: Checking whether we need to run fast reset | |
debug: Checking app cert for /tmp/com.example.android.apis.clean.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/tmp/com.example.android.apis.clean.apk" | |
debug: App already signed. | |
debug: Checking app cert for /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" | |
debug: App already signed. | |
debug: App signed? true /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
debug: java -jar "/Users/rockbot/dev/appium/app/android/strings_from_apk.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" "/tmp/com.example.android.apis" | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Determining app install/clean status | |
debug: Getting install/clean status for com.example.android.apis | |
debug: Running fast reset clean: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am instrument com.example.android.apis.clean/clean.apk.Clean | |
info: [ADB] Forwarding system:4724 to device:4724 | |
info: [ADB] Pushing appium bootstrap to device... | |
info: [ADB] Pushing unlock helper app to device... | |
info: Running bootstrap | |
info: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] io.appium.android.bootstrap.Bootstrap: | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 1 | |
info: [ANDROID] [info] Socket opened on port 4724 | |
info: [ADB] Connecting to server on device on port 4724... | |
info: [ANDROID] [info] Appium Socket Server Ready | |
info: [ANDROID] [info] Loading json... | |
info: [ADB] Connected! | |
info: [ADB] Waking up device if it's not alive | |
info: Pushing command to appium work queue: ["wake",{}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] json loading complete. | |
info: [ANDROID] [info] Client connected | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: wake | |
info: [ANDROID] [info] Returning result: {"value":true,"status":0} | |
info: [ADB] Received command result from bootstrap | |
info: [ADB] Checking if screen is unlocked via `dumpsys window`... | |
info: [ADB] Screen already unlocked, continuing. | |
info: Starting app | |
info: [ADB] Starting app | |
"/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am start -n com.example.android.apis/.ApiDemos | |
info: Waiting for app's activity to become focused | |
info: Getting focused package and activity | |
info: ADB launched! Ready for commands (will time out in 60secs) | |
info: Appium session started with sessionId cc355da5-6f6f-47e2-9e19-c861fed3f997 | |
POST /wd/hub/session 303 5741ms - 9 | |
debug: Appium request initiated at /wd/hub/session/cc355da5-6f6f-47e2-9e19-c861fed3f997/timeouts/implicit_wait | |
debug: Request received with params: {"ms":5000} | |
info: Set Android implicit wait to 5000ms | |
info: Responding to client with success: {"status":0,"value":null,"sessionId":"cc355da5-6f6f-47e2-9e19-c861fed3f997"} | |
POST /wd/hub/session/cc355da5-6f6f-47e2-9e19-c861fed3f997/timeouts/implicit_wait 200 1ms - 89 | |
debug: Appium request initiated at /wd/hub/session/cc355da5-6f6f-47e2-9e19-c861fed3f997/element | |
debug: Request received with params: {"using":"link text","value":"foobar"} | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Pushing command to appium work queue: ["find",{"strategy":"link text","selector":"foobar","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"link text","selector":"foobar","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding foobar using LINK_TEXT with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":"Sorry, we don't support the 'link text' locator strategy yet","status":13} | |
info: [ADB] Received command result from bootstrap | |
info: Responding to client with error: {"status":13,"value":{"message":"An unknown server-side error occurred while processing the command.","origValue":"Sorry, we don't support the 'link text' locator strategy yet"},"sessionId":"cc355da5-6f6f-47e2-9e19-c861fed3f997"} | |
POST /wd/hub/session/cc355da5-6f6f-47e2-9e19-c861fed3f997/element 500 5121ms - 257 | |
debug: Appium request initiated at /wd/hub/session/cc355da5-6f6f-47e2-9e19-c861fed3f997/element | |
debug: Request received with params: {"using":"name","value":"Animation"} | |
info: Pushing command to appium work queue: ["find",{"strategy":"name","selector":"Animation","context":"","multiple":false}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"Animation","context":"","multiple":false}} | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"Animation","context":"","multiple":false}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: find | |
info: [ANDROID] [debug] Finding Animation using NAME with the contextId: | |
info: [ANDROID] [info] Returning result: {"value":{"ELEMENT":"1"},"status":0} | |
info: [ADB] Received command result from bootstrap | |
info: Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"cc355da5-6f6f-47e2-9e19-c861fed3f997"} | |
POST /wd/hub/session/cc355da5-6f6f-47e2-9e19-c861fed3f997/element 200 76ms - 109 | |
debug: Appium request initiated at /wd/hub/session/cc355da5-6f6f-47e2-9e19-c861fed3f997 | |
debug: Request received with params: {} | |
info: Shutting down appium session... | |
info: [ADB] Pressing the HOME button | |
info: [ADB] Sending command to android: {"cmd":"shutdown"} | |
info: Stopping logcat capture | |
info: [ANDROID] [info] Got data from client: {"cmd":"shutdown"} | |
info: [ANDROID] [info] Got command of type SHUTDOWN | |
info: [ANDROID] [info] Returning result: {"value":"OK, shutting down","status":0} | |
info: [ANDROID] [info] Closed client connection | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream=. | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 0 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] Test results for WatcherResultPrinter=. | |
info: [ADB STDOUT] Time: 6.688 | |
info: [ADB STDOUT] OK (1 test) | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: -1 | |
info: [ADB] Received command result from bootstrap | |
info: Sent shutdown command, waiting for ADB to stop... | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Clearing out appium devices | |
info: Responding to client with success: {"status":0,"value":null,"sessionId":"cc355da5-6f6f-47e2-9e19-c861fed3f997"} | |
DELETE /wd/hub/session/cc355da5-6f6f-47e2-9e19-c861fed3f997 200 779ms - 89 | |
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"browserName":"Android","device":"Android","platform":"Mac","version":"6.1","app":"/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk","app-package":"com.example.android.apis","app-activity":".ApiDemos","javascriptEnabled":true}} | |
info: Using local app from desiredCaps: /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
info: Creating new appium session 009baeb3-bd2a-40ed-a8f3-64bb1566d5ee | |
info: Starting android appium | |
debug: Using fast reset? true | |
info: Preparing device for session | |
info: Checking whether app is actually present | |
info: Checking whether adb is present | |
info: [ADB] Using adb from /usr/local/adt/sdk/platform-tools/adb | |
info: Trying to find a connected android device | |
info: [ADB] Getting connected devices... | |
info: [ADB] 1 device(s) connected | |
info: [ADB] Setting device id to 4d004312613130fd | |
info: Found device, no need to retry | |
info: [ADB] Waiting for device 4d004312613130fd to be ready and to respond to shell commands (timeout = 5) | |
info: Starting logcat capture | |
info: Checking whether we need to run fast reset | |
debug: Checking app cert for /tmp/com.example.android.apis.clean.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/tmp/com.example.android.apis.clean.apk" | |
debug: App already signed. | |
debug: Checking app cert for /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" | |
debug: App already signed. | |
debug: App signed? true /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
debug: java -jar "/Users/rockbot/dev/appium/app/android/strings_from_apk.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" "/tmp/com.example.android.apis" | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Determining app install/clean status | |
debug: Getting install/clean status for com.example.android.apis | |
debug: Running fast reset clean: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am instrument com.example.android.apis.clean/clean.apk.Clean | |
info: [ADB] Forwarding system:4724 to device:4724 | |
info: [ADB] Pushing appium bootstrap to device... | |
info: [ADB] Pushing unlock helper app to device... | |
info: Running bootstrap | |
info: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] io.appium.android.bootstrap.Bootstrap: | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 1 | |
info: [ANDROID] [info] Socket opened on port 4724 | |
info: [ADB] Connecting to server on device on port 4724... | |
info: [ANDROID] [info] Appium Socket Server Ready | |
info: [ANDROID] [info] Loading json... | |
info: [ADB] Connected! | |
info: [ADB] Waking up device if it's not alive | |
info: Pushing command to appium work queue: ["wake",{}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] json loading complete. | |
info: [ANDROID] [info] Client connected | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: wake | |
info: [ANDROID] [info] Returning result: {"value":true,"status":0} | |
info: [ADB] Received command result from bootstrap | |
info: [ADB] Checking if screen is unlocked via `dumpsys window`... | |
info: [ADB] Screen already unlocked, continuing. | |
info: Starting app | |
info: [ADB] Starting app | |
"/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am start -n com.example.android.apis/.ApiDemos | |
info: Waiting for app's activity to become focused | |
info: Getting focused package and activity | |
info: ADB launched! Ready for commands (will time out in 60secs) | |
info: Appium session started with sessionId 009baeb3-bd2a-40ed-a8f3-64bb1566d5ee | |
POST /wd/hub/session 303 5932ms - 9 | |
debug: Appium request initiated at /wd/hub/session/009baeb3-bd2a-40ed-a8f3-64bb1566d5ee/timeouts/implicit_wait | |
debug: Request received with params: {"ms":5000} | |
info: Set Android implicit wait to 5000ms | |
info: Responding to client with success: {"status":0,"value":null,"sessionId":"009baeb3-bd2a-40ed-a8f3-64bb1566d5ee"} | |
POST /wd/hub/session/009baeb3-bd2a-40ed-a8f3-64bb1566d5ee/timeouts/implicit_wait 200 1ms - 89 | |
debug: Appium request initiated at /wd/hub/session/009baeb3-bd2a-40ed-a8f3-64bb1566d5ee/execute | |
debug: Request received with params: {"script":"mobile: currentActivity","args":[]} | |
info: Getting focused package and activity | |
info: Responding to client with success: {"status":0,"value":".ApiDemos","sessionId":"009baeb3-bd2a-40ed-a8f3-64bb1566d5ee"} | |
POST /wd/hub/session/009baeb3-bd2a-40ed-a8f3-64bb1566d5ee/execute 200 72ms - 96 | |
debug: Appium request initiated at /wd/hub/session/009baeb3-bd2a-40ed-a8f3-64bb1566d5ee | |
debug: Request received with params: {} | |
info: Shutting down appium session... | |
info: [ADB] Pressing the HOME button | |
info: [ADB] Sending command to android: {"cmd":"shutdown"} | |
info: Stopping logcat capture | |
info: [ANDROID] [info] Got data from client: {"cmd":"shutdown"} | |
info: [ANDROID] [info] Got command of type SHUTDOWN | |
info: [ANDROID] [info] Returning result: {"value":"OK, shutting down","status":0} | |
info: [ANDROID] [info] Closed client connection | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB] Received command result from bootstrap | |
info: Sent shutdown command, waiting for ADB to stop... | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream=. | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 0 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] Test results for WatcherResultPrinter=. | |
info: [ADB STDOUT] Time: 1.454 | |
info: [ADB STDOUT] OK (1 test) | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: -1 | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Clearing out appium devices | |
info: Responding to client with success: {"status":0,"value":null,"sessionId":"009baeb3-bd2a-40ed-a8f3-64bb1566d5ee"} | |
DELETE /wd/hub/session/009baeb3-bd2a-40ed-a8f3-64bb1566d5ee 200 630ms - 89 | |
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"browserName":"Android","device":"Android","platform":"Mac","version":"6.1","app":"/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk","app-package":"com.example.android.apis","app-activity":".ApiDemos","javascriptEnabled":true}} | |
info: Using local app from desiredCaps: /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
info: Creating new appium session c2384fd6-6fa3-4c58-bf53-d1935d2ea63f | |
info: Starting android appium | |
debug: Using fast reset? true | |
info: Preparing device for session | |
info: Checking whether app is actually present | |
info: Checking whether adb is present | |
info: [ADB] Using adb from /usr/local/adt/sdk/platform-tools/adb | |
info: Trying to find a connected android device | |
info: [ADB] Getting connected devices... | |
info: [ADB] 1 device(s) connected | |
info: [ADB] Setting device id to 4d004312613130fd | |
info: Found device, no need to retry | |
info: [ADB] Waiting for device 4d004312613130fd to be ready and to respond to shell commands (timeout = 5) | |
info: Starting logcat capture | |
info: Checking whether we need to run fast reset | |
debug: Checking app cert for /tmp/com.example.android.apis.clean.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/tmp/com.example.android.apis.clean.apk" | |
debug: App already signed. | |
debug: Checking app cert for /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk: java -jar "/Users/rockbot/dev/appium/app/android/verify.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" | |
debug: App already signed. | |
debug: App signed? true /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
debug: java -jar "/Users/rockbot/dev/appium/app/android/strings_from_apk.jar" "/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" "/tmp/com.example.android.apis" | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Determining app install/clean status | |
debug: Getting install/clean status for com.example.android.apis | |
debug: Running fast reset clean: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am instrument com.example.android.apis.clean/clean.apk.Clean | |
info: [ADB] Forwarding system:4724 to device:4724 | |
info: [ADB] Pushing appium bootstrap to device... | |
info: [ADB] Pushing unlock helper app to device... | |
info: Running bootstrap | |
info: "/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: current=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: stream= | |
info: [ADB STDOUT] io.appium.android.bootstrap.Bootstrap: | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
info: [ADB STDOUT] INSTRUMENTATION_STATUS_CODE: 1 | |
info: [ANDROID] [info] Socket opened on port 4724 | |
info: [ADB] Connecting to server on device on port 4724... | |
info: [ANDROID] [info] Appium Socket Server Ready | |
info: [ANDROID] [info] Loading json... | |
info: [ADB] Connected! | |
info: [ADB] Waking up device if it's not alive | |
info: Pushing command to appium work queue: ["wake",{}] | |
info: [ADB] Sending command to android: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] json loading complete. | |
info: [ANDROID] [info] Client connected | |
info: [ANDROID] [info] Got data from client: {"cmd":"action","action":"wake","params":{}} | |
info: [ANDROID] [info] Got command of type ACTION | |
info: [ANDROID] [debug] Got command action: wake | |
info: [ANDROID] [info] Returning result: {"value":true,"status":0} | |
info: [ADB] Received command result from bootstrap | |
info: [ADB] Checking if screen is unlocked via `dumpsys window`... | |
error: ADB quit before it successfully launched | |
error: Failed to start an Appium session, err was: ADB quit unexpectedly before successfully launching | |
info: Responding to client with error: {"status":6,"value":{"message":"A session is either terminated or not started","origValue":"ADB quit unexpectedly before successfully launching"},"sessionId":"c2384fd6-6fa3-4c58-bf53-d1935d2ea63f"} | |
POST /wd/hub/session 500 5265ms - 225 | |
info: Clearing out appium devices | |
info: [ADB] Not uninstalling app since server not started with --full-reset | |
info: Clearing out appium devices | |
info: [ADB] Screen already unlocked, continuing. | |
info: Starting app | |
info: [ADB] Starting app | |
"/usr/local/adt/sdk/platform-tools/adb" -s 4d004312613130fd shell am start -n com.example.android.apis/.ApiDemos | |
error: Error: Command failed: error: device not found | |
error: uncaughtException date=Wed Sep 18 2013 12:00:44 GMT-0700 (PDT), pid=23333, uid=501, gid=20, cwd=/Users/rockbot/dev/appium, execPath=/usr/local/Cellar/node/0.10.13/bin/node, version=v0.10.13, argv=[node, /Users/rockbot/dev/appium/server.js], rss=91652096, heapTotal=73702912, heapUsed=45335488, loadavg=[0.98828125, 1.22216796875, 0.9609375], uptime=697494, trace=[column=12, file=/Users/rockbot/dev/appium/app/android.js, function=Android.shutdown, line=197, method=shutdown, native=false, column=14, file=/Users/rockbot/dev/appium/app/android.js, function=, line=117, method=null, native=false, column=5, file=/Users/rockbot/dev/appium/android/adb.js, function=null, line=604, method=null, native=false, column=13, file=/Users/rockbot/dev/appium/node_modules/async/lib/async.js, function=null, line=229, method=null, native=false, column=21, file=/Users/rockbot/dev/appium/node_modules/async/lib/async.js, function=null, line=133, method=null, native=false, column=17, file=/Users/rockbot/dev/appium/node_modules/async/lib/async.js, function=null, line=226, method=null, native=false, column=34, file=/Users/rockbot/dev/appium/node_modules/async/lib/async.js, function=null, line=553, method=null, native=false, column=7, file=/Users/rockbot/dev/appium/android/adb.js, function=, line=1242, method=null, native=false, column=7, file=child_process.js, function=ChildProcess.exithandler, line=641, method=exithandler, native=false, column=17, file=events.js, function=ChildProcess.EventEmitter.emit, line=98, method=EventEmitter.emit, native=false], stack=[TypeError: Cannot call method 'sendShutdownCommand' of null, at Android.shutdown (/Users/rockbot/dev/appium/app/android.js:197:12), at null.<anonymous> (/Users/rockbot/dev/appium/app/android.js:117:14), at /Users/rockbot/dev/appium/android/adb.js:604:5, at /Users/rockbot/dev/appium/node_modules/async/lib/async.js:229:13, at /Users/rockbot/dev/appium/node_modules/async/lib/async.js:133:21, at /Users/rockbot/dev/appium/node_modules/async/lib/async.js:226:17, at /Users/rockbot/dev/appium/node_modules/async/lib/async.js:553:34, at null.<anonymous> (/Users/rockbot/dev/appium/android/adb.js:1242:7), at ChildProcess.exithandler (child_process.js:641:7), at ChildProcess.EventEmitter.emit (events.js:98:17)] | |
rockbot@rocksauce:appium$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockbot@rocksauce:apidemos$ mocha -t 60000 basic.js | |
․․․․․ | |
4 passing (43 seconds) | |
1 failing | |
1) basic "before each" hook: | |
Uncaught AssertionError: expected { [Error: The environment you requested was unavailable.] | |
data: '{\n "status": 6,\n "value": {\n "message": "A session is either terminated or not started",\n "origValue": "ADB quit unexpectedly before successfully launching"\n },\n "sessionId": "c2384fd6-6fa3-4c58-bf53-d1935d2ea63f"\n}' } to not exist | |
at /Users/rockbot/dev/appium/test/helpers/driverblock.js:43:18 | |
at Request._callback (/Users/rockbot/dev/appium/node_modules/wd/lib/webdriver.js:312:16) | |
at Request.self.callback (/Users/rockbot/dev/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
at Request.EventEmitter.emit (events.js:98:17) | |
at Request.<anonymous> (/Users/rockbot/dev/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
at Request.EventEmitter.emit (events.js:117:20) | |
at IncomingMessage.<anonymous> (/Users/rockbot/dev/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
at _stream_readable.js:910:16 | |
at process._tickCallback (node.js:415:13) | |
rockbot@rocksauce:apidemos$ adb devices | |
List of devices attached | |
rockbot@rocksauce:apidemos$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment