AppiumTestDistribution / appium-device-farm

This is an Appium 2.0 plugin designed to manage and create driver sessions on available devices.
https://devicefarm.org
Other
313 stars 97 forks source link

When aborting execution in between, getting session null error all the time until i restart the appium again. #1242

Open AnilPatidar opened 1 month ago

AnilPatidar commented 1 month ago

Describe the bug

When running automation using device farm , and sometime when we stop it in between, session are going in pending status and until it is released, getting session null issue

Link to Appium logs

https://github.com/AnilPatidar/crashlogs/blob/main/device-farm-crash

Environment

  1. Appium version: Appium v2.10.3
  2. Npm or Yarn package manager: 10.2.3
  3. Mobile platform/version under test: android
  4. Real device or emulator/simulator: real
  5. Appium CLI or Appium.app|exe:

    ✔ Listing available plugins

    • images@3.0.14 [installed (npm)]
    • gestures@4.0.1 [installed (npm)]
    • appium-dashboard@v2.0.3 [installed (npm)]
    • element-wait@3.0.2 [installed (npm)]
    • execute-driver@3.0.30 [installed (npm)]
    • appium-interceptor@1.0.0-beta.9 [installed (npm)]
    • device-farm@8.4.7-rc.41 [installed (npm)]
saikrishna321 commented 1 month ago

@AnilPatidar sometime it we stop it in between What you mean by this? You kill the client side session?

AnilPatidar commented 1 month ago

Yes @saikrishna321 , client side we stop automation execution.