Skip to content

Instantly share code, notes, and snippets.

@swapna-chennadi
Created June 14, 2013 09:38
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 swapna-chennadi/5780673 to your computer and use it in GitHub Desktop.
Save swapna-chennadi/5780673 to your computer and use it in GitHub Desktop.
appium log trace for selendroid server
node server.js --app-pkg com.example.registeruserexample --app-activity RegisterUserExample
info: Welcome to Appium v0.7.1 (REV cf3ebe903c9bdd2ebf871465ad604c4b296f9b65)
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":{"platform":"MAC","app":"/Users/swapna.chennadi/git/qa-automation-templateproject/src/test/resources/multidevice/RegisterUserExample.apk","acceptSslCerts":true,"browserName":"iOS","app-package":"com.example.registeruserexample","device":"selendroid","app-activity":"RegisterUserExample","version":"6.1"}}
info: Using local app from desiredCaps: /Users/swapna.chennadi/git/qa-automation-templateproject/src/test/resources/multidevice/RegisterUserExample.apk
info: Creating new appium session a7e06881-9d03-4616-ae69-783760419b48
info: Starting selendroid server
info: Checking whether selendroid is built yet
info: Selendroid server exists!
info: Starting selendroid
info: Preparing device for session
info: Checking whether app is actually present
info: Checking whether adb is present
info: [ADB] Using adb from /Users/swapna.chennadi/Development/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 0187755c590beebd
info: Found device, no need to retry
info: [ADB] Waiting for device 0187755c590beebd to be ready and to respond to shell commands (timeout = 5)
info: Checking whether we need to run fast reset
debug: Checking app cert for /tmp/com.example.registeruserexample.clean.apk: java -jar "/Users/swapna.chennadi/appium/app/android/verify.jar" "/tmp/com.example.registeruserexample.clean.apk"
debug: App already signed.
debug: Checking app cert for /Users/swapna.chennadi/git/qa-automation-templateproject/src/test/resources/multidevice/RegisterUserExample.apk: java -jar "/Users/swapna.chennadi/appium/app/android/verify.jar" "/Users/swapna.chennadi/git/qa-automation-templateproject/src/test/resources/multidevice/RegisterUserExample.apk"
debug: App already signed.
info: Rebuilt selendroid apk exists, doing nothing
info: Rebuilt selendroid server already exists, no need to rebuild it with a new manifest
info: Checking signed status of /tmp/selendroid.com.example.registeruserexample.apk
debug: Checking app cert for /tmp/selendroid.com.example.registeruserexample.apk: java -jar "/Users/swapna.chennadi/appium/app/android/verify.jar" "/tmp/selendroid.com.example.registeruserexample.apk"
info: Checking signed status of /Users/swapna.chennadi/git/qa-automation-templateproject/src/test/resources/multidevice/RegisterUserExample.apk
debug: Checking app cert for /Users/swapna.chennadi/git/qa-automation-templateproject/src/test/resources/multidevice/RegisterUserExample.apk: java -jar "/Users/swapna.chennadi/appium/app/android/verify.jar" "/Users/swapna.chennadi/git/qa-automation-templateproject/src/test/resources/multidevice/RegisterUserExample.apk"
debug: App already signed.
debug: App already signed.
debug: Getting install/clean status for com.example.registeruserexample.selendroid
info: Rebuilt selendroid is already installed
info: Determining app install/clean status
debug: Getting install/clean status for com.example.registeruserexample
debug: Running fast reset clean: "/Users/swapna.chennadi/Development/sdk/platform-tools/adb" -s 0187755c590beebd shell am instrument com.example.registeruserexample.clean/clean.apk.Clean
info: [ADB] Forwarding system:8080 to device:8080
info: [ADB] Attempting to unlock screen
info: Starting instrumentation process for selendroid with cmd: "/Users/swapna.chennadi/Development/sdk/platform-tools/adb" -s 0187755c590beebd shell am instrument -e main_activity 'com.example.registeruserexample.RegisterUserExample' com.example.registeruserexample.selendroid/io.selendroid.ServerInstrumentation
info: Selendroid server is launching
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET","headers":{"Content-Type":"application/json"}}
error: Failed to start an Appium session, err was: Error: Waited 20 secs for selendroid server and it never showed up
info: Responding to client with error: {"status":6,"value":{"message":"A session is either terminated or not started (Original error: Waited 20 secs for selendroid server and it never showed up)","origValue":"Waited 20 secs for selendroid server and it never showed up"},"sessionId":"a7e06881-9d03-4616-ae69-783760419b48"}
POST /wd/hub/session 500 23745ms - 311
info: Clearing out appium devices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment