[info] [Appium] Welcome to Appium v1.22.2 [info] [Appium] Non-default server args: [info] [Appium] relaxedSecurityEnabled: true [info] [Appium] allowInsecure: { [info] [Appium] } [info] [Appium] denyInsecure: { [info] [Appium] } [info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664019699 (09:26:59 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] platformVersion [warn] [BaseDriver] deviceName [warn] [BaseDriver] noReset [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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": "iOS", [debug] [BaseDriver] "appium:platformVersion": "15.4", [debug] [BaseDriver] "appium:deviceName": "iPhone 13", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:app": "/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 6d137b3a-1690-4e6d-8872-f852ffe2fa5e [info] [FlutterDriver] Starting an IOS proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "iOS", [debug] [BaseDriver] "appium:platformVersion": "15.4", [debug] [BaseDriver] "appium:deviceName": "iPhone 13", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:app": "/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 7cf1a67d-9ed3-428b-81ad-5e4a870e5a02[debug] [XCUITest] Current user: 'harsha.sharmagelato.com' [info] [XCUITest] iOS SDK Version set to '15.4'[info] [iOSSim] Constructing iOS simulator for Xcode version 13.3 with udid '7AB181D2-1BDC-447C-9D8F-CAA382A05694' [info] [XCUITest] Determining device to run tests on: udid: '7AB181D2-1BDC-447C-9D8F-CAA382A05694', real device: false [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1656664020594 (09:27:00 GMT+0100 (West Africa Standard Time)) [error] [XCUITest] Error: The application at '/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app' does not exist or is not accessible [error] [XCUITest] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for 7AB181D2-1BDC-447C-9D8F-CAA382A05694 device on any port number [info] [DevCon Factory] No cached connections have been found [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664020624 (09:27:00 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: Bad app: /Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app. App paths need to be absolute or an URL to a compressed app file: The application at '/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app' does not exist or is not accessible [debug] [W3C] at XCUITestDriver.configureApp (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:816:13) [info] [HTTP] <-- POST /wd/hub/session 500 967 ms - 1389 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664020677 (09:27:00 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] platformVersion [warn] [BaseDriver] deviceName [warn] [BaseDriver] noReset [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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": "iOS", [debug] [BaseDriver] "appium:platformVersion": "15.4", [debug] [BaseDriver] "appium:deviceName": "iPhone 13", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:app": "/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 4f3caf07-9c05-46cf-92c9-a84c9849ba97 [info] [FlutterDriver] Starting an IOS proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "iOS", [debug] [BaseDriver] "appium:platformVersion": "15.4", [debug] [BaseDriver] "appium:deviceName": "iPhone 13", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:app": "/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 8fb6b30e-2348-4d69-9fb0-0ad57bb33f57 [debug] [XCUITest] Current user: 'harsha.sharmagelato.com' [info] [XCUITest] iOS SDK Version set to '15.4'[info] [iOSSim] Constructing iOS simulator for Xcode version 13.3 with udid '7AB181D2-1BDC-447C-9D8F-CAA382A05694' [info] [XCUITest] Determining device to run tests on: udid: '7AB181D2-1BDC-447C-9D8F-CAA382A05694', real device: false [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1656664020824 (09:27:00 GMT+0100 (West Africa Standard Time)) [error] [XCUITest] Error: The application at '/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app' does not exist or is not accessible [error] [XCUITest] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for 7AB181D2-1BDC-447C-9D8F-CAA382A05694 device on any port number [info] [DevCon Factory] No cached connections have been found [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664020826 (09:27:00 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: Bad app: /Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app. App paths need to be absolute or an URL to a compressed app file: The application at '/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app' does not exist or is not accessible [debug] [W3C] at XCUITestDriver.configureApp (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:816:13) [info] [HTTP] <-- POST /wd/hub/session 500 151 ms - 1389 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664020832 (09:27:00 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] platformVersion [warn] [BaseDriver] deviceName [warn] [BaseDriver] noReset [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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": "iOS", [debug] [BaseDriver] "appium:platformVersion": "15.4", [debug] [BaseDriver] "appium:deviceName": "iPhone 13", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:app": "/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: f374ab6f-b121-4cae-820c-c495d5d1e07e [info] [FlutterDriver] Starting an IOS proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "iOS", [debug] [BaseDriver] "appium:platformVersion": "15.4", [debug] [BaseDriver] "appium:deviceName": "iPhone 13", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:app": "/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 714c9464-9d26-49ad-a54e-45c563ff32e0 [debug] [XCUITest] Current user: 'harsha.sharmagelato.com' [info] [XCUITest] iOS SDK Version set to '15.4'[info] [iOSSim] Constructing iOS simulator for Xcode version 13.3 with udid '7AB181D2-1BDC-447C-9D8F-CAA382A05694' [info] [XCUITest] Determining device to run tests on: udid: '7AB181D2-1BDC-447C-9D8F-CAA382A05694', real device: false [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1656664020994 (09:27:00 GMT+0100 (West Africa Standard Time)) [error] [XCUITest] Error: The application at '/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app' does not exist or is not accessible [error] [XCUITest] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for 7AB181D2-1BDC-447C-9D8F-CAA382A05694 device on any port number [info] [DevCon Factory] No cached connections have been found [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664020995 (09:27:00 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: Bad app: /Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app. App paths need to be absolute or an URL to a compressed app file: The application at '/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app' does not exist or is not accessible [debug] [W3C] at XCUITestDriver.configureApp (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:816:13) [info] [HTTP] <-- POST /wd/hub/session 500 164 ms - 1389 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"iOS","platformVersion":"15.4","deviceName":"iPhone 13","noReset":true,"app":"/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664020999 (09:27:00 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] platformVersion [warn] [BaseDriver] deviceName [warn] [BaseDriver] noReset [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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": "iOS", [debug] [BaseDriver] "appium:platformVersion": "15.4", [debug] [BaseDriver] "appium:deviceName": "iPhone 13", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:app": "/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 87b2e974-f372-4433-a884-671ad1f9473b [info] [FlutterDriver] Starting an IOS proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "iOS", [debug] [BaseDriver] "appium:platformVersion": "15.4", [debug] [BaseDriver] "appium:deviceName": "iPhone 13", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:app": "/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: b1026aac-1ec9-4891-959c-f9638353899d [debug] [XCUITest] Current user: 'harsha.sharmagelato.com' [info] [XCUITest] iOS SDK Version set to '15.4' [info] [iOSSim] Constructing iOS simulator for Xcode version 13.3 with udid '7AB181D2-1BDC-447C-9D8F-CAA382A05694' [info] [XCUITest] Determining device to run tests on: udid: '7AB181D2-1BDC-447C-9D8F-CAA382A05694', real device: false [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1656664021139 (09:27:01 GMT+0100 (West Africa Standard Time)) [error] [XCUITest] Error: The application at '/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app' does not exist or is not accessible [error] [XCUITest] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for 7AB181D2-1BDC-447C-9D8F-CAA382A05694 device on any port number [info] [DevCon Factory] No cached connections have been found [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664021141 (09:27:01 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: Bad app: /Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app. App paths need to be absolute or an URL to a compressed app file: The application at '/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Products/Debug-iphonesimulator/Runner.app' does not exist or is not accessible [debug] [W3C] at XCUITestDriver.configureApp (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:816:13) [info] [HTTP] <-- POST /wd/hub/session 500 143 ms - 1389 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664052440 (09:27:32 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: f8cdaf39-39e4-4276-ac31-f5d83e09133b [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 82c36f8a-ff25-4333-8508-c1f03a49585e [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664052457 (09:27:32 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: The application at '../build/app/outputs/flutter-apk/app-stage-debug.apk' does not exist or is not accessible [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [info] [HTTP] <-- POST /wd/hub/session 500 20 ms - 803 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664052465 (09:27:32 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 1b82a5d1-e7d4-4677-9565-c6e8e4b1fbab [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: e3be15cd-4a90-43d6-92ba-fd636e8cdd1d [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664052478 (09:27:32 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: The application at '../build/app/outputs/flutter-apk/app-stage-debug.apk' does not exist or is not accessible [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [info] [HTTP] <-- POST /wd/hub/session 500 16 ms - 803 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664052484 (09:27:32 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 8551d6e6-8ff0-4ee6-8350-7c2a9608136d [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: ae284170-d668-4526-98de-03201b6141e6[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664052499 (09:27:32 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 71095e91-b2f4-456d-a259-57b61bcfde68 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: de89e070-7905-4ec0-beb4-ee36dae08f13 [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664052508 (09:27:32 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: The application at '../build/app/outputs/flutter-apk/app-stage-debug.apk' does not exist or is not accessible [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [info] [HTTP] <-- POST /wd/hub/session 500 11 ms - 803 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664100173 (09:28:20 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: c14cafdf-4d46-473e-8ce0-93ef53214d6c [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: fc60b68f-aabf-4016-b625-8ddf7efc59a7 [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664100200 (09:28:20 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: The application at '../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' does not exist or is not accessible [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [info] [HTTP] <-- POST /wd/hub/session 500 31 ms - 1029 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664100209 (09:28:20 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 075a9d55-3805-4943-8795-b7bf67b6e3a6 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 325d746d-849f-4985-aa34-3d727185f918 [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664100222 (09:28:20 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: The application at '../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' does not exist or is not accessible [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [info] [HTTP] <-- POST /wd/hub/session 500 17 ms - 1029 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664100228 (09:28:20 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 3d0368f7-675d-43e5-a80f-c531e7191b5c [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 16786dc6-1776-4593-aa14-4470ed633ff7 [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664100236 (09:28:20 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: The application at '../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' does not exist or is not accessible [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [info] [HTTP] <-- POST /wd/hub/session 500 9 ms - 1029 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664100239 (09:28:20 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 48f00d56-8924-41da-a7ca-a905763c31b4 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 66950f42-4b0d-47e0-bc6f-4bd035c5b55d [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664100246 (09:28:20 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: Error: The application at '../build/app/outputs/flutter-apk/app-stage-debug.apk/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' does not exist or is not accessible [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/helpers.js:234:13 [info] [HTTP] <-- POST /wd/hub/session 500 9 ms - 1029 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664132508 (09:28:52 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: f55e4e06-2404-4090-989f-9f5d798b57aa [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 30440171-8be2-4ad2-a4f8-54852252e19a [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [ADB] Found 7 'build-tools' folders under '/Users/harsha.sharmagelato.com/Library/Android/sdk' (newest first): [info] [ADB] /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/33.0.0-rc2 [info] [ADB] /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/32.1.0-rc1 [info] [ADB] /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/32.0.0 [info] [ADB] /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/31.0.0 [info] [ADB] /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/30.0.3 [info] [ADB] /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/30.0.2 [info] [ADB] /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/29.0.2 [info] [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'[info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [info] [ADB] Using 'apksigner.jar' from '/Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/33.0.0-rc2/lib/apksigner.jar' [debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/33.0.0-rc2/lib/apksigner.jar verify --print-certs '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk'[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.apk' [info] [ADB] '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' is signed with the default certificate [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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/33.0.0-rc2/lib/apksigner.jar verify --print-certs '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [info] [ADB] '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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] Starting apksigner: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/harsha.sharmagelato.com/Library/Android/sdk/build-tools/33.0.0-rc2/lib/apksigner.jar verify --print-certs /Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: CN=Debug, OU=Gelato [debug] [ADB] Signer #1 certificate SHA-256 digest: ffefc6942f0c60bcd167039487f10dc46a71c6967efd6203454b9768054f79ad [debug] [ADB] Signer #1 certificate SHA-1 digest: 8e24af742dd4f11f05e3686e3e5d8cc02406dd67 [debug] [ADB] Signer #1 certificate MD5 digest: b3e925729f25bed0b28ce940c5e607fd [debug] [ADB] [info] [ADB] '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' is signed with a non-default certificate [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2083ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}}[debug] [WD Proxy] Got response with status 200: {"sessionId":"1100244d-40f7-4731-adac-2f0410bd97bb","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"1100244d-40f7-4731-adac-2f0410bd97bb"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/1100244d-40f7-4731-adac-2f0410bd97bb/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"1100244d-40f7-4731-adac-2f0410bd97bb","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/1100244d-40f7-4731-adac-2f0410bd97bb/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"1100244d-40f7-4731-adac-2f0410bd97bb","value":2.75} [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:8202/wd/hub/session/1100244d-40f7-4731-adac-2f0410bd97bb/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"1100244d-40f7-4731-adac-2f0410bd97bb","value":{"statusBar":66}} [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:8202/wd/hub/session/1100244d-40f7-4731-adac-2f0410bd97bb/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"1100244d-40f7-4731-adac-2f0410bd97bb","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/1100244d-40f7-4731-adac-2f0410bd97bb] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"1100244d-40f7-4731-adac-2f0410bd97bb","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202'[info] [UiAutomator2] 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] [Instrumentation] Time: 5.102 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664147800 (09:29:07 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 15332 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664147870 (09:29:07 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: ae3f88b0-bfe3-49a8-9f08-a9ace75f5b19 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: e461b271-837d-4b65-956f-4b5ff5266a0f [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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 [debug] [Instrumentation] The process has exited with code 0[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2111ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}}[debug] [WD Proxy] Got response with status 200: {"sessionId":"0d02ce82-4076-4605-85c4-1a9744d59fca","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"0d02ce82-4076-4605-85c4-1a9744d59fca"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/0d02ce82-4076-4605-85c4-1a9744d59fca/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0d02ce82-4076-4605-85c4-1a9744d59fca","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/0d02ce82-4076-4605-85c4-1a9744d59fca/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0d02ce82-4076-4605-85c4-1a9744d59fca","value":2.75} [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:8202/wd/hub/session/0d02ce82-4076-4605-85c4-1a9744d59fca/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0d02ce82-4076-4605-85c4-1a9744d59fca","value":{"statusBar":66}} [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:8202/wd/hub/session/0d02ce82-4076-4605-85c4-1a9744d59fca/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0d02ce82-4076-4605-85c4-1a9744d59fca","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/0d02ce82-4076-4605-85c4-1a9744d59fca] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0d02ce82-4076-4605-85c4-1a9744d59fca","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664155994 (09:29:15 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8133 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664156016 (09:29:16 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: e6442cd9-5207-43c5-8d05-b2aef279c562 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: e4dba9a7-30df-405c-bb6c-2bfba7a6f6d4 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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'[info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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] [Instrumentation] . [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] [Instrumentation] Time: 6.068 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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] [Instrumentation] The process has exited with code 0[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2072ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"b62e95ed-6914-4f69-b52a-73a44551db12","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"b62e95ed-6914-4f69-b52a-73a44551db12"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/b62e95ed-6914-4f69-b52a-73a44551db12/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"b62e95ed-6914-4f69-b52a-73a44551db12","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/b62e95ed-6914-4f69-b52a-73a44551db12/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"b62e95ed-6914-4f69-b52a-73a44551db12","value":2.75} [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:8202/wd/hub/session/b62e95ed-6914-4f69-b52a-73a44551db12/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"b62e95ed-6914-4f69-b52a-73a44551db12","value":{"statusBar":66}} [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:8202/wd/hub/session/b62e95ed-6914-4f69-b52a-73a44551db12/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"b62e95ed-6914-4f69-b52a-73a44551db12","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/b62e95ed-6914-4f69-b52a-73a44551db12] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"b62e95ed-6914-4f69-b52a-73a44551db12","value":null} [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] Removing forwarded port socket connection: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664164873 (09:29:24 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8862 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664164888 (09:29:24 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: dcbf7cd3-9b2b-484e-8a4f-b3def367bc89 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 3e81e466-7927-455b-84f7-14aed74b6b69 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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'[info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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] [Instrumentation] . [debug] [AndroidDriver] Parsing package and activity from app manifest [debug] [Instrumentation] Time: 6.049 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [Instrumentation] The process has exited with code 0 [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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'[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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2116ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c787c1-225a-460a-854b-62e84078d3f5","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"a0c787c1-225a-460a-854b-62e84078d3f5"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/a0c787c1-225a-460a-854b-62e84078d3f5/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c787c1-225a-460a-854b-62e84078d3f5","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/a0c787c1-225a-460a-854b-62e84078d3f5/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c787c1-225a-460a-854b-62e84078d3f5","value":2.75} [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:8202/wd/hub/session/a0c787c1-225a-460a-854b-62e84078d3f5/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c787c1-225a-460a-854b-62e84078d3f5","value":{"statusBar":66}} [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:8202/wd/hub/session/a0c787c1-225a-460a-854b-62e84078d3f5/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c787c1-225a-460a-854b-62e84078d3f5","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/a0c787c1-225a-460a-854b-62e84078d3f5] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c787c1-225a-460a-854b-62e84078d3f5","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202'[info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664172190 (09:29:32 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 7309 ms - 667 [info] [HTTP] [debug] [Instrumentation] . [debug] [Instrumentation] Time: 5.064 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664548664 (09:35:48 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 963b526b-9a6c-423c-8dbc-e577124bea84 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 5f96d7fe-e25b-402c-8f4e-97e026ac03a1 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2087ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"caa25758-1053-4b83-b2d5-ae7ec8f9f875","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"caa25758-1053-4b83-b2d5-ae7ec8f9f875"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/caa25758-1053-4b83-b2d5-ae7ec8f9f875/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"caa25758-1053-4b83-b2d5-ae7ec8f9f875","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/caa25758-1053-4b83-b2d5-ae7ec8f9f875/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"caa25758-1053-4b83-b2d5-ae7ec8f9f875","value":2.75} [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:8202/wd/hub/session/caa25758-1053-4b83-b2d5-ae7ec8f9f875/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"caa25758-1053-4b83-b2d5-ae7ec8f9f875","value":{"statusBar":66}} [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:8202/wd/hub/session/caa25758-1053-4b83-b2d5-ae7ec8f9f875/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"caa25758-1053-4b83-b2d5-ae7ec8f9f875","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/caa25758-1053-4b83-b2d5-ae7ec8f9f875] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"caa25758-1053-4b83-b2d5-ae7ec8f9f875","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664557626 (09:35:57 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8976 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664557652 (09:35:57 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 8efc96ac-296d-403d-aa5d-92090343a7f4 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 9b6c79c4-be01-4d56-917b-90d099c054b6 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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 [debug] [Instrumentation] .[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [Instrumentation] The process has exited with code 0 [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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk[debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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'[info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2105ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"0f318a43-2638-48c7-80c5-c5469bf630f0","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"0f318a43-2638-48c7-80c5-c5469bf630f0"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/0f318a43-2638-48c7-80c5-c5469bf630f0/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0f318a43-2638-48c7-80c5-c5469bf630f0","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/0f318a43-2638-48c7-80c5-c5469bf630f0/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0f318a43-2638-48c7-80c5-c5469bf630f0","value":2.75} [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:8202/wd/hub/session/0f318a43-2638-48c7-80c5-c5469bf630f0/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0f318a43-2638-48c7-80c5-c5469bf630f0","value":{"statusBar":66}} [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:8202/wd/hub/session/0f318a43-2638-48c7-80c5-c5469bf630f0/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0f318a43-2638-48c7-80c5-c5469bf630f0","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/0f318a43-2638-48c7-80c5-c5469bf630f0] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"0f318a43-2638-48c7-80c5-c5469bf630f0","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664566125 (09:36:06 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8479 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664566139 (09:36:06 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: c7bf1806-e9e1-4f36-8fb9-8b846b56f52e [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 54030f51-08a8-4af6-a93f-db31b8cc3aa1 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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] [Instrumentation] Time: 5.129 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [info] [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 [info] [UiAutomator2] 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[debug] [Instrumentation] The process has exited with code 0[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2093ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"00b2fa04-47ec-4fa5-bc40-2fd61325a8d4","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"00b2fa04-47ec-4fa5-bc40-2fd61325a8d4"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/00b2fa04-47ec-4fa5-bc40-2fd61325a8d4/appium/device/info] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"00b2fa04-47ec-4fa5-bc40-2fd61325a8d4","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/00b2fa04-47ec-4fa5-bc40-2fd61325a8d4/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"00b2fa04-47ec-4fa5-bc40-2fd61325a8d4","value":2.75} [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:8202/wd/hub/session/00b2fa04-47ec-4fa5-bc40-2fd61325a8d4/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"00b2fa04-47ec-4fa5-bc40-2fd61325a8d4","value":{"statusBar":66}} [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:8202/wd/hub/session/00b2fa04-47ec-4fa5-bc40-2fd61325a8d4/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"00b2fa04-47ec-4fa5-bc40-2fd61325a8d4","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/00b2fa04-47ec-4fa5-bc40-2fd61325a8d4] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"00b2fa04-47ec-4fa5-bc40-2fd61325a8d4","value":null} [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] [Instrumentation] . [debug] [Instrumentation] Time: 5.081 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664576045 (09:36:16 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: be795e43-1612-4578-a7d4-592041cceaf7 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 0b13daf3-9d03-4f16-804e-bf5f3e286ddd [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [debug] [Instrumentation] The process has exited with code 0 [info] [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 [info] [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 [info] [UiAutomator2] 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[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2114ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3/appium/device/info] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3","value":2.75} [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:8202/wd/hub/session/5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3","value":{"statusBar":66}} [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:8202/wd/hub/session/5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"5a3f68e9-8b8b-4c54-ae5e-26bb0f64e8c3","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664584901 (09:36:24 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8864 ms - 667 [info] [HTTP] [debug] [Instrumentation] . [debug] [Instrumentation] Time: 5.047 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664902376 (09:41:42 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 9d6c6ebb-24f6-489b-b82c-5f8136f64b9a [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 9e2832bb-175b-43e6-abb8-0f089bcebc35 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk[debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2116ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"45e9d101-4dc6-4055-95d4-f9c7b239a562","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"45e9d101-4dc6-4055-95d4-f9c7b239a562"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/45e9d101-4dc6-4055-95d4-f9c7b239a562/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"45e9d101-4dc6-4055-95d4-f9c7b239a562","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/45e9d101-4dc6-4055-95d4-f9c7b239a562/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"45e9d101-4dc6-4055-95d4-f9c7b239a562","value":2.75} [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:8202/wd/hub/session/45e9d101-4dc6-4055-95d4-f9c7b239a562/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"45e9d101-4dc6-4055-95d4-f9c7b239a562","value":{"statusBar":66}} [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:8202/wd/hub/session/45e9d101-4dc6-4055-95d4-f9c7b239a562/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"45e9d101-4dc6-4055-95d4-f9c7b239a562","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/45e9d101-4dc6-4055-95d4-f9c7b239a562] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"45e9d101-4dc6-4055-95d4-f9c7b239a562","value":null} [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] Removing forwarded port socket connection: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664910536 (09:41:50 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8174 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664910559 (09:41:50 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: d05bcd9d-e67b-4e51-a8c7-af5f00549aa5 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 2ac51243-56a8-4655-83b0-8b315873779a [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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] [Instrumentation] . [debug] [Instrumentation] [debug] [Instrumentation] Time: 5.065 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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[debug] [Instrumentation] The process has exited with code 0 [info] [ADB] Package name: 'com.gelato.api.stage' [info] [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] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2097ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"efba5f1d-2531-4c7f-8085-28d7f9dfb559","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"efba5f1d-2531-4c7f-8085-28d7f9dfb559"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/efba5f1d-2531-4c7f-8085-28d7f9dfb559/appium/device/info] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"efba5f1d-2531-4c7f-8085-28d7f9dfb559","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/efba5f1d-2531-4c7f-8085-28d7f9dfb559/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"efba5f1d-2531-4c7f-8085-28d7f9dfb559","value":2.75} [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:8202/wd/hub/session/efba5f1d-2531-4c7f-8085-28d7f9dfb559/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"efba5f1d-2531-4c7f-8085-28d7f9dfb559","value":{"statusBar":66}} [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:8202/wd/hub/session/efba5f1d-2531-4c7f-8085-28d7f9dfb559/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"efba5f1d-2531-4c7f-8085-28d7f9dfb559","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/efba5f1d-2531-4c7f-8085-28d7f9dfb559] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"efba5f1d-2531-4c7f-8085-28d7f9dfb559","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664918599 (09:41:58 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8049 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664918623 (09:41:58 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 3448b6ba-a762-4197-af58-f602267938e2 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: f148edbc-1bce-48ef-ba22-0b443d3844e0 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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] [Instrumentation] . [debug] [Instrumentation] [debug] [Instrumentation] Time: 5.053 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [AndroidDriver] Parsing package and activity from app manifest[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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] [Instrumentation] The process has exited with code 0[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2091ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"c02e7f23-79d5-42de-993d-6b5e0f71c400","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"c02e7f23-79d5-42de-993d-6b5e0f71c400"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/c02e7f23-79d5-42de-993d-6b5e0f71c400/appium/device/info] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"c02e7f23-79d5-42de-993d-6b5e0f71c400","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/c02e7f23-79d5-42de-993d-6b5e0f71c400/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c02e7f23-79d5-42de-993d-6b5e0f71c400","value":2.75} [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:8202/wd/hub/session/c02e7f23-79d5-42de-993d-6b5e0f71c400/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c02e7f23-79d5-42de-993d-6b5e0f71c400","value":{"statusBar":66}} [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:8202/wd/hub/session/c02e7f23-79d5-42de-993d-6b5e0f71c400/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c02e7f23-79d5-42de-993d-6b5e0f71c400","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/c02e7f23-79d5-42de-993d-6b5e0f71c400] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"c02e7f23-79d5-42de-993d-6b5e0f71c400","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664926374 (09:42:06 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 7756 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656664926385 (09:42:06 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 726929c0-2a00-4ebf-b344-15b4be4853b8 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 47d4295d-1428-4c33-aba1-b12783edaecf [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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] [Instrumentation] . [debug] [Instrumentation] Time: 5.074 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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] [Instrumentation] The process has exited with code 0[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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'[info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2129ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ac481cca-c352-444f-8a70-5e6328d83f05","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"ac481cca-c352-444f-8a70-5e6328d83f05"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/ac481cca-c352-444f-8a70-5e6328d83f05/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ac481cca-c352-444f-8a70-5e6328d83f05","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/ac481cca-c352-444f-8a70-5e6328d83f05/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ac481cca-c352-444f-8a70-5e6328d83f05","value":2.75} [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:8202/wd/hub/session/ac481cca-c352-444f-8a70-5e6328d83f05/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ac481cca-c352-444f-8a70-5e6328d83f05","value":{"statusBar":66}} [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:8202/wd/hub/session/ac481cca-c352-444f-8a70-5e6328d83f05/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ac481cca-c352-444f-8a70-5e6328d83f05","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/ac481cca-c352-444f-8a70-5e6328d83f05] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ac481cca-c352-444f-8a70-5e6328d83f05","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656664933769 (09:42:13 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 7389 ms - 667 [info] [HTTP] [debug] [Instrumentation] . [debug] [Instrumentation] Time: 5.06 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656665879608 (09:57:59 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 1b3a624c-8a58-4938-b535-6d615f4cb0b6 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: d7a9e057-0e3d-4c17-8983-24b7bafe43e4[info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'[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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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'[info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2117ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ccb45355-c87f-42f0-acdd-b0dc55456200","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"ccb45355-c87f-42f0-acdd-b0dc55456200"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/ccb45355-c87f-42f0-acdd-b0dc55456200/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ccb45355-c87f-42f0-acdd-b0dc55456200","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/ccb45355-c87f-42f0-acdd-b0dc55456200/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ccb45355-c87f-42f0-acdd-b0dc55456200","value":2.75} [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:8202/wd/hub/session/ccb45355-c87f-42f0-acdd-b0dc55456200/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ccb45355-c87f-42f0-acdd-b0dc55456200","value":{"statusBar":66}} [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:8202/wd/hub/session/ccb45355-c87f-42f0-acdd-b0dc55456200/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ccb45355-c87f-42f0-acdd-b0dc55456200","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/ccb45355-c87f-42f0-acdd-b0dc55456200] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ccb45355-c87f-42f0-acdd-b0dc55456200","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202'[info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656665887691 (09:58:07 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8093 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656665887709 (09:58:07 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 7bb3f1a8-b2fb-459c-b262-9044a00cb96e [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 6e77a775-4a77-400b-b28d-12331564b9d4 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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] [Instrumentation] . [debug] [AndroidDriver] Parsing package and activity from app manifest [debug] [Instrumentation] Time: 5.083 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?'' [debug] [Instrumentation] The process has exited with code 0 [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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body[info] [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:8202/wd/hub/status] with no body[info] [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:8202/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 2113ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"ad25bf6d-d681-4d38-9760-6f471a580150","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"ad25bf6d-d681-4d38-9760-6f471a580150"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/ad25bf6d-d681-4d38-9760-6f471a580150/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ad25bf6d-d681-4d38-9760-6f471a580150","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/ad25bf6d-d681-4d38-9760-6f471a580150/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ad25bf6d-d681-4d38-9760-6f471a580150","value":2.75} [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:8202/wd/hub/session/ad25bf6d-d681-4d38-9760-6f471a580150/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ad25bf6d-d681-4d38-9760-6f471a580150","value":{"statusBar":66}} [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:8202/wd/hub/session/ad25bf6d-d681-4d38-9760-6f471a580150/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ad25bf6d-d681-4d38-9760-6f471a580150","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/ad25bf6d-d681-4d38-9760-6f471a580150] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"ad25bf6d-d681-4d38-9760-6f471a580150","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202'[info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656665895590 (09:58:15 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 7885 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656665895605 (09:58:15 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 5b9763b8-1086-42ff-a124-e5d6c661b240 [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 2dc1e18a-0165-4139-a97d-9b2fbb38a34d [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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] [Instrumentation] . [debug] [Instrumentation] Time: 5.035 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [info] [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 [info] [UiAutomator2] 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[info] [ADB] Package name: 'com.gelato.api.stage' [info] [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] [Instrumentation] The process has exited with code 0 [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2117ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"52e8dc7e-c546-4abd-be80-7e9188ea99b2","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"52e8dc7e-c546-4abd-be80-7e9188ea99b2"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/52e8dc7e-c546-4abd-be80-7e9188ea99b2/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"52e8dc7e-c546-4abd-be80-7e9188ea99b2","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/52e8dc7e-c546-4abd-be80-7e9188ea99b2/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"52e8dc7e-c546-4abd-be80-7e9188ea99b2","value":2.75} [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:8202/wd/hub/session/52e8dc7e-c546-4abd-be80-7e9188ea99b2/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"52e8dc7e-c546-4abd-be80-7e9188ea99b2","value":{"statusBar":66}} [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:8202/wd/hub/session/52e8dc7e-c546-4abd-be80-7e9188ea99b2/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"52e8dc7e-c546-4abd-be80-7e9188ea99b2","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/52e8dc7e-c546-4abd-be80-7e9188ea99b2] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"52e8dc7e-c546-4abd-be80-7e9188ea99b2","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656665902948 (09:58:22 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 7347 ms - 667 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},null,{"alwaysMatch":{"platformName":"Android","deviceName":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1656665902966 (09:58:22 GMT+0100 (West Africa Standard Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] deviceName [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] retryBackoffTime [info] [Appium] Appium v1.22.2 creating new FlutterDriver (v0.0.32) session [info] [Appium] Applying relaxed security to 'FlutterDriver' 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:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] app [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 9a13ff63-a81d-495d-9e9f-4e25f8f3cc3d [info] [FlutterDriver] Starting an Android proxy session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "Android", [debug] [BaseDriver] "appium:deviceName": "Pixel 5 API 30", [debug] [BaseDriver] "appium:app": "/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk", [debug] [BaseDriver] "appium:automationName": "Flutter", [debug] [BaseDriver] "appium:retryBackoffTime": 500 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [warn] [BaseDriver] retryBackoffTime [info] [BaseDriver] Session created with session id: 55303bc1-e70c-4862-8ce1-ea0252a8d237 [info] [BaseDriver] Using local app '/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk' [debug] [UiAutomator2] Checking whether app is actually present [info] [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' [info] [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"}] [info] [AndroidDriver] Using device: emulator-5554 [info] [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 [info] [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 [info] [UiAutomator2] 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 [debug] [Instrumentation] . [debug] [Instrumentation] Time: 5.05 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [info] [ADB] Package name: 'com.gelato.api.stage' [info] [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 ('3.4.0' >= '3.4.0') [debug] [ADB] There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/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/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] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8202 [debug] [ADB] Forwarding system: 8202 to device: 6790 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8202 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] [Instrumentation] The process has exited with code 0 [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 ('4.27.0' >= '4.27.0') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-v4.27.0.apk' [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.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 /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/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' [info] [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/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation' [debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [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.3' >= '1.1.3') [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' [info] [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] [UiAutomator2] Performing shallow cleanup of automation leftovers [debug] [UiAutomator2] 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' [info] [UiAutomator2] Starting UIAutomator2 server 4.27.0 [info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] 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] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body [info] [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:8202/wd/hub/status] with no body [info] [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:8202/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 2091ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8202/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":"Pixel 5 API 30","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"sessionId":"463602a4-4177-4ff3-9c36-e71f66c3289b","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","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500},"platformName":"Android","deviceName":"emulator-5554","app":"/Users/harsha.sharmagelato.com/Dev/work/repos/gelato-api-mobile/build/app/outputs/flutter-apk/app-stage-debug.apk","automationName":"Flutter","retryBackoffTime":500,"deviceUDID":"emulator-5554","appPackage":"com.gelato.api.stage"}],"alwaysMatch":{}},"sessionId":"463602a4-4177-4ff3-9c36-e71f66c3289b"}} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/463602a4-4177-4ff3-9c36-e71f66c3289b/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"463602a4-4177-4ff3-9c36-e71f66c3289b","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":4125,"linkUpstreamBandwidthKbps":156750,"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":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabiliti... [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] 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'[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] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/463602a4-4177-4ff3-9c36-e71f66c3289b/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"463602a4-4177-4ff3-9c36-e71f66c3289b","value":2.75} [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:8202/wd/hub/session/463602a4-4177-4ff3-9c36-e71f66c3289b/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"463602a4-4177-4ff3-9c36-e71f66c3289b","value":{"statusBar":66}} [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:8202/wd/hub/session/463602a4-4177-4ff3-9c36-e71f66c3289b/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"463602a4-4177-4ff3-9c36-e71f66c3289b","value":{"height":2208,"width":1080}} [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:8202/wd/hub/session/463602a4-4177-4ff3-9c36-e71f66c3289b] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"463602a4-4177-4ff3-9c36-e71f66c3289b","value":null} [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: 8202 [debug] [ADB] Running '/Users/harsha.sharmagelato.com/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8202' [info] [UiAutomator2] 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] [FlutterDriver] Deleting Flutter Driver session [debug] [BaseDriver] Event 'newSessionStarted' logged at 1656665911195 (09:58:31 GMT+0100 (West Africa Standard Time)) [debug] [W3C] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined [debug] [W3C] at Object.exports.processLogToGetobservatory (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:118:9) [debug] [W3C] at Object.exports.getObservatoryWsUri (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:39:21) [debug] [W3C] at Object.exports.startAndroidSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/android.ts:26:30) [debug] [W3C] at runMicrotasks () [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:85:5) [debug] [W3C] at FlutterDriver.exports.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:21:47) [debug] [W3C] at AppiumDriver.createSession (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/lib/appium.js:387:35) [info] [HTTP] <-- POST /wd/hub/session 500 8234 ms - 667 [info] [HTTP] [debug] [Instrumentation] . [debug] [Instrumentation] Time: 6.102 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test)[debug] [Instrumentation] The process has exited with code 0