Skip to content

Instantly share code, notes, and snippets.

@gamesguru
Created November 1, 2017 20:07
Show Gist options
  • Save gamesguru/d7ee8f154dee0f9b3a8d54f2fe69ee02 to your computer and use it in GitHub Desktop.
Save gamesguru/d7ee8f154dee0f9b3a8d54f2fe69ee02 to your computer and use it in GitHub Desktop.
...starting appium...
[Appium] Welcome to Appium v1.7.1
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] port: 4724
[Appium] Appium REST http interface listener started on 127.0.0.1:4724
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","noReset":true,"fullReset":false,"platformName":"Android"},"capabilities":{"firstMatch":[{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","noReset":true,"fullReset":false,"platformName":"Android"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","noReset":true,"fullReset":false,"platformName":"Android"},null,{"firstMatch":[{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","noReset":true,"fullReset":false,"platformName":"Android"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1509566573670 (16:02:53 GMT-0400 (Eastern Daylight Time))
[Appium] Creating new AndroidDriver (v1.28.1) session
[Appium] Capabilities:
[Appium] udid: '03501af696b500000000'
[Appium] deviceName: 'OCTP_5'
[Appium] appPackage: 'com.lci1.one'
[Appium] appActivity: 'md514e745197d12febda9505d9609e0ec28.SplashScreen'
[Appium] noReset: true
[Appium] fullReset: false
[Appium] platformName: 'Android'
[BaseDriver] Session created with session id: 1e53f786-0ac4-43be-b56b-054fc5d0e43e
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_131
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[AndroidDriver] Using device: 03501af696b500000000
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to 03501af696b500000000
[AndroidDriver] App file was not listed, instead we're going to run com.lci1.one directly on the device
[debug] [AndroidDriver] Checking whether package is present on the device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","list","packages","com.lci1.one"]
[AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Uninstalling and re-installing 'io.appium.settings'
[debug] [ADB] Uninstalling io.appium.settings
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is installed
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","am","force-stop","io.appium.settings"]
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","uninstall","io.appium.settings"]
[debug] [ADB] ADB command output: Success
[ADB] io.appium.settings was successfully uninstalled
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is not installed
[debug] [ADB] App 'C:\Users\ShaneLCI\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk' not installed. Installing
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","install","C:\\Users\\ShaneLCI\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\app\\build\\outputs\\apk\\settings_apk-debug.apk"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Current device property 'ro.build.version.sdk': 19
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","dumpsys","package","io.appium.settings"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","ps"]
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","settings","put","secure","mock_location","1"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","install","C:\\Users\\ShaneLCI\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","ro.build.version.release"]
[debug] [ADB] Current device property 'ro.build.version.release': 4.4.2
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': OCTP_5
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': softwinner
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","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 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","push","C:\\Users\\ShaneLCI\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-bootstrap\\bootstrap\\bin\\AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","forward","tcp:4724","tcp:4724"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","03501af696b500000000","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.lci1.one","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false]
[debug] [UiAutomator] Moving to state 'online'
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 19
[debug] [ADB] Getting connected devices...
[debug] [ADB] 2 device(s) connected
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","03501af696b500000000","shell","am","start","-W","-n","com.lci1.one/md514e745197d12febda9505d9609e0ec28.SplashScreen","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[Appium] New AndroidDriver session created successfully, session 1e53f786-0ac4-43be-b56b-054fc5d0e43e added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1509566591471 (16:03:11 GMT-0400 (Eastern Daylight Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"udid":"03501af696b500000000","deviceName":"OCTP_5","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","noReset":true,"fullReset":false,"platformName":"Android"},"udid":"03501af696b500000000","deviceName":"03501af696b500000000","appPackage":"com.lci1.one","appActivity":"md514e745197d12febda9505d9609e0ec28.SplashScreen","noReset":true,"fullReset":false,"platformName":"Android","deviceUDID":"03501af696b500000000","platformVersion":"4.4.2","deviceScreenSize":"800x480","deviceModel":"OCTP_5","deviceManufacturer":"softwinner"}
[HTTP] <-- POST /wd/hub/session 200 17809 ms - 847
[HTTP] --> POST /wd/hub/session/1e53f786-0ac4-43be-b56b-054fc5d0e43e/timeouts {"type":"implicit","ms":7000}
[debug] [MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",7000,"1e53f786-0ac4-43be-b56b-054fc5d0e43e"]
[debug] [BaseDriver] Set implicit wait to 7000ms
[debug] [MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/1e53f786-0ac4-43be-b56b-054fc5d0e43e/timeouts 200 5 ms - 76
[HTTP] --> POST /wd/hub/session/1e53f786-0ac4-43be-b56b-054fc5d0e43e/element {"using":"-android uiautomator","value":"UiSelector().text(\"Lighting\")"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator","UiSelector().text(\"Lighting\")","1e53f786-0ac4-43be-b56b-054fc5d0e43e"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
===========
second log
-----------
n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment