Skip to content

Instantly share code, notes, and snippets.

@prolificcoder
Created March 14, 2016 23:41
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 prolificcoder/13cdd2b648127f58b12b to your computer and use it in GitHub Desktop.
Save prolificcoder/13cdd2b648127f58b12b to your computer and use it in GitHub Desktop.
error with 1.4.16
nfo: --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"Android Emulator","deviceOrientation":"portrait","platformVersion":"5.1","platformName":"Android","app":"/Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk","host":"localhost","port":4723,"name":"android investor favorite tests @p0 should be able to see and click bid details"}}
info: Client User-Agent string: admc/wd/0.4.0
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : deviceOrientation, host, port, name
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] No appPackage desired capability or server param. Parsing from apk.
info: [debug] Using local app from desired caps: /Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk
info: [debug] Creating new appium session e63c4d7d-7da7-4e71-91a1-755687a957b6
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.7.0_67
info: [debug] Checking whether adb is present
info: [debug] Using adb from /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from /usr/local/Cellar/android-sdk/22.6.2/build-tools/23.0.1/aapt
info: [debug] Extracting package and launch activity from manifest.
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/build-tools/23.0.1/aapt dump badging /Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk
info: [debug] badging package: com.godaddy.gdm.investorapp.automationenv
info: [debug] badging act: com.godaddy.gdm.investorapp.automationenv.AutomationStartupActivity
info: [debug] Parsed package and activity are: com.godaddy.gdm.investorapp.automationenv/com.godaddy.gdm.investorapp.automationenv.AutomationStartupActivity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb devices
info: [debug] 1 device(s) connected
info: Found device 192.168.60.101:5555
info: [debug] Setting device id to 192.168.60.101:5555
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 wait-for-device
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: Device API level is: 22
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "getprop persist.sys.language"
info: [debug] Current device persist.sys.language: es-us
info: [debug] java -jar "/Users/smalugu/code/exp/appium/node_modules/appium-adb/jars/appium_apk_tools.jar" "stringsFromApk" "/Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk" "/tmp/com.godaddy.gdm.investorapp.automationenv" es-us
info: [debug] No strings.xml for language 'es-us', getting default strings.xml
info: [debug] java -jar "/Users/smalugu/code/exp/appium/node_modules/appium-adb/jars/appium_apk_tools.jar" "stringsFromApk" "/Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk" "/tmp/com.godaddy.gdm.investorapp.automationenv"
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 push "/tmp/com.godaddy.gdm.investorapp.automationenv/strings.json" /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from /usr/local/Cellar/android-sdk/22.6.2/build-tools/23.0.1/aapt
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/build-tools/23.0.1/aapt dump xmltree /Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk AndroidManifest.xml
info: [debug] Set app process to: com.godaddy.gdm.investorapp.automationenv
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for /Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk.
info: [debug] executing cmd: java -jar /Users/smalugu/code/exp/appium/node_modules/appium-adb/jars/verify.jar /Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk
info: [debug] App not signed with debug cert.
info: [debug] Resigning apk.
info: [debug] executing cmd: java -jar /Users/smalugu/code/exp/appium/node_modules/appium-adb/jars/sign.jar /Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk --override
info: [debug] Zip-aligning /Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from /usr/local/Cellar/android-sdk/22.6.2/build-tools/23.0.1/zipalign
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/build-tools/23.0.1/zipalign -f 4 /Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk /var/folders/vb/kq63c6rn75b0zvzzlfq4lkhxdf_wrd/T/116214-46147-1wn2jec/appium.tmp
info: [debug] MD5 for app is 3f5c613458d6a894d93881a3170e58c4
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "ls /data/local/tmp/3f5c613458d6a894d93881a3170e58c4.apk"
info: [debug] Getting install status for com.godaddy.gdm.investorapp.automationenv
info: [debug] Getting device API level
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "pm list packages -3 com.godaddy.gdm.investorapp.automationenv"
info: [debug] App is installed
info: Installing App
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "mkdir -p /data/local/tmp/"
info: [debug] Removing any old apks
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "ls /data/local/tmp/*.apk"
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell rm "/data/local/tmp/0d2a5499dc4fa4b2d8a1497e2f367504.apk"
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 push "/Users/smalugu/code/gdm-android-investorapp/app/build/outputs/apk/investorapp-2.1.0-1-AutomationEnv-debug.apk" /data/local/tmp/3f5c613458d6a894d93881a3170e58c4.apk
info: [debug] Uninstalling com.godaddy.gdm.investorapp.automationenv
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "am force-stop com.godaddy.gdm.investorapp.automationenv"
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 uninstall com.godaddy.gdm.investorapp.automationenv
info: [debug] App was uninstalled
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "pm install -r /data/local/tmp/3f5c613458d6a894d93881a3170e58c4.apk"
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 push "/Users/smalugu/code/exp/appium/build/android_bootstrap/AppiumBootstrap.jar" /data/local/tmp/
info: [debug] Pushing settings apk to device...
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 install "/Users/smalugu/code/exp/appium/build/settings_apk/settings_apk-debug.apk"
info: [debug] Pushing unlock helper app to device...
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 install "/Users/smalugu/code/exp/appium/build/unlock_apk/unlock_apk-debug.apk"
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "ps 'uiautomator'"
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.godaddy.gdm.investorapp.automationenv -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] [BOOTSTRAP] [debug] json loading complete.
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "dumpsys window"
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] dataDir set to: /data
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data"}
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
info: [debug] Getting device API level
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 22
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.godaddy.gdm.investorapp.automationenv/com.godaddy.gdm.investorapp.automationenv.AutomationStartupActivity"
info: [debug] Waiting for pkg "com.godaddy.gdm.investorapp.automationenv" and activity "com.godaddy.gdm.investorapp.automationenv.AutomationStartupActivity" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "dumpsys window windows"
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "getprop ro.build.version.release"
info: [debug] Device is at release version 5.1
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId e63c4d7d-7da7-4e71-91a1-755687a957b6
info: <-- POST /wd/hub/session 303 9449.853 ms - 74
info: --> POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/timeouts/implicit_wait {"ms":300000}
info: [debug] Set Android implicit wait to 300000ms
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: <-- POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/timeouts/implicit_wait 200 1.382 ms - 76 {"status":0,"value":null,"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: --> POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/element {"using":"id","value":"listing_item"}
info: [debug] Waiting up to 300000ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"listing_item","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"listing_item","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding listing_item using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.godaddy.gdm.investorapp.automationenv:id/listing_item]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: <-- POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/element 200 2640.596 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: --> GET /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/element/1/attribute/name {}
info: [debug] Pushing command to appium work queue: ["element:getAttribute",{"elementId":"1","attribute":"name"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"elementId":"1","attribute":"name"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getAttribute
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"12358108"}
info: [debug] Responding to client with success: {"status":0,"value":"12358108","sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: <-- GET /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/element/1/attribute/name 200 237.048 ms - 82 {"status":0,"value":"12358108","sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: --> POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/element {"using":"id","value":"domain_name"}
info: [debug] Waiting up to 300000ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"domain_name","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"domain_name","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding domain_name using ID with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.godaddy.gdm.investorapp.automationenv:id/domain_name]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: <-- POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/element 200 553.188 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: --> POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/element/2/click {}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"2"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: <-- POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/element/2/click 200 159.055 ms - 76 {"status":0,"value":true,"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: --> POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/execute {"script":"mobile: scroll","args":[{"direction":"down"}]}
info: <-- POST /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6/execute 500 2.798 ms - 74
TypeError: cb is not a function
at [object Object].androidController.scroll (/Users/smalugu/code/exp/appium/lib/devices/android/android-controller.js:690:3)
at Object.exports.mobileScroll [as scroll] (/Users/smalugu/code/exp/appium/lib/server/controller.js:645:14)
at Object.exports.executeMobileMethod (/Users/smalugu/code/exp/appium/lib/server/controller.js:984:22)
at exports.execute (/Users/smalugu/code/exp/appium/lib/server/controller.js:940:15)
at Layer.handle [as handle_request] (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/layer.js:82:5)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:110:13)
at Route.dispatch (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:91:3)
at Layer.handle [as handle_request] (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/layer.js:82:5)
at /Users/smalugu/code/exp/appium/node_modules/express/lib/router/index.js:267:22
at param (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/index.js:340:14)
at param (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/index.js:356:14)
at Function.proto.process_params (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/index.js:400:3)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/index.js:261:10)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:100:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at exports.sessionBeforeFilter (/Users/smalugu/code/exp/appium/lib/server/controller.js:56:5)
at Layer.handle [as handle_request] (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/layer.js:82:5)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:110:13)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at Route.dispatch (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:91:3)
at Layer.handle [as handle_request] (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/layer.js:82:5)
at /Users/smalugu/code/exp/appium/node_modules/express/lib/router/index.js:267:22
at Function.proto.process_params (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/index.js:321:12)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/index.js:261:10)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:100:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
at next (/Users/smalugu/code/exp/appium/node_modules/express/lib/router/route.js:104:14)
info: --> DELETE /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6 {}
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: /usr/local/Cellar/android-sdk/22.6.2/platform-tools/adb -s 192.168.60.101:5555 shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 5.167
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
info: <-- DELETE /wd/hub/session/e63c4d7d-7da7-4e71-91a1-755687a957b6 200 708.615 ms - 76 {"status":0,"value":null,"sessionId":"e63c4d7d-7da7-4e71-91a1-755687a957b6"}
@ackck
Copy link

ackck commented Aug 25, 2017

Hello i have same problem and i stucked it. Did you find a solution for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment