{\rtf1\ansi\ansicpg1252\cocoartf2638 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 \f0\fs24 \cf0 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8204'\ [FlutterDriver] Connection to ws://127.0.0.1:41943/vGreyxg0CIk=/ws closed\ [AndroidUiautomator2Driver@01d8 (cbcb5ce9)] Restoring hidden api policy to the device default configuration\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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] [AppiumDriver@2de4] Event 'quitSessionFinished' logged at 1658829061191 (10:51:01 GMT+0100 (West Africa Standard Time))\ [debug] [AppiumDriver@2de4] Received response: null\ [debug] [AppiumDriver@2de4] But deleting session, so not returning\ [debug] [AppiumDriver@2de4] Responding to client with driver.deleteSession() result: null\ [HTTP] <-- DELETE /wd/hub/session/5b7dd33e-1bbe-4f9d-b4d6-d0e7e708bf93 200 231 ms - 14\ [HTTP] \ [debug] [Instrumentation] .\ [debug] [Instrumentation] Time: 11.028\ [debug] [Instrumentation] \ [debug] [Instrumentation] OK (1 test)\ [debug] [Instrumentation] The process has exited with code 0\ [HTTP] --> POST /wd/hub/session\ [HTTP] \{"capabilities":\{"alwaysMatch":\{"appium:platformName":"Android","appium:deviceName":"Pixel 5 API 30 2","appium:automationName":"Flutter","appium:app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","appium:noReset":false,"appium:fullReset":false,"appium:maxInstances":1,"appium:platformVersion":"11","appium:appWaitDuration":20000,"appium:newCommandTimeout":12000,"appium:webviewConnectTimeout":20000,"appium:launchTimeout":5000,"appium:fullContextList":false,"appium:autoAcceptAlerts":true,"appium:chromedriverExecutable":"./node_modules/chromedriver/lib/chromedriver/chromedriver","appium:chromeOptions":\{"w3c":false,"args":["--no-sandbox"]\}\},"firstMatch":[\{\}]\},"desiredCapabilities":\{"appium:platformName":"Android","appium:deviceName":"Pixel 5 API 30 2","appium:automationName":"Flutter","appium:app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","appium:noReset":false,"appium:f...\ [debug] [AppiumDriver@2de4] Calling AppiumDriver.createSession() with args: [\{"appium:platformName":"Android","appium:deviceName":"Pixel 5 API 30 2","appium:automationName":"Flutter","appium:app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","appium:noReset":false,"appium:fullReset":false,"appium:maxInstances":1,"appium:platformVersion":"11","appium:appWaitDuration":20000,"appium:newCommandTimeout":12000,"appium:webviewConnectTimeout":20000,"appium:launchTimeout":5000,"appium:fullContextList":false,"appium:autoAcceptAlerts":true,"appium:chromedriverExecutable":"./node_modules/chromedriver/lib/chromedriver/chromedriver","appium:chromeOptions":\{"w3c":false,"args":["--no-sandbox"]\}\},null,\{"alwaysMatch":\{"appium:platformName":"Android","appium:deviceName":"Pixel 5 API 30 2","appium:automationName":"Flutter","appium:app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","appium:noReset":false,"appium:fullReset":false,"appium:maxInstances":1,"appium:pla...\ [debug] [AppiumDriver@2de4] Event 'newSessionRequested' logged at 1658829134114 (10:52:14 GMT+0100 (West Africa Standard Time))\ [BaseDriver] The capabilities ["platformName"] are standard capabilities and do not require "appium:" prefix\ [Appium] Attempting to find matching driver for automationName 'Flutter' and platformName 'Android'\ [Appium] The 'flutter' driver was installed and matched caps.\ [Appium] Will require it at /Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/integration-tests/node_modules/appium-flutter-driver\ [debug] [Appium] Requiring driver at /Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/integration-tests/node_modules/appium-flutter-driver\ [AppiumDriver@2de4] Appium v2.0.0-beta.40 creating new FlutterDriver (v1.5.0) session\ [AppiumDriver@2de4] Checking BaseDriver versions for Appium and FlutterDriver\ [AppiumDriver@2de4] Appium's BaseDriver version is 8.5.7\ [AppiumDriver@2de4] FlutterDriver's BaseDriver version is 8.5.7\ [debug] [FlutterDriver@8177] Creating session with W3C capabilities: \{\ [debug] [FlutterDriver@8177] "alwaysMatch": \{\ [debug] [FlutterDriver@8177] "platformName": "Android",\ [debug] [FlutterDriver@8177] "appium:deviceName": "Pixel 5 API 30 2",\ [debug] [FlutterDriver@8177] "appium:automationName": "Flutter",\ [debug] [FlutterDriver@8177] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk",\ [debug] [FlutterDriver@8177] "appium:noReset": false,\ [debug] [FlutterDriver@8177] "appium:fullReset": false,\ [debug] [FlutterDriver@8177] "appium:maxInstances": 1,\ [debug] [FlutterDriver@8177] "appium:platformVersion": "11",\ [debug] [FlutterDriver@8177] "appium:appWaitDuration": 20000,\ [debug] [FlutterDriver@8177] "appium:newCommandTimeout": 12000,\ [debug] [FlutterDriver@8177] "appium:webviewConnectTimeout": 20000,\ [debug] [FlutterDriver@8177] "appium:launchTimeout": 5000,\ [debug] [FlutterDriver@8177] "appium:fullContextList": false,\ [debug] [FlutterDriver@8177] "appium:autoAcceptAlerts": true,\ [debug] [FlutterDriver@8177] "appium:chromedriverExecutable": "./node_modules/chromedriver/lib/chromedriver/chromedriver",\ [debug] [FlutterDriver@8177] "appium:chromeOptions": \{\ [debug] [FlutterDriver@8177] "w3c": false,\ [debug] [FlutterDriver@8177] "args": [\ [debug] [FlutterDriver@8177] "--no-sandbox"\ [debug] [FlutterDriver@8177] ]\ [debug] [FlutterDriver@8177] \}\ [debug] [FlutterDriver@8177] \},\ [debug] [FlutterDriver@8177] "firstMatch": [\ [debug] [FlutterDriver@8177] \{\}\ [debug] [FlutterDriver@8177] ]\ [debug] [FlutterDriver@8177] \}\ [FlutterDriver@8177] The following capabilities were provided, but are not recognized by Appium:\ [FlutterDriver@8177] app\ [FlutterDriver@8177] maxInstances\ [FlutterDriver@8177] appWaitDuration\ [FlutterDriver@8177] webviewConnectTimeout\ [FlutterDriver@8177] launchTimeout\ [FlutterDriver@8177] fullContextList\ [FlutterDriver@8177] autoAcceptAlerts\ [FlutterDriver@8177] chromedriverExecutable\ [FlutterDriver@8177] chromeOptions\ [FlutterDriver@8177 (992d787e)] Session created with session id: 992d787e-f13c-4c99-8030-6b2942ac54b6\ [FlutterDriver] Starting an Android proxy session\ [debug] [AndroidUiautomator2Driver@3c87] Creating session with W3C capabilities: \{\ [debug] [AndroidUiautomator2Driver@3c87] "alwaysMatch": \{\ [debug] [AndroidUiautomator2Driver@3c87] "platformName": "Android",\ [debug] [AndroidUiautomator2Driver@3c87] "appium:deviceName": "Pixel 5 API 30 2",\ [debug] [AndroidUiautomator2Driver@3c87] "appium:automationName": "Flutter",\ [debug] [AndroidUiautomator2Driver@3c87] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk",\ [debug] [AndroidUiautomator2Driver@3c87] "appium:noReset": false,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:fullReset": false,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:maxInstances": 1,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:platformVersion": "11",\ [debug] [AndroidUiautomator2Driver@3c87] "appium:appWaitDuration": 20000,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:newCommandTimeout": 12000,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:webviewConnectTimeout": 20000,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:launchTimeout": 5000,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:fullContextList": false,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:autoAcceptAlerts": true,\ [debug] [AndroidUiautomator2Driver@3c87] "appium:chromedriverExecutable": "./node_modules/chromedriver/lib/chromedriver/chromedriver",\ [debug] [AndroidUiautomator2Driver@3c87] "appium:chromeOptions": \{\ [debug] [AndroidUiautomator2Driver@3c87] "w3c": false,\ [debug] [AndroidUiautomator2Driver@3c87] "args": [\ [debug] [AndroidUiautomator2Driver@3c87] "--no-sandbox"\ [debug] [AndroidUiautomator2Driver@3c87] ]\ [debug] [AndroidUiautomator2Driver@3c87] \}\ [debug] [AndroidUiautomator2Driver@3c87] \},\ [debug] [AndroidUiautomator2Driver@3c87] "firstMatch": [\ [debug] [AndroidUiautomator2Driver@3c87] \{\}\ [debug] [AndroidUiautomator2Driver@3c87] ]\ [debug] [AndroidUiautomator2Driver@3c87] \}\ [AndroidUiautomator2Driver@3c87] The following capabilities were provided, but are not recognized by Appium:\ [AndroidUiautomator2Driver@3c87] maxInstances\ [AndroidUiautomator2Driver@3c87] webviewConnectTimeout\ [AndroidUiautomator2Driver@3c87] fullContextList\ [AndroidUiautomator2Driver@3c87] autoAcceptAlerts\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Session created with session id: 8e65bb77-c5d6-468e-b260-88408634df10\ [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Checking whether app is actually present\ [ADB] Using 'adb' from '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/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":"emulator-5554","state":"device"\}]\ [AndroidDriver] Looking for a device with Android '11.0.0'\ [debug] [ADB] Setting device id to emulator-5554\ [ADB] Getting device platform version\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'\ [debug] [ADB] Current device property 'ro.build.version.release': 11\ [AndroidDriver] Using device: emulator-5554\ [ADB] Using 'adb' from '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 start-server'\ [debug] [ADB] Setting device id to emulator-5554\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'\ [debug] [ADB] Current device property 'ro.build.version.sdk': 30\ [ADB] Getting device platform version\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'\ [debug] [ADB] Current device property 'ro.build.version.release': 11\ [debug] [ADB] Device API level: 30\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Relaxing hidden api policy\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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.gelato.api.stage'\ [ADB] Main activity name: 'com.gelato.api.MainActivity'\ [debug] [AndroidDriver] Parsed package and activity are: com.gelato.api.stage/com.gelato.api.MainActivity\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'\ [debug] [AndroidDriver] Pushing settings apk to device...\ [debug] [ADB] Getting install status for io.appium.settings\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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 ('4.1.2' >= '4.1.2')\ [debug] [ADB] There is no need to install/upgrade '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/integration-tests/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk'\ [debug] [ADB] Getting IDs of all 'io.appium.settings' processes\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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] [Logcat] Starting logs capture with command: /Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Forwarding UiAutomator2 Server port 6790 to local port 8204\ [debug] [ADB] Forwarding system: 8204 to device: 6790\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8204 tcp:6790'\ [debug] [ADB] Getting install status for io.appium.uiautomator2.server\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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 ('5.6.2' >= '5.6.2')\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] io.appium.uiautomator2.server installation state: sameVersionInstalled\ [debug] [ADB] Checking app cert for /Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/integration-tests/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v5.6.2.apk\ [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v5.6.2.apk'\ [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v5.6.2.apk'\ [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test'\ [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed\ [debug] [ADB] Checking app cert for /Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/integration-tests/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk\ [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'\ [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Server packages are not going to be (re)installed\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Waiting up to 30000ms for services to be available\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] 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 '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'\ [debug] [ADB] Checking app cert for /Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk\ [debug] [ADB] Using the previously cached signature entry for 'app-stage-debug.apk'\ [debug] [ADB] Getting install status for com.gelato.api.stage\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.gelato.api.stage'\ [debug] [ADB] 'com.gelato.api.stage' is installed\ [debug] [ADB] Getting package info for 'com.gelato.api.stage'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.gelato.api.stage'\ [debug] [ADB] The version name of the installed 'com.gelato.api.stage' is greater or equal to the application version name ('1.1.8' >= '1.1.8')\ [debug] [ADB] There is no need to install/upgrade '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk'\ [AndroidDriver] Performing fast reset on 'com.gelato.api.stage'\ [debug] [ADB] Getting install status for com.gelato.api.stage\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.gelato.api.stage'\ [debug] [ADB] 'com.gelato.api.stage' is installed\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.gelato.api.stage'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm clear com.gelato.api.stage'\ [debug] [AndroidDriver] Performed fast reset on the installed 'com.gelato.api.stage' application (stop and clear)\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Performing shallow cleanup of automation leftovers\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] No obsolete sessions have been detected (socket hang up)\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Starting UIAutomator2 server 5.6.2\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Using UIAutomator2 server from '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/integration-tests/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v5.6.2.apk' and test from '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/integration-tests/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Waiting up to 30000ms for UiAutomator2 to be online...\ [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Matched '/status' to command name 'getStatus'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [GET /status] to [GET http://127.0.0.1:8204/status] with no body\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] socket hang up\ [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Matched '/status' to command name 'getStatus'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [GET /status] to [GET http://127.0.0.1:8204/status] with no body\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] socket hang up\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Matched '/status' to command name 'getStatus'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [GET /status] to [GET http://127.0.0.1:8204/status] with no body\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Got response with status 200: \{"sessionId":"None","value":\{"message":"UiAutomator2 Server is ready to accept commands","ready":true\}\}\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] The initialization of the instrumentation process took 2043ms\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Matched '/session' to command name 'createSession'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [POST /session] to [POST http://127.0.0.1:8204/session] with body: \{"capabilities":\{"firstMatch":[\{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":\{\},"desired":\{"platformName":"Android","deviceName":"Pixel 5 API 30 2","automationName":"Flutter","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","noReset":false,"fullReset":false,"maxInstances":1,"platformVersion":"11","appWaitDuration":20000,"newCommandTimeout":12000,"webviewConnectTimeout":20000,"launchTimeout":5000,"fullContextList":false,"autoAcceptAlerts":true,"chromedriverExecutable":"./node_modules/chromedriver/lib/chromedriver/chromedriver","chromeOptions":\{"w3c":false,"args":["--no-sandbox"]\}\},"platformName":"Android","deviceName":"emulator-5554","automationName":"Flutter","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","noReset":fa...\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Got response with status 200: \{"sessionId":"ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db","value":\{"capabilities":\{"firstMatch":[\{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":\{\},"desired":\{"platformName":"Android","deviceName":"Pixel 5 API 30 2","automationName":"Flutter","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","noReset":false,"fullReset":false,"maxInstances":1,"platformVersion":"11","appWaitDuration":20000,"newCommandTimeout":12000,"webviewConnectTimeout":20000,"launchTimeout":5000,"fullContextList":false,"autoAcceptAlerts":true,"chromedriverExecutable":"./node_modules/chromedriver/lib/chromedriver/chromedriver","chromeOptions":\{"w3c":false,"args":["--no-sandbox"]\}\},"platformName":"Android","deviceName":"emulator-5554","automationName":"Flutter","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/bui...\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Determined the downstream protocol as 'W3C'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8204/session/ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db/appium/device/info] with no body\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Got response with status 200: \{"sessionId":"ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db","value":\{"androidId":"a5e3a09d263cd4fa","apiVersion":"30","bluetooth":\{"state":"ON"\},"brand":"google","carrierName":"Android","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone_arm64","networks":[\{"capabilities":\{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_MMS,NET_CAPABILITY_SUPL,NET_CAPABILITY_DUN,NET_CAPABILITY_FOTA,NET_CAPABILITY_IMS,NET_CAPABILITY_CBS,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"\},"detailedState":"CONNECTED","extraInfo":"epc.tmobile.com","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"\},\{"capabilities"...\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'\ [AndroidDriver] Screen already unlocked, doing nothing\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Starting 'com.gelato.api.stage/com.gelato.api.MainActivity and waiting for 'com.gelato.api.stage/com.gelato.api.MainActivity'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n com.gelato.api.stage/com.gelato.api.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.gelato.api.stage' and activity: 'com.gelato.api.MainActivity' to be focused\ [debug] [ADB] Possible activities, to be checked: 'com.gelato.api.MainActivity', 'com.gelato.api.stage.com.gelato.api.MainActivity'\ [debug] [ADB] Getting focused package and activity\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window displays'\ [debug] [ADB] Found package: 'com.gelato.api.stage' and fully qualified activity name : 'com.gelato.api.MainActivity'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8204/session/ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db/appium/device/pixel_ratio] with no body\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Got response with status 200: \{"sessionId":"ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db","value":2.75\}\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Matched '/appium/device/system_bars' to command name 'getSystemBars'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8204/session/ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db/appium/device/system_bars] with no body\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Got response with status 200: \{"sessionId":"ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db","value":\{"statusBar":66\}\}\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Matched '/window/current/size' to command name 'getWindowSize'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8204/session/ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db/window/current/size] with no body\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Got response with status 200: \{"sessionId":"ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db","value":\{"height":2208,"width":1080\}\}\ [FlutterDriver] Attempt #1\ [ADB] Using 'adb' from '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/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":"emulator-5554","state":"device"\}]\ [AndroidDriver] Looking for a device with Android '11.0.0'\ [debug] [ADB] Setting device id to emulator-5554\ [ADB] Getting device platform version\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'\ [debug] [ADB] Current device property 'ro.build.version.release': 11\ [AndroidDriver] Using device: emulator-5554\ [debug] [FlutterDriver] /Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:39261 tcp:39261\ [FlutterDriver] Connecting to Dart Observatory: ws://127.0.0.1:39261/J8gVrd7CRdk=/ws\ [FlutterDriver] Connecting to ws://127.0.0.1:39261/J8gVrd7CRdk=/ws\ [FlutterDriver] Listing all isolates: [\{"type":"@Isolate","id":"isolates/2369352218782535","name":"main","number":"2369352218782535","isSystemIsolate":false\}]\ [AppiumDriver@2de4] New FlutterDriver session created successfully, session 992d787e-f13c-4c99-8030-6b2942ac54b6 added to master session list\ [debug] [AppiumDriver@2de4] Event 'newSessionStarted' logged at 1658829141188 (10:52:21 GMT+0100 (West Africa Standard Time))\ [debug] [FlutterDriver@8177 (992d787e)] Cached the protocol value 'W3C' for the new session 992d787e-f13c-4c99-8030-6b2942ac54b6\ [debug] [FlutterDriver@8177 (992d787e)] Responding to client with driver.createSession() result: \{"capabilities":\{"subcommand":"server","address":"0.0.0.0","basePath":"/wd/hub","port":4723,"allowCors":false,"allowInsecure":[],"callbackPort":4723,"debugLogSpacing":false,"denyInsecure":[],"keepAliveTimeout":600,"localTimezone":false,"loglevel":"debug","logNoColors":false,"logTimestamp":false,"longStacktrace":false,"noPermsCheck":false,"relaxedSecurityEnabled":false,"sessionOverride":false,"strictCaps":false,"useDrivers":[],"usePlugins":[],"tmpDir":"/var/folders/ng/j1x2zw3d6_9d_tsgmh3skv880000gn/T","platformName":"Android","deviceName":"Pixel 5 API 30 2","automationName":"Flutter","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","noReset":false,"fullReset":false,"maxInstances":1,"platformVersion":"11","appWaitDuration":20000,"newCommandTimeout":12000,"webviewConnectTimeout":20000,"launchTimeout":5000,"fullContextList":false,"autoAcceptAlerts":true,"chromedriverExecutable":"./node_modules/chromedriver/lib/chromedriver/chromedriver","...\ [HTTP] <-- POST /wd/hub/session 200 7077 ms - 1174\ [HTTP] \ [HTTP] --> GET /wd/hub/session/992d787e-f13c-4c99-8030-6b2942ac54b6/contexts\ [HTTP] \{\}\ [debug] [FlutterDriver@8177 (992d787e)] Calling AppiumDriver.getContexts() with args: ["992d787e-f13c-4c99-8030-6b2942ac54b6"]\ [debug] [FlutterDriver] Executing Flutter driver command 'getContexts'\ [debug] [AndroidDriver] Getting a list of available webviews\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cat /proc/net/unix'\ [debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_13720"]\ [debug] [AndroidDriver] Collecting CDP data of 1 webview\ [debug] [AndroidDriver] Forwarding remote port webview_devtools_remote_13720 to a local port in range 10900..11000\ [debug] [AndroidDriver] You could use the 'webviewDevtoolsPort' capability to customize the starting port number\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:10900 localabstract:webview_devtools_remote_13720'\ [debug] [ADB] Removing forwarded port socket connection: 10900 \ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:10900'\ [debug] [AndroidDriver] CDP data collection completed\ [debug] [AndroidDriver] WEBVIEW_13720 mapped to pid 13720\ [debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_13720'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps --help'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps -A'\ [debug] [AndroidDriver] Got process name: 'com.gelato.api.stage'\ [AndroidDriver] Skipping the webview 'WEBVIEW_13720' at '@webview_devtools_remote_13720' since it has reported having zero pages\ [debug] [AndroidDriver] Found 0 webviews: []\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Available contexts: ["NATIVE_APP"]\ [debug] [FlutterDriver@8177 (992d787e)] Responding to client with driver.getContexts() result: ["NATIVE_APP","FLUTTER"]\ [HTTP] <-- GET /wd/hub/session/992d787e-f13c-4c99-8030-6b2942ac54b6/contexts 200 109 ms - 34\ [HTTP] \ [HTTP] --> POST /wd/hub/session/992d787e-f13c-4c99-8030-6b2942ac54b6/element/eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoiYnV0dG9uX3NpZ25faW5fZ29vZ2xlIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0/click\ [HTTP] \{\}\ [debug] [FlutterDriver@8177 (992d787e)] Calling AppiumDriver.click() with args: ["eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoiYnV0dG9uX3NpZ25faW5fZ29vZ2xlIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0","992d787e-f13c-4c99-8030-6b2942ac54b6"]\ [debug] [FlutterDriver] Executing Flutter driver command 'click'\ [debug] [FlutterDriver] >>> \{"command":"tap","finderType":"ByValueKey","keyValueString":"button_sign_in_google","keyValueType":"String"\}\ [HTTP] --> GET /wd/hub/session/992d787e-f13c-4c99-8030-6b2942ac54b6/screenshot\ [HTTP] \{\}\ [debug] [FlutterDriver@8177 (992d787e)] Calling AppiumDriver.getScreenshot() with args: ["992d787e-f13c-4c99-8030-6b2942ac54b6"]\ [debug] [FlutterDriver] Executing Flutter driver command 'getScreenshot'\ [HTTP] --> DELETE /wd/hub/session/992d787e-f13c-4c99-8030-6b2942ac54b6\ [HTTP] \{\}\ [debug] [FlutterDriver@8177 (992d787e)] Calling AppiumDriver.deleteSession() with args: ["992d787e-f13c-4c99-8030-6b2942ac54b6"]\ [debug] [AppiumDriver@2de4] Event 'quitSessionRequested' logged at 1658829231330 (10:53:51 GMT+0100 (West Africa Standard Time))\ [AppiumDriver@2de4] Removing session 992d787e-f13c-4c99-8030-6b2942ac54b6 from our master session list\ [debug] [FlutterDriver] Deleting Flutter Driver session\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Deleting UiAutomator2 session\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Deleting UiAutomator2 server session\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Matched '/' to command name 'deleteSession'\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8204/session/ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db] with no body\ [debug] [AndroidUiautomator2Driver@3c87 (8e65bb77)] Got response with status 200: \{"sessionId":"ecdf9a6b-2d23-40e5-94f5-0ec5ec15f6db","value":null\}\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.gelato.api.stage'\ [debug] [Logcat] Stopping logcat capture\ [debug] [ADB] Removing forwarded port socket connection: 8204 \ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8204'\ [FlutterDriver] Connection to ws://127.0.0.1:39261/J8gVrd7CRdk=/ws closed\ [AndroidUiautomator2Driver@3c87 (8e65bb77)] Restoring hidden api policy to the device default configuration\ [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 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] [AppiumDriver@2de4] Event 'quitSessionFinished' logged at 1658829231630 (10:53:51 GMT+0100 (West Africa Standard Time))\ [debug] [AppiumDriver@2de4] Received response: null\ [debug] [AppiumDriver@2de4] But deleting session, so not returning\ [debug] [AppiumDriver@2de4] Responding to client with driver.deleteSession() result: null\ [HTTP] <-- DELETE /wd/hub/session/992d787e-f13c-4c99-8030-6b2942ac54b6 200 301 ms - 14\ [HTTP] \ [HTTP] <-- POST /wd/hub/session/992d787e-f13c-4c99-8030-6b2942ac54b6/element/eyJmaW5kZXJUeXBlIjoiQnlWYWx1ZUtleSIsImtleVZhbHVlU3RyaW5nIjoiYnV0dG9uX3NpZ25faW5fZ29vZ2xlIiwia2V5VmFsdWVUeXBlIjoiU3RyaW5nIn0/click - - ms - -\ [HTTP] \ [HTTP] <-- GET /wd/hub/session/992d787e-f13c-4c99-8030-6b2942ac54b6/screenshot - - ms - -\ [HTTP] \ [debug] [Instrumentation] .\ [debug] [Instrumentation] Time: 96.192\ [debug] [Instrumentation] \ [debug] [Instrumentation] OK (1 test)\ [debug] [Instrumentation] The process has exited with code 0}