Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mayureshshirodkar/75e40d4387749b40c0e89469da8da607 to your computer and use it in GitHub Desktop.
Save mayureshshirodkar/75e40d4387749b40c0e89469da8da607 to your computer and use it in GitHub Desktop.
Permission issue
2020-03-31 06:47:00:419 - [HTTP] --> POST /wd/hub/session
2020-03-31 06:47:00:419 - [HTTP] {"capabilities":{"firstMatch":[{"appium:deviceName":"Moto G4","appium:app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","appium:platformVersion":"10","platformName":"Android","appium:automationName":"uiautomator2","appium:autoGrantPermissions":true,"appium:autoWebview":true,"appium:newCommandTimeout":5000,"appium:nativeWebScreenshot":"true","appium:recreateChromeDriverSessions":true,"appium:ensureWebviewsHavePages":true,"appium:webviewDevtoolsPort":"9543"}]},"desiredCapabilities":{"deviceName":"Moto G4","app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","platformVersion":"10","platformName":"Android","automationName":"uiautomator2","autoGrantPermissions":true,"autoWebview":true,"newCommandTimeout":5000,"nativeWebScreenshot":"true","recreateChromeDriverSessions":true,"ensureWebviewsHavePages":true,"webviewDevtoolsPort":"9543"}}
2020-03-31 06:47:00:419 - [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"Moto G4","app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","platformVersion":"10","platformName":"Android","automationName":"uiautomator2","autoGrantPermissions":true,"autoWebview":true,"newCommandTimeout":5000,"nativeWebScreenshot":"true","recreateChromeDriverSessions":true,"ensureWebviewsHavePages":true,"webviewDevtoolsPort":"9543"},null,{"firstMatch":[{"appium:deviceName":"Moto G4","appium:app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","appium:platformVersion":"10","platformName":"Android","appium:automationName":"uiautomator2","appium:autoGrantPermissions":true,"appium:autoWebview":true,"appium:newCommandTimeout":5000,"appium:nativeWebScreenshot":"true","appium:recreateChromeDriverSessions":true,"appium:ensureWebviewsHavePages":true,"appium:webviewDevtoolsPort":"9543"}]}]
2020-03-31 06:47:00:419 - [debug] [BaseDriver] Event 'newSessionRequested' logged at 1585637220419 (12:17:00 GMT+0530 (India Standard Time))
2020-03-31 06:47:00:420 - [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.46.0) session
2020-03-31 06:47:00:421 - [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
2020-03-31 06:47:00:421 - [debug] [BaseDriver] Creating session with W3C capabilities: {
2020-03-31 06:47:00:421 - [debug] [BaseDriver] "alwaysMatch": {
2020-03-31 06:47:00:421 - [debug] [BaseDriver] "platformName": "Android",
2020-03-31 06:47:00:421 - [debug] [BaseDriver] "appium:deviceName": "Moto G4",
2020-03-31 06:47:00:421 - [debug] [BaseDriver] "appium:app": "/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk",
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:platformVersion": "10",
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:automationName": "uiautomator2",
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:autoGrantPermissions": true,
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:autoWebview": true,
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:newCommandTimeout": 5000,
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:nativeWebScreenshot": "true",
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:recreateChromeDriverSessions": true,
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:ensureWebviewsHavePages": true,
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "appium:webviewDevtoolsPort": "9543"
2020-03-31 06:47:00:422 - [debug] [BaseDriver] },
2020-03-31 06:47:00:422 - [debug] [BaseDriver] "firstMatch": [
2020-03-31 06:47:00:422 - [debug] [BaseDriver] {}
2020-03-31 06:47:00:422 - [debug] [BaseDriver] ]
2020-03-31 06:47:00:422 - [debug] [BaseDriver] }
2020-03-31 06:47:00:424 - [BaseDriver] Number capability passed in as string. Functionality may be compromised.
2020-03-31 06:47:00:426 - [BaseDriver] Capability 'nativeWebScreenshot' changed from string to boolean. This may cause unexpected behavior
2020-03-31 06:47:00:427 - [BaseDriver] Capability 'webviewDevtoolsPort' changed from string ('9543') to integer (9543). This may cause unexpected behavior
2020-03-31 06:47:00:428 - [BaseDriver] Session created with session id: 84d00ac2-c292-4542-b6e9-4b7cd0808039
2020-03-31 06:47:00:428 - [BaseDriver] Using local app '/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk'
2020-03-31 06:47:00:428 - [debug] [UiAutomator2] Checking whether app is actually present
2020-03-31 06:47:00:429 - [ADB] Using 'adb' from '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb'
2020-03-31 06:47:00:429 - [AndroidDriver] Retrieving device list
2020-03-31 06:47:00:429 - [debug] [ADB] Trying to find a connected android device
2020-03-31 06:47:00:429 - [debug] [ADB] Getting connected devices...
2020-03-31 06:47:00:438 - [debug] [ADB] Connected devices: [{"udid":"HT7BG1A07184","state":"device"}]
2020-03-31 06:47:00:439 - [AndroidDriver] Looking for a device with Android '10.0.0'
2020-03-31 06:47:00:439 - [debug] [ADB] Setting device id to HT7BG1A07184
2020-03-31 06:47:00:439 - [ADB] Getting device platform version
2020-03-31 06:47:00:439 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell getprop ro.build.version.release'
2020-03-31 06:47:00:531 - [debug] [ADB] Current device property 'ro.build.version.release': 10
2020-03-31 06:47:00:532 - [AndroidDriver] Using device: HT7BG1A07184
2020-03-31 06:47:00:535 - [ADB] Using 'adb' from '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb'
2020-03-31 06:47:00:535 - [debug] [ADB] Setting device id to HT7BG1A07184
2020-03-31 06:47:00:535 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell getprop ro.build.version.sdk'
2020-03-31 06:47:00:608 - [debug] [ADB] Current device property 'ro.build.version.sdk': 29
2020-03-31 06:47:00:610 - [ADB] Getting device platform version
2020-03-31 06:47:00:610 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell getprop ro.build.version.release'
2020-03-31 06:47:00:695 - [debug] [ADB] Current device property 'ro.build.version.release': 10
2020-03-31 06:47:00:695 - [debug] [ADB] Device API level: 29
2020-03-31 06:47:00:695 - [UiAutomator2] Relaxing hidden api policy
2020-03-31 06:47:00:695 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 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''
2020-03-31 06:47:00:918 - [debug] [AndroidDriver] Parsing package and activity from app manifest
2020-03-31 06:47:00:925 - [ADB] Package name: 'com.eab.se'
2020-03-31 06:47:00:926 - [ADB] Main activity name: 'com.eab.se.MainActivity'
2020-03-31 06:47:00:926 - [debug] [AndroidDriver] Parsed package and activity are: com.eab.se/com.eab.se.MainActivity
2020-03-31 06:47:00:926 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 wait-for-device'
2020-03-31 06:47:00:934 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell echo ping'
2020-03-31 06:47:00:977 - [debug] [AndroidDriver] Pushing settings apk to device...
2020-03-31 06:47:00:978 - [debug] [ADB] Getting install status for io.appium.settings
2020-03-31 06:47:00:978 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package io.appium.settings'
2020-03-31 06:47:01:065 - [debug] [ADB] 'io.appium.settings' is installed
2020-03-31 06:47:01:065 - [debug] [ADB] Getting package info for 'io.appium.settings'
2020-03-31 06:47:01:065 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package io.appium.settings'
2020-03-31 06:47:01:170 - [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0')
2020-03-31 06:47:01:170 - [debug] [ADB] There is no need to install/upgrade '/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
2020-03-31 06:47:01:170 - [debug] [ADB] Getting IDs of all 'io.appium.settings' processes
2020-03-31 06:47:01:170 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell 'pgrep --help; echo $?''
2020-03-31 06:47:01:251 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell pgrep -f io\\.appium\\.settings'
2020-03-31 06:47:01:400 - [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
2020-03-31 06:47:01:400 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell appops set io.appium.settings android\:mock_location allow'
2020-03-31 06:47:01:472 - [debug] [Logcat] Starting logcat capture
2020-03-31 06:47:01:545 - [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8201
2020-03-31 06:47:01:546 - [debug] [ADB] Forwarding system: 8201 to device: 6790
2020-03-31 06:47:01:546 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 forward tcp\:8201 tcp\:6790'
2020-03-31 06:47:01:558 - [debug] [ADB] Getting install status for io.appium.uiautomator2.server
2020-03-31 06:47:01:558 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package io.appium.uiautomator2.server'
2020-03-31 06:47:01:618 - [debug] [ADB] 'io.appium.uiautomator2.server' is installed
2020-03-31 06:47:01:618 - [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
2020-03-31 06:47:01:619 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package io.appium.uiautomator2.server'
2020-03-31 06:47:01:661 - [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5')
2020-03-31 06:47:01:661 - [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
2020-03-31 06:47:01:661 - [debug] [ADB] Checking app cert for /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.5.5.apk
2020-03-31 06:47:01:664 - [ADB] Using 'apksigner.jar' from '/Users/mshirodkar/Library/Android/sdk/build-tools/28.0.3/lib/apksigner.jar'
2020-03-31 06:47:01:664 - [debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/mshirodkar/Library/Android/sdk/build-tools/28.0.3/lib/apksigner.jar verify --print-certs /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.5.5.apk
2020-03-31 06:47:02:104 - [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
2020-03-31 06:47:02:104 - [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
2020-03-31 06:47:02:104 - [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
2020-03-31 06:47:02:104 - [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
2020-03-31 06:47:02:105 - [debug] [ADB]
2020-03-31 06:47:02:105 - [debug] [ADB] '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate
2020-03-31 06:47:02:105 - [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
2020-03-31 06:47:02:105 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package io.appium.uiautomator2.server.test'
2020-03-31 06:47:02:228 - [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
2020-03-31 06:47:02:228 - [debug] [ADB] Checking app cert for /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
2020-03-31 06:47:02:229 - [debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/mshirodkar/Library/Android/sdk/build-tools/28.0.3/lib/apksigner.jar verify --print-certs /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
2020-03-31 06:47:02:561 - [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
2020-03-31 06:47:02:561 - [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
2020-03-31 06:47:02:561 - [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
2020-03-31 06:47:02:562 - [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
2020-03-31 06:47:02:562 - [debug] [ADB]
2020-03-31 06:47:02:562 - [debug] [ADB] '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
2020-03-31 06:47:02:563 - [UiAutomator2] Server packages are not going to be (re)installed
2020-03-31 06:47:02:564 - [debug] [UiAutomator2] Waiting up to 30000ms for services to be available
2020-03-31 06:47:02:564 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell pm list instrumentation'
2020-03-31 06:47:02:694 - [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
2020-03-31 06:47:02:694 - [debug] [ADB] Checking app cert for /Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk
2020-03-31 06:47:02:695 - [debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/mshirodkar/Library/Android/sdk/build-tools/28.0.3/lib/apksigner.jar verify --print-certs /Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk
2020-03-31 06:47:03:465 - [debug] [ADB] apksigner stdout: Signer #1 certificate DN: CN=Education Advisory Board, OU=Education Advisory Board, O=Education Advisory Board, L=Washington DC, ST=DC, C=US
2020-03-31 06:47:03:465 - [debug] [ADB] Signer #1 certificate SHA-256 digest: 7253620866df0a00048e7c1f43976992330e2fdb06f094d47fbf20045f56ec4b
2020-03-31 06:47:03:465 - [debug] [ADB] Signer #1 certificate SHA-1 digest: 81e4f4ff771747c5854fe9ae8ff09a24d1aa195b
2020-03-31 06:47:03:465 - [debug] [ADB] Signer #1 certificate MD5 digest: d84961c43f33ea7a3aa73325dbec0cc8
2020-03-31 06:47:03:465 - [debug] [ADB]
2020-03-31 06:47:03:465 - [debug] [ADB] '/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk' is signed with a non-default certificate
2020-03-31 06:47:03:466 - [debug] [ADB] Getting install status for com.eab.se
2020-03-31 06:47:03:466 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package com.eab.se'
2020-03-31 06:47:03:592 - [debug] [ADB] 'com.eab.se' is installed
2020-03-31 06:47:03:592 - [debug] [ADB] Getting package info for 'com.eab.se'
2020-03-31 06:47:03:592 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package com.eab.se'
2020-03-31 06:47:03:673 - [debug] [ADB] The version name of the installed 'com.eab.se' is greater or equal to the application version name ('20.4.14' >= '20.4.14')
2020-03-31 06:47:03:673 - [debug] [ADB] There is no need to install/upgrade '/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk'
2020-03-31 06:47:03:673 - [AndroidDriver] Performing fast reset on 'com.eab.se'
2020-03-31 06:47:03:674 - [debug] [ADB] Getting install status for com.eab.se
2020-03-31 06:47:03:674 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package com.eab.se'
2020-03-31 06:47:03:756 - [debug] [ADB] 'com.eab.se' is installed
2020-03-31 06:47:03:756 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell am force-stop com.eab.se'
2020-03-31 06:47:03:905 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell pm clear com.eab.se'
2020-03-31 06:47:03:989 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package com.eab.se'
2020-03-31 06:47:04:033 - [debug] [ADB] Retrieving requested permissions
2020-03-31 06:47:04:034 - [AndroidDriver] Unable to grant permissions requested. Original error: _appiumSupport.util.pluralize is not a function
2020-03-31 06:47:04:034 - [debug] [AndroidDriver] Performed fast reset on the installed 'com.eab.se' application (stop and clear)
2020-03-31 06:47:04:034 - [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
2020-03-31 06:47:04:052 - [debug] [UiAutomator2] The following obsolete sessions are still running: ["a007eabc-ba94-444b-bd06-0e910517e611"]
2020-03-31 06:47:04:052 - [debug] [UiAutomator2] Cleaning up the obsolete sessions
2020-03-31 06:47:04:564 - [debug] [Instrumentation] .
2020-03-31 06:47:05:081 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell am force-stop io.appium.uiautomator2.server.test'
2020-03-31 06:47:05:157 - [UiAutomator2] Starting UIAutomator2 server 4.5.5
2020-03-31 06:47:05:157 - [UiAutomator2] Using UIAutomator2 server from '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.5.5.apk' and test from '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
2020-03-31 06:47:05:157 - [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
2020-03-31 06:47:05:157 - [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","HT7BG1A07184","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
2020-03-31 06:47:05:420 - [debug] [Instrumentation] Time: 423.472
2020-03-31 06:47:05:421 - [debug] [Instrumentation]
2020-03-31 06:47:05:421 - [debug] [Instrumentation] OK (1 test)
2020-03-31 06:47:05:446 - [debug] [Instrumentation] The process has exited with code 0
2020-03-31 06:47:06:068 - [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
2020-03-31 06:47:06:165 - [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
2020-03-31 06:47:06:165 - [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body
2020-03-31 06:47:06:176 - [WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
2020-03-31 06:47:07:178 - [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
2020-03-31 06:47:07:178 - [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body
2020-03-31 06:47:07:183 - [WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
2020-03-31 06:47:08:186 - [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
2020-03-31 06:47:08:186 - [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body
2020-03-31 06:47:08:316 - [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}}
2020-03-31 06:47:08:317 - [debug] [UiAutomator2] The initialization of the instrumentation process took 3160ms
2020-03-31 06:47:08:317 - [debug] [WD Proxy] Matched '/session' to command name 'createSession'
2020-03-31 06:47:08:317 - [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8201/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","deviceName":"Moto G4","app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","platformVersion":"10","automationName":"uiautomator2","autoGrantPermissions":true,"autoWebview":true,"newCommandTimeout":5000,"nativeWebScreenshot":true,"recreateChromeDriverSessions":true,"ensureWebviewsHavePages":true,"webviewDevtoolsPort":9543},"platformName":"Android","deviceName":"HT7BG1A07184","app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","platformVersion":"10","automationName":"uiautomator2","autoGrantPermissions":true,"autoWebview":true,"newCommandTimeout":5000,"nativeWebScreenshot":true,"recreateChromeDriverSessions":true,"ensureWebviewsHavePages":true,"webviewDevtoolsPort":9543,"deviceUDID"...
2020-03-31 06:47:08:339 - [debug] [WD Proxy] Got response with status 200: {"sessionId":"ca8d1780-6024-45d9-95fd-8e5ee64f21d8","value":{"sessionId":"ca8d1780-6024-45d9-95fd-8e5ee64f21d8","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","deviceName":"Moto G4","app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","platformVersion":"10","automationName":"uiautomator2","autoGrantPermissions":true,"autoWebview":true,"newCommandTimeout":5000,"nativeWebScreenshot":true,"recreateChromeDriverSessions":true,"ensureWebviewsHavePages":true,"webviewDevtoolsPort":9543},"platformName":"Android","deviceName":"HT7BG1A07184","app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","platformVersion":"10","automationName":"uiautomator2","autoGrantPermissions":true,"autoWebview":true,"newCommandTimeout":5000,"nativeWebScreenshot":...
2020-03-31 06:47:08:340 - [WD Proxy] Determined the downstream protocol as 'W3C'
2020-03-31 06:47:08:341 - [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8201/wd/hub/session/ca8d1780-6024-45d9-95fd-8e5ee64f21d8/appium/device/info] with no body
2020-03-31 06:47:08:379 - [debug] [WD Proxy] Got response with status 200: {"sessionId":"ca8d1780-6024-45d9-95fd-8e5ee64f21d8","value":{"androidId":"4cb5cf0b8caf8bb8","manufacturer":"Google","model":"Pixel 2","brand":"google","apiVersion":"29","platformVersion":"10","carrierName":"Jio 4G","realDisplaySize":"1080x1920","displayDensity":420,"networks":[{"type":0,"typeName":"MOBILE","subtype":13,"subtypeName":"LTE","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"ims","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_CELLULAR","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","linkUpstreamBandwidthKbps":51200,"linkDownBandwidthKbps":102400,"signalStrength":-2147483648,"networkSpecifier":"3","SSID":null}},{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED...
2020-03-31 06:47:08:380 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys window'
2020-03-31 06:47:08:468 - [AndroidDriver] Screen already unlocked, doing nothing
2020-03-31 06:47:08:468 - [UiAutomator2] Starting 'com.eab.se/com.eab.se.MainActivity and waiting for 'com.eab.se/com.eab.se.MainActivity'
2020-03-31 06:47:08:468 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell am start -W -n com.eab.se/com.eab.se.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
2020-03-31 06:47:09:625 - [debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.eab.se' and activity: 'com.eab.se.MainActivity' to be focused
2020-03-31 06:47:09:626 - [debug] [ADB] Possible activities, to be checked: 'com.eab.se.MainActivity', 'com.eab.se.com.eab.se.MainActivity'
2020-03-31 06:47:09:626 - [debug] [ADB] Getting focused package and activity
2020-03-31 06:47:09:626 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys window displays'
2020-03-31 06:47:09:660 - [debug] [ADB] Found package: 'com.eab.se' and fully qualified activity name : 'com.eab.se.MainActivity'
2020-03-31 06:47:09:660 - [UiAutomator2] Setting auto webview to context 'WEBVIEW_com.eab.se' with timeout 2000ms
2020-03-31 06:47:09:661 - [debug] [AndroidDriver] Getting a list of available webviews
2020-03-31 06:47:09:661 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell cat /proc/net/unix'
2020-03-31 06:47:09:697 - [AndroidDriver] Retrieved potential webviews; will filter out ones with no active pages
2020-03-31 06:47:09:697 - [debug] [ADB] List forwarding ports
2020-03-31 06:47:09:697 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 forward --list'
2020-03-31 06:47:09:706 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 forward tcp\:9543 localabstract\:webview_devtools_remote_26183'
2020-03-31 06:47:09:712 - [debug] [AndroidDriver] Attempting to get list of pages for webview 'WEBVIEW_26183' from the remote debugger at http://localhost:9543/json/list.
2020-03-31 06:47:09:717 - [AndroidDriver] Webview 'WEBVIEW_26183' has pages
2020-03-31 06:47:09:717 - [debug] [ADB] Removing forwarded port socket connection: 9543
2020-03-31 06:47:09:717 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 forward --remove tcp\:9543'
2020-03-31 06:47:09:725 - [debug] [AndroidDriver] WEBVIEW_26183 mapped to pid 26183
2020-03-31 06:47:09:725 - [debug] [AndroidDriver] Getting process name for webview
2020-03-31 06:47:09:725 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell ps'
2020-03-31 06:47:09:817 - [debug] [AndroidDriver] Parsed pid: '26183' pkg: 'com.eab.se' from
2020-03-31 06:47:09:817 - [debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
2020-03-31 06:47:09:817 - [debug] [AndroidDriver] u0_a276 26183 816 5741020 117728 0 0 S com.eab.se
2020-03-31 06:47:09:817 - [debug] [AndroidDriver] Returning process name: 'com.eab.se'
2020-03-31 06:47:09:818 - [debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.eab.se"]
2020-03-31 06:47:09:818 - [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.eab.se"]
2020-03-31 06:47:09:818 - [debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.eab.se'
2020-03-31 06:47:09:821 - [debug] [AndroidDriver] A port was not given, using random free port: 8001
2020-03-31 06:47:09:821 - [debug] [AndroidDriver] Automated Chromedriver download is disabled. Use 'chromedriver_autodownload' server feature to enable it
2020-03-31 06:47:09:821 - [debug] [AndroidDriver] Before starting chromedriver, androidPackage is 'com.eab.se'
2020-03-31 06:47:09:821 - [debug] [Chromedriver] Changed state to 'starting'
2020-03-31 06:47:09:823 - [debug] [Chromedriver] Found 1 executable in '/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac'
2020-03-31 06:47:09:843 - [debug] [Chromedriver] The following Chromedriver executables were found:
2020-03-31 06:47:09:843 - [debug] [Chromedriver] '/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver' (version '80.0.3987.106', minimum Chrome version 'Unknown')
2020-03-31 06:47:09:843 - [debug] [ADB] Getting package info for 'com.android.chrome'
2020-03-31 06:47:09:844 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 shell dumpsys package com.android.chrome'
2020-03-31 06:47:09:891 - [debug] [Chromedriver] Found Chrome bundle 'com.android.chrome' version '80.0.3987'
2020-03-31 06:47:09:891 - [Chromedriver] No known Chromedriver available to automate Chrome version '80.0.3987'.
2020-03-31 06:47:09:892 - [Chromedriver] Using Chromedriver version '80.0.3987.106', which has not been tested with Appium. You could also try to enable automated chromedrivers download server feature
2020-03-31 06:47:09:892 - [Chromedriver] Set chromedriver binary as: /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver
2020-03-31 06:47:09:892 - [debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver.*--port=8001"
2020-03-31 06:47:09:923 - [Chromedriver] No old chromedrivers seem to exist
2020-03-31 06:47:09:924 - [debug] [Chromedriver] Cleaning any old adb forwarded port socket connections
2020-03-31 06:47:09:924 - [debug] [ADB] List forwarding ports
2020-03-31 06:47:09:924 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 forward --list'
2020-03-31 06:47:09:931 - [debug] [ADB] Removing forwarded port socket connection: 54476
2020-03-31 06:47:09:932 - [debug] [ADB] Running '/Users/mshirodkar/Library/Android/sdk/platform-tools/adb -P 5037 -s HT7BG1A07184 forward --remove tcp\:54476'
2020-03-31 06:47:09:939 - [Chromedriver] Spawning chromedriver with: /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver --url-base=wd/hub --port=8001 --adb-port=5037 --verbose
2020-03-31 06:47:09:956 - [debug] [Chromedriver] Chromedriver version: '80.0.3987.106'
2020-03-31 06:47:09:956 - [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
2020-03-31 06:47:09:956 - [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8001/wd/hub/status] with no body
2020-03-31 06:47:09:958 - [WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8001}
2020-03-31 06:47:10:163 - [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
2020-03-31 06:47:10:164 - [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8001/wd/hub/status] with no body
2020-03-31 06:47:10:167 - [debug] [WD Proxy] Got response with status 200: {"value":{"build":{"version":"80.0.3987.106 (f68069574609230cf9b635cd784cfb1bf81bb53a-refs/branch-heads/3987@{#882})"},"message":"ChromeDriver ready for new sessions.","os":{"arch":"x86_64","name":"Mac OS X","version":"10.14.6"},"ready":true}}
2020-03-31 06:47:10:167 - [Chromedriver] Starting W3C Chromedriver session with capabilities: {
2020-03-31 06:47:10:167 - [Chromedriver] "capabilities": {
2020-03-31 06:47:10:167 - [Chromedriver] "alwaysMatch": {
2020-03-31 06:47:10:167 - [Chromedriver] "goog:chromeOptions": {
2020-03-31 06:47:10:167 - [Chromedriver] "androidPackage": "com.eab.se",
2020-03-31 06:47:10:167 - [Chromedriver] "androidUseRunningApp": true,
2020-03-31 06:47:10:167 - [Chromedriver] "androidDeviceSerial": "HT7BG1A07184"
2020-03-31 06:47:10:167 - [Chromedriver] },
2020-03-31 06:47:10:167 - [Chromedriver] "goog:loggingPrefs": {
2020-03-31 06:47:10:168 - [Chromedriver] "browser": "ALL"
2020-03-31 06:47:10:168 - [Chromedriver] }
2020-03-31 06:47:10:168 - [Chromedriver] }
2020-03-31 06:47:10:168 - [Chromedriver] }
2020-03-31 06:47:10:168 - [Chromedriver] }
2020-03-31 06:47:10:168 - [debug] [WD Proxy] Matched '/session' to command name 'createSession'
2020-03-31 06:47:10:168 - [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8001/wd/hub/session] with body: {"capabilities":{"alwaysMatch":{"goog:chromeOptions":{"androidPackage":"com.eab.se","androidUseRunningApp":true,"androidDeviceSerial":"HT7BG1A07184"},"goog:loggingPrefs":{"browser":"ALL"}}}}
2020-03-31 06:47:10:365 - [debug] [Chromedriver] Webview version: 'Chrome/80.0.3987.119'
2020-03-31 06:47:10:900 - [debug] [WD Proxy] Got response with status 200: {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"80.0.3987.119","chrome":{"chromedriverVersion":"80.0.3987.106 (f68069574609230cf9b635cd784cfb1bf81bb53a-refs/branch-heads/3987@{#882})"},"goog:chromeOptions":{"debuggerAddress":"localhost:54967"},"pageLoadStrategy":"normal","platformName":"android","proxy":{},"setWindowRect":false,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"},"sessionId":"6de1f19ac1998bc6878a0e6ba80b4bda"}}
2020-03-31 06:47:10:900 - [WD Proxy] Determined the downstream protocol as 'W3C'
2020-03-31 06:47:10:900 - [debug] [Chromedriver] Changed state to 'online'
2020-03-31 06:47:10:902 - [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8201/wd/hub/session/ca8d1780-6024-45d9-95fd-8e5ee64f21d8/appium/device/pixel_ratio] with body: {}
2020-03-31 06:47:10:909 - [debug] [WD Proxy] Got response with status 200: {"sessionId":"ca8d1780-6024-45d9-95fd-8e5ee64f21d8","value":2.625}
2020-03-31 06:47:10:911 - [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
2020-03-31 06:47:10:911 - [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8201/wd/hub/session/ca8d1780-6024-45d9-95fd-8e5ee64f21d8/appium/device/system_bars] with body: {}
2020-03-31 06:47:10:917 - [debug] [WD Proxy] Got response with status 200: {"sessionId":"ca8d1780-6024-45d9-95fd-8e5ee64f21d8","value":{"statusBar":63}}
2020-03-31 06:47:10:918 - [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
2020-03-31 06:47:10:918 - [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8201/wd/hub/session/ca8d1780-6024-45d9-95fd-8e5ee64f21d8/window/current/size] with body: {}
2020-03-31 06:47:10:929 - [debug] [WD Proxy] Got response with status 200: {"sessionId":"ca8d1780-6024-45d9-95fd-8e5ee64f21d8","value":{"height":1794,"width":1080}}
2020-03-31 06:47:10:929 - [Appium] New AndroidUiautomator2Driver session created successfully, session 84d00ac2-c292-4542-b6e9-4b7cd0808039 added to master session list
2020-03-31 06:47:10:930 - [debug] [BaseDriver] Event 'newSessionStarted' logged at 1585637230929 (12:17:10 GMT+0530 (India Standard Time))
2020-03-31 06:47:10:930 - [debug] [W3C (84d00ac2)] Cached the protocol value 'W3C' for the new session 84d00ac2-c292-4542-b6e9-4b7cd0808039
2020-03-31 06:47:10:930 - [debug] [W3C (84d00ac2)] 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","deviceName":"Moto G4","app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","platformVersion":"10","automationName":"uiautomator2","autoGrantPermissions":true,"autoWebview":true,"newCommandTimeout":5000,"nativeWebScreenshot":true,"recreateChromeDriverSessions":true,"ensureWebviewsHavePages":true,"webviewDevtoolsPort":9543},"platformName":"Android","deviceName":"HT7BG1A07184","app":"/Users/mshirodkar/Desktop/Git/greenlamb_qa/automation/dependencies/trilamb.apk","platformVersion":"10","automationName":"uiautomator2","autoGrantPermissions":true,"autoWebview":true,"newCommandTimeout":5000,"nativeWebScreenshot":true,"recreateChromeDriverSessions":true,"ensureWebviewsHavePages":true,"webviewDevtoolsPort":9543,"deviceUDID":"HT7BG1A07184"...
2020-03-31 06:47:10:931 - [HTTP] <-- POST /wd/hub/session 200 10511 ms - 1341
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment