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

support wireless and local connect better #221

Closed
vdelendik opened this issue Aug 25, 2023 · 4 comments
Closed

support wireless and local connect better #221

vdelendik opened this issue Aug 25, 2023 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@vdelendik
Copy link
Contributor

  1. local connect proceed in regular way assuming device is available automatically
  2. wireless device (using wi-fi network) require in advance adb connect (make sure to start adb with -a in advance!
  3. Redroid (mix of local and wireless?)

make sure it doesn't affect esg scalable executors

@vdelendik vdelendik added the enhancement New feature or request label Aug 25, 2023
@vdelendik vdelendik added this to the 2.0.2 milestone Aug 25, 2023
@vdelendik vdelendik modified the milestones: 2.0.2, 2.0.3 Aug 25, 2023
vdelendik added a commit that referenced this issue Aug 29, 2023
@vdelendik
Copy link
Contributor Author

done: #223
testing performed as for mcloud so for upcoming esg:2.4 on redroid emulators

vdelendik pushed a commit that referenced this issue Aug 29, 2023
vdelendik added a commit that referenced this issue Aug 29, 2023
#221: started adb with -a argument
@dhreben
Copy link
Contributor

dhreben commented Sep 5, 2023

Reopened

Steps:

  1. Open Develop mode on android device - e.g Samsung_Tab_A7
  2. Switch ON debugging by Wifi
  3. docker exec -ti device-Samsung_Tab_A7-R......WX2J-appium bash
  4. root@74f7d224be98:/home/androidusr# ps -ef
  • Verify that adb -a -P 5037 server nodaemon is up

root 11 1 0 Sep01 pts/0 00:00:17 adb -a -P 5037 server nodaemon
5. Switch OFF debugging by USB

Actual result: Android device is not available on STF with Exited(0) appium docker container status

@dhreben dhreben reopened this Sep 5, 2023
@vdelendik
Copy link
Contributor Author

@dhreben if you want to use device remotely you have to configure device according to your step and instead of udid provide device ip. this ip should be in the same network as a server where containers up and running. According to the logs you continue to refer with udid R...WX2J which is wrong for such use-case.
Also wireless: true field should be registered for the device in main.yml

@dhreben
Copy link
Contributor

dhreben commented Sep 8, 2023

Verified on prod

Opened relevant ticket #250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants