Created
May 4, 2017 14:20
-
-
Save jvillacorta/ae758f6662215d6bc7baa9e1614bb849 to your computer and use it in GitHub Desktop.
Single Task Issue Appium 1.6.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Appium] Welcome to Appium v1.6.3 (REV c07e8fb753e389453c8466cf99959fcd74c39016) | |
[Appium] Non-default server args: | |
[Appium] logNoColors: true | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"Nexus 5","udid":"0b3aa18d02bb86e3","app":"/Users/xxx/zzz-qa-tools/Automation_Scripts/apps/android_u4.4.0_a4.4.0-rc.9_637.apk","noReset":true,"newCommandTimeout":1800,"platformVersion":"6.0","appPackage":"com.yyy.unitytest","platformName":"android","appActivity":"com.unity3d.player.UnityPlayerActivity"}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"Nexus 5","udid":"0b3aa18d02bb86e3","app":"/Users/xxx/zzz-qa-tools/Automation_Scripts/apps/android_u4.4.0_a4.4.0-rc.9_637.apk","noReset":true,"newCommandTimeout":1800,"platformVersion":"6.0","appPackage":"com.yyy.unitytest","platformName":"android","appActivity":"com.unity3d.player.UnityPlayerActivity"},{},null,null,null] | |
[Appium] Creating new AndroidDriver session | |
[Appium] Capabilities: | |
[Appium] deviceName: 'Nexus 5' | |
[Appium] udid: '0b3aa18d02bb86e3' | |
[Appium] app: '/Users/xxx/zzz-qa-tools/Automation_Scripts/apps/android_u4.4.0_a4.4.0-rc.9_637.apk' | |
[Appium] noReset: true | |
[Appium] newCommandTimeout: 1800 | |
[Appium] platformVersion: '6.0' | |
[Appium] appPackage: 'com.yyy.unitytest' | |
[Appium] platformName: 'android' | |
[Appium] appActivity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [AndroidDriver] AndroidDriver version: 1.10.38 | |
[BaseDriver] Session created with session id: ab0aca62-7afd-43b9-9dcf-f719b63ef13f | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_121 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/xxx/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: 0b3aa18d02bb86e3 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/xxx/Library/Android/sdk/platform-tools/adb | |
[debug] [ADB] Setting device id to 0b3aa18d02bb86e3 | |
[BaseDriver] Using local app '/Users/xxx/zzz-qa-tools/Automation_Scripts/apps/android_u4.4.0_a4.4.0-rc.9_637.apk' | |
[debug] [AndroidDriver] Checking whether app is actually present | |
[AndroidDriver] Starting Android session | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","install","/Users/xxx/zzz-qa-tools/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/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","install","/Users/xxx/zzz-qa-tools/node_modules/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 '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[AndroidDriver] Remote apk path is /data/local/tmp/2ce458389316f75b92ba54913cb40585.apk | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","ls","/data/local/tmp/2ce458389316f75b92ba54913cb40585.apk"] | |
[debug] [AndroidDriver] Checking if app is installed | |
[debug] [ADB] Getting install status for com.yyy.unitytest | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","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/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","pm","list","packages","-3","com.yyy.unitytest"] | |
[debug] [ADB] App is not installed | |
[AndroidDriver] Apk is not yet installed | |
[AndroidDriver] installing apk from remote | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","mkdir","-p","/data/local/tmp"] | |
[AndroidDriver] Clearing out any existing remote apks with the same hash | |
[debug] [AndroidDriver] Removing any old apks | |
[debug] [AndroidDriver] Except ["2ce458389316f75b92ba54913cb40585"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","ls","/data/local/tmp/*.apk"] | |
[debug] [ADB] Uninstalling com.yyy.unitytest | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","am","force-stop","com.yyy.unitytest"] | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","uninstall","com.yyy.unitytest"] | |
[ADB] App was not uninstalled, maybe it wasn't on device? | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","pm","install","-r","/data/local/tmp/2ce458389316f75b92ba54913cb40585.apk"] | |
[debug] [AndroidDriver] Extracting strings from apk /Users/xxx/zzz-qa-tools/Automation_Scripts/apps/android_u4.4.0_a4.4.0-rc.9_637.apk null /var/folders/c2/_tmlmtjd5b944l7gfm4cglsc0000gp/T/com.yyy.unitytest | |
[debug] [ADB] Extracting strings for language: default | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","getprop","persist.sys.locale"] | |
[debug] [ADB] Current device property 'persist.sys.locale': en-US | |
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml | |
[debug] [ADB] Reading strings from converted strings.json | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","push","/var/folders/c2/_tmlmtjd5b944l7gfm4cglsc0000gp/T/com.yyy.unitytest/strings.json","/data/local/tmp"] | |
[debug] [AndroidBootstrap] Watching for bootstrap disconnect | |
[debug] [ADB] Forwarding system: 4724 to device: 4724 | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","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/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","push","/Users/xxx/zzz-qa-tools/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/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","ps"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Starting UIAutomator | |
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.yyy.unitytest","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] | |
[debug] [UiAutomator] Moving to state 'online' | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete. | |
[AndroidBootstrap] Android bootstrap socket is now connected | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","am","start","-W","-n","com.yyy.unitytest/com.unity3d.player.UnityPlayerActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[Appium] New AndroidDriver session created successfully, session ab0aca62-7afd-43b9-9dcf-f719b63ef13f added to master session list | |
[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":{"deviceName":"Nexus 5","udid":"0b3aa18d02bb86e3","app":"/Users/xxx/zzz-qa-tools/Automation_Scripts/apps/android_u4.4.0_a4.4.0-rc.9_637.apk","noReset":true,"newCommandTimeout":1800,"platformVersion":"6.0","appPackage":"com.yyy.unitytest","platformName":"android","appActivity":"com.unity3d.player.UnityPlayerActivity"},"deviceName":"0b3aa18d02bb86e3","udid":"0b3aa18d02bb86e3","app":"/Users/xxx/zzz-qa-tools/Automation_Scripts/apps/android_u4.4.0_a4.4.0-rc.9_637.apk","noReset":true,"newCommandTimeout":1800,"platformVersion":"6.0","appPackage":"com.yyy.unitytest","platformName":"android","appActivity":"com.unity3d.player.UnityPlayerActivity","deviceUDID":"0b3aa18d02bb86e3"} | |
[HTTP] <-- POST /wd/hub/session 200 32245 ms - 968 | |
[HTTP] --> GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity {} | |
[debug] [MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.android.packageinstaller.permission.ui.GrantPermissionsActivity" | |
[HTTP] <-- GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity 200 140 ms - 141 | |
[HTTP] --> POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/element {"using":"id","sessionId":"ab0aca62-7afd-43b9-9dcf-f719b63ef13f","value":"com.android.packageinstaller:id/permission_allow_button"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android.packageinstaller:id/permission_allow_button","ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[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 | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.android.packageinstaller:id/permission_allow_button' using 'ID' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.packageinstaller:id/permission_allow_button] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"} | |
[HTTP] <-- POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/element 200 201 ms - 87 | |
[HTTP] --> POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/element/1/click {"sessionId":"ab0aca62-7afd-43b9-9dcf-f719b63ef13f","id":"1"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["1","ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/element/1/click 200 149 ms - 76 | |
[HTTP] --> GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity {} | |
[debug] [MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.android.packageinstaller.permission.ui.GrantPermissionsActivity" | |
[HTTP] <-- GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity 200 112 ms - 141 | |
[HTTP] --> POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/element {"using":"id","sessionId":"ab0aca62-7afd-43b9-9dcf-f719b63ef13f","value":"com.android.packageinstaller:id/permission_allow_button"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android.packageinstaller:id/permission_allow_button","ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[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 | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.android.packageinstaller:id/permission_allow_button' using 'ID' with the contextId: '' multiple: false | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.packageinstaller:id/permission_allow_button] | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"} | |
[HTTP] <-- POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/element 200 1186 ms - 87 | |
[HTTP] --> POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/element/2/click {"sessionId":"ab0aca62-7afd-43b9-9dcf-f719b63ef13f","id":"2"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["2","ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"2"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/element/2/click 200 3124 ms - 76 | |
[HTTP] --> GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity {} | |
[debug] [MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.unity3d.player.UnityPlayerActivity" | |
[HTTP] <-- GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity 200 168 ms - 112 | |
[HTTP] --> GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity {} | |
[debug] [MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.unity3d.player.UnityPlayerActivity" | |
[HTTP] <-- GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity 200 151 ms - 112 | |
[HTTP] --> GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity {} | |
[debug] [MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.unity3d.player.UnityPlayerActivity" | |
[HTTP] <-- GET /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/device/current_activity 200 197 ms - 112 | |
[HTTP] --> POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/app/background {"seconds":1,"sessionId":"ab0aca62-7afd-43b9-9dcf-f719b63ef13f"} | |
[debug] [MJSONWP] Calling AppiumDriver.background() with args: [1,"ab0aca62-7afd-43b9-9dcf-f719b63ef13f"] | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Pressing the HOME button | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","input","keyevent",3] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","am","start","-W","-n","com.yyy.unitytest/com.unity3d.player.UnityPlayerActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Waiting for pkg: 'com.yyy.unitytest' and activity: 'com.yyy.android.marketing.internal.test.testManagementActivity' to be focused | |
[debug] [ADB] Possible activities, to be checked: com.yyy.android.marketing.internal.test.testManagementActivity, .com.yyy.android.marketing.internal.test.testManagementActivity | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[debug] [ADB] Getting focused package and activity | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/xxx/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0b3aa18d02bb86e3","shell","dumpsys","window","windows"] | |
[debug] [ADB] Found package: 'com.yyy.unitytest' and activity: 'com.unity3d.player.UnityPlayerActivity' | |
[debug] [ADB] Incorrect package and activity. Retrying. | |
[ADB] Error: com.yyy.unitytest/com.yyy.android.marketing.internal.test.testManagementActivity or .com.yyy.android.marketing.internal.test.testManagementActivity never started | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:142:7) | |
at tryCatch (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
Error: com.yyy.unitytest/com.yyy.android.marketing.internal.test.testManagementActivity or .com.yyy.android.marketing.internal.test.testManagementActivity never started | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:142:7) | |
at tryCatch (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
[ADB] Error: Error occured while starting App. Original error: com.yyy.unitytest/com.yyy.android.marketing.internal.test.testManagementActivity or .com.yyy.android.marketing.internal.test.testManagementActivity never started | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:80:9) | |
at tryCatch (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
Error: Error occured while starting App. Original error: com.yyy.unitytest/com.yyy.android.marketing.internal.test.testManagementActivity or .com.yyy.android.marketing.internal.test.testManagementActivity never started | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:80:9) | |
at tryCatch (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
[MJSONWP] Encountered internal error running command: Error: Error occured while starting App. Original error: com.yyy.unitytest/com.yyy.android.marketing.internal.test.testManagementActivity or .com.yyy.android.marketing.internal.test.testManagementActivity never started | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:80:9) | |
at tryCatch (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/Users/xxx/zzz-qa-tools/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
[HTTP] <-- POST /wd/hub/session/ab0aca62-7afd-43b9-9dcf-f719b63ef13f/appium/app/background 500 26023 ms - 414 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment