question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Grid Hub and Nodes stops after a node is turned off or cable unplugged

See original GitHub issue

Hello 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:closed
  • Created 7 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
eliasnogueiracommented, Dec 28, 2016
0reactions
lock[bot]commented, Apr 26, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Grid Hub and Nodes stops after a node is turned off or cable ...
Hello guys! I facing a problem that I presume could be a bug. I have a lot of devices in a grid (12),...
Read more >
Selenium Node is disconnecting with grid - Stack Overflow
I am facing challenges with Node machine is getting disconnected with Hub. Because of this, my daily batch schedules in Jenkins are failing....
Read more >
Chapter 3, Turn Up a Node - Cisco Content Hub
Step 1 Complete the "DLP-G46 Log into CTC" task at the node that you want to ... Reconnect the cross-over (CAT-5) LAN cable...
Read more >
ClearPath-SC User Manual - Teknic
your motor is enabled after power up is the motor initializing itself. This is ... Issues an E-stop (node stop) to all ClearPath-SC...
Read more >
Previous messages - SciNet Users Documentation
Thu Oct 20, 2022, 09:40 AM EDT: About half of Niagara compute nodes are up. ... sessions will get disconnected, and servers on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found