test: Test CLI apps, env and run.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
test: Replace Attempts logic with controller client calls.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
test: Debug, print out received events.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
see what we're sending from the controller

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
add logging to the watchHost function.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
scheduler: Log errors when stopping jobs.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
print out job state on the StopJob rpc call

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>