]> git.baikalelectronics.ru Git - kernel.git/commit
ktest: Test if target machine is up before install
authorSteven Rostedt <srostedt@redhat.com>
Wed, 12 Dec 2012 02:19:41 +0000 (21:19 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 12 Dec 2012 02:19:41 +0000 (21:19 -0500)
commit4a9cd26a2ac2241b426a1cfe1f8ba14f46cbfef4
tree256c3d582473b5448858b758a78044beb59dd487
parent657ff6c4e6ee95781e1db130a738cf139c8015f7
ktest: Test if target machine is up before install

Sometimes a test kernel will crash or hang on reboot (this is even more
apparent when testing a config without CGROUPS on a box running
systemd). When this happens, on the next iteration of installing a
kernel, ktest will fail when it tries to install.

Have ktest do a check to see if the target can be connected to via ssh
before it tries to install. If it can't connect, then reboot again.
This time the reboot will fail because it can't connect and will force a
power cycle.

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