Not Able to Run multiple test cases in the same Suite using appium

Hi Team

Platform is Android
Appium version : 1.5
Emulator/Simulator or Real Device : Real Device
Client langauage (language binding) : java
OS : Windows

I have 10-12 test cases of an android app in a single package which I am running using appium.

I am pasting my Appium Logs here :

If anyone has been able to do it please let me know

I have tried doing setting up the session_Override but again no luck on that.

Please help me out.

slight_smile:

Launching Appium server with command: C:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --session-override --platform-name Android --platform-version 23 --automation-name Appium --log-no-color
info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
info: Appium REST http interface listener started on 127.0.0.1:4723
info: [debug] Non-default server args: {“address”:“127.0.0.1”,“sessionOverride”:true,“logNoColors”:true,“platformName”:“Android”,“platformVersion”:“23”,“automationName”:“Appium”}
info: Console LogLevel: debug
info: → POST /wd/hub/session {“desiredCapabilities”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”}}
info: Client User-Agent string: Apache-HttpClient/4.4.1 (Java/1.8.0_77)
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] No appPackage desired capability or server param. Parsing from apk.
info: [debug] Using local app from desired caps: E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk
info: [debug] Creating new appium session 8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_77
info: [debug] Checking whether adb is present
info: [debug] Using adb from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe
info: [debug] Extracting package and launch activity from manifest.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe” dump badging “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”
info: [debug] badging package: com.sourcefuse.suzuki
info: [debug] badging act: com.sourcefuse.suzuki.SplashView
info: [debug] Parsed package and activity are: com.sourcefuse.suzuki/com.sourcefuse.suzuki.SplashView
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” devices
info: [debug] 1 device(s) connected
info: Found device d8b060e9
info: [debug] Setting device id to d8b060e9
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 wait-for-device
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “echo ‘ready’”
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: Device API level is: 19
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop persist.sys.language”
info: [debug] Current device persist.sys.language: en
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki” en
info: [debug] No strings.xml for language ‘en’, getting default strings.xml
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki”
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 push “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki\strings.json” /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe” dump xmltree “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” AndroidManifest.xml
info: [debug] Set app process to: com.sourcefuse.suzuki
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk.
info: [debug] executing cmd: java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”
info: [debug] App already signed.
info: [debug] Zip-aligning E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\zipalign.exe
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\zipalign.exe” -f 4 “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” C:\Users\pc\AppData\Local\Temp\116230-1696-13lvpy2\appium.tmp
info: [debug] MD5 for app is 253350ad6a3c4bd06a19640d452cd614
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “ls /data/local/tmp/253350ad6a3c4bd06a19640d452cd614.apk”
info: [debug] Getting install status for com.sourcefuse.suzuki
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “pm list packages -3 com.sourcefuse.suzuki”
info: [debug] App is installed
info: App is already installed, resetting app
info: [debug] Running fast reset (stop and clear)
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “am force-stop com.sourcefuse.suzuki”
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “pm clear com.sourcefuse.suzuki”
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 push “C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar” /data/local/tmp/
info: [debug] Pushing settings apk to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
info: [debug] Pushing unlock helper app to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 install “C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk”
info: Starting App
info: [debug] Attempting to kill all ‘uiautomator’ processes
info: [debug] Getting all processes with ‘uiautomator’
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “ps ‘uiautomator’”
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s d8b060e9 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.sourcefuse.suzuki -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json…
info: [debug] [BOOTSTRAP] [debug] json loading complete.
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if it’s not alive
info: [debug] Pushing command to appium work queue: [“wake”,{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“wake”,“params”:{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “dumpsys window”
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: [“getDataDir”,{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“getDataDir”,“params”:{}}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: [“compressedLayoutHierarchy”,{“compressLayout”:false}]
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“/data/local/tmp”,“status”:0}
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“compressedLayoutHierarchy”,“params”:{“compressLayout”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:false,“status”:0}
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.sourcefuse.suzuki/com.sourcefuse.suzuki.SplashView”
info: [debug] Waiting for pkg “com.sourcefuse.suzuki” and activity “com.sourcefuse.suzuki.SplashView” to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “dumpsys window windows”
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.release”
info: [debug] Device is at release version 4.4.4
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to 100 secs
info: [debug] Appium session started with sessionId 8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3
info: ← POST /wd/hub/session 303 9543.072 ms - 74
info: → GET /wd/hub/session/8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3 {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“Android”,“platformVersion”:“4.4.4”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”},“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“d8b060e9”,“newCommandTimeout”:“100”},“sessionId”:“8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3”}
info: ← GET /wd/hub/session/8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3 200 5.640 ms - 675 {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“Android”,“platformVersion”:“4.4.4”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”},“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“d8b060e9”,“newCommandTimeout”:“100”},“sessionId”:“8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3”}
info: → POST /wd/hub/session/8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3/appium/app/close {}
info: [debug] Pressing the HOME button
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “input keyevent 3”
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“shutdown”}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“OK, shutting down”,“status”:0}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] Sent shutdown command, waiting for UiAutomator to stop…
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 2.912
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Responding to client with success: {“status”:0,“value”:“Successfully closed the [E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk] app.”,“sessionId”:“8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3”}
info: ← POST /wd/hub/session/8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3/appium/app/close 200 767.329 ms - 191 {“status”:0,“value”:“Successfully closed the [E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk] app.”,“sessionId”:“8c1ed5e8-9964-401f-b6eb-dc65c87fc2f3”}
info: → POST /wd/hub/session {“desiredCapabilities”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”}}
info: Client User-Agent string: Apache-HttpClient/4.4.1 (Java/1.8.0_77)
info: Found an existing session to clobber, shutting it down first…
info: Shutting down appium session
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: Old session shut down OK, proceeding to new session
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] No appPackage desired capability or server param. Parsing from apk.
info: [debug] Using local app from desired caps: E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk
info: [debug] Creating new appium session 4cd2c8c3-815f-4736-91ff-15f1bc3de6ca
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_77
info: [debug] Checking whether adb is present
info: [debug] Using adb from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe
info: [debug] Extracting package and launch activity from manifest.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe” dump badging “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”
info: [debug] badging package: com.sourcefuse.suzuki
info: [debug] badging act: com.sourcefuse.suzuki.SplashView
info: [debug] Parsed package and activity are: com.sourcefuse.suzuki/com.sourcefuse.suzuki.SplashView
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” devices
info: [debug] 1 device(s) connected
info: Found device d8b060e9
info: [debug] Setting device id to d8b060e9
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 wait-for-device
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “echo ‘ready’”
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: Device API level is: 19
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop persist.sys.language”
info: [debug] Current device persist.sys.language: en
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki” en
info: [debug] No strings.xml for language ‘en’, getting default strings.xml
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki”
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 push “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki\strings.json” /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe” dump xmltree “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” AndroidManifest.xml
info: [debug] Set app process to: com.sourcefuse.suzuki
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk.
info: [debug] executing cmd: java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”
info: [debug] App already signed.
info: [debug] Zip-aligning E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\zipalign.exe
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\zipalign.exe” -f 4 “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” C:\Users\pc\AppData\Local\Temp\116230-1696-tjujr0\appium.tmp
info: [debug] MD5 for app is 253350ad6a3c4bd06a19640d452cd614
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “ls /data/local/tmp/253350ad6a3c4bd06a19640d452cd614.apk”
info: [debug] Getting install status for com.sourcefuse.suzuki
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “pm list packages -3 com.sourcefuse.suzuki”
info: [debug] App is installed
info: App is already installed, resetting app
info: [debug] Running fast reset (stop and clear)
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “am force-stop com.sourcefuse.suzuki”
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “pm clear com.sourcefuse.suzuki”
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 push “C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar” /data/local/tmp/
info: [debug] Pushing settings apk to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
info: [debug] Pushing unlock helper app to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 install “C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk”
info: Starting App
info: [debug] Attempting to kill all ‘uiautomator’ processes
info: [debug] Getting all processes with ‘uiautomator’
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “ps ‘uiautomator’”
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s d8b060e9 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.sourcefuse.suzuki -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] Waking up device if it’s not alive
info: [debug] Pushing command to appium work queue: [“wake”,{}]
info: [debug] [BOOTSTRAP] [debug] Loading json…
info: [debug] [BOOTSTRAP] [debug] json loading complete.
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“wake”,“params”:{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “dumpsys window”
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: Unlocking screen
info: [debug] Screen is locked, trying to unlock
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n io.appium.unlock/.Unlock”
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “dumpsys window”
info: [debug] Screen is unlocked, continuing
info: [debug] Pushing command to appium work queue: [“getDataDir”,{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“getDataDir”,“params”:{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“/data/local/tmp”,“status”:0}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: [“compressedLayoutHierarchy”,{“compressLayout”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“compressedLayoutHierarchy”,“params”:{“compressLayout”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:false,“status”:0}
info: [debug] Device is at API Level 19
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.sourcefuse.suzuki/com.sourcefuse.suzuki.SplashView”
info: [debug] Waiting for pkg “com.sourcefuse.suzuki” and activity “com.sourcefuse.suzuki.SplashView” to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “dumpsys window windows”
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.release”
info: [debug] Device is at release version 4.4.4
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to 100 secs
info: [debug] Appium session started with sessionId 4cd2c8c3-815f-4736-91ff-15f1bc3de6ca
info: ← POST /wd/hub/session 303 10072.678 ms - 74
info: → GET /wd/hub/session/4cd2c8c3-815f-4736-91ff-15f1bc3de6ca {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“Android”,“platformVersion”:“4.4.4”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”},“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“d8b060e9”,“newCommandTimeout”:“100”},“sessionId”:“4cd2c8c3-815f-4736-91ff-15f1bc3de6ca”}
info: ← GET /wd/hub/session/4cd2c8c3-815f-4736-91ff-15f1bc3de6ca 200 1.107 ms - 675 {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“Android”,“platformVersion”:“4.4.4”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”},“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“d8b060e9”,“newCommandTimeout”:“100”},“sessionId”:“4cd2c8c3-815f-4736-91ff-15f1bc3de6ca”}
info: → POST /wd/hub/session/4cd2c8c3-815f-4736-91ff-15f1bc3de6ca/appium/app/close {}
info: [debug] Pressing the HOME button
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “input keyevent 3”
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“shutdown”}
info: [debug] Sent shutdown command, waiting for UiAutomator to stop…
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“OK, shutting down”,“status”:0}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 3.444
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Responding to client with success: {“status”:0,“value”:“Successfully closed the [E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk] app.”,“sessionId”:“4cd2c8c3-815f-4736-91ff-15f1bc3de6ca”}
info: ← POST /wd/hub/session/4cd2c8c3-815f-4736-91ff-15f1bc3de6ca/appium/app/close 200 740.694 ms - 191 {“status”:0,“value”:“Successfully closed the [E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk] app.”,“sessionId”:“4cd2c8c3-815f-4736-91ff-15f1bc3de6ca”}
info: → POST /wd/hub/session {“desiredCapabilities”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”}}
info: Client User-Agent string: Apache-HttpClient/4.4.1 (Java/1.8.0_77)
info: Found an existing session to clobber, shutting it down first…
info: Shutting down appium session
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: Old session shut down OK, proceeding to new session
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] No appPackage desired capability or server param. Parsing from apk.
info: [debug] Using local app from desired caps: E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk
info: [debug] Creating new appium session 27ff6e93-fe51-4ded-95b2-6d67ef7776b0
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_77
info: [debug] Checking whether adb is present
info: [debug] Using adb from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe
info: [debug] Extracting package and launch activity from manifest.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe” dump badging “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”
info: [debug] badging package: com.sourcefuse.suzuki
info: [debug] badging act: com.sourcefuse.suzuki.SplashView
info: [debug] Parsed package and activity are: com.sourcefuse.suzuki/com.sourcefuse.suzuki.SplashView
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” devices
info: [debug] 1 device(s) connected
info: Found device d8b060e9
info: [debug] Setting device id to d8b060e9
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 wait-for-device
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “echo ‘ready’”
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: Device API level is: 19
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop persist.sys.language”
info: [debug] Current device persist.sys.language: en
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki” en
info: [debug] No strings.xml for language ‘en’, getting default strings.xml
info: [debug] java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar” “stringsFromApk” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki”
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 push “C:\Users\pc\AppData\Local\Temp\com.sourcefuse.suzuki\strings.json” /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\aapt.exe” dump xmltree “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” AndroidManifest.xml
info: [debug] Set app process to: com.sourcefuse.suzuki
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk.
info: [debug] executing cmd: java -jar “C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar” “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”
info: [debug] App already signed.
info: [debug] Zip-aligning E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\zipalign.exe
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1\zipalign.exe” -f 4 “E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk” C:\Users\pc\AppData\Local\Temp\116230-1696-g2zybi\appium.tmp
info: [debug] MD5 for app is 253350ad6a3c4bd06a19640d452cd614
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “ls /data/local/tmp/253350ad6a3c4bd06a19640d452cd614.apk”
info: [debug] Getting install status for com.sourcefuse.suzuki
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “pm list packages -3 com.sourcefuse.suzuki”
info: [debug] App is installed
info: App is already installed, resetting app
info: [debug] Running fast reset (stop and clear)
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “am force-stop com.sourcefuse.suzuki”
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “pm clear com.sourcefuse.suzuki”
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 push “C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar” /data/local/tmp/
info: [debug] Pushing settings apk to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
info: [debug] Pushing unlock helper app to device…
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 install “C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk”
info: Starting App
info: [debug] Attempting to kill all ‘uiautomator’ processes
info: [debug] Getting all processes with ‘uiautomator’
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “ps ‘uiautomator’”
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s d8b060e9 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.sourcefuse.suzuki -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] Waking up device if it’s not alive
info: [debug] Pushing command to appium work queue: [“wake”,{}]
info: [debug] [BOOTSTRAP] [debug] Loading json…
info: [debug] [BOOTSTRAP] [debug] json loading complete.
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“wake”,“params”:{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “dumpsys window”
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: [“getDataDir”,{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“getDataDir”,“params”:{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“/data/local/tmp”,“status”:0}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: [“compressedLayoutHierarchy”,{“compressLayout”:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“compressedLayoutHierarchy”,“params”:{“compressLayout”:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:false,“status”:0}
info: [debug] Getting device API level
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.sdk”
info: [debug] Device is at API Level 19
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.sourcefuse.suzuki/com.sourcefuse.suzuki.SplashView”
info: [debug] Waiting for pkg “com.sourcefuse.suzuki” and activity “com.sourcefuse.suzuki.SplashView” to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “dumpsys window windows”
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “getprop ro.build.version.release”
info: [debug] Device is at release version 4.4.4
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to 100 secs
info: [debug] Appium session started with sessionId 27ff6e93-fe51-4ded-95b2-6d67ef7776b0
info: ← POST /wd/hub/session 303 8728.748 ms - 74
info: → GET /wd/hub/session/27ff6e93-fe51-4ded-95b2-6d67ef7776b0 {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“Android”,“platformVersion”:“4.4.4”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”},“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“d8b060e9”,“newCommandTimeout”:“100”},“sessionId”:“27ff6e93-fe51-4ded-95b2-6d67ef7776b0”}
info: ← GET /wd/hub/session/27ff6e93-fe51-4ded-95b2-6d67ef7776b0 200 1.140 ms - 675 {“status”:0,“value”:{“platform”:“LINUX”,“browserName”:“Android”,“platformVersion”:“4.4.4”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“Android Device”,“newCommandTimeout”:“100”},“app”:“E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk”,“platformName”:“Android”,“deviceName”:“d8b060e9”,“newCommandTimeout”:“100”},“sessionId”:“27ff6e93-fe51-4ded-95b2-6d67ef7776b0”}
info: → POST /wd/hub/session/27ff6e93-fe51-4ded-95b2-6d67ef7776b0/appium/app/close {}
info: [debug] Pressing the HOME button
info: [debug] executing cmd: “C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s d8b060e9 shell “input keyevent 3”
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“shutdown”}
info: [debug] Sent shutdown command, waiting for UiAutomator to stop…
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“OK, shutting down”,“status”:0}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 2.275
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Responding to client with success: {“status”:0,“value”:“Successfully closed the [E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk] app.”,“sessionId”:“27ff6e93-fe51-4ded-95b2-6d67ef7776b0”}
info: ← POST /wd/hub/session/27ff6e93-fe51-4ded-95b2-6d67ef7776b0/appium/app/close 200 800.813 ms - 191 {“status”:0,“value”:“Successfully closed the [E:\Akash Srivastava\D Drive\Automation\mobileapp\Suzuki App\src\SuzukiAppV3.apk] app.”,“sessionId”:“27ff6e93-fe51-4ded-95b2-6d67ef7776b0”}
Killed Node Server.
Appium server process ended

Facing the same issue, can you please someone guide me how to resolve this?