Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent ios commands like runwda, forward with agent mode enabled doesn't sync with tunnel start #543

Open
stoktamisoglu opened this issue Jan 6, 2025 · 0 comments

Comments

@stoktamisoglu
Copy link
Contributor

stoktamisoglu commented Jan 6, 2025

Describe the bug
When you enable experimental agent with ENABLE_GO_IOS_AGENT=yes it starts a kernel tunnel before the command runs for 17+ devices. The tunnel should start and stay after the command though it is a persistent command.

To Reproduce
Steps to reproduce the behavior:

  1. Set environment variable ENABLE_GO_IOS_AGENT=yes
  2. Run go-ios runwda or any other command which requires a tunnel

{"level":"warning","msg":"failed to get tunnel info","time":"2025-02-09T21:53:12+01:00","udid":"XXXXXXXXXXXXXXX"}
{"level":"info","msg":"no bundle ids specified, falling back to defaults","time":"2025-02-09T21:53:12+01:00"}
{"bundleid":"com.facebook.WebDriverAgentRunner.xctrunner","level":"info","msg":"Running wda","testbundleid":"com.facebook.WebDriverAgentRunner.xctrunner","time":"2025-02-09T21:53:12+01:00","xctestconfig":"WebDriverAgentRunner.xctest"}
{"error":"runXUITestWithBundleIdsXcode15Ctx: cannot create a tunnel connection to testmanagerd: ConnectToServiceTunnelIface: Cannot connect to com.apple.dt.testmanagerd.remote, missing tunnel address and RSD port","level":"error","msg":"Failed running WDA","time":"2025-02-09T21:53:12+01:00"}

Expected behavior
ios tunnel start process should start and only after then runwda or other tunnel required commands can run.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows, Linux, Mac
  • Browser N/A
  • Version N/A

Smartphone (please complete the following information):

  • Device: Any device with iOS 17+
  • OS: iOS 17+
  • Browser N/A
  • Version N/A

Additional context
I can work on a fix later.

@stoktamisoglu stoktamisoglu changed the title Persistent ios commands like runwda, forward with agent mode enabled terminates the tunnel Persistent ios commands like runwda, forward with agent mode enabled doesn't sync with tunnel start Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant