Skip to content

Webdriveragent freeze on simulators when running in parallel #1924

@Petrdontone

Description

@Petrdontone

Describe the bug

I'm running tests in 8 threads on a Mac Studio M4 Max 36GB on simulators. When I launch them, I see that on some devices, it takes a long time to launch, say, 3-4 minutes. Overall, I see that the tests are running on all simulators, with tests generally running on 3-4 simulators, while the others are "resting" and only launching on them after a long time.
Looking at the logs, it seems there's a problem with the webdriver agent build.
I also noticed that there's a derivedDataPath parameter when running, for example, "derivedDataPath":"/Users/virtual_farm_ios/Library/Developer/Xcode/DerivedData/WebDriverAgent-7EACCBD0-58FF-4BE9-8818-D6F25EBCF2CB"
but when running xcodebuild, the derivedDataPath isn't set.
"-derivedDataPath /Users/virtual_farm_ios/.appium/node_modules/appium-xcuitest-driver/node_modules"
@saikrishna321 @sudharsan-selvaraj help pls

I have attached all the capabilities and much more in the log file.

Link to Appium logs

It won't attach to GitHub, I can only do it as a file.

loggggggsss.txt.rtf

Environment

  1. Appium version (or git revision) that exhibits the issue: 3.1.0 (Appium), 11.2.0 (Appium device farm)
  2. Last Appium version that did not exhibit the issue (if applicable):
  3. Node.js version (unless using Appium.app|exe): 20.19.0
  4. Npm or Yarn package manager: npm
  5. Mobile platform/version under test: iOS
  6. Real device or emulator/simulator: Simulator
  7. Appium CLI or Appium.app|exe: Appium CLI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions