Prevent autotest job log display foreground

When open a subprocess to run autotest job, it will print the job log
in the terminal, so avoid this mess messages by redirecting both
stdout and stderr to PIPE.

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #1831 from will-Do/subprocess_out

Prevent autotest job log display foreground