[debug] [Instrumentation] at org.junit.runners.Suite.runChild(Suite.java:27) [debug] [Instrumentation] at org.junit.runners.ParentRunner$3.run(ParentRunner.java: 290) [debug] [Instrumentation] at org.junit.runners.ParentRunner$1.schedule(ParentRunner. java:71) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runChildren(ParentRunner .java:288) [debug] [Instrumentation] at org.junit.runners.ParentRunner.access$000(ParentRunner. java:58) [debug] [Instrumentation] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner. java:268) [debug] [Instrumentation] at org.junit.runners.ParentRunner.run(ParentRunner.java:36 3) [debug] [Instrumentation] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [debug] [Instrumentation] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [debug] [Instrumentation] at androidx.test.internal.runner.TestExecutor.execute(Test Executor.java:56) [debug] [Instrumentation] at androidx.test.runner.AndroidJUnitRunner.onStart(Android JUnitRunner.java:388) [debug] [Instrumentation] at android.app.Instrumentation$InstrumentationThread.run(I nstrumentation.java:2106) [debug] [Instrumentation] Time: 1.034 [debug] [Instrumentation] There was 1 failure: [debug] [Instrumentation] 1) startServer(io.appium.uiautomator2.server.test.AppiumUiAutoma tor2Server) [debug] [Instrumentation] java.lang.NoSuchMethodError: No virtual method startMjpegServer( )V in class Lio/appium/uiautomator2/server/ServerInstrumentation; or its super classes (de claration of 'io.appium.uiautomator2.server.ServerInstrumentation' appears in /data/app/io .appium.uiautomator2.server-oBUOfx6Ej6t3pu4eR1ChQA==/base.apk:classes2.dex) [debug] [Instrumentation] at io.appium.uiautomator2.server.test.AppiumUiAutomator2Se rver.startServer(AppiumUiAutomator2Server.java:31) [debug] [Instrumentation] at java.lang.reflect.Method.invoke(Native Method) [debug] [Instrumentation] at org.junit.runners.model.FrameworkMethod$1.runReflective Call(FrameworkMethod.java:50) [debug] [Instrumentation] at org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java:12) [debug] [Instrumentation] at org.junit.runners.model.FrameworkMethod.invokeExplosive ly(FrameworkMethod.java:47) [debug] [Instrumentation] at org.junit.internal.runners.statements.InvokeMethod.eval uate(InvokeMethod.java:17) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.jav a:325) [debug] [Instrumentation] at org.junit.runners.BlockJUnit4ClassRunner.runChild(Block JUnit4ClassRunner.java:78) [debug] [Instrumentation] at org.junit.runners.BlockJUnit4ClassRunner.runChild(Block JUnit4ClassRunner.java:57) [debug] [Instrumentation] at org.junit.runners.ParentRunner$3.run(ParentRunner.java: 290) [debug] [Instrumentation] at org.junit.runners.ParentRunner$1.schedule(ParentRunner. java:71) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runChildren(ParentRunner .java:288) [debug] [Instrumentation] at org.junit.runners.ParentRunner.access$000(ParentRunner. java:58) [debug] [Instrumentation] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner. java:268) [debug] [Instrumentation] at org.junit.runners.ParentRunner.run(ParentRunner.java:36 3) [debug] [Instrumentation] at androidx.test.runner.AndroidJUnit4.run(AndroidJUnit4.ja va:104) [debug] [Instrumentation] at org.junit.runners.Suite.runChild(Suite.java:128) [debug] [Instrumentation] at org.junit.runners.Suite.runChild(Suite.java:27) [debug] [Instrumentation] at org.junit.runners.ParentRunner$3.run(ParentRunner.java: 290) [debug] [Instrumentation] at org.junit.runners.ParentRunner$1.schedule(ParentRunner. java:71) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runChildren(ParentRunner .java:288) [debug] [Instrumentation] at org.junit.runners.ParentRunner.access$000(ParentRunner. java:58) [debug] [Instrumentation] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner. java:268) [debug] [Instrumentation] at org.junit.runners.ParentRunner.run(ParentRunner.java:36 3) [debug] [Instrumentation] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [debug] [Instrumentation] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [debug] [Instrumentation] at androidx.test.internal.runner.TestExecutor.execute(Test Executor.java:56) [debug] [Instrumentation] at androidx.test.runner.AndroidJUnitRunner.onStart(Android JUnitRunner.java:388) [debug] [Instrumentation] at android.app.Instrumentation$InstrumentationThread.run(I nstrumentation.java:2106) [debug] [Instrumentation] [debug] [Instrumentation] FAILURES!!! [debug] [Instrumentation] Tests run: 1, Failures: 1 [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] wit h no body [debug] [Instrumentation] The process has exited with code 0 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [UiAutomator2] The instrumentation process has been unexpectedly terminated. Retrying UiAu tomator2 startup (#1 of 1) [debug] [UiAutomator2] Performing strict cleanup of automation leftovers [debug] [UiAutomator2] No obsolete sessions have been detected (Error: socket hang up) [debug] [ADB] Running 'C:\Users\Admin\Pictures\Android_sdk\platform-tools\adb.exe -P 5037 -s ce08171870a17c0904 shell am force-stop io.appium.uiautomator2.server.test' [debug] [ADB] Attempting to kill all uiautomator processes [debug] [ADB] Getting IDs of all 'uiautomator' processes [debug] [ADB] Running 'C:\Users\Admin\Pictures\Android_sdk\platform-tools\adb.exe -P 5037 -s ce08171870a17c0904 shell pgrep \^uiautomator\$' [ADB] No 'uiautomator' process has been found [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","ce08171870a17c0904","she ll","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.Androi dJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] wit h no body [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [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://localhost:8200/wd/hub/status] wit h no body [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [Instrumentation] Error in startServer(io.appium.uiautomator2.server.test.AppiumUi Automator2Server): [debug] [Instrumentation] java.lang.NoSuchMethodError: No virtual method startMjpegServer( )V in class Lio/appium/uiautomator2/server/ServerInstrumentation; or its super classes (de claration of 'io.appium.uiautomator2.server.ServerInstrumentation' appears in /data/app/io .appium.uiautomator2.server-oBUOfx6Ej6t3pu4eR1ChQA==/base.apk:classes2.dex) [debug] [Instrumentation] at io.appium.uiautomator2.server.test.AppiumUiAutomator2Se rver.startServer(AppiumUiAutomator2Server.java:31) [debug] [Instrumentation] at java.lang.reflect.Method.invoke(Native Method) [debug] [Instrumentation] at org.junit.runners.model.FrameworkMethod$1.runReflective Call(FrameworkMethod.java:50) [debug] [Instrumentation] at org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java:12) [debug] [Instrumentation] at org.junit.runners.model.FrameworkMethod.invokeExplosive ly(FrameworkMethod.java:47) [debug] [Instrumentation] at org.junit.internal.runners.statements.InvokeMethod.eval uate(InvokeMethod.java:17) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.jav a:325) [debug] [Instrumentation] at org.junit.runners.BlockJUnit4ClassRunner.runChild(Block JUnit4ClassRunner.java:78) [debug] [Instrumentation] at org.junit.runners.BlockJUnit4ClassRunner.runChild(Block JUnit4ClassRunner.java:57) [debug] [Instrumentation] at org.junit.runners.ParentRunner$3.run(ParentRunner.java: 290) [debug] [Instrumentation] at org.junit.runners.ParentRunner$1.schedule(ParentRunner. java:71) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runChildren(ParentRunner .java:288) [debug] [Instrumentation] at org.junit.runners.ParentRunner.access$000(ParentRunner. java:58) [debug] [Instrumentation] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner. java:268) [debug] [Instrumentation] at org.junit.runners.ParentRunner.run(ParentRunner.java:36 3) [debug] [Instrumentation] at androidx.test.runner.AndroidJUnit4.run(AndroidJUnit4.ja va:104) [debug] [Instrumentation] at org.junit.runners.Suite.runChild(Suite.java:128) [debug] [Instrumentation] at org.junit.runners.Suite.runChild(Suite.java:27) [debug] [Instrumentation] at org.junit.runners.ParentRunner$3.run(ParentRunner.java: 290) [debug] [Instrumentation] at org.junit.runners.ParentRunner$1.schedule(ParentRunner. java:71) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runChildren(ParentRunner .java:288) [debug] [Instrumentation] at org.junit.runners.ParentRunner.access$000(ParentRunner. java:58) [debug] [Instrumentation] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner. java:268) [debug] [Instrumentation] at org.junit.runners.ParentRunner.run(ParentRunner.java:36 3) [debug] [Instrumentation] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [debug] [Instrumentation] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [debug] [Instrumentation] at androidx.test.internal.runner.TestExecutor.execute(Test Executor.java:56) [debug] [Instrumentation] at androidx.test.runner.AndroidJUnitRunner.onStart(Android JUnitRunner.java:388) [debug] [Instrumentation] at android.app.Instrumentation$InstrumentationThread.run(I nstrumentation.java:2106) [debug] [Instrumentation] Time: 1.039 [debug] [Instrumentation] There was 1 failure: [debug] [Instrumentation] 1) startServer(io.appium.uiautomator2.server.test.AppiumUiAutoma tor2Server) [debug] [Instrumentation] java.lang.NoSuchMethodError: No virtual method startMjpegServer( )V in class Lio/appium/uiautomator2/server/ServerInstrumentation; or its super classes (de claration of 'io.appium.uiautomator2.server.ServerInstrumentation' appears in /data/app/io .appium.uiautomator2.server-oBUOfx6Ej6t3pu4eR1ChQA==/base.apk:classes2.dex) [debug] [Instrumentation] at io.appium.uiautomator2.server.test.AppiumUiAutomator2Se rver.startServer(AppiumUiAutomator2Server.java:31) [debug] [Instrumentation] at java.lang.reflect.Method.invoke(Native Method) [debug] [Instrumentation] at org.junit.runners.model.FrameworkMethod$1.runReflective Call(FrameworkMethod.java:50) [debug] [Instrumentation] at org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java:12) [debug] [Instrumentation] at org.junit.runners.model.FrameworkMethod.invokeExplosive ly(FrameworkMethod.java:47) [debug] [Instrumentation] at org.junit.internal.runners.statements.InvokeMethod.eval uate(InvokeMethod.java:17) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.jav a:325) [debug] [Instrumentation] at org.junit.runners.BlockJUnit4ClassRunner.runChild(Block JUnit4ClassRunner.java:78) [debug] [Instrumentation] at org.junit.runners.BlockJUnit4ClassRunner.runChild(Block JUnit4ClassRunner.java:57) [debug] [Instrumentation] at org.junit.runners.ParentRunner$3.run(ParentRunner.java: 290) [debug] [Instrumentation] at org.junit.runners.ParentRunner$1.schedule(ParentRunner. java:71) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runChildren(ParentRunner .java:288) [debug] [Instrumentation] at org.junit.runners.ParentRunner.access$000(ParentRunner. java:58) [debug] [Instrumentation] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner. java:268) [debug] [Instrumentation] at org.junit.runners.ParentRunner.run(ParentRunner.java:36 3) [debug] [Instrumentation] at androidx.test.runner.AndroidJUnit4.run(AndroidJUnit4.ja va:104) [debug] [Instrumentation] at org.junit.runners.Suite.runChild(Suite.java:128) [debug] [Instrumentation] at org.junit.runners.Suite.runChild(Suite.java:27) [debug] [Instrumentation] at org.junit.runners.ParentRunner$3.run(ParentRunner.java: 290) [debug] [Instrumentation] at org.junit.runners.ParentRunner$1.schedule(ParentRunner. java:71) [debug] [Instrumentation] at org.junit.runners.ParentRunner.runChildren(ParentRunner .java:288) [debug] [Instrumentation] at org.junit.runners.ParentRunner.access$000(ParentRunner. java:58) [debug] [Instrumentation] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner. java:268) [debug] [Instrumentation] at org.junit.runners.ParentRunner.run(ParentRunner.java:36 3) [debug] [Instrumentation] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [debug] [Instrumentation] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [debug] [Instrumentation] at androidx.test.internal.runner.TestExecutor.execute(Test Executor.java:56) [debug] [Instrumentation] at androidx.test.runner.AndroidJUnitRunner.onStart(Android JUnitRunner.java:388) [debug] [Instrumentation] at android.app.Instrumentation$InstrumentationThread.run(I nstrumentation.java:2106) [debug] [Instrumentation] [debug] [Instrumentation] FAILURES!!! [debug] [Instrumentation] Tests run: 1, Failures: 1 [debug] [Instrumentation] The process has exited with code 0 [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] wit h no body [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [UiAutomator2] Error: The instrumentation process cannot be initialized. Make sure the app lication under test does not crash and investigate the logcat output. [UiAutomator2] at Object.wrappedLogger.errorAndThrow (C:\Users\Admin\AppData\Roaming\n pm\node_modules\appium\node_modules\appium-support\lib\logging.js:79:13) [UiAutomator2] at UiAutomator2Server.errorAndThrow [as startSession] (C:\Users\Admin\A ppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\uiautom ator2.js:227:13) [UiAutomator2] at AndroidUiautomator2Driver.startUiAutomator2Session (C:\Users\Admin\A ppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver. js:340:5) [UiAutomator2] at AndroidUiautomator2Driver.createSession (C:\Users\Admin\AppData\Roam ing\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:211:7) [UiAutomator2] at AppiumDriver.createSession (C:\Users\Admin\AppData\Roaming\npm\node_ modules\appium\lib\appium.js:353:35) [UiAutomator2] at AppiumDriver.executeCommand (C:\Users\Admin\AppData\Roaming\npm\node _modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:376:13) [UiAutomator2] at AppiumDriver.executeCommand (C:\Users\Admin\AppData\Roaming\npm\node _modules\appium\lib\appium.js:482:14) [UiAutomator2] at asyncHandler (C:\Users\Admin\AppData\Roaming\npm\node_modules\appium \node_modules\appium-base-driver\lib\protocol\protocol.js:306:21) [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: Unkn ownError: An unknown server-side error occurred while processing the command. Original err or: Trying to proxy a session command without session id [debug] [ADB] Running 'C:\Users\Admin\Pictures\Android_sdk\platform-tools\adb.exe -P 5037 -s ce08171870a17c0904 shell am force-stop io.cloudgrey.the_app' [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8200 [debug] [ADB] Running 'C:\Users\Admin\Pictures\Android_sdk\platform-tools\adb.exe -P 5037 -s ce08171870a17c0904 forward --remove tcp\:8200' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1621345767816 (19:19:27 GMT+0530 (India Standard Time)) [debug] [W3C] Encountered internal error running command: Error: The instrumentation proce ss cannot be initialized. Make sure the application under test does not crash and investig ate the logcat output. [debug] [W3C] at Object.wrappedLogger.errorAndThrow (C:\Users\Admin\AppData\Roaming\np m\node_modules\appium\node_modules\appium-support\lib\logging.js:79:13) [debug] [W3C] at UiAutomator2Server.errorAndThrow [as startSession] (C:\Users\Admin\Ap pData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\uiautoma tor2.js:227:13) [debug] [W3C] at AndroidUiautomator2Driver.startUiAutomator2Session (C:\Users\Admin\Ap pData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.j s:340:5) [debug] [W3C] at AndroidUiautomator2Driver.createSession (C:\Users\Admin\AppData\Roami ng\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:211:7) [debug] [W3C] at AppiumDriver.createSession (C:\Users\Admin\AppData\Roaming\npm\node_m odules\appium\lib\appium.js:353:35) [debug] [W3C] at AppiumDriver.executeCommand (C:\Users\Admin\AppData\Roaming\npm\node_ modules\appium\node_modules\appium-base-driver\lib\basedriver\driver.js:376:13) [debug] [W3C] at AppiumDriver.executeCommand (C:\Users\Admin\AppData\Roaming\npm\node_ modules\appium\lib\appium.js:482:14) [debug] [W3C] at asyncHandler (C:\Users\Admin\AppData\Roaming\npm\node_modules\appium\ node_modules\appium-base-driver\lib\protocol\protocol.js:306:21) [HTTP] <-- POST /wd/hub/session 500 24901 ms - 835 [HTTP]