Created
May 17, 2019 23:00
-
-
Save JeanCarlosChavarriaHughes/4376e77a11792be3f34455625e09057d to your computer and use it in GitHub Desktop.
Appium ADB Mobile Shell
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
The server is running | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8207/wd/hub/status] with no body | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" | |
[JSONWP Proxy] Matched '/session' to command name 'createSession' | |
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8207/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDesti... | |
[JSONWP Proxy] Got response with status 200: {"sessionId":"9ae59b2a-6d68-436e-a00d-76997379c3e6","status":0,"value":"Created Session"} | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys window' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity'. Starting it ourselves | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am start -W -n com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity -S' | |
[JSONWP Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8207/wd/hub/session/9ae59b2a-6d68-436e-a00d-76997379c3e6/appium/device/pixel_ratio] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"9ae59b2a-6d68-436e-a00d-76997379c3e6\",\"status\":0,\"value\":3}" | |
[JSONWP Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' | |
[JSONWP Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8207/wd/hub/session/9ae59b2a-6d68-436e-a00d-76997379c3e6/appium/device/system_bars] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"9ae59b2a-6d68-436e-a00d-76997379c3e6\",\"status\":0,\"value\":{\"statusBar\":72}}" | |
[JSONWP Proxy] Matched '/window/current/size' to command name 'getWindowSize' | |
[JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8207/wd/hub/session/9ae59b2a-6d68-436e-a00d-76997379c3e6/window/current/size] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"9ae59b2a-6d68-436e-a00d-76997379c3e6\",\"status\":0,\"value\":{\"height\":1920,\"width\":1080}}" | |
[Appium] New AndroidUiautomator2Driver session created successfully, session 2d7bd9b3-d63e-4689-896e-2024ebab3f4c added to master session list | |
[BaseDriver] Event 'newSessionStarted' logged at 1558133463574 (16:51:03 GMT-0600 (CST)) | |
[W3C] Cached the protocol value 'W3C' for the new session 2d7bd9b3-d63e-4689-896e-2024ebab3f4c | |
[W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/... | |
[HTTP] <-- POST /wd/hub/session 200 25539 ms - 1480 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/2d7bd9b3-d63e-4689-896e-2024ebab3f4c/execute/sync | |
[HTTP] {"sessionId":"2d7bd9b3-d63e-4689-896e-2024ebab3f4c","args":[{"includeStderr":true,"command":"settings put global http_proxy192.168.1.106:8888","timeout":5000}],"script":"mobile shell"} | |
[W3C] Calling AppiumDriver.execute() with args: ["mobile shell",[{"includeStderr":true,"command":"settings put global http_proxy192.168.1.106:8888","timeout":5000}],"2d7bd9b3-d63e-4689-896e-2024ebab3f4c"] | |
[W3C] Encountered internal error running command: NotImplementedError: Method is not implemented | |
[W3C] at AndroidUiautomator2Driver.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/commands/execute.js:12:9) | |
[W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
[W3C] at enqueueResult (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
[W3C] at new Promise (/Applications/Appium.app/Contents/Resources/app/webpack:/~/babel-polyfill/~/core-js/modules/es6.promise.js:177:1) | |
[W3C] at new F (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36) | |
[W3C] at AsyncIterator.enqueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
[W3C] at AsyncIterator.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at Object.runtime.async (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
[W3C] at AndroidUiautomator2Driver.callee$0$0 [as execute] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/build/lib/commands/execute.js:20:30) | |
[W3C] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:296:26 | |
[W3C] at tryCatcher (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/util.js:26:23) | |
[W3C] at Promise._settlePromiseFromHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:510:31) | |
[W3C] at Promise._settlePromiseAt (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:584:18) | |
[W3C] at Promise._settlePromiseAtPostResolution (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:248:10) | |
[W3C] at Async._drainQueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:128:12) | |
[W3C] at Async._drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:133:10) | |
[W3C] at Immediate.Async.drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:15:14) | |
[W3C] at runCallback (timers.js:696:18) | |
[W3C] at tryOnImmediate (timers.js:667:5) | |
[W3C] at processImmediate (timers.js:649:5) | |
[HTTP] <-- POST /wd/hub/session/2d7bd9b3-d63e-4689-896e-2024ebab3f4c/execute/sync 405 5 ms - 3642 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"firstMatch":[{"appium:appActivity":"com.akamai.analytics.akamaimedia.MainActivity","appium:deviceName":"32085837886f5101","appium:deviceModel":"SM-G900H","appium:fullReset":"false","appium:automationName":"UiAutomator2","appium:newCommandTimeout":10000,"appium:app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appium:appPackage":"com.akamai.analytics.akamaimedia","appium:platformVersion":"6.0.1","appium:noResetValue":"true","platformName":"android","appium:deviceManufacturer":"samsung"}]},"desiredCapabilities":{"deviceName":"32085837886f5101","fullReset":"false","deviceModel":"SM-G900H","noResetValue":"true","automationName":"UiAutomator2","deviceManufacturer":"samsung","newCommandTimeout":10000,"platformVersion":"6.0.1","appPackage":"com.akamai.analytics.akamaimedia","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","platformName":"android","app":"http://proje | |
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"32085837886f5101","fullReset":"false","deviceModel":"SM-G900H","noResetValue":"true","automationName":"UiAutomator2","deviceManufacturer":"samsung","newCommandTimeout":10000,"platformVersion":"6.0.1","appPackage":"com.akamai.analytics.akamaimedia","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","platformName":"android","app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk"},null,{"firstMatch":[{"appium:appActivity":"com.akamai.analytics.akamaimedia.MainActivity","appium:deviceName":"32085837886f5101","appium:deviceModel":"SM-G900H","appium:fullReset":"false","appium:automationName":"UiAutomator2","appium:newCommandTimeout":10000,"appium:app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appium:appPackage":"com.akamai.analytics.akamaimedia","appium:platformVersion":"6.0.1","appium:noResetVal... | |
[BaseDriver] Event 'newSessionRequested' logged at 1558133490596 (16:51:30 GMT-0600 (CST)) | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[Appium] Creating new AndroidUiautomator2Driver (v1.19.0) session | |
[Appium] Capabilities: | |
[Appium] platformName: android | |
[Appium] appActivity: com.akamai.analytics.akamaimedia.MainActivity | |
[Appium] deviceName: 32085837886f5101 | |
[Appium] deviceModel: SM-G900H | |
[Appium] fullReset: false | |
[Appium] automationName: UiAutomator2 | |
[Appium] newCommandTimeout: 10000 | |
[Appium] app: http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk | |
[Appium] appPackage: com.akamai.analytics.akamaimedia | |
[Appium] platformVersion: 6.0.1 | |
[Appium] noResetValue: true | |
[Appium] deviceManufacturer: samsung | |
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument | |
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"32085837886f... were provided | |
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceModel, noResetValue, deviceManufacturer. | |
[BaseDriver] Session created with session id: 7da387c5-cb79-4cdf-9519-5499490cd7b0 | |
[BaseDriver] Using downloadable app 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' | |
[BaseDriver] 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' downloaded to '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk' | |
[BaseDriver] Downloaded file type 'application/vnd.android.package-archive' | |
[BaseDriver] Downloaded the app to '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk' | |
[BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' | |
[BaseDriver] Skipping 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' caching, because the HEAD response didn't return any valid Last-Modified headers | |
[UiAutomator2] Checking whether app is actually present | |
[AndroidDriver] Java version is: 1.8.0_181 | |
[AndroidDriver] Retrieving device list | |
[ADB] Trying to find a connected android device | |
[ADB] Getting connected devices... | |
[ADB] 2 device(s) connected | |
[AndroidDriver] Looking for a device with Android '6.0.1' | |
[ADB] Setting device id to 32085837886f5101 | |
[ADB] Getting device platform version | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[AndroidDriver] Using device: 32085837886f5101 | |
[ADB] Setting device id to 32085837886f5101 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.sdk' | |
[ADB] Current device property 'ro.build.version.sdk': 23 | |
[ADB] Device API level: 23 | |
[ADB] Getting device platform version | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell wm size' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell wm density' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.product.model' | |
[ADB] Current device property 'ro.product.model': SM-G900H | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.product.manufacturer' | |
[ADB] Current device property 'ro.product.manufacturer': samsung | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] [UIAutomator2] | |
[UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:INSTRUMENTATION_RESULT: shortMsg=Process crashed. | |
[UiAutomator2] [UIAutomator2] INSTRUMENTATION_CODE: 0 | |
[ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[ADB] WARNING: META-INF/INDEX.LIST not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/io.netty.versions.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] | |
[ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk' is already signed. | |
[ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[ADB] | |
[ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is already signed. | |
[ADB] Getting install status for io.appium.uiautomator2.server | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.uiautomator2.server' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.uiautomator2.server' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.uiautomator2.server' | |
[ADB] The installed 'io.appium.uiautomator2.server' package does not require upgrade ('1.18.0' >= '1.18.0') | |
[ADB] Getting install status for io.appium.uiautomator2.server.test | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.uiautomator2.server.test' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.uiautomator2.server.test' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version codes of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version names of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test'. Assuming correct app version is already installed | |
[UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list instrumentation' | |
[UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 wait-for-device' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell echo ping' | |
[AndroidDriver] Pushing settings apk to device... | |
[ADB] Getting install status for io.appium.settings | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.settings' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.settings' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.settings' | |
[ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0') | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell ps' | |
[AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell appops set io.appium.settings android\:mock_location allow' | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'undefined' and country: 'undefined' | |
[Logcat] Starting logcat capture | |
[AndroidDriver] Pushing unlock helper app to device... | |
[ADB] Getting install status for io.appium.unlock | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.unlock' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.unlock' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.unlock' | |
[ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0') | |
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8208 | |
[ADB] Forwarding system: 8208 to device: 6790 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 forward tcp\:8208 tcp\:6790' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell rm -rf /data/local/tmp/strings.json' | |
[AndroidDriver] Extracting strings from apk | |
[AndroidDriver] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk | |
[AndroidDriver] undefined | |
[AndroidDriver] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/com.akamai.analytics.akamaimedia | |
[ADB] Extracting strings for language: default | |
[ADB] Successfully extracted 85 strings from '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk' resources for '(default)' configuration | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 push /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/com.akamai.analytics.akamaimedia/strings.json /data/local/tmp' | |
[ADB] Checking app cert for /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug | |
[ADB] Signer #1 certificate SHA-256 digest: 8065111b77b3433d91e4f60d9c4149410e1d588127456a921187d7d451a7260d | |
[ADB] Signer #1 certificate SHA-1 digest: 574a12414ce708dd0941771ff3600eeaa18c7607 | |
[ADB] Signer #1 certificate MD5 digest: f54398323bf278114379372925dc4f8d | |
[ADB] WARNING: META-INF/android.arch.core_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_livedata-core.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_viewmodel.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_animated-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_appcompat-v7.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-compat.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-core-ui.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-core-utils.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-fragment.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] | |
[ADB] '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk' is not signed with debug cert. | |
[ADB] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk' is already zip-aligned. Doing nothing | |
[ADB] Signing '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk' with default cert | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["sign","--key","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/keys/testkey.pk8","--cert","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/keys/testkey.x509.pem","/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-jzejwy.ryjt/appium-app.apk"]' | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Getting package info for 'com.akamai.analytics.akamaimedia' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package com.akamai.analytics.akamaimedia' | |
[ADB] The installed 'com.akamai.analytics.akamaimedia' package does not require upgrade ('1.0.0' >= '1.0.0') | |
[AndroidDriver] Performing fast reset on 'com.akamai.analytics.akamaimedia' | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop com.akamai.analytics.akamaimedia' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm clear com.akamai.analytics.akamaimedia' | |
[AndroidDriver] Performed fast reset on the installed 'com.akamai.analytics.akamaimedia' application (stop and clear) | |
[ADB] Getting all processes with uiautomator | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell ps' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] Starting uiautomator2 server 1.18.0 | |
[UiAutomator2] Using UIAutomator2 server from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk' and test from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' | |
[UiAutomator2] Running command: 'adb -s 32085837886f5101 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' | |
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8208/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8208/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8208/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8208/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8208/wd/hub/status] with no body | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" | |
[JSONWP Proxy] Matched '/session' to command name 'createSession' | |
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8208/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDesti... | |
[JSONWP Proxy] Got response with status 200: {"sessionId":"bab77e69-9fe9-442f-bbf8-00fd24e97a1f","status":0,"value":"Created Session"} | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys window' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity'. Starting it ourselves | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am start -W -n com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity -S' | |
[JSONWP Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8208/wd/hub/session/bab77e69-9fe9-442f-bbf8-00fd24e97a1f/appium/device/pixel_ratio] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"bab77e69-9fe9-442f-bbf8-00fd24e97a1f\",\"status\":0,\"value\":3}" | |
[JSONWP Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' | |
[JSONWP Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8208/wd/hub/session/bab77e69-9fe9-442f-bbf8-00fd24e97a1f/appium/device/system_bars] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"bab77e69-9fe9-442f-bbf8-00fd24e97a1f\",\"status\":0,\"value\":{\"statusBar\":72}}" | |
[JSONWP Proxy] Matched '/window/current/size' to command name 'getWindowSize' | |
[JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8208/wd/hub/session/bab77e69-9fe9-442f-bbf8-00fd24e97a1f/window/current/size] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"bab77e69-9fe9-442f-bbf8-00fd24e97a1f\",\"status\":0,\"value\":{\"height\":1920,\"width\":1080}}" | |
[Appium] New AndroidUiautomator2Driver session created successfully, session 7da387c5-cb79-4cdf-9519-5499490cd7b0 added to master session list | |
[BaseDriver] Event 'newSessionStarted' logged at 1558133515371 (16:51:55 GMT-0600 (CST)) | |
[W3C] Cached the protocol value 'W3C' for the new session 7da387c5-cb79-4cdf-9519-5499490cd7b0 | |
[W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/... | |
[HTTP] <-- POST /wd/hub/session 200 24778 ms - 1480 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/7da387c5-cb79-4cdf-9519-5499490cd7b0/execute/sync | |
[HTTP] {"sessionId":"7da387c5-cb79-4cdf-9519-5499490cd7b0","args":[{"includeStderr":true,"command":"settings put global http_proxy 192.168.1.106:8888","timeout":5000}],"script":"mobile shell"} | |
[W3C] Calling AppiumDriver.execute() with args: ["mobile shell",[{"includeStderr":true,"command":"settings put global http_proxy 192.168.1.106:8888","timeout":5000}],"7da387c5-cb79-4cdf-9519-5499490cd7b0"] | |
[W3C] Encountered internal error running command: NotImplementedError: Method is not implemented | |
[W3C] at AndroidUiautomator2Driver.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/commands/execute.js:12:9) | |
[W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
[W3C] at enqueueResult (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
[W3C] at new Promise (/Applications/Appium.app/Contents/Resources/app/webpack:/~/babel-polyfill/~/core-js/modules/es6.promise.js:177:1) | |
[W3C] at new F (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36) | |
[W3C] at AsyncIterator.enqueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
[W3C] at AsyncIterator.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at Object.runtime.async (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
[W3C] at AndroidUiautomator2Driver.callee$0$0 [as execute] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/build/lib/commands/execute.js:20:30) | |
[W3C] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:296:26 | |
[W3C] at tryCatcher (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/util.js:26:23) | |
[W3C] at Promise._settlePromiseFromHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:510:31) | |
[W3C] at Promise._settlePromiseAt (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:584:18) | |
[W3C] at Promise._settlePromiseAtPostResolution (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:248:10) | |
[W3C] at Async._drainQueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:128:12) | |
[W3C] at Async._drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:133:10) | |
[W3C] at Immediate.Async.drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:15:14) | |
[W3C] at runCallback (timers.js:696:18) | |
[W3C] at tryOnImmediate (timers.js:667:5) | |
[W3C] at processImmediate (timers.js:649:5) | |
[HTTP] <-- POST /wd/hub/session/7da387c5-cb79-4cdf-9519-5499490cd7b0/execute/sync 405 10 ms - 3642 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"firstMatch":[{"appium:appActivity":"com.akamai.analytics.akamaimedia.MainActivity","appium:deviceName":"32085837886f5101","appium:deviceModel":"SM-G900H","appium:fullReset":"false","appium:automationName":"UiAutomator2","appium:newCommandTimeout":10000,"appium:app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appium:appPackage":"com.akamai.analytics.akamaimedia","appium:platformVersion":"6.0.1","appium:noResetValue":"true","platformName":"android","appium:deviceManufacturer":"samsung"}]},"desiredCapabilities":{"deviceName":"32085837886f5101","fullReset":"false","deviceModel":"SM-G900H","noResetValue":"true","automationName":"UiAutomator2","deviceManufacturer":"samsung","newCommandTimeout":10000,"platformVersion":"6.0.1","appPackage":"com.akamai.analytics.akamaimedia","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","platformName":"android","app":"http://proje | |
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"32085837886f5101","fullReset":"false","deviceModel":"SM-G900H","noResetValue":"true","automationName":"UiAutomator2","deviceManufacturer":"samsung","newCommandTimeout":10000,"platformVersion":"6.0.1","appPackage":"com.akamai.analytics.akamaimedia","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","platformName":"android","app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk"},null,{"firstMatch":[{"appium:appActivity":"com.akamai.analytics.akamaimedia.MainActivity","appium:deviceName":"32085837886f5101","appium:deviceModel":"SM-G900H","appium:fullReset":"false","appium:automationName":"UiAutomator2","appium:newCommandTimeout":10000,"appium:app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appium:appPackage":"com.akamai.analytics.akamaimedia","appium:platformVersion":"6.0.1","appium:noResetVal... | |
[BaseDriver] Event 'newSessionRequested' logged at 1558133525851 (16:52:05 GMT-0600 (CST)) | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[Appium] Creating new AndroidUiautomator2Driver (v1.19.0) session | |
[Appium] Capabilities: | |
[Appium] platformName: android | |
[Appium] appActivity: com.akamai.analytics.akamaimedia.MainActivity | |
[Appium] deviceName: 32085837886f5101 | |
[Appium] deviceModel: SM-G900H | |
[Appium] fullReset: false | |
[Appium] automationName: UiAutomator2 | |
[Appium] newCommandTimeout: 10000 | |
[Appium] app: http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk | |
[Appium] appPackage: com.akamai.analytics.akamaimedia | |
[Appium] platformVersion: 6.0.1 | |
[Appium] noResetValue: true | |
[Appium] deviceManufacturer: samsung | |
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument | |
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"32085837886f... were provided | |
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceModel, noResetValue, deviceManufacturer. | |
[BaseDriver] Session created with session id: 4ea4f6bc-a83b-4eb6-b961-d3a862b763d4 | |
[BaseDriver] Using downloadable app 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' | |
[BaseDriver] 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' downloaded to '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk' | |
[BaseDriver] Downloaded file type 'application/vnd.android.package-archive' | |
[BaseDriver] Downloaded the app to '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk' | |
[BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' | |
[BaseDriver] Skipping 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' caching, because the HEAD response didn't return any valid Last-Modified headers | |
[UiAutomator2] Checking whether app is actually present | |
[AndroidDriver] Java version is: 1.8.0_181 | |
[AndroidDriver] Retrieving device list | |
[ADB] Trying to find a connected android device | |
[ADB] Getting connected devices... | |
[ADB] 1 device(s) connected | |
[AndroidDriver] Looking for a device with Android '6.0.1' | |
[ADB] Setting device id to 32085837886f5101 | |
[ADB] Getting device platform version | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[AndroidDriver] Using device: 32085837886f5101 | |
[ADB] Setting device id to 32085837886f5101 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.sdk' | |
[ADB] Current device property 'ro.build.version.sdk': 23 | |
[ADB] Device API level: 23 | |
[ADB] Getting device platform version | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell wm size' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell wm density' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.product.model' | |
[ADB] Current device property 'ro.product.model': SM-G900H | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.product.manufacturer' | |
[ADB] Current device property 'ro.product.manufacturer': samsung | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] [UIAutomator2] | |
[UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:INSTRUMENTATION_RESULT: shortMsg=Process crashed. | |
[UiAutomator2] [UIAutomator2] INSTRUMENTATION_CODE: 0 | |
[ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[ADB] WARNING: META-INF/INDEX.LIST not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/io.netty.versions.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] | |
[ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk' is already signed. | |
[ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[ADB] | |
[ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is already signed. | |
[ADB] Getting install status for io.appium.uiautomator2.server | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.uiautomator2.server' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.uiautomator2.server' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.uiautomator2.server' | |
[ADB] The installed 'io.appium.uiautomator2.server' package does not require upgrade ('1.18.0' >= '1.18.0') | |
[ADB] Getting install status for io.appium.uiautomator2.server.test | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.uiautomator2.server.test' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.uiautomator2.server.test' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version codes of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version names of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test'. Assuming correct app version is already installed | |
[UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list instrumentation' | |
[UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 wait-for-device' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell echo ping' | |
[AndroidDriver] Pushing settings apk to device... | |
[ADB] Getting install status for io.appium.settings | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.settings' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.settings' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.settings' | |
[ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0') | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell ps' | |
[AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell appops set io.appium.settings android\:mock_location allow' | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'undefined' and country: 'undefined' | |
[Logcat] Starting logcat capture | |
[AndroidDriver] Pushing unlock helper app to device... | |
[ADB] Getting install status for io.appium.unlock | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.unlock' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.unlock' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.unlock' | |
[ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0') | |
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8209 | |
[ADB] Forwarding system: 8209 to device: 6790 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 forward tcp\:8209 tcp\:6790' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell rm -rf /data/local/tmp/strings.json' | |
[AndroidDriver] Extracting strings from apk | |
[AndroidDriver] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk | |
[AndroidDriver] undefined | |
[AndroidDriver] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/com.akamai.analytics.akamaimedia | |
[ADB] Extracting strings for language: default | |
[ADB] Successfully extracted 85 strings from '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk' resources for '(default)' configuration | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 push /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/com.akamai.analytics.akamaimedia/strings.json /data/local/tmp' | |
[ADB] Checking app cert for /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug | |
[ADB] Signer #1 certificate SHA-256 digest: 8065111b77b3433d91e4f60d9c4149410e1d588127456a921187d7d451a7260d | |
[ADB] Signer #1 certificate SHA-1 digest: 574a12414ce708dd0941771ff3600eeaa18c7607 | |
[ADB] Signer #1 certificate MD5 digest: f54398323bf278114379372925dc4f8d | |
[ADB] WARNING: META-INF/android.arch.core_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_livedata-core.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_viewmodel.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_animated-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_appcompat-v7.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-compat.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-core-ui.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-core-utils.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-fragment.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] | |
[ADB] '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk' is not signed with debug cert. | |
[ADB] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk' is already zip-aligned. Doing nothing | |
[ADB] Signing '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk' with default cert | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["sign","--key","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/keys/testkey.pk8","--cert","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/keys/testkey.x509.pem","/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-ju2r5j.n9izg/appium-app.apk"]' | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Getting package info for 'com.akamai.analytics.akamaimedia' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package com.akamai.analytics.akamaimedia' | |
[ADB] The installed 'com.akamai.analytics.akamaimedia' package does not require upgrade ('1.0.0' >= '1.0.0') | |
[AndroidDriver] Performing fast reset on 'com.akamai.analytics.akamaimedia' | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop com.akamai.analytics.akamaimedia' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm clear com.akamai.analytics.akamaimedia' | |
[AndroidDriver] Performed fast reset on the installed 'com.akamai.analytics.akamaimedia' application (stop and clear) | |
[ADB] Getting all processes with uiautomator | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell ps' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] Starting uiautomator2 server 1.18.0 | |
[UiAutomator2] Using UIAutomator2 server from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk' and test from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' | |
[UiAutomator2] Running command: 'adb -s 32085837886f5101 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' | |
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8209/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8209/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8209/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8209/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8209/wd/hub/status] with no body | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" | |
[JSONWP Proxy] Matched '/session' to command name 'createSession' | |
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8209/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDesti... | |
[JSONWP Proxy] Got response with status 200: {"sessionId":"6edef2ff-f6a6-421f-8086-d73df5554988","status":0,"value":"Created Session"} | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys window' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity'. Starting it ourselves | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am start -W -n com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity -S' | |
[JSONWP Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8209/wd/hub/session/6edef2ff-f6a6-421f-8086-d73df5554988/appium/device/pixel_ratio] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"6edef2ff-f6a6-421f-8086-d73df5554988\",\"status\":0,\"value\":3}" | |
[JSONWP Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' | |
[JSONWP Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8209/wd/hub/session/6edef2ff-f6a6-421f-8086-d73df5554988/appium/device/system_bars] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"6edef2ff-f6a6-421f-8086-d73df5554988\",\"status\":0,\"value\":{\"statusBar\":72}}" | |
[JSONWP Proxy] Matched '/window/current/size' to command name 'getWindowSize' | |
[JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8209/wd/hub/session/6edef2ff-f6a6-421f-8086-d73df5554988/window/current/size] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"6edef2ff-f6a6-421f-8086-d73df5554988\",\"status\":0,\"value\":{\"height\":1920,\"width\":1080}}" | |
[Appium] New AndroidUiautomator2Driver session created successfully, session 4ea4f6bc-a83b-4eb6-b961-d3a862b763d4 added to master session list | |
[BaseDriver] Event 'newSessionStarted' logged at 1558133550894 (16:52:30 GMT-0600 (CST)) | |
[W3C] Cached the protocol value 'W3C' for the new session 4ea4f6bc-a83b-4eb6-b961-d3a862b763d4 | |
[W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/... | |
[HTTP] <-- POST /wd/hub/session 200 25046 ms - 1480 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/4ea4f6bc-a83b-4eb6-b961-d3a862b763d4/execute/sync | |
[HTTP] {"sessionId":"4ea4f6bc-a83b-4eb6-b961-d3a862b763d4","args":[{"includeStderr":true,"command":"settings put global http_proxy 192.168.1.106:8888","timeout":5000}],"script":"mobile shell"} | |
[W3C] Calling AppiumDriver.execute() with args: ["mobile shell",[{"includeStderr":true,"command":"settings put global http_proxy 192.168.1.106:8888","timeout":5000}],"4ea4f6bc-a83b-4eb6-b961-d3a862b763d4"] | |
[W3C] Encountered internal error running command: NotImplementedError: Method is not implemented | |
[W3C] at AndroidUiautomator2Driver.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/commands/execute.js:12:9) | |
[W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
[W3C] at enqueueResult (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
[W3C] at new Promise (/Applications/Appium.app/Contents/Resources/app/webpack:/~/babel-polyfill/~/core-js/modules/es6.promise.js:177:1) | |
[W3C] at new F (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36) | |
[W3C] at AsyncIterator.enqueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
[W3C] at AsyncIterator.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at Object.runtime.async (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
[W3C] at AndroidUiautomator2Driver.callee$0$0 [as execute] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/build/lib/commands/execute.js:20:30) | |
[W3C] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:296:26 | |
[W3C] at tryCatcher (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/util.js:26:23) | |
[W3C] at Promise._settlePromiseFromHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:510:31) | |
[W3C] at Promise._settlePromiseAt (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:584:18) | |
[W3C] at Promise._settlePromiseAtPostResolution (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:248:10) | |
[W3C] at Async._drainQueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:128:12) | |
[W3C] at Async._drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:133:10) | |
[W3C] at Immediate.Async.drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:15:14) | |
[W3C] at runCallback (timers.js:696:18) | |
[W3C] at tryOnImmediate (timers.js:667:5) | |
[W3C] at processImmediate (timers.js:649:5) | |
[HTTP] <-- POST /wd/hub/session/4ea4f6bc-a83b-4eb6-b961-d3a862b763d4/execute/sync 405 8 ms - 3642 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"firstMatch":[{"appium:appActivity":"com.akamai.analytics.akamaimedia.MainActivity","appium:deviceName":"32085837886f5101","appium:deviceModel":"SM-G900H","appium:fullReset":"false","appium:automationName":"UiAutomator2","appium:newCommandTimeout":10000,"appium:app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appium:appPackage":"com.akamai.analytics.akamaimedia","appium:platformVersion":"6.0.1","appium:noResetValue":"true","platformName":"android","appium:deviceManufacturer":"samsung"}]},"desiredCapabilities":{"deviceName":"32085837886f5101","fullReset":"false","deviceModel":"SM-G900H","noResetValue":"true","automationName":"UiAutomator2","deviceManufacturer":"samsung","newCommandTimeout":10000,"platformVersion":"6.0.1","appPackage":"com.akamai.analytics.akamaimedia","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","platformName":"android","app":"http://proje | |
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"32085837886f5101","fullReset":"false","deviceModel":"SM-G900H","noResetValue":"true","automationName":"UiAutomator2","deviceManufacturer":"samsung","newCommandTimeout":10000,"platformVersion":"6.0.1","appPackage":"com.akamai.analytics.akamaimedia","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","platformName":"android","app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk"},null,{"firstMatch":[{"appium:appActivity":"com.akamai.analytics.akamaimedia.MainActivity","appium:deviceName":"32085837886f5101","appium:deviceModel":"SM-G900H","appium:fullReset":"false","appium:automationName":"UiAutomator2","appium:newCommandTimeout":10000,"appium:app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appium:appPackage":"com.akamai.analytics.akamaimedia","appium:platformVersion":"6.0.1","appium:noResetVal... | |
[BaseDriver] Event 'newSessionRequested' logged at 1558133874678 (16:57:54 GMT-0600 (CST)) | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[Appium] Creating new AndroidUiautomator2Driver (v1.19.0) session | |
[Appium] Capabilities: | |
[Appium] platformName: android | |
[Appium] appActivity: com.akamai.analytics.akamaimedia.MainActivity | |
[Appium] deviceName: 32085837886f5101 | |
[Appium] deviceModel: SM-G900H | |
[Appium] fullReset: false | |
[Appium] automationName: UiAutomator2 | |
[Appium] newCommandTimeout: 10000 | |
[Appium] app: http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk | |
[Appium] appPackage: com.akamai.analytics.akamaimedia | |
[Appium] platformVersion: 6.0.1 | |
[Appium] noResetValue: true | |
[Appium] deviceManufacturer: samsung | |
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument | |
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"32085837886f... were provided | |
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceModel, noResetValue, deviceManufacturer. | |
[BaseDriver] Session created with session id: 4ce0043e-3ab4-4658-bb00-02129fea4fbb | |
[BaseDriver] Using downloadable app 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' | |
[BaseDriver] 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' downloaded to '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk' | |
[BaseDriver] Downloaded file type 'application/vnd.android.package-archive' | |
[BaseDriver] Downloaded the app to '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk' | |
[BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' | |
[BaseDriver] Skipping 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' caching, because the HEAD response didn't return any valid Last-Modified headers | |
[UiAutomator2] Checking whether app is actually present | |
[AndroidDriver] Java version is: 1.8.0_181 | |
[AndroidDriver] Retrieving device list | |
[ADB] Trying to find a connected android device | |
[ADB] Getting connected devices... | |
[ADB] 1 device(s) connected | |
[AndroidDriver] Looking for a device with Android '6.0.1' | |
[ADB] Setting device id to 32085837886f5101 | |
[ADB] Getting device platform version | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[AndroidDriver] Using device: 32085837886f5101 | |
[ADB] Setting device id to 32085837886f5101 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.sdk' | |
[ADB] Current device property 'ro.build.version.sdk': 23 | |
[ADB] Device API level: 23 | |
[ADB] Getting device platform version | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell wm size' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell wm density' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.product.model' | |
[ADB] Current device property 'ro.product.model': SM-G900H | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.product.manufacturer' | |
[ADB] Current device property 'ro.product.manufacturer': samsung | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] [UIAutomator2] | |
[UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:INSTRUMENTATION_RESULT: shortMsg=Process crashed. | |
[UiAutomator2] [UIAutomator2] INSTRUMENTATION_CODE: 0 | |
[ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[ADB] WARNING: META-INF/INDEX.LIST not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/io.netty.versions.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] | |
[ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk' is already signed. | |
[ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[ADB] | |
[ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is already signed. | |
[ADB] Getting install status for io.appium.uiautomator2.server | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.uiautomator2.server' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.uiautomator2.server' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.uiautomator2.server' | |
[ADB] The installed 'io.appium.uiautomator2.server' package does not require upgrade ('1.18.0' >= '1.18.0') | |
[ADB] Getting install status for io.appium.uiautomator2.server.test | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.uiautomator2.server.test' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.uiautomator2.server.test' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version codes of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version names of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test'. Assuming correct app version is already installed | |
[UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list instrumentation' | |
[UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 wait-for-device' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell echo ping' | |
[AndroidDriver] Pushing settings apk to device... | |
[ADB] Getting install status for io.appium.settings | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.settings' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.settings' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.settings' | |
[ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0') | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell ps' | |
[AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell appops set io.appium.settings android\:mock_location allow' | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'undefined' and country: 'undefined' | |
[Logcat] Starting logcat capture | |
[AndroidDriver] Pushing unlock helper app to device... | |
[ADB] Getting install status for io.appium.unlock | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.unlock' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.unlock' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.unlock' | |
[ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0') | |
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8210 | |
[ADB] Forwarding system: 8210 to device: 6790 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 forward tcp\:8210 tcp\:6790' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell rm -rf /data/local/tmp/strings.json' | |
[AndroidDriver] Extracting strings from apk | |
[AndroidDriver] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk | |
[AndroidDriver] undefined | |
[AndroidDriver] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/com.akamai.analytics.akamaimedia | |
[ADB] Extracting strings for language: default | |
[ADB] Successfully extracted 85 strings from '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk' resources for '(default)' configuration | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 push /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/com.akamai.analytics.akamaimedia/strings.json /data/local/tmp' | |
[ADB] Checking app cert for /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug | |
[ADB] Signer #1 certificate SHA-256 digest: 8065111b77b3433d91e4f60d9c4149410e1d588127456a921187d7d451a7260d | |
[ADB] Signer #1 certificate SHA-1 digest: 574a12414ce708dd0941771ff3600eeaa18c7607 | |
[ADB] Signer #1 certificate MD5 digest: f54398323bf278114379372925dc4f8d | |
[ADB] WARNING: META-INF/android.arch.core_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_livedata-core.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_viewmodel.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_animated-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_appcompat-v7.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-compat.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-core-ui.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-core-utils.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-fragment.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] | |
[ADB] '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk' is not signed with debug cert. | |
[ADB] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk' is already zip-aligned. Doing nothing | |
[ADB] Signing '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk' with default cert | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["sign","--key","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/keys/testkey.pk8","--cert","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/keys/testkey.x509.pem","/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-1aqc3ah.cd1i/appium-app.apk"]' | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Getting package info for 'com.akamai.analytics.akamaimedia' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package com.akamai.analytics.akamaimedia' | |
[ADB] The installed 'com.akamai.analytics.akamaimedia' package does not require upgrade ('1.0.0' >= '1.0.0') | |
[AndroidDriver] Performing fast reset on 'com.akamai.analytics.akamaimedia' | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop com.akamai.analytics.akamaimedia' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm clear com.akamai.analytics.akamaimedia' | |
[AndroidDriver] Performed fast reset on the installed 'com.akamai.analytics.akamaimedia' application (stop and clear) | |
[ADB] Getting all processes with uiautomator | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell ps' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] Starting uiautomator2 server 1.18.0 | |
[UiAutomator2] Using UIAutomator2 server from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk' and test from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' | |
[UiAutomator2] Running command: 'adb -s 32085837886f5101 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' | |
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8210/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8210/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8210/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8210/wd/hub/status] with no body | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" | |
[JSONWP Proxy] Matched '/session' to command name 'createSession' | |
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8210/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDesti... | |
[JSONWP Proxy] Got response with status 200: {"sessionId":"f9038891-2a8e-4c3f-80ce-8a3fecf64f42","status":0,"value":"Created Session"} | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys window' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity'. Starting it ourselves | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am start -W -n com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity -S' | |
[JSONWP Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8210/wd/hub/session/f9038891-2a8e-4c3f-80ce-8a3fecf64f42/appium/device/pixel_ratio] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"f9038891-2a8e-4c3f-80ce-8a3fecf64f42\",\"status\":0,\"value\":3}" | |
[JSONWP Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' | |
[JSONWP Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8210/wd/hub/session/f9038891-2a8e-4c3f-80ce-8a3fecf64f42/appium/device/system_bars] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"f9038891-2a8e-4c3f-80ce-8a3fecf64f42\",\"status\":0,\"value\":{\"statusBar\":72}}" | |
[JSONWP Proxy] Matched '/window/current/size' to command name 'getWindowSize' | |
[JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8210/wd/hub/session/f9038891-2a8e-4c3f-80ce-8a3fecf64f42/window/current/size] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"f9038891-2a8e-4c3f-80ce-8a3fecf64f42\",\"status\":0,\"value\":{\"height\":1920,\"width\":1080}}" | |
[Appium] New AndroidUiautomator2Driver session created successfully, session 4ce0043e-3ab4-4658-bb00-02129fea4fbb added to master session list | |
[BaseDriver] Event 'newSessionStarted' logged at 1558133901573 (16:58:21 GMT-0600 (CST)) | |
[W3C] Cached the protocol value 'W3C' for the new session 4ce0043e-3ab4-4658-bb00-02129fea4fbb | |
[W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/... | |
[HTTP] <-- POST /wd/hub/session 200 26902 ms - 1480 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/4ce0043e-3ab4-4658-bb00-02129fea4fbb/execute/sync | |
[HTTP] {"sessionId":"4ce0043e-3ab4-4658-bb00-02129fea4fbb","args":[{"includeStderr":true,"command":"settings put global http_proxy 192.168.1.106:8888"}],"script":"mobile shell"} | |
[W3C] Calling AppiumDriver.execute() with args: ["mobile shell",[{"includeStderr":true,"command":"settings put global http_proxy 192.168.1.106:8888"}],"4ce0043e-3ab4-4658-bb00-02129fea4fbb"] | |
[W3C] Encountered internal error running command: NotImplementedError: Method is not implemented | |
[W3C] at AndroidUiautomator2Driver.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/commands/execute.js:12:9) | |
[W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
[W3C] at enqueueResult (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
[W3C] at new Promise (/Applications/Appium.app/Contents/Resources/app/webpack:/~/babel-polyfill/~/core-js/modules/es6.promise.js:177:1) | |
[W3C] at new F (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36) | |
[W3C] at AsyncIterator.enqueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
[W3C] at AsyncIterator.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at Object.runtime.async (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
[W3C] at AndroidUiautomator2Driver.callee$0$0 [as execute] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/build/lib/commands/execute.js:20:30) | |
[W3C] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:296:26 | |
[W3C] at tryCatcher (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/util.js:26:23) | |
[W3C] at Promise._settlePromiseFromHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:510:31) | |
[W3C] at Promise._settlePromiseAt (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:584:18) | |
[W3C] at Promise._settlePromiseAtPostResolution (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:248:10) | |
[W3C] at Async._drainQueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:128:12) | |
[W3C] at Async._drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:133:10) | |
[W3C] at Immediate.Async.drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:15:14) | |
[W3C] at runCallback (timers.js:696:18) | |
[W3C] at tryOnImmediate (timers.js:667:5) | |
[W3C] at processImmediate (timers.js:649:5) | |
[HTTP] <-- POST /wd/hub/session/4ce0043e-3ab4-4658-bb00-02129fea4fbb/execute/sync 405 8 ms - 3642 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"firstMatch":[{"appium:appActivity":"com.akamai.analytics.akamaimedia.MainActivity","appium:deviceName":"32085837886f5101","appium:deviceModel":"SM-G900H","appium:fullReset":"false","appium:automationName":"UiAutomator2","appium:newCommandTimeout":10000,"appium:app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appium:appPackage":"com.akamai.analytics.akamaimedia","appium:platformVersion":"6.0.1","appium:noResetValue":"true","platformName":"android","appium:deviceManufacturer":"samsung"}]},"desiredCapabilities":{"deviceName":"32085837886f5101","fullReset":"false","deviceModel":"SM-G900H","noResetValue":"true","automationName":"UiAutomator2","deviceManufacturer":"samsung","newCommandTimeout":10000,"platformVersion":"6.0.1","appPackage":"com.akamai.analytics.akamaimedia","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","platformName":"android","app":"http://proje | |
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"32085837886f5101","fullReset":"false","deviceModel":"SM-G900H","noResetValue":"true","automationName":"UiAutomator2","deviceManufacturer":"samsung","newCommandTimeout":10000,"platformVersion":"6.0.1","appPackage":"com.akamai.analytics.akamaimedia","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","platformName":"android","app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk"},null,{"firstMatch":[{"appium:appActivity":"com.akamai.analytics.akamaimedia.MainActivity","appium:deviceName":"32085837886f5101","appium:deviceModel":"SM-G900H","appium:fullReset":"false","appium:automationName":"UiAutomator2","appium:newCommandTimeout":10000,"appium:app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appium:appPackage":"com.akamai.analytics.akamaimedia","appium:platformVersion":"6.0.1","appium:noResetVal... | |
[BaseDriver] Event 'newSessionRequested' logged at 1558133912223 (16:58:32 GMT-0600 (CST)) | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[Appium] Creating new AndroidUiautomator2Driver (v1.19.0) session | |
[Appium] Capabilities: | |
[Appium] platformName: android | |
[Appium] appActivity: com.akamai.analytics.akamaimedia.MainActivity | |
[Appium] deviceName: 32085837886f5101 | |
[Appium] deviceModel: SM-G900H | |
[Appium] fullReset: false | |
[Appium] automationName: UiAutomator2 | |
[Appium] newCommandTimeout: 10000 | |
[Appium] app: http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk | |
[Appium] appPackage: com.akamai.analytics.akamaimedia | |
[Appium] platformVersion: 6.0.1 | |
[Appium] noResetValue: true | |
[Appium] deviceManufacturer: samsung | |
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument | |
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"32085837886f... were provided | |
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceModel, noResetValue, deviceManufacturer. | |
[BaseDriver] Session created with session id: aba09212-7473-4684-9492-e3243e2acd92 | |
[BaseDriver] Using downloadable app 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' | |
[BaseDriver] 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' downloaded to '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk' | |
[BaseDriver] Downloaded file type 'application/vnd.android.package-archive' | |
[BaseDriver] Downloaded the app to '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk' | |
[BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' | |
[BaseDriver] Skipping 'http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk' caching, because the HEAD response didn't return any valid Last-Modified headers | |
[UiAutomator2] Checking whether app is actually present | |
[AndroidDriver] Java version is: 1.8.0_181 | |
[AndroidDriver] Retrieving device list | |
[ADB] Trying to find a connected android device | |
[ADB] Getting connected devices... | |
[ADB] 1 device(s) connected | |
[AndroidDriver] Looking for a device with Android '6.0.1' | |
[ADB] Setting device id to 32085837886f5101 | |
[ADB] Getting device platform version | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[AndroidDriver] Using device: 32085837886f5101 | |
[ADB] Setting device id to 32085837886f5101 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.sdk' | |
[ADB] Current device property 'ro.build.version.sdk': 23 | |
[ADB] Device API level: 23 | |
[ADB] Getting device platform version | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell wm size' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell wm density' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.product.model' | |
[ADB] Current device property 'ro.product.model': SM-G900H | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell getprop ro.product.manufacturer' | |
[ADB] Current device property 'ro.product.manufacturer': samsung | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] [UIAutomator2] | |
[UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:INSTRUMENTATION_RESULT: shortMsg=Process crashed. | |
[UiAutomator2] [UIAutomator2] INSTRUMENTATION_CODE: 0 | |
[ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[ADB] WARNING: META-INF/INDEX.LIST not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/io.netty.versions.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] | |
[ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk' is already signed. | |
[ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US | |
[ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc | |
[ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 | |
[ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 | |
[ADB] | |
[ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is already signed. | |
[ADB] Getting install status for io.appium.uiautomator2.server | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.uiautomator2.server' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.uiautomator2.server' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.uiautomator2.server' | |
[ADB] The installed 'io.appium.uiautomator2.server' package does not require upgrade ('1.18.0' >= '1.18.0') | |
[ADB] Getting install status for io.appium.uiautomator2.server.test | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.uiautomator2.server.test' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.uiautomator2.server.test' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version codes of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test' | |
[ADB] Cannot read version names of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' and/or 'io.appium.uiautomator2.server.test'. Assuming correct app version is already installed | |
[UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list instrumentation' | |
[UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 wait-for-device' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell echo ping' | |
[AndroidDriver] Pushing settings apk to device... | |
[ADB] Getting install status for io.appium.settings | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.settings' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.settings' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.settings' | |
[ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0') | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell ps' | |
[AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell appops set io.appium.settings android\:mock_location allow' | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'undefined' and country: 'undefined' | |
[Logcat] Starting logcat capture | |
[AndroidDriver] Pushing unlock helper app to device... | |
[ADB] Getting install status for io.appium.unlock | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages io.appium.unlock' | |
[ADB] App is installed | |
[ADB] Getting package info for 'io.appium.unlock' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package io.appium.unlock' | |
[ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0') | |
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8211 | |
[ADB] Forwarding system: 8211 to device: 6790 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 forward tcp\:8211 tcp\:6790' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell rm -rf /data/local/tmp/strings.json' | |
[AndroidDriver] Extracting strings from apk | |
[AndroidDriver] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk | |
[AndroidDriver] undefined | |
[AndroidDriver] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/com.akamai.analytics.akamaimedia | |
[ADB] Extracting strings for language: default | |
[ADB] Successfully extracted 85 strings from '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk' resources for '(default)' configuration | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 push /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/com.akamai.analytics.akamaimedia/strings.json /data/local/tmp' | |
[ADB] Checking app cert for /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk"]' | |
[ADB] apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug | |
[ADB] Signer #1 certificate SHA-256 digest: 8065111b77b3433d91e4f60d9c4149410e1d588127456a921187d7d451a7260d | |
[ADB] Signer #1 certificate SHA-1 digest: 574a12414ce708dd0941771ff3600eeaa18c7607 | |
[ADB] Signer #1 certificate MD5 digest: f54398323bf278114379372925dc4f8d | |
[ADB] WARNING: META-INF/android.arch.core_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_livedata-core.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/android.arch.lifecycle_viewmodel.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_animated-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_appcompat-v7.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-compat.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-core-ui.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-core-utils.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-fragment.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] WARNING: META-INF/com.android.support_support-vector-drawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/. | |
[ADB] | |
[ADB] '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk' is not signed with debug cert. | |
[ADB] /var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk' is already zip-aligned. Doing nothing | |
[ADB] Signing '/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk' with default cert | |
[ADB] Starting '/Users/jchavarr/Library/Android/sdk/build-tools/28.0.3/apksigner' with args '["sign","--key","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/keys/testkey.pk8","--cert","/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/keys/testkey.x509.pem","/var/folders/zm/01hyhwl94p31m0x38g3w_r800017gg/T/2019417-435-dn12sz.tizlt/appium-app.apk"]' | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Getting package info for 'com.akamai.analytics.akamaimedia' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys package com.akamai.analytics.akamaimedia' | |
[ADB] The installed 'com.akamai.analytics.akamaimedia' package does not require upgrade ('1.0.0' >= '1.0.0') | |
[AndroidDriver] Performing fast reset on 'com.akamai.analytics.akamaimedia' | |
[ADB] Getting install status for com.akamai.analytics.akamaimedia | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm list packages com.akamai.analytics.akamaimedia' | |
[ADB] App is installed | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop com.akamai.analytics.akamaimedia' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell pm clear com.akamai.analytics.akamaimedia' | |
[AndroidDriver] Performed fast reset on the installed 'com.akamai.analytics.akamaimedia' application (stop and clear) | |
[ADB] Getting all processes with uiautomator | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell ps' | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am force-stop io.appium.uiautomator2.server' | |
[UiAutomator2] Starting uiautomator2 server 1.18.0 | |
[UiAutomator2] Using UIAutomator2 server from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.18.0.apk' and test from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' | |
[UiAutomator2] Running command: 'adb -s 32085837886f5101 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' | |
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body | |
[JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}" | |
[JSONWP Proxy] Matched '/session' to command name 'createSession' | |
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8211/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDesti... | |
[JSONWP Proxy] Got response with status 200: {"sessionId":"3683af4b-25c5-4c87-b85c-9454fb22b571","status":0,"value":"Created Session"} | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell dumpsys window' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity'. Starting it ourselves | |
[ADB] Device API level: 23 | |
[ADB] Running '/Users/jchavarr/Library/Android/sdk/platform-tools/adb -P 5037 -s 32085837886f5101 shell am start -W -n com.akamai.analytics.akamaimedia/com.akamai.analytics.akamaimedia.MainActivity -S' | |
[JSONWP Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8211/wd/hub/session/3683af4b-25c5-4c87-b85c-9454fb22b571/appium/device/pixel_ratio] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"3683af4b-25c5-4c87-b85c-9454fb22b571\",\"status\":0,\"value\":3}" | |
[JSONWP Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' | |
[JSONWP Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8211/wd/hub/session/3683af4b-25c5-4c87-b85c-9454fb22b571/appium/device/system_bars] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"3683af4b-25c5-4c87-b85c-9454fb22b571\",\"status\":0,\"value\":{\"statusBar\":72}}" | |
[JSONWP Proxy] Matched '/window/current/size' to command name 'getWindowSize' | |
[JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8211/wd/hub/session/3683af4b-25c5-4c87-b85c-9454fb22b571/window/current/size] with body: {} | |
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"3683af4b-25c5-4c87-b85c-9454fb22b571\",\"status\":0,\"value\":{\"height\":1920,\"width\":1080}}" | |
[Appium] New AndroidUiautomator2Driver session created successfully, session aba09212-7473-4684-9492-e3243e2acd92 added to master session list | |
[BaseDriver] Event 'newSessionStarted' logged at 1558133937369 (16:58:57 GMT-0600 (CST)) | |
[W3C] Cached the protocol value 'W3C' for the new session aba09212-7473-4684-9492-e3243e2acd92 | |
[W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/packagesDestination/AmpAnalyticsAkamaiMediaSample/app-debug.apk","appPackage":"com.akamai.analytics.akamaimedia","platformVersion":"6.0.1","noResetValue":"true","deviceManufacturer":"samsung"},"platformName":"android","appActivity":"com.akamai.analytics.akamaimedia.MainActivity","deviceName":"32085837886f5101","deviceModel":"SM-G900H","fullReset":false,"automationName":"UiAutomator2","newCommandTimeout":10000,"app":"http://projects.mediadev.edgesuite.net/jchavarr/samples/packagesDestination/... | |
[HTTP] <-- POST /wd/hub/session 200 25149 ms - 1480 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/aba09212-7473-4684-9492-e3243e2acd92/execute/sync | |
[HTTP] {"sessionId":"aba09212-7473-4684-9492-e3243e2acd92","args":[{"includeStderr":true,"command":"settings put global http_proxy 192.168.1.106:8888"}],"script":"mobile shell"} | |
[W3C] Calling AppiumDriver.execute() with args: ["mobile shell",[{"includeStderr":true,"command":"settings put global http_proxy 192.168.1.106:8888"}],"aba09212-7473-4684-9492-e3243e2acd92"] | |
[W3C] Encountered internal error running command: NotImplementedError: Method is not implemented | |
[W3C] at AndroidUiautomator2Driver.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/lib/commands/execute.js:12:9) | |
[W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
[W3C] at enqueueResult (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
[W3C] at new Promise (/Applications/Appium.app/Contents/Resources/app/webpack:/~/babel-polyfill/~/core-js/modules/es6.promise.js:177:1) | |
[W3C] at new F (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36) | |
[W3C] at AsyncIterator.enqueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
[W3C] at AsyncIterator.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
[W3C] at Object.runtime.async (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
[W3C] at AndroidUiautomator2Driver.callee$0$0 [as execute] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-driver/build/lib/commands/execute.js:20:30) | |
[W3C] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:296:26 | |
[W3C] at tryCatcher (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/util.js:26:23) | |
[W3C] at Promise._settlePromiseFromHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:510:31) | |
[W3C] at Promise._settlePromiseAt (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:584:18) | |
[W3C] at Promise._settlePromiseAtPostResolution (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:248:10) | |
[W3C] at Async._drainQueue (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:128:12) | |
[W3C] at Async._drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:133:10) | |
[W3C] at Immediate.Async.drainQueues (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:15:14) | |
[W3C] at runCallback (timers.js:696:18) | |
[W3C] at tryOnImmediate (timers.js:667:5) | |
[W3C] at processImmediate (timers.js:649:5) | |
[HTTP] <-- POST /wd/hub/session/aba09212-7473-4684-9492-e3243e2acd92/execute/sync 405 11 ms - 3642 | |
[HTTP] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment