Grid Hub and Nodes stops after a node is turned off or cable unplugged
See original GitHub issueHello guys!
I facing a problem that I presume could be a bug. I have a lot of devices in a grid (12), but it occurs with two or more devices.
Configs (for testing propouse)
- Selenium/Appium grid with a hub and node in same machine
- Nodes correctly configured (udid, appium post and bp port always unique)
Scenario
- Same app executing in parallel through separated threads
Action
- After the test execution in the devices I can do two things to throw the error:
- ** Power off the device
- ** Unplug the USB cable
- ** [For emulator] Close the window of emulator
Versions
- Selenium Server 2.53.0
- Appium 1.5.1
*Error *
on console (Eclipse)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: UiAUtomator shut down unexpectedly (WARNING: The server did not provide any stacktrace information)
on node closed
Unhandled rejection Error: No device connected, cannot run adb shell command "am force-stop com.eliasnogueira.buttontest"
on the other nodes
Unhandled rejection Error: Error executing adbExec. Original error: Command '/Users/eliasnogueira/android-sdk/platform-tools/adb -P 5037 -s 192.168.56.102:5555 shell am force-stop com.eliasnogueira.buttontest' exited with code 255{"stdout":"","stderr":"error: device '192.168.56.102:5555' not found\n","code":255}
What I expect Not stop the Grid after the node stop (shutdown or unplug cable)
Full logs attached.
console_eclipse.txt node_closed.txt other_nodes.txt
Any help would be much appreciated! :slight_smile:
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (8 by maintainers)
Top GitHub Comments
Issue on SeleniumHQ/Selenium https://github.com/SeleniumHQ/selenium/issues/3300
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.