[libvirt PATCH] gitlab: enable debug output for test suite

Andrea Bolognani abologna at redhat.com
Wed May 5 16:32:16 UTC 2021


On Wed, May 05, 2021 at 04:04:17PM +0100, Daniel P. Berrangé wrote:
> When CI jobs fail on the test suite, we don't see much helpful
> information by default:
>
> stderr:
> TEST: bhyvexml2argvtest
>       ......!!.............!......!........... 40
>       ........................!......          71  FAIL
> Some tests failed. Run them using:
> VIR_TEST_DEBUG=1 VIR_TEST_RANGE=7-8,22,29,65
> /tmp/cirrus-ci-build/build/meson-private/dist-build/tests/bhyvexml2argvtest
>
> Following the instructions to re-run the test with VIR_TEST_DEBUG=1 is
> great if running locally, but quite unfriendly for CI.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>
> Compare before:
>
>   https://gitlab.com/libvirt/libvirt/-/jobs/1237988893
>
> and after:
>
>   https://gitlab.com/berrange/libvirt/-/jobs/1238324746

Better.

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization





More information about the libvir-list mailing list