]> git.baikalelectronics.ru Git - kernel.git/commit
ktest.pl: Powercycle the box on reboot if no connection can be made
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 7 Feb 2017 17:13:08 +0000 (12:13 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 7 Feb 2017 17:23:38 +0000 (12:23 -0500)
commitaa8896990f75d7c5c041f9bf5b198bc947b72518
treecf3361fcb4a14faa1ba05640ad7e15d664b688d3
parent943e4212751c54411ac6886f2fa5f7d4bf7fd63b
ktest.pl: Powercycle the box on reboot if no connection can be made

When performing a reboot of the test box, try to ssh to it. If it can't
connect for 5 seconds, then powercycle the box. This is useful because the
reboot is done via ssh, and if you can't ssh to the box because it is hung,
the reboot fails to reboot.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl