Skip to content

Instantly share code, notes, and snippets.

@egorvas
Created April 4, 2017 10:39
Show Gist options
  • Select an option

  • Save egorvas/56adda5dd5cf8d7b54d873eac83df85a to your computer and use it in GitHub Desktop.

Select an option

Save egorvas/56adda5dd5cf8d7b54d873eac83df85a to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.6.4-beta.2
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"capabilities":[{"desiredCapabilities":{"appPackage":"com.sixdays.truckerpath.dev","appActivity":"com.sixdays.truckerpath.view.base.SplashActivity","newCommandTimeout":"300","appWaitActivity":"com.sixdays.truckerpath.view.main.MainActivity","takesScreenshot":true,"autoGrantPermissions":true,"platformName":"Android","deviceName":"Android","optionalIntentArguments":"--ez WELCOME_TIP_IS_ACTIVE false --ez SUBSCRIPTION_IS_ACTIVE true --ez SKIP_FILTER_HINT true --ez IS_FORCE_UPDATE_ENABLED false","platform":"ANDROID"}},{"requiredCapabilities":{}}],"desiredCapabilities":{"appPackage":"com.sixdays.truckerpath.dev","appActivity":"com.sixdays.truckerpath.view.base.SplashActivity","newCommandTimeout":"300","appWaitActivity":"com.sixdays.truckerpath.view.main.MainActivity","takesScreenshot":true,"autoGrantPermissions":true,"platformName":"Android","deviceName":"Android","optionalIntentArguments":"--ez WELCOME_TIP_IS_ACTIVE false --ez SUBSCRIPTION_IS_ACTIVE true --ez SKIP_FILTER_HINT true --ez IS_
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.sixdays.truckerpath.dev","appActivity":"com.sixdays.truckerpath.view.base.SplashActivity","newCommandTimeout":"300","appWaitActivity":"com.sixdays.truckerpath.view.main.MainActivity","takesScreenshot":true,"autoGrantPermissions":true,"platformName":"Android","deviceName":"Android","optionalIntentArguments":"--ez WELCOME_TIP_IS_ACTIVE false --ez SUBSCRIPTION_IS_ACTIVE true --ez SKIP_FILTER_HINT true --ez IS_FORCE_UPDATE_ENABLED false","platform":"ANDROID"},{},[{"desiredCapabilities":{"appPackage":"com.sixdays.truckerpath.dev","appActivity":"com.sixdays.truckerpath.view.base.SplashActivity","newCommandTimeout":"300","appWaitActivity":"com.sixdays.truckerpath.view.main.MainActivity","takesScreenshot":true,"autoGrantPermissions":true,"platformName":"Android","deviceName":"Android","optionalIntentArguments":"--ez WELCOME_TIP_IS_ACTIVE false --ez SUBSCRIPTION_IS_ACTIVE true --ez SKIP_FILTER_HINT true --ez IS_FORCE_UPDATE_ENABLED false","platform":"ANDROID"}},{"requiredCapabilities":{}}],null,...
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1491302324718 (13:38:44 GMT+0300 (MSK))
[Appium] Creating new AndroidDriver (v1.17.0) session
[Appium] Capabilities:
[Appium] appPackage: 'com.sixdays.truckerpath.dev'
[Appium] appActivity: 'com.sixdays.truckerpath.view.base.SplashActivity'
[Appium] newCommandTimeout: '300'
[Appium] appWaitActivity: 'com.sixdays.truckerpath.view.main.MainActivity'
[Appium] takesScreenshot: true
[Appium] autoGrantPermissions: true
[Appium] platformName: 'Android'
[Appium] deviceName: 'Android'
[Appium] optionalIntentArguments: '--ez WELCOME_TIP_IS_ACTIVE false --ez SUBSCRIPTION_IS_ACTIVE true --ez SKIP_FILTER_HINT true --ez IS_FORCE_UPDATE_ENABLED false'
[Appium] platform: 'ANDROID'
[debug] [AndroidDriver] AndroidDriver version: 1.17.0
[BaseDriver] Capability 'newCommandTimeout' changed from string ('300') to integer (300). This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: takesScreenshot, platform.
[BaseDriver] Session created with session id: 8b942e08-6352-4565-927e-2b601cf9c864
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_121
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/egorvas/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: bb4ac01d
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/egorvas/Library/Android/sdk/platform-tools/adb
[debug] [ADB] Setting device id to bb4ac01d
[AndroidDriver] App file was not listed, instead we're going to run com.sixdays.truckerpath.dev 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 '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","pm","list","packages","com.sixdays.truckerpath.dev"]
[AndroidDriver] Starting Android session
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 22
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","settings","put","secure","mock_location","1"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': Redmi Note 3
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': Xiaomi
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","am","force-stop","com.sixdays.truckerpath.dev"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","pm","clear","com.sixdays.truckerpath.dev"]
[debug] [ADB] Device API level: 22
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","dumpsys","package","com.sixdays.truckerpath.dev"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","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 '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","push","/usr/local/lib/node_modules/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 '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","bb4ac01d","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.sixdays.truckerpath.dev","-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 '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 22
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/egorvas/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","bb4ac01d","shell","am","start","-W","-n","com.sixdays.truckerpath.dev/com.sixdays.truckerpath.view.base.SplashActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000","--ez","WELCOME_TIP_IS_ACTIVE","false","--ez","SUBSCRIPTION_IS_ACTIVE","true","--ez","SKIP_FILTER_HINT","true","--ez","IS_FORCE_UPDATE_ENABLED","false"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment