[libvirt] [PATCH] CI: show the log in case of failure

Claudio André claudioandre.br at gmail.com
Thu May 25 05:29:02 UTC 2017


Below an example of why it is desirable.

Em 25/05/2017 02:19, claudioandre.br at gmail.com escreveu:
> From: Claudio André <claudioandre.br at gmail.com>
>
> Disclosure the content of the 'test-suite.log' file (if available) in case of failures inside Travis-CI. This is needed to understand what happened and to provide hints about the proper fix (if applicable).
> ---

It happened while I was playing with libvirt on Travis. Some random 
error (that I know nothing because I wasn't able to see the log).
---

[snip]
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/travis/build/claudioandre/libvirt/tests'
============================================================================
Testsuite summary for libvirt 3.4.0
============================================================================
# TOTAL: 122
# PASS:  106
# SKIP:  6
# XFAIL: 0
# FAIL:  10
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list at redhat.com
============================================================================
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory `/home/travis/build/claudioandre/libvirt/tests'
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory `/home/travis/build/claudioandre/libvirt/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/travis/build/claudioandre/libvirt/tests'
make: *** [check-recursive] Error 1
[snip]




More information about the libvir-list mailing list