Can't run Appium tests one by one while using testng suite

As my topic says I can’t run Appium test one after another.
Here is my Config.java file:
`@BeforeTest
public void MyAppTest () throws MalformedURLException, InterruptedException {

    DesiredCapabilities capability = new DesiredCapabilities();
    capability.setCapability("deviceName", "Nexus");
    capability.setCapability("platformName", "Android");
    capability.setCapability("platformVersion", "5.1.1");
    capability.setCapability("appPackage","com....");
    capability.setCapability("appActivity","...");        
    capability.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 30);

    try {
        System.out.println("Setting driver");
        driver = new AndroidDriver<WebElement>(new URL("http://127.0.0.1:4723/wd/hub"), capability);
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    
    WebView.setWebContentsDebuggingEnabled(true);
    Set<String> contextNames = driver.getContextHandles();
    for (String contextName : contextNames) {
        System.out.println("Available context: " + contextName); //prints out available contexts
    }
    
}

@AfterTest
public void tearDown() throws Exception {
    driver.quit();
}`

And my testng.xml file:

<suite name="TestAll">
    <test name="One" verbose="1">
        <classes>
            <class name="automationFramework.TubeStatus" />
            <class name="automationFramework.StationSelectPage" />
        </classes>
    </test>
</suite>

Config file load application, but test1 fails… And I don’t know why…
I would appreciate any help

Insufficient info provided, Please provide appium server logs.

Thanks,
Priyank Shah

Appium logs:

info: Chromedriver: [STDOUT] Starting ChromeDriver 2.18.343837 (52eb4041461e46a6b73308ebb19e85787ced4281) on port 9515
Only local connections are allowed.
info: JSONWP Proxy: Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
info: JSONWP Proxy: Got response with status 200: “{"sessionId":"","status":0,"value":{"build":{"version":"alpha"},"os":{"arch":"x86_64","name":"Linux","version":"3.19.0-42-generic"}}}”
info: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {“desiredCapabilities”:{“chromeOptions”:{“androidPackage”:“com.nx_c2c_live_passenger”,“androidUseRunningApp”:true,“androidDeviceSerial”:“emulator-5554”}}}
info: JSONWP Proxy: Got response with status 200: {“sessionId”:“24e0885e5b478949857668d1f95a0626”,“status”:0,“value”:{“acceptSslCerts”:true,“applicationCacheEnabled”:false,“browserConnectionEnabled”:false,“browserName”:“chrome”,“chrome”:{},"cssSel…
info: Chromedriver: Changed state to ‘online’
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“6d18eaf1-9965-4a56-bce0-0ed2cfb892ff”}
info: ← POST /wd/hub/session/6d18eaf1-9965-4a56-bce0-0ed2cfb892ff/context 200 2103.285 ms - 76 {“status”:0,“value”:null,“sessionId”:“6d18eaf1-9965-4a56-bce0-0ed2cfb892ff”}
info: → DELETE /wd/hub/session/6d18eaf1-9965-4a56-bce0-0ed2cfb892ff {}
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: /home/laurynas/android-sdks/platform-tools/adb -s emulator-5554 shell “input keyevent 3”
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] Stopping chromedriver for context WEBVIEW_com.nx_c2c_live_passenger
info: Chromedriver: Changed state to ‘stopping’
info: JSONWP Proxy: Proxying [DELETE /] to [DELETE http://127.0.0.1:9515/wd/hub/session/24e0885e5b478949857668d1f95a0626] with no body
info: JSONWP Proxy: Got response with status 200: “{"sessionId":"24e0885e5b478949857668d1f95a0626","status":0,"value":null}”
info: Chromedriver: Changed state to ‘stopped’
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: {“status”:0,“value”:“OK, shutting down”}
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: 15.333
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop…
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“6d18eaf1-9965-4a56-bce0-0ed2cfb892ff”}
info: ← DELETE /wd/hub/session/6d18eaf1-9965-4a56-bce0-0ed2cfb892ff 200 1170.027 ms - 76 {“status”:0,“value”:null,“sessionId”:“6d18eaf1-9965-4a56-bce0-0ed2cfb892ff”}