kiran1423 / kiran

0 stars 0 forks source link

org.openqa.selenium.remote.UnreachableBrowserException #2

Open kiran1423 opened 6 years ago

kiran1423 commented 6 years ago

I am getting UnreachableBrowserException, could anyone please help me to resolve this issue

org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '3.9.0', revision: '698b3178f0', time: '2018-02-05T14:56:13.134Z' System info: host: 'DESKTOP-ID0O98E', ip: '172.24.134.225', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161' Driver info: driver.version: RemoteWebDriver at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:622) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:219) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:142) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:155) at Locators.LoginpageAccessibility_IDs.beforeTest(LoginpageAccessibility_IDs.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:59) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:451) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142) at org.testng.TestRunner.beforeRun(TestRunner.java:529) at org.testng.TestRunner.run(TestRunner.java:497) at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) at org.testng.SuiteRunner.run(SuiteRunner.java:364) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187) at org.testng.TestNG.runSuitesLocally(TestNG.java:1116) at org.testng.TestNG.runSuites(TestNG.java:1028) at org.testng.TestNG.run(TestNG.java:996) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at okio.Okio$2.read(Okio.java:139) at okio.AsyncTimeout$2.read(AsyncTimeout.java:237) at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345) at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217) at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:212) at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:97) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:47) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:101) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:138) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601) ... 28 more

kiran1423 commented 6 years ago

Before Class which I have written, @BeforeTest public void beforeTest() throws Throwable { dc=new DesiredCapabilities(); dc.setCapability("deviceName", "SAmsung"); dc.setCapability("platformVersion", "4.4.4"); dc.setCapability("platformName", "Android"); dc.setCapability("appPackage", "com.fleetwise.fms"); dc.setCapability("appActivity", "com.fleetwise.fms.fms.droid.mainactivity"); driver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"),dc); driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS); }

kiran1423 commented 6 years ago

Appium logs

[Appium] Welcome to Appium v1.7.2 [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appActivity":"com.fleetwise.fms.fms.droid.mainactivity","appPackage":"com.fleetwise.fms","deviceName":"SAmsung","platformName":"Android","platformVersion":"4.4.4"},"capabilities":{"desiredCapabilities":{"appActivity":"com.fleetwise.fms.fms.droid.mainactivity","appPackage":"com.fleetwise.fms","deviceName":"SAmsung","platformName":"Android","platformVersion":"4.4.4"},"firstMatch":[{"platformName":"android"}]}} [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appActivity":"com.fleetwise.fms.fms.droid.mainactivity","appPackage":"com.fleetwise.fms","deviceName":"SAmsung","platformName":"Android","platformVersion":"4.4.4"},null,{"desiredCapabilities":{"appActivity":"com.fleetwise.fms.fms.droid.mainactivity","appPackage":"com.fleetwise.fms","deviceName":"SAmsung","platformName":"Android","platformVersion":"4.4.4"},"firstMatch":[{"platformName":"android"}]}] [BaseDriver] Event 'newSessionRequested' logged at 1519914070105 (19:51:10 GMT+0530 (India Standard Time)) [Appium] Merged W3C capabilities {"desiredCapabilities":{"appActivity":"com.flee... into desiredCapabilities object {"appActivity":"com.fleetwise.fms.fms.droid.mai... [Appium] Creating new AndroidDriver (v1.37.0) session [Appium] Capabilities: [Appium] appActivity: com.fleetwise.fms.fms.droid.mainactivity [Appium] appPackage: com.fleetwise.fms [Appium] deviceName: SAmsung [Appium] platformName: android [Appium] platformVersion: 4.4.4 [BaseDriver] Session created with session id: 18cd53fc-8c3e-4318-a614-3f3e7a4925aa [AndroidDriver] Getting Java version [AndroidDriver] Java version is: 1.8.0_161 [ADB] Checking whether adb is present [AndroidDriver] Retrieving device list [ADB] Trying to find a connected android device [ADB] Getting connected devices... [ADB] 1 device(s) connected [AndroidDriver] Looking for a device with Android '4.4.4' [ADB] Setting device id to be00be94 [ADB] Getting device platform version [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","getprop","ro.build.version.release"] [ADB] Current device property 'ro.build.version.release': 4.4.4 [AndroidDriver] Using device: be00be94 [ADB] Checking whether adb is present [ADB] Setting device id to be00be94 [AndroidDriver] App file was not listed, instead we're going to run com.fleetwise.fms directly on the device [AndroidDriver] Checking whether package is present on the device [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","pm","list","packages","com.fleetwise.fms"] [AndroidDriver] Starting Android session [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","wait-for-device"] [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","echo","ping"] [AndroidDriver] setDeviceLanguageCountry requires language or country. [AndroidDriver] Got language: 'undefined' and country: 'undefined' [Logcat] Starting logcat capture [AndroidDriver] Pushing settings apk to device... [ADB] Getting install status for io.appium.settings [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","pm","list","packages","io.appium.settings"] [ADB] App is not installed [ADB] App 'C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk' not installed. Installing [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","install","C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk"] [HTTP] <-- POST /wd/hub/session - - ms - - [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","getprop","ro.build.version.sdk"] [ADB] Current device property 'ro.build.version.sdk': 19 [ADB] Device API level: 19 [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","dumpsys","package","io.appium.settings"] [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","ps"] [ADB] Device API level: 19 [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] [ADB] Error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity at Object.wrappedLogger.errorAndThrow (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:69:13) at ADB.callee$0$0$ (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:89:13) at tryCatch (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) at GeneratorFunctionPrototype.invoke (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) at Error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity at Object.wrappedLogger.errorAndThrow (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:69:13) at ADB.callee$0$0$ (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:89:13) at tryCatch (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) at GeneratorFunctionPrototype.invoke (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) at [ADB] Error: Error occured while starting App. Original error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity at Object.wrappedLogger.errorAndThrow (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:69:13) at ADB.callee$0$0$ (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:101:9) at tryCatch (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) at GeneratorFunctionPrototype.invoke (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) at Error: Error occured while starting App. Original error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity at Object.wrappedLogger.errorAndThrow (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:69:13) at ADB.callee$0$0$ (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:101:9) at tryCatch (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) at GeneratorFunctionPrototype.invoke (C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) at [AndroidDriver] Failed to launch settings app: Error occured while starting App. Original error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity [ADB] Device API level: 19 [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","settings","put","secure","mock_location","1"] [AndroidDriver] Pushing unlock helper app to device... [ADB] Getting install status for io.appium.unlock [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","pm","list","packages","io.appium.unlock"] [ADB] App is not installed [ADB] App 'C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk' not installed. Installing [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","install","C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk"] [ADB] Getting device platform version [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","getprop","ro.build.version.release"] [ADB] Current device property 'ro.build.version.release': 4.4.4 [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","wm","size"] [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","getprop","ro.product.model"] [ADB] Current device property 'ro.product.model': HM 1S [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","getprop","ro.product.manufacturer"] [ADB] Current device property 'ro.product.manufacturer': Xiaomi [AndroidDriver] No app sent in, not parsing package/activity [AndroidDriver] No app capability. Assuming it is already on the device [AndroidDriver] Running fast reset (stop and clear) [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","am","force-stop","com.fleetwise.fms"] [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","pm","clear","com.fleetwise.fms"] [AndroidBootstrap] Watching for bootstrap disconnect [ADB] Forwarding system: 4724 to device: 4724 [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","forward","tcp:4724","tcp:4724"] [UiAutomator] Starting UiAutomator [UiAutomator] Moving to state 'starting' [UiAutomator] Parsing uiautomator jar [UiAutomator] Found jar name: 'AppiumBootstrap.jar' [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","push","C:\Users\star123\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-android-bootstrap\bootstrap\bin\AppiumBootstrap.jar","/data/local/tmp/"] [ADB] Attempting to kill all uiautomator processes [ADB] Getting all processes with uiautomator [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","ps"] [ADB] No uiautomator process found to kill, continuing... [UiAutomator] Starting UIAutomator [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","be00be94","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.fleetwise.fms","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] [UiAutomator] Moving to state 'online' [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. [AndroidBootstrap] Android bootstrap socket is now connected [ADB] Getting connected devices... [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","dumpsys","window"] [AndroidDriver] Screen already unlocked, doing nothing [ADB] Device API level: 19 [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","am","start","-W","-n","com.fleetwise.fms/com.fleetwise.fms.fms.droid.mainactivity","-S"] [Appium] New AndroidDriver session created successfully, session 18cd53fc-8c3e-4318-a614-3f3e7a4925aa added to master session list [BaseDriver] Event 'newSessionStarted' logged at 1519914104156 (19:51:44 GMT+0530 (India Standard Time)) [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appActivity":"com.fleetwise.fms.fms.droid.mainactivity","appPackage":"com.fleetwise.fms","deviceName":"SAmsung","platformName":"android","platformVersion":"4.4.4"},"appActivity":"com.fleetwise.fms.fms.droid.mainactivity","appPackage":"com.fleetwise.fms","deviceName":"be00be94","platformName":"android","platformVersion":"4.4.4","deviceUDID":"be00be94","deviceScreenSize":"720x1280","deviceModel":"HM 1S","deviceManufacturer":"Xiaomi"} [BaseDriver] Shutting down because we waited 60 seconds for a command [AndroidDriver] Shutting down Android driver [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' [Appium] Removing session 18cd53fc-8c3e-4318-a614-3f3e7a4925aa from our master session list [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","am","force-stop","com.fleetwise.fms"] [ADB] Pressing the HOME button [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","input","keyevent",3] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":"OK, shutting down","status":0} [AndroidBootstrap] Received command result from bootstrap [UiAutomator] Shutting down UiAutomator [UiAutomator] Moving to state 'stopping' [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=.

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=

[AndroidBootstrap] [UIAUTO STDOUT] Test results for WatcherResultPrinter=.

[AndroidBootstrap] [UIAUTO STDOUT] Time: 69.996

[AndroidBootstrap] [UIAUTO STDOUT] OK (1 test)

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1

[UiAutomator] UiAutomator shut down normally [UiAutomator] Moving to state 'stopped' [ADB] Attempting to kill all uiautomator processes [ADB] Getting all processes with uiautomator [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","ps"] [ADB] No uiautomator process found to kill, continuing... [UiAutomator] Moving to state 'stopped' [Logcat] Stopping logcat capture [ADB] Getting connected devices... [ADB] 1 device(s) connected [ADB] Running 'D:\android-sdk-windows\platform-tools\adb.exe' with args: ["-P",5037,"-s","be00be94","shell","am","force-stop","io.appium.unlock"] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.