Skip to content

Instantly share code, notes, and snippets.

@vikramvi
Created April 3, 2017 14:21
Show Gist options
  • Save vikramvi/b78f97fbe8742a103bfda251a51dc7ac to your computer and use it in GitHub Desktop.
Save vikramvi/b78f97fbe8742a103bfda251a51dc7ac to your computer and use it in GitHub Desktop.
[UiAutomator2] Waiting for UiAutomator2 to be online
[Appium] Welcome to Appium v1.6.4-beta
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":999999,"automationName":"uiautomator2","platformName":"Android","deviceName":"placeholder string","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"newCommandTimeout":999999,"automationName":"uiautomator2","platformName":"Android","deviceName":"placeholder string","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk"},null,null,null,null]
[Appium] Creating new AndroidUiautomator2Driver (v0.2.11) session
[Appium] Capabilities:
[Appium] newCommandTimeout: 999999
[Appium] automationName: 'uiautomator2'
[Appium] platformName: 'Android'
[Appium] deviceName: 'placeholder string'
[Appium] app: '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk'
[BaseDriver] Session created with session id: b9b76f9d-1079-4461-9009-4109fc5e2753
[BaseDriver] Using local app '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk'
[debug] [UiAutomator2] Checking whether app is actually present
[UiAutomator2] UIAutomator2 Driver version:0.2.11
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_102
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/vikram-anna/Library/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: 0a2b30b20337dd16
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/vikram-anna/Library/Android/sdk/platform-tools/adb
[debug] [ADB] Setting device id to 0a2b30b20337dd16
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/vikram-anna/Library/Android/sdk/build-tools/25.0.2/aapt
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: one.noatech.rider.nightly
[debug] [ADB] badging act: one.noatech.rider.ui.auth.OnboardingActivity
[debug] [AndroidDriver] Parsed package and activity are: one.noatech.rider.nightly/one.noatech.rider.ui.auth.OnboardingActivity
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': Nexus 5
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': LGE
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","am","force-stop","io.appium.uiautomator2.server"]
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","forward","tcp:8200","tcp:6790"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk /Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk null /var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/one.noatech.rider.nightly
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","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 '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': en-GB
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","push","/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/one.noatech.rider.nightly/strings.json","/data/local/tmp"]
[debug] [ADB] Checking app cert for /Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk.
[debug] [ADB] App already signed.
[debug] [ADB] Zip-aligning '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk'
[ADB] Checking whether zipalign is present
[ADB] Using zipalign from /Users/vikram-anna/Library/Android/sdk/build-tools/25.0.2/zipalign
[debug] [ADB] Zip-aligning apk.
[AndroidDriver] Remote apk path is /data/local/tmp/a997b4a5fb9b6d78f40d913c8ff8e38a.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","ls","/data/local/tmp/a997b4a5fb9b6d78f40d913c8ff8e38a.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for one.noatech.rider.nightly
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","pm","list","packages","one.noatech.rider.nightly"]
[debug] [ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","am","force-stop","one.noatech.rider.nightly"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","pm","clear","one.noatech.rider.nightly"]
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/vikram-anna/Library/Android/sdk/build-tools/25.0.2/aapt
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","pm","list","packages","io.appium.uiautomator2.server"]
[debug] [ADB] App is installed
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
[debug] [ADB] App is installed
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/vikram-anna/Library/Android/sdk/build-tools/25.0.2/aapt
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","dumpsys","package","io.appium.uiautomator2.server"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","am","force-stop","io.appium.uiautomator2.server"]
[UiAutomator2] Starting uiautomator2 server v0.1.3 with cmd: am,instrument,-w,io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner
[UiAutomator2] running command...
adb -s 0a2b30b20337dd16 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner...
[UiAutomator2] Waiting for UiAutomator2 to be online...
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment