Adds an autotestd and autotestd_monitor script to the Autotest client
to allow us to run clients from autoserv in a disconnected fashion,
and adds support to autoserv to make use of this when running clients.

The basic idea is that instead of running the client via SSH and
sending output & status info back to the server via the connection,
we kick off autotestd to run the client and write output & status info
into temp files, and then run autotestd_monitor from the server to
feed that information back to the server over SSH. Since the monitor
is completely detached from the running of the client itself, if
anything happens to the connection we can simply restart the monitor.

I also had to fix a bug in ParamikoHost that came up while working on
this. Sudden disconnects from the client-side would lead to the
commands exiting with a SIGHUP; the SSHHost implementation would
throw an exception is this case since this is a connection failure
rather than a command failure. I added an explicit SIGHUP check to
ParamikoHost.

Risk: High
Visibility: If the network connection gets killed for any reason but
we can reconnect to the remote machine we now do that.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2752 592f7852-d20e-0410-864c-8624ca9c26a4
5 files changed