Skip to content

Instantly share code, notes, and snippets.

@priyankshah217
Last active October 30, 2020 14:00
Show Gist options
  • Save priyankshah217/b418f12d407e53f349fb8461e0d7f867 to your computer and use it in GitHub Desktop.
Save priyankshah217/b418f12d407e53f349fb8461e0d7f867 to your computer and use it in GitHub Desktop.
afterinvocation immediately called without running tests.
Oct 30, 2020 7:18:19 PM com.appium.utils.ConfigFileManager <clinit>
INFO: Using config file from [./configs/config.properties]
Oct 30, 2020 7:18:19 PM com.appium.schema.CapabilitySchemaValidator validateRemoteHosts
INFO: ATD is Running on 127.0.0.1
_ _ _ _ _ _
__| | (_) ___ | |_ _ __ (_) | |__ _ _ | |_ ___
/ _` | | | / __| | __| | '__| | | | '_ \ | | | | | __| / _ \
| (_| | | | \__ \ | |_ | | | | | |_) | | |_| | | |_ | __/
\__,_| |_| |___/ \__| |_| |_| |_.__/ \__,_| \__| \___|
Oct 30, 2020 7:18:20 PM com.appium.manager.ATDRunner parallelExecution
INFO: com.appium.manager.ATDRunnerTotal Number of devices detected::1
Oct 30, 2020 7:18:20 PM com.appium.manager.DeviceAllocationManager getDevices
INFO: All devices connected
...
... TestNG 7.0.1 by Cédric Beust (cedric@beust.com)
...
Oct 30, 2020 7:18:20 PM com.appium.manager.LocalAppiumManager startAppiumServer
INFO: LocalAppiumManagerStarting Appium Server on Localhost
Picking Default Path for AppiumServiceBuilder
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[Appium] Welcome to Appium v1.18.3
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] port: 26164
[Appium] logFile: /Users/priyank.shah@xyz.com/IdeaProjects/AppiumTestDistribution/target/appiumlogs/appium_logs.txt
[Appium] relaxedSecurityEnabled: true
[Appium] Appium REST http interface listener started on 127.0.0.1:26164
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.18.3"}}
[HTTP] <-- GET /wd/hub/status 200 6 ms - 68
[HTTP]
Oct 30, 2020 7:18:21 PM com.appium.manager.LocalAppiumManager startAppiumServer
INFO: LocalAppiumManagerAppium Server Started at......http://127.0.0.1:26164/wd/hub
Oct 30, 2020 7:18:21 PM com.appium.manager.DeviceAllocationManager allocateDevice
INFO: Allocated Device com.appium.manager.AppiumDevice@21f2c075 for Execution
Oct 30, 2020 7:18:21 PM com.appium.manager.AppiumDriverManager getChromeVersionsFor
INFO: Found Chrome version - '86' on - 'FA6BS0303184'
Oct 30, 2020 7:18:21 PM com.appium.manager.AppiumDriverManager getChromeVersionsFor
INFO: Found Chrome version - '74' on - 'FA6BS0303184'
Oct 30, 2020 7:18:21 PM com.appium.manager.AppiumDriverManager getPathForChromeDriver
INFO: ChromeDriver for Chrome version 86on device: FA6BS0303184
Oct 30, 2020 7:18:22 PM com.appium.manager.AppiumDriverManager initialiseDriver
INFO: Capabilities: Capabilities {adbExecTimeout: 60000, app: https://github.com/shridhar..., automationName: UiAutomator2, chromedriverExecutable: /Users/priyank.shah@xyz.c..., deviceName: android, noSign: true, platformName: android, platformVersion: 7.0, systemPort: 52114, udid: FA6BS0303184, uiautomator2ServerInstallTimeout: 50000}
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","noSign":true,"adbExecTimeout":60000,"platformVersion":"7.0","automationName":"UiAutomator2","platformName":"android","udid":"FA6BS0303184","uiautomator2ServerInstallTimeout":50000,"deviceName":"android","systemPort":52114},"capabilities":{"firstMatch":[{"appium:adbExecTimeout":60000,"appium:app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","appium:automationName":"UiAutomator2","appium:chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","appium:deviceName":"android","appium:noSign":true,"platformName":"android","appium:platformVersion":"7.0","appium:systemPort":52114,"appium:udid":"FA6BS0303184","uiautomator2ServerInstallTimeout":50000}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","noSign":true,"adbExecTimeout":60000,"platformVersion":"7.0","automationName":"UiAutomator2","platformName":"android","udid":"FA6BS0303184","uiautomator2ServerInstallTimeout":50000,"deviceName":"android","systemPort":52114},null,{"firstMatch":[{"appium:adbExecTimeout":60000,"appium:app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","appium:automationName":"UiAutomator2","appium:chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","appium:deviceName":"android","appium:noSign":true,"platformName":"android","appium:platformVersion":"7.0","appium:systemPort":52114,"appium:udid":"FA6BS0303184","uiautomator2ServerInstallTimeout":50000}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1604065702359 (19:18:22 GMT+0530 (India Standard Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] uiautomator2ServerInstallTimeout
[Appium] Appium v1.18.3 creating new AndroidUiautomator2Driver (v1.56.1) session
[Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[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:uiautomator2ServerInstallTimeout": 50000,
[debug] [BaseDriver] "appium:adbExecTimeout": 60000,
[debug] [BaseDriver] "appium:app": "https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk",
[debug] [BaseDriver] "appium:automationName": "UiAutomator2",
[debug] [BaseDriver] "appium:chromedriverExecutable": "/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver",
[debug] [BaseDriver] "appium:deviceName": "android",
[debug] [BaseDriver] "appium:noSign": true,
[debug] [BaseDriver] "appium:platformVersion": "7.0",
[debug] [BaseDriver] "appium:systemPort": 52114,
[debug] [BaseDriver] "appium:udid": "FA6BS0303184"
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: be0ae84b-c133-405b-b181-04fb950ab175
[BaseDriver] Using downloadable app 'https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk'
[debug] [BaseDriver] Last-Modified: undefined
[debug] [BaseDriver] Cache-Control: max-age=300
[debug] [BaseDriver] A fresh copy of the application is going to be downloaded from https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk
[debug] [BaseDriver] Content-Type: application/octet-stream
[debug] [Support] https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk (24.01 MB) has been downloaded to '/var/folders/gq/khr3_78s7j535dl0zv4z5bhh0000gp/T/2020930-21447-kupuak.fp2zm/VodQA.apk' in 3.737s
[debug] [Support] Approximate download speed: 6.42 MB/s
[debug] [UiAutomator2] Checking whether app is actually present
[ADB] Found 1 'build-tools' folders under '/Users/priyank.shah@xyz.com/Android-SDK' (newest first):
[ADB] /Users/priyank.shah@xyz.com/Android-SDK/build-tools/30.0.2
[ADB] Using 'adb' from '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb'
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -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":"FA6BS0303184","state":"device"}]
[AndroidDriver] Using device: FA6BS0303184
[ADB] Using 'adb' from '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb'
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 start-server'
[debug] [ADB] Setting device id to FA6BS0303184
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 29
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 10
[debug] [ADB] Device API level: 29
[UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 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''
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Package name: 'com.vodqareactnative'
[ADB] Main activity name: 'com.vodqareactnative.MainActivity'
[debug] [AndroidDriver] Parsed package and activity are: com.vodqareactnative/com.vodqareactnative.MainActivity
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 wait-for-device'
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 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 '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 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.2.0' >= '3.2.0')
[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'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell 'pgrep --help; echo $?''
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell pgrep -f io\\.appium\\.settings'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell appops set io.appium.settings android\:mock_location allow'
[debug] [Logcat] Starting logs capture with command: /Users/priyank.shah\@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 logcat -v threadtime
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 52114
[debug] [ADB] Forwarding system: 52114 to device: 6790
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 forward tcp\:52114 tcp\:6790'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 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 '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 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.12.2' >= '4.12.2')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.12.2.apk
[ADB] Using 'apksigner.jar' from '/Users/priyank.shah@xyz.com/Android-SDK/build-tools/30.0.2/lib/apksigner.jar'
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/Java-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/priyank.shah\@xyz.com/Android-SDK/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.12.2.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] '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.12.2.apk' is signed with the default certificate
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/Java-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/priyank.shah\@xyz.com/Android-SDK/build-tools/30.0.2/lib/apksigner.jar verify --print-certs /usr/local/lib/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] '/usr/local/lib/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 '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[debug] [ADB] Getting install status for com.vodqareactnative
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell dumpsys package com.vodqareactnative'
[debug] [ADB] 'com.vodqareactnative' is installed
[debug] [ADB] Getting package info for 'com.vodqareactnative'
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell dumpsys package com.vodqareactnative'
[debug] [ADB] The version name of the installed 'com.vodqareactnative' is greater or equal to the application version name ('1.0.0' >= '1.0.0')
[debug] [ADB] There is no need to install/upgrade '/var/folders/gq/khr3_78s7j535dl0zv4z5bhh0000gp/T/2020930-21447-kupuak.fp2zm/VodQA.apk'
[AndroidDriver] Performing fast reset on 'com.vodqareactnative'
[debug] [ADB] Getting install status for com.vodqareactnative
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell dumpsys package com.vodqareactnative'
[debug] [ADB] 'com.vodqareactnative' is installed
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell am force-stop com.vodqareactnative'
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell pm clear com.vodqareactnative'
[debug] [AndroidDriver] Performed fast reset on the installed 'com.vodqareactnative' application (stop and clear)
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (socket hang up)
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 4.12.2
[UiAutomator2] Using UIAutomator2 server from '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.12.2.apk' and test from '/usr/local/lib/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","FA6BS0303184","shell","am","instrument","-w","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:52114/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:52114/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:52114/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:52114/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 4182ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:52114/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","uiautomator2ServerInstallTimeout":50000,"adbExecTimeout":60000,"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","automationName":"UiAutomator2","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","deviceName":"android","noSign":true,"platformVersion":"7.0","systemPort":52114,"udid":"FA6BS0303184"},"platformName":"android","uiautomator2ServerInstallTimeout":50000,"adbExecTimeout":60000,"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","automationName":"UiAutomator2","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","deviceName":"FA6BS0303184","noSi...
[debug] [WD Proxy] Got response with status 200: {"sessionId":"5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","uiautomator2ServerInstallTimeout":50000,"adbExecTimeout":60000,"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","automationName":"UiAutomator2","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","deviceName":"android","noSign":true,"platformVersion":"7.0","systemPort":52114,"udid":"FA6BS0303184"},"platformName":"android","uiautomator2ServerInstallTimeout":50000,"adbExecTimeout":60000,"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","automationName":"UiAutomator2","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/...
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:52114/wd/hub/session/5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e","value":{"androidId":"49b94abc16af564c","apiVersion":"29","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":420,"locale":"en_US","manufacturer":"Google","model":"Pixel","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,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":-42,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":null,"isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"10","realDisplaySize":"1080x1920","timeZone":"Asia/Kolkata"}}
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[UiAutomator2] Starting 'com.vodqareactnative/com.vodqareactnative.MainActivity and waiting for 'com.vodqareactnative/com.vodqareactnative.MainActivity'
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell am start -W -n com.vodqareactnative/com.vodqareactnative.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.vodqareactnative' and activity: 'com.vodqareactnative.MainActivity' to be focused
[debug] [ADB] Possible activities, to be checked: 'com.vodqareactnative.MainActivity', 'com.vodqareactnative.com.vodqareactnative.MainActivity'
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell dumpsys window displays'
[debug] [ADB] Found package: 'com.vodqareactnative' and fully qualified activity name : 'com.vodqareactnative.MainActivity'
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:52114/wd/hub/session/5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e/appium/device/pixel_ratio] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e","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:52114/wd/hub/session/5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e/appium/device/system_bars] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e","value":{"statusBar":63}}
[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:52114/wd/hub/session/5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e/window/current/size] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e","value":{"height":1794,"width":1080}}
[Appium] New AndroidUiautomator2Driver session created successfully, session be0ae84b-c133-405b-b181-04fb950ab175 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1604065715662 (19:18:35 GMT+0530 (India Standard Time))
[debug] [W3C (be0ae84b)] Cached the protocol value 'W3C' for the new session be0ae84b-c133-405b-b181-04fb950ab175
[debug] [W3C (be0ae84b)] 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","uiautomator2ServerInstallTimeout":50000,"adbExecTimeout":60000,"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","automationName":"UiAutomator2","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","deviceName":"android","noSign":true,"platformVersion":"7.0","systemPort":52114,"udid":"FA6BS0303184"},"platformName":"android","uiautomator2ServerInstallTimeout":50000,"adbExecTimeout":60000,"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","automationName":"UiAutomator2","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","deviceName":"FA6BS0303184","noSign":true,"platf...
[HTTP] <-- POST /wd/hub/session 200 13306 ms - 1434
[HTTP]
Oct 30, 2020 7:18:35 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: W3C
[HTTP] --> GET /wd/hub/session/be0ae84b-c133-405b-b181-04fb950ab175
[HTTP] {}
[debug] [W3C (be0ae84b)] Calling AppiumDriver.getSession() with args: ["be0ae84b-c133-405b-b181-04fb950ab175"]
[debug] [UiAutomator2] Getting session details from server to mix in
[debug] [WD Proxy] Matched '/' to command name 'getSession'
[debug] [WD Proxy] Proxying [GET /] to [GET http://127.0.0.1:52114/wd/hub/session/5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e","value":{"lastScrollData":null}}
[debug] [W3C (be0ae84b)] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","uiautomator2ServerInstallTimeout":50000,"adbExecTimeout":60000,"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","automationName":"UiAutomator2","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","deviceName":"android","noSign":true,"platformVersion":"7.0","systemPort":52114,"udid":"FA6BS0303184"},"platformName":"android","uiautomator2ServerInstallTimeout":50000,"adbExecTimeout":60000,"app":"https://github.com/shridharkalagi/AppiumSample/raw/master/VodQA.apk","automationName":"UiAutomator2","chromedriverExecutable":"/Users/priyank.shah@xyz.com/.m2/repository/webdriver/chromedriver/mac64/86.0.4240.22/chromedriver","deviceName":"FA6BS0303184","noSign":true,"platformVersion":"10"...
[HTTP] <-- GET /wd/hub/session/be0ae84b-c133-405b-b181-04fb950ab175 200 16 ms - 1388
[HTTP]
Oct 30, 2020 7:18:35 PM com.appium.manager.AppiumDriverManager initialiseDriver
INFO: Session Created for Android ---- be0ae84b-c133-405b-b181-04fb950ab175---FA6BS0303184
[HTTP] --> POST /wd/hub/session/be0ae84b-c133-405b-b181-04fb950ab175/log
[HTTP] {"type":"logcat"}
[debug] [W3C (be0ae84b)] Calling AppiumDriver.getLog() with args: ["logcat","be0ae84b-c133-405b-b181-04fb950ab175"]
[debug] [BaseDriver] Retrieving 'logcat' logs
[debug] [BaseDriver] Retrieving supported log types
[debug] [W3C (be0ae84b)] Responding to client with driver.getLog() result: [{"timestamp":1604065708529,"level":"ALL","message":"--------- beginning of system"},{"timestamp":1604065708536,"level":"ALL","message":"10-30 18:59:02.594 802 897 I storaged: storaged: Start"},{"timestamp":1604065708536,"level":"ALL","message":"10-30 18:59:02.612 937 937 I chatty : uid=1000 system_server expire 112 lines"},{"timestamp":1604065708536,"level":"ALL","message":"10-30 18:59:02.628 937 1112 I chatty : uid=1000(system) batterystats-wo expire 2 lines"},{"timestamp":1604065708536,"level":"ALL","message":"10-30 18:59:02.688 937 1192 I chatty : uid=1000 system_server expire 1 line"},{"timestamp":1604065708536,"level":"ALL","message":"10-30 18:59:02.841 937 1066 I chatty : uid=1000(system) android.display expire 1 line"},{"timestamp":1604065708536,"level":"ALL","message":"10-30 18:59:02.948 937 1234 I chatty : uid=1000(system) NetworkWatchlis expire 2 lines"},{"timestamp":1604065708536,"level":"ALL","message":"10-30 18:59:02.956 937 1071 I chatty : uid=1000(system) androi...
[HTTP] <-- POST /wd/hub/session/be0ae84b-c133-405b-b181-04fb950ab175/log 200 50 ms - 1006279
[HTTP]
Oct 30, 2020 7:18:35 PM com.context.SessionContext <clinit>
INFO: SessionContext default constructor
Oct 30, 2020 7:18:35 PM com.context.SessionContext loadReportPortalProperties
INFO: Using reportportal.properties file from src/test/resources/reportportal.properties
Oct 30, 2020 7:18:35 PM com.context.SessionContext loadReportPortalProperties
INFO: reportportal.properties file NOT FOUND - /Users/priyank.shah@xyz.com/IdeaProjects/AppiumTestDistribution/src/test/resources/reportportal.properties
Oct 30, 2020 7:18:35 PM com.context.SessionContext <clinit>
INFO: Initialized SessionContext
Oct 30, 2020 7:18:35 PM com.context.SessionContext addContext
INFO: Adding context for thread - 20
Oct 30, 2020 7:18:35 PM com.context.TestExecutionContext <init>
INFO: beforeMethod - TestExecution context created
Before DeviceIdFA6BS0303184
com.appium.executor.CustomeListener.beforeInvocation() was invoked
Before method in DragnDropTest.
##############################################################################################################################################################################
[HTTP] --> DELETE /wd/hub/session/be0ae84b-c133-405b-b181-04fb950ab175
[HTTP] {}
[debug] [W3C (be0ae84b)] Calling AppiumDriver.deleteSession() with args: ["be0ae84b-c133-405b-b181-04fb950ab175"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1604065715997 (19:18:35 GMT+0530 (India Standard Time))
[Appium] Removing session be0ae84b-c133-405b-b181-04fb950ab175 from our master session list
[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:52114/wd/hub/session/5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"5fbb046c-c7e7-4f66-bcbb-4dee7f3d1e7e","value":null}
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 shell am force-stop com.vodqareactnative'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 52114
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 forward --remove tcp\:52114'
[UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running '/Users/priyank.shah@xyz.com/Android-SDK/platform-tools/adb -P 5037 -s FA6BS0303184 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 'quitSessionFinished' logged at 1604065716322 (19:18:36 GMT+0530 (India Standard Time))
[debug] [W3C (be0ae84b)] Received response: null
[debug] [W3C (be0ae84b)] But deleting session, so not returning
[debug] [W3C (be0ae84b)] Responding to client with driver.deleteSession() result: null
[debug] [W3C (be0ae84b)] Destroying socket connection
[HTTP] <-- DELETE /wd/hub/session/be0ae84b-c133-405b-b181-04fb950ab175 200 327 ms - 14
[HTTP]
Oct 30, 2020 7:18:36 PM com.appium.manager.DeviceAllocationManager freeDevice
INFO: DeAllocated Device FA6BS0303184 from execution list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment