Microsoft Windows [Version 10.0.19042.985] (c) Microsoft Corporation. All rights reserved. C:\Users\nanoPix> C:\Users\nanoPix>appium -a 127.0.0.1 -p 4723 [Appium] Welcome to Appium v1.21.0 [Appium] Non-default server args: [Appium] address: 127.0.0.1 [Appium] Appium REST http interface listener started on 127.0.0.1:4723 [debug] [HTTP] Request idempotency key: 83cd975a-e9e6-4903-93e0-c7ed4cdd2cc4 [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},"capabilities":{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},null,{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1623394704436 (12:28:24 GMT+0530 (India Standard Time)) [Appium] [Appium] ====================================================================== [Appium] DEPRECATION WARNING: [Appium] [Appium] The 'automationName' capability was not provided in the desired [Appium] capabilities for this Android session [Appium] [Appium] Setting 'automationName=UiAutomator2' by default and using the [Appium] UiAutomator2 Driver [Appium] [Appium] The next major version of Appium (2.x) will **require** the [Appium] 'automationName' capability to be set for all sessions on all [Appium] platforms [Appium] [Appium] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your desired capabilities [Appium] [Appium] For more information about drivers, please visit [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [Appium] 'Drivers' menu [Appium] [Appium] ====================================================================== [Appium] [Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.65.0) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:appActivity": "com.nPx.nanoSparsh.SplashScreenActivity", [debug] [BaseDriver] "appium:appPackage": "com.nPx.nanoSparsh", [debug] [BaseDriver] "appium:deviceName": "XUV3Y18910013913", [debug] [BaseDriver] "appium:fullReset": false, [debug] [BaseDriver] "appium:noReset": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: 882a739d-f254-4612-8720-4009d00e297a [UiAutomator2] Starting 'com.nPx.nanoSparsh' directly on the device [ADB] Found 7 'build-tools' folders under 'C:\Users\nanoPix\AppData\Local\Android\Sdk' (newest first): [ADB] C:/Users/nanoPix/AppData/Local/Android/Sdk/build-tools/30.0.2 [ADB] C:/Users/nanoPix/AppData/Local/Android/Sdk/build-tools/29.0.3 [ADB] C:/Users/nanoPix/AppData/Local/Android/Sdk/build-tools/28.0.3 [ADB] C:/Users/nanoPix/AppData/Local/Android/Sdk/build-tools/27.0.3 [ADB] C:/Users/nanoPix/AppData/Local/Android/Sdk/build-tools/23.0.2 [ADB] C:/Users/nanoPix/AppData/Local/Android/Sdk/build-tools/23.0.1 [ADB] C:/Users/nanoPix/AppData/Local/Android/Sdk/build-tools/22.0.1 [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"RZ8N93368WR","state":"device"}] [AndroidDriver] Using device: RZ8N93368WR [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [debug] [ADB] Setting device id to RZ8N93368WR [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [ADB] Getting device platform version [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 11 [debug] [ADB] Device API level: 30 [UiAutomator2] Relaxing hidden api policy [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR wait-for-device' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is not installed [debug] [ADB] App 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' is not installed [debug] [ADB] Installing 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR help' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR features' [ADB] The application at 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' will not be cached, because the device under test has confirmed the support of streamed installs [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR install -g C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [ADB] The installation of 'settings_apk-debug.apk' took 11251ms [debug] [ADB] Install command stdout: Performing Streamed Install [debug] [ADB] Success [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [ADB] Starting Appium Settings app [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am start -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell appops set io.appium.settings android:mock_location allow' [debug] [Logcat] Starting logs capture with command: C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s RZ8N93368WR logcat -v threadtime [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8204 [debug] [ADB] Forwarding system: 8204 to device: 6790 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward tcp:8204 tcp:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.21.1' >= '4.21.1') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk [ADB] Using 'apksigner.jar' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\build-tools\30.0.2\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.21.1.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.21.1.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist [debug] [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]] [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.21.1 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' and test from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZ8N93368WR","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8204/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [UiAutomator2] The initialization of the instrumentation process took 72ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8204/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"42c8dc88-6ef2-44d4-811d-8702f02e8482","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}},"sessionId":"42c8dc88-6ef2-44d4-811d-8702f02e8482"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8204/wd/hub/session/42c8dc88-6ef2-44d4-811d-8702f02e8482/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"42c8dc88-6ef2-44d4-811d-8702f02e8482","value":{"androidId":"19e6b695d255a688","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"Vodafone IN","displayDensity":420,"locale":"en_GB","manufacturer":"samsung","model":"SM-F415F","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"IMS","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":70000,"linkUpstreamBandwidthKbps":70000,"networkCapabilities":"NET_CAPABI... [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [UiAutomator2] Starting 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity and waiting for 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am start -W -n com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8204/wd/hub/session/42c8dc88-6ef2-44d4-811d-8702f02e8482/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"42c8dc88-6ef2-44d4-811d-8702f02e8482","value":2.625} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8204/wd/hub/session/42c8dc88-6ef2-44d4-811d-8702f02e8482/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"42c8dc88-6ef2-44d4-811d-8702f02e8482","value":{"statusBar":78}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8204/wd/hub/session/42c8dc88-6ef2-44d4-811d-8702f02e8482/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"42c8dc88-6ef2-44d4-811d-8702f02e8482","value":{"height":2131,"width":1080}} [Appium] New AndroidUiautomator2Driver session created successfully, session 882a739d-f254-4612-8720-4009d00e297a added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1623394723668 (12:28:43 GMT+0530 (India Standard Time)) [debug] [W3C (882a739d)] Cached the protocol value 'W3C' for the new session 882a739d-f254-4612-8720-4009d00e297a [debug] [W3C (882a739d)] 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.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR","deviceApiLevel":30,"platformVersion":"11","deviceScreenSize":"1080x2340","deviceScreenDensity":420,"deviceModel":"SM-F415F","deviceManufacturer":"samsung","pixelRatio":2.625,"statBarHeight":78,"viewportRect":{"left":0,"top":78,"width":1080,"height":2053}}} [HTTP] <-- POST /wd/hub/session 200 19240 ms - 923 [HTTP] [HTTP] --> GET /wd/hub/session/882a739d-f254-4612-8720-4009d00e297a/appium/device/current_activity [HTTP] {} [debug] [W3C (882a739d)] Calling AppiumDriver.getCurrentActivity() with args: ["882a739d-f254-4612-8720-4009d00e297a"] [debug] [ADB] Getting focused package and activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window displays' [debug] [W3C (882a739d)] Responding to client with driver.getCurrentActivity() result: ".PIDBDataVerification" [HTTP] <-- GET /wd/hub/session/882a739d-f254-4612-8720-4009d00e297a/appium/device/current_activity 200 173 ms - 33 [HTTP] [HTTP] --> GET /wd/hub/session/882a739d-f254-4612-8720-4009d00e297a/appium/device/current_activity [HTTP] {} [debug] [W3C (882a739d)] Calling AppiumDriver.getCurrentActivity() with args: ["882a739d-f254-4612-8720-4009d00e297a"] [debug] [ADB] Getting focused package and activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window displays' [debug] [W3C (882a739d)] Responding to client with driver.getCurrentActivity() result: ".SwipeHome" [HTTP] <-- GET /wd/hub/session/882a739d-f254-4612-8720-4009d00e297a/appium/device/current_activity 200 139 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/882a739d-f254-4612-8720-4009d00e297a/element [HTTP] {"using":"accessibility id","value":"Open navigation drawer"} [debug] [W3C (882a739d)] Calling AppiumDriver.findElement() with args: ["accessibility id","Open navigation drawer","882a739d-f254-4612-8720-4009d00e297a"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8204/wd/hub/session/42c8dc88-6ef2-44d4-811d-8702f02e8482/element] with body: {"strategy":"accessibility id","selector":"Open navigation drawer","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"42c8dc88-6ef2-44d4-811d-8702f02e8482","value":{"error":"invalid session id","message":"A session is either terminated or not started","stacktrace":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:55)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContex... [debug] [W3C] Matched W3C error code 'invalid session id' to NoSuchDriverError [debug] [W3C (882a739d)] Encountered internal error running command: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started [debug] [W3C (882a739d)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:55) [debug] [W3C (882a739d)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:71) [debug] [W3C (882a739d)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41) [debug] [W3C (882a739d)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262) [debug] [W3C (882a739d)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256) [debug] [W3C (882a739d)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [W3C (882a739d)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [W3C (882a739d)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435) [debug] [W3C (882a739d)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) [debug] [W3C (882a739d)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) [debug] [W3C (882a739d)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [W3C (882a739d)] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [W3C (882a739d)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [W3C (882a739d)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [W3C (882a739d)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) [debug] [W3C (882a739d)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [debug] [W3C (882a739d)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611) [debug] [W3C (882a739d)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552) [debug] [W3C (882a739d)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466) [debug] [W3C (882a739d)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [debug] [W3C (882a739d)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) [debug] [W3C (882a739d)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) [debug] [W3C (882a739d)] at java.lang.Thread.run(Thread.java:923) [debug] [W3C (882a739d)] [HTTP] <-- POST /wd/hub/session/882a739d-f254-4612-8720-4009d00e297a/element 404 302 ms - 3808 [HTTP] [debug] [HTTP] Request idempotency key: 77c8e5ff-05fe-4d2a-87b3-e98e0bb3445f [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},"capabilities":{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},null,{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1623394744405 (12:29:04 GMT+0530 (India Standard Time)) [Appium] [Appium] ====================================================================== [Appium] DEPRECATION WARNING: [Appium] [Appium] The 'automationName' capability was not provided in the desired [Appium] capabilities for this Android session [Appium] [Appium] Setting 'automationName=UiAutomator2' by default and using the [Appium] UiAutomator2 Driver [Appium] [Appium] The next major version of Appium (2.x) will **require** the [Appium] 'automationName' capability to be set for all sessions on all [Appium] platforms [Appium] [Appium] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your desired capabilities [Appium] [Appium] For more information about drivers, please visit [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [Appium] 'Drivers' menu [Appium] [Appium] ====================================================================== [Appium] [Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.65.0) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:appActivity": "com.nPx.nanoSparsh.SplashScreenActivity", [debug] [BaseDriver] "appium:appPackage": "com.nPx.nanoSparsh", [debug] [BaseDriver] "appium:deviceName": "XUV3Y18910013913", [debug] [BaseDriver] "appium:fullReset": false, [debug] [BaseDriver] "appium:noReset": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: 49b6e8df-147c-4acc-bdba-e3466a1521c7 [UiAutomator2] Starting 'com.nPx.nanoSparsh' directly on the device [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"RZ8N93368WR","state":"device"}] [AndroidDriver] Using device: RZ8N93368WR [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [debug] [ADB] Setting device id to RZ8N93368WR [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [ADB] Getting device platform version [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 11 [debug] [ADB] Device API level: 30 [UiAutomator2] Relaxing hidden api policy [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR wait-for-device' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.3.0' >= '3.3.0') [debug] [ADB] There is no need to install/upgrade 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell appops set io.appium.settings android:mock_location allow' [debug] [Logcat] Starting logs capture with command: C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s RZ8N93368WR logcat -v threadtime [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8205 [debug] [ADB] Forwarding system: 8205 to device: 6790 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward tcp:8205 tcp:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.21.1' >= '4.21.1') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk [ADB] Using 'apksigner.jar' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\build-tools\30.0.2\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.21.1.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.21.1.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist [debug] [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]] [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.21.1 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' and test from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZ8N93368WR","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8205/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [UiAutomator2] The initialization of the instrumentation process took 41ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8205/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"75ad8424-739a-404d-94cb-fe0f6fa7fff2","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}},"sessionId":"75ad8424-739a-404d-94cb-fe0f6fa7fff2"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8205/wd/hub/session/75ad8424-739a-404d-94cb-fe0f6fa7fff2/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"75ad8424-739a-404d-94cb-fe0f6fa7fff2","value":{"androidId":"19e6b695d255a688","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"Vodafone IN","displayDensity":420,"locale":"en_GB","manufacturer":"samsung","model":"SM-F415F","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"IMS","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":70000,"linkUpstreamBandwidthKbps":70000,"networkCapabilities":"NET_CAPABI... [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [UiAutomator2] Starting 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity and waiting for 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am start -W -n com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [debug] [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. [debug] [Instrumentation] INSTRUMENTATION_CODE: 0 [debug] [Instrumentation] The process has exited with code 0 [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8205/wd/hub/session/75ad8424-739a-404d-94cb-fe0f6fa7fff2/appium/device/pixel_ratio] with no body [WD Proxy] socket hang up [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8205/wd/hub/session/75ad8424-739a-404d-94cb-fe0f6fa7fff2] with no body [WD Proxy] socket hang up [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop com.nPx.nanoSparsh' [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8205 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward --remove tcp:8205' [UiAutomator2] Restoring hidden api policy to the device default configuration [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1623394750402 (12:29:10 GMT+0530 (India Standard Time)) [debug] [W3C] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up [debug] [W3C] at UIA2Proxy.command (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:95:5) [debug] [W3C] at AndroidUiautomator2Driver.commands.getDevicePixelRatio (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\viewport.js:14:10) [debug] [W3C] at AndroidUiautomator2Driver.fillDeviceDetails (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:238:28) [debug] [W3C] at AndroidUiautomator2Driver.createSession (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:224:7) [debug] [W3C] at AppiumDriver.createSession (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\lib\appium.js:387:35) [HTTP] <-- POST /wd/hub/session 500 6019 ms - 1359 [HTTP] [debug] [HTTP] Request idempotency key: baceeb72-a493-4738-81f0-e8ea298a91de [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},"capabilities":{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},null,{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1623394750447 (12:29:10 GMT+0530 (India Standard Time)) [Appium] [Appium] ====================================================================== [Appium] DEPRECATION WARNING: [Appium] [Appium] The 'automationName' capability was not provided in the desired [Appium] capabilities for this Android session [Appium] [Appium] Setting 'automationName=UiAutomator2' by default and using the [Appium] UiAutomator2 Driver [Appium] [Appium] The next major version of Appium (2.x) will **require** the [Appium] 'automationName' capability to be set for all sessions on all [Appium] platforms [Appium] [Appium] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your desired capabilities [Appium] [Appium] For more information about drivers, please visit [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [Appium] 'Drivers' menu [Appium] [Appium] ====================================================================== [Appium] [Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.65.0) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:appActivity": "com.nPx.nanoSparsh.SplashScreenActivity", [debug] [BaseDriver] "appium:appPackage": "com.nPx.nanoSparsh", [debug] [BaseDriver] "appium:deviceName": "XUV3Y18910013913", [debug] [BaseDriver] "appium:fullReset": false, [debug] [BaseDriver] "appium:noReset": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: 62f13762-7bd2-4f7e-a1a2-41553dae9314 [UiAutomator2] Starting 'com.nPx.nanoSparsh' directly on the device [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"RZ8N93368WR","state":"device"}] [AndroidDriver] Using device: RZ8N93368WR [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [debug] [ADB] Setting device id to RZ8N93368WR [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [ADB] Getting device platform version [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 11 [debug] [ADB] Device API level: 30 [UiAutomator2] Relaxing hidden api policy [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR wait-for-device' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.3.0' >= '3.3.0') [debug] [ADB] There is no need to install/upgrade 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell appops set io.appium.settings android:mock_location allow' [debug] [Logcat] Starting logs capture with command: C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s RZ8N93368WR logcat -v threadtime [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8205 [debug] [ADB] Forwarding system: 8205 to device: 6790 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward tcp:8205 tcp:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.21.1' >= '4.21.1') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk [ADB] Using 'apksigner.jar' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\build-tools\30.0.2\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.21.1.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.21.1.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist [debug] [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]] [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.21.1 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' and test from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZ8N93368WR","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8205/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [UiAutomator2] The initialization of the instrumentation process took 41ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8205/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"815dfccf-4d24-4814-94ab-4359ac796f8f","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}},"sessionId":"815dfccf-4d24-4814-94ab-4359ac796f8f"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8205/wd/hub/session/815dfccf-4d24-4814-94ab-4359ac796f8f/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"815dfccf-4d24-4814-94ab-4359ac796f8f","value":{"androidId":"19e6b695d255a688","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"Vodafone IN","displayDensity":420,"locale":"en_GB","manufacturer":"samsung","model":"SM-F415F","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"IMS","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":70000,"linkUpstreamBandwidthKbps":70000,"networkCapabilities":"NET_CAPABI... [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [UiAutomator2] Starting 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity and waiting for 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am start -W -n com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [debug] [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. [debug] [Instrumentation] INSTRUMENTATION_CODE: 0 [debug] [Instrumentation] The process has exited with code 0 [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8205/wd/hub/session/815dfccf-4d24-4814-94ab-4359ac796f8f/appium/device/pixel_ratio] with no body [WD Proxy] socket hang up [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8205/wd/hub/session/815dfccf-4d24-4814-94ab-4359ac796f8f] with no body [WD Proxy] socket hang up [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop com.nPx.nanoSparsh' [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8205 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward --remove tcp:8205' [UiAutomator2] Restoring hidden api policy to the device default configuration [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1623394756097 (12:29:16 GMT+0530 (India Standard Time)) [debug] [W3C] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up [debug] [W3C] at UIA2Proxy.command (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:95:5) [debug] [W3C] at AndroidUiautomator2Driver.commands.getDevicePixelRatio (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\viewport.js:14:10) [debug] [W3C] at AndroidUiautomator2Driver.fillDeviceDetails (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:238:28) [debug] [W3C] at AndroidUiautomator2Driver.createSession (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:224:7) [debug] [W3C] at AppiumDriver.createSession (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\lib\appium.js:387:35) [HTTP] <-- POST /wd/hub/session 500 5661 ms - 1359 [HTTP] [debug] [HTTP] Request idempotency key: 9f78a455-e3e1-44f4-a328-dff54c19b0bc [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},"capabilities":{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},null,{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1623394756120 (12:29:16 GMT+0530 (India Standard Time)) [Appium] [Appium] ====================================================================== [Appium] DEPRECATION WARNING: [Appium] [Appium] The 'automationName' capability was not provided in the desired [Appium] capabilities for this Android session [Appium] [Appium] Setting 'automationName=UiAutomator2' by default and using the [Appium] UiAutomator2 Driver [Appium] [Appium] The next major version of Appium (2.x) will **require** the [Appium] 'automationName' capability to be set for all sessions on all [Appium] platforms [Appium] [Appium] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your desired capabilities [Appium] [Appium] For more information about drivers, please visit [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [Appium] 'Drivers' menu [Appium] [Appium] ====================================================================== [Appium] [Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.65.0) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:appActivity": "com.nPx.nanoSparsh.SplashScreenActivity", [debug] [BaseDriver] "appium:appPackage": "com.nPx.nanoSparsh", [debug] [BaseDriver] "appium:deviceName": "XUV3Y18910013913", [debug] [BaseDriver] "appium:fullReset": false, [debug] [BaseDriver] "appium:noReset": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: 076260c8-3b70-4cd9-ad0c-50dc0f63e914 [UiAutomator2] Starting 'com.nPx.nanoSparsh' directly on the device [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"RZ8N93368WR","state":"device"}] [AndroidDriver] Using device: RZ8N93368WR [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [debug] [ADB] Setting device id to RZ8N93368WR [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [ADB] Getting device platform version [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 11 [debug] [ADB] Device API level: 30 [UiAutomator2] Relaxing hidden api policy [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR wait-for-device' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.3.0' >= '3.3.0') [debug] [ADB] There is no need to install/upgrade 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell appops set io.appium.settings android:mock_location allow' [debug] [Logcat] Starting logs capture with command: C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s RZ8N93368WR logcat -v threadtime [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8205 [debug] [ADB] Forwarding system: 8205 to device: 6790 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward tcp:8205 tcp:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.21.1' >= '4.21.1') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk [ADB] Using 'apksigner.jar' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\build-tools\30.0.2\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.21.1.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.21.1.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist [debug] [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]] [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.21.1 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' and test from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZ8N93368WR","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8205/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [UiAutomator2] The initialization of the instrumentation process took 39ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8205/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c26d66e9-6ea1-4815-a5db-15e96915df7b","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}},"sessionId":"c26d66e9-6ea1-4815-a5db-15e96915df7b"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8205/wd/hub/session/c26d66e9-6ea1-4815-a5db-15e96915df7b/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c26d66e9-6ea1-4815-a5db-15e96915df7b","value":{"androidId":"19e6b695d255a688","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"Vodafone IN","displayDensity":420,"locale":"en_GB","manufacturer":"samsung","model":"SM-F415F","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"IMS","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":70000,"linkUpstreamBandwidthKbps":70000,"networkCapabilities":"NET_CAPABI... [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [UiAutomator2] Starting 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity and waiting for 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am start -W -n com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [debug] [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. [debug] [Instrumentation] INSTRUMENTATION_CODE: 0 [debug] [Instrumentation] The process has exited with code 0 [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8205/wd/hub/session/c26d66e9-6ea1-4815-a5db-15e96915df7b/appium/device/pixel_ratio] with no body [WD Proxy] socket hang up [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8205/wd/hub/session/c26d66e9-6ea1-4815-a5db-15e96915df7b] with no body [WD Proxy] socket hang up [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop com.nPx.nanoSparsh' [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8205 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward --remove tcp:8205' [UiAutomator2] Restoring hidden api policy to the device default configuration [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1623394761631 (12:29:21 GMT+0530 (India Standard Time)) [debug] [W3C] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up [debug] [W3C] at UIA2Proxy.command (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:95:5) [debug] [W3C] at AndroidUiautomator2Driver.commands.getDevicePixelRatio (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\viewport.js:14:10) [debug] [W3C] at AndroidUiautomator2Driver.fillDeviceDetails (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:238:28) [debug] [W3C] at AndroidUiautomator2Driver.createSession (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:224:7) [debug] [W3C] at AppiumDriver.createSession (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\lib\appium.js:387:35) [HTTP] <-- POST /wd/hub/session 500 5524 ms - 1359 [HTTP] [debug] [HTTP] Request idempotency key: 958c7de0-f85c-45c6-9ca4-45ed7127cc50 [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},"capabilities":{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},null,{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1623394761665 (12:29:21 GMT+0530 (India Standard Time)) [Appium] [Appium] ====================================================================== [Appium] DEPRECATION WARNING: [Appium] [Appium] The 'automationName' capability was not provided in the desired [Appium] capabilities for this Android session [Appium] [Appium] Setting 'automationName=UiAutomator2' by default and using the [Appium] UiAutomator2 Driver [Appium] [Appium] The next major version of Appium (2.x) will **require** the [Appium] 'automationName' capability to be set for all sessions on all [Appium] platforms [Appium] [Appium] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your desired capabilities [Appium] [Appium] For more information about drivers, please visit [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [Appium] 'Drivers' menu [Appium] [Appium] ====================================================================== [Appium] [Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.65.0) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:appActivity": "com.nPx.nanoSparsh.SplashScreenActivity", [debug] [BaseDriver] "appium:appPackage": "com.nPx.nanoSparsh", [debug] [BaseDriver] "appium:deviceName": "XUV3Y18910013913", [debug] [BaseDriver] "appium:fullReset": false, [debug] [BaseDriver] "appium:noReset": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: 23dbc077-fb14-45cf-be4b-56052c1a8e30 [UiAutomator2] Starting 'com.nPx.nanoSparsh' directly on the device [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"RZ8N93368WR","state":"device"}] [AndroidDriver] Using device: RZ8N93368WR [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [debug] [ADB] Setting device id to RZ8N93368WR [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [ADB] Getting device platform version [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 11 [debug] [ADB] Device API level: 30 [UiAutomator2] Relaxing hidden api policy [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR wait-for-device' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.3.0' >= '3.3.0') [debug] [ADB] There is no need to install/upgrade 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell appops set io.appium.settings android:mock_location allow' [debug] [Logcat] Starting logs capture with command: C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s RZ8N93368WR logcat -v threadtime [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8205 [debug] [ADB] Forwarding system: 8205 to device: 6790 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward tcp:8205 tcp:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.21.1' >= '4.21.1') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk [ADB] Using 'apksigner.jar' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\build-tools\30.0.2\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.21.1.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.21.1.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist [debug] [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]] [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.21.1 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' and test from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZ8N93368WR","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8205/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [UiAutomator2] The initialization of the instrumentation process took 36ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8205/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"f6d37b84-e235-480f-a8e3-0d893327c2c5","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}},"sessionId":"f6d37b84-e235-480f-a8e3-0d893327c2c5"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8205/wd/hub/session/f6d37b84-e235-480f-a8e3-0d893327c2c5/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"f6d37b84-e235-480f-a8e3-0d893327c2c5","value":{"androidId":"19e6b695d255a688","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"Vodafone IN","displayDensity":420,"locale":"en_GB","manufacturer":"samsung","model":"SM-F415F","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"IMS","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":70000,"linkUpstreamBandwidthKbps":70000,"networkCapabilities":"NET_CAPABI... [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [UiAutomator2] Starting 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity and waiting for 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am start -W -n com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [debug] [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. [debug] [Instrumentation] INSTRUMENTATION_CODE: 0 [debug] [Instrumentation] The process has exited with code 0 [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8205/wd/hub/session/f6d37b84-e235-480f-a8e3-0d893327c2c5/appium/device/pixel_ratio] with no body [WD Proxy] socket hang up [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8205/wd/hub/session/f6d37b84-e235-480f-a8e3-0d893327c2c5] with no body [WD Proxy] socket hang up [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop com.nPx.nanoSparsh' [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8205 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward --remove tcp:8205' [UiAutomator2] Restoring hidden api policy to the device default configuration [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1623394767284 (12:29:27 GMT+0530 (India Standard Time)) [debug] [W3C] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up [debug] [W3C] at UIA2Proxy.command (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:95:5) [debug] [W3C] at AndroidUiautomator2Driver.commands.getDevicePixelRatio (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\commands\viewport.js:14:10) [debug] [W3C] at AndroidUiautomator2Driver.fillDeviceDetails (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:238:28) [debug] [W3C] at AndroidUiautomator2Driver.createSession (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:224:7) [debug] [W3C] at AppiumDriver.createSession (C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\lib\appium.js:387:35) [HTTP] <-- POST /wd/hub/session 500 5657 ms - 1359 [HTTP] [debug] [HTTP] Request idempotency key: f44af756-30c6-492a-a444-f8f549975b1b [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},"capabilities":{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","noReset":true,"platformName":"android","deviceName":"XUV3Y18910013913","fullReset":false},null,{"firstMatch":[{"appium:appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appium:appPackage":"com.nPx.nanoSparsh","appium:deviceName":"XUV3Y18910013913","appium:fullReset":false,"appium:noReset":true,"platformName":"android"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1623394767336 (12:29:27 GMT+0530 (India Standard Time)) [Appium] [Appium] ====================================================================== [Appium] DEPRECATION WARNING: [Appium] [Appium] The 'automationName' capability was not provided in the desired [Appium] capabilities for this Android session [Appium] [Appium] Setting 'automationName=UiAutomator2' by default and using the [Appium] UiAutomator2 Driver [Appium] [Appium] The next major version of Appium (2.x) will **require** the [Appium] 'automationName' capability to be set for all sessions on all [Appium] platforms [Appium] [Appium] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your desired capabilities [Appium] [Appium] For more information about drivers, please visit [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [Appium] 'Drivers' menu [Appium] [Appium] ====================================================================== [Appium] [Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.65.0) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:appActivity": "com.nPx.nanoSparsh.SplashScreenActivity", [debug] [BaseDriver] "appium:appPackage": "com.nPx.nanoSparsh", [debug] [BaseDriver] "appium:deviceName": "XUV3Y18910013913", [debug] [BaseDriver] "appium:fullReset": false, [debug] [BaseDriver] "appium:noReset": true [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: ba985982-bbe1-4aef-b4d7-1f74aac7913b [UiAutomator2] Starting 'com.nPx.nanoSparsh' directly on the device [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"RZ8N93368WR","state":"device"}] [AndroidDriver] Using device: RZ8N93368WR [ADB] Using 'adb.exe' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [debug] [ADB] Setting device id to RZ8N93368WR [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [ADB] Getting device platform version [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 11 [debug] [ADB] Device API level: 30 [UiAutomator2] Relaxing hidden api policy [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' [AndroidDriver] No app sent in, not parsing package/activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR wait-for-device' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.3.0' >= '3.3.0') [debug] [ADB] There is no need to install/upgrade 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell appops set io.appium.settings android:mock_location allow' [debug] [Logcat] Starting logs capture with command: C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s RZ8N93368WR logcat -v threadtime [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8205 [debug] [ADB] Forwarding system: 8205 to device: 6790 [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR forward tcp:8205 tcp:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.21.1' >= '4.21.1') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk [ADB] Using 'apksigner.jar' from 'C:\Users\nanoPix\AppData\Local\Android\Sdk\build-tools\30.0.2\lib\apksigner.jar' [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.21.1.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.21.1.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-15.0.1\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\nanoPix\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\nanoPix\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [ADB] 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist [debug] [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]] [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.21.1 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' and test from 'C:\Users\nanoPix\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","RZ8N93368WR","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8205/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [UiAutomator2] The initialization of the instrumentation process took 37ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8205/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"712f7b96-9968-4c9d-8754-092b18f048fe","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR"}],"alwaysMatch":{}},"sessionId":"712f7b96-9968-4c9d-8754-092b18f048fe"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8205/wd/hub/session/712f7b96-9968-4c9d-8754-092b18f048fe/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"712f7b96-9968-4c9d-8754-092b18f048fe","value":{"androidId":"19e6b695d255a688","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"Vodafone IN","displayDensity":420,"locale":"en_GB","manufacturer":"samsung","model":"SM-F415F","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"IMS","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":70000,"linkUpstreamBandwidthKbps":70000,"networkCapabilities":"NET_CAPABI... [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [UiAutomator2] Starting 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity and waiting for 'com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity' [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell am start -W -n com.nPx.nanoSparsh/com.nPx.nanoSparsh.SplashScreenActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [debug] [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed. [debug] [Instrumentation] INSTRUMENTATION_CODE: 0 [debug] [Instrumentation] The process has exited with code 0 [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8205/wd/hub/session/712f7b96-9968-4c9d-8754-092b18f048fe/appium/device/pixel_ratio] with no body [Logcat] Logcat terminated with code 1, signal null [debug] [WD Proxy] Got response with status 200: {"sessionId":"712f7b96-9968-4c9d-8754-092b18f048fe","value":2.625} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8205/wd/hub/session/712f7b96-9968-4c9d-8754-092b18f048fe/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"712f7b96-9968-4c9d-8754-092b18f048fe","value":{"statusBar":78}} [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8205/wd/hub/session/712f7b96-9968-4c9d-8754-092b18f048fe/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"712f7b96-9968-4c9d-8754-092b18f048fe","value":{"height":2131,"width":1080}} [Appium] New AndroidUiautomator2Driver session created successfully, session ba985982-bbe1-4aef-b4d7-1f74aac7913b added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1623394829880 (12:30:29 GMT+0530 (India Standard Time)) [debug] [W3C (ba985982)] Cached the protocol value 'W3C' for the new session ba985982-bbe1-4aef-b4d7-1f74aac7913b [debug] [W3C (ba985982)] 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.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"XUV3Y18910013913","fullReset":false,"noReset":true},"platformName":"android","appActivity":"com.nPx.nanoSparsh.SplashScreenActivity","appPackage":"com.nPx.nanoSparsh","deviceName":"RZ8N93368WR","fullReset":false,"noReset":true,"deviceUDID":"RZ8N93368WR","deviceApiLevel":30,"platformVersion":"11","deviceScreenSize":"1080x2340","deviceScreenDensity":420,"deviceModel":"SM-F415F","deviceManufacturer":"samsung","pixelRatio":2.625,"statBarHeight":78,"viewportRect":{"left":0,"top":78,"width":1080,"height":2053}}} [HTTP] <-- POST /wd/hub/session 200 62541 ms - 923 [HTTP] [HTTP] --> GET /wd/hub/session/ba985982-bbe1-4aef-b4d7-1f74aac7913b/appium/device/current_activity [HTTP] {} [debug] [W3C (ba985982)] Calling AppiumDriver.getCurrentActivity() with args: ["ba985982-bbe1-4aef-b4d7-1f74aac7913b"] [debug] [ADB] Getting focused package and activity [debug] [ADB] Running 'C:\Users\nanoPix\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s RZ8N93368WR shell dumpsys window displays' [debug] [W3C (ba985982)] Responding to client with driver.getCurrentActivity() result: ".SwipeHome" [HTTP] <-- GET /wd/hub/session/ba985982-bbe1-4aef-b4d7-1f74aac7913b/appium/device/current_activity 200 156 ms - 22 [HTTP]