avocado.plugins.vm: Use more informative exception messages

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.plugins.vm: Print test label

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
selftests/functional: Add JSON output tests

Yet another useful functional test for avocado functionality.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.plugins.vm: Provide better debug info on failures to load JSON

Provide the full output of the avocado execution, so we
understand better what was the actual failure.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.job: Clean up tmp files after archive is done

We should avoid surprises made by misbehaved tests changing
the cwd directory and not setting it back, making cwd() to
point to an invalid dir.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.job: Compress results file in the logs dir

Rather than using the current working dir, which is
more fragile than we'd like due to the fact that
tests can change avocado environment (another bug
that has come to our attention).

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.plugins.vm: Fix relative tarball path

We should use the absolute path when transfering the
file from the vm, and the basename only when assembling
the local path.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #94 from avocado-framework/messages

Messages