Skip to content

Instantly share code, notes, and snippets.

@tiagoshibata
Created June 25, 2016 20:30
Show Gist options
  • Save tiagoshibata/e470432113604ed2e59b73347e05d379 to your computer and use it in GitHub Desktop.
Save tiagoshibata/e470432113604ed2e59b73347e05d379 to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.5.3 (REV 2276be5333b92f777999b146b25738b30abb6f77)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"Android","deviceName":"Android","noReset":false,"appPackage":"br.com.tapps.vloggergoviral","appActivity":"com.ansca.corona.CoronaActivity"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"Android",...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] platformName: 'Android'
[Appium] deviceName: 'Android'
[Appium] noReset: false
[Appium] appPackage: 'br.com.tapps.vloggergoviral'
[Appium] appActivity: 'com.ansca.corona.CoronaActivity'
[BaseDriver] Session created with session id: 5e5c5ea7-50f4-47e1-aeff-d3c14d03acf6
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_25
[ADB] Checking whether adb is present
[ADB] The ANDROID_HOME environment variable is not set to the Android SDK root directory path. ANDROID_HOME is required for compatibility with SDK 23+. Checking along PATH for adb.
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Using device: T099706ZXD
[ADB] Checking whether adb is present
[ADB] The ANDROID_HOME environment variable is not set to the Android SDK root directory path. ANDROID_HOME is required for compatibility with SDK 23+. Checking along PATH for adb.
[ADB] Using adb from /home/tiago/Android/Sdk/platform-tools/adb
[debug] [ADB] Setting device id to T099706ZXD
[AndroidDriver] App file was not listed, instead we're going to run br.com.tapps.vloggergoviral directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","pm","list","packages","br.com.tapps.vloggergoviral"]
[AndroidDriver] Starting Android session
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","install","/home/tiago/code/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","push","/home/tiago/code/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, T099706ZXD, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, br.com.tapps.vloggergoviral, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","start","-W","-n","br.com.tapps.vloggergoviral/com.ansca.corona.CoronaActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[Appium] New AndroidDriver session created successfully, session 5e5c5ea7-50f4-47e1-aeff-d3c14d03acf6 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webSto...
[HTTP] <-- POST /wd/hub/session 200 19331 ms - 644
[HTTP] --> DELETE /wd/hub/session/5e5c5ea7-50f4-47e1-aeff-d3c14d03acf6 {}
[MJSONWP] Calling AppiumDriver.deleteSession() with args: ["5e5c5ea7-50f4-47e1-aeff-d...
[debug] [AndroidDriver] Shutting down Android driver
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","br.com.tapps.vloggergoviral"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","am","force-stop","io.appium.unlock"]
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","input","keyevent",3]
[debug] [Logcat] Stopping logcat capture
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state 'stopping'
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=.
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0
[debug] [UiAutomator] UiAutomator shut down normally
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /home/tiago/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","T099706ZXD","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[Appium] Removing session 5e5c5ea7-50f4-47e1-aeff-d3c14d03acf6 from our master session list
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/5e5c5ea7-50f4-47e1-aeff-d3c14d03acf6 200 5888 ms - 76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment