[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/8] Travis: print acceptance tests logs in case
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH 1/8] Travis: print acceptance tests logs in case of job failure |
Date: |
Fri, 14 Jun 2019 15:14:29 +0100 |
User-agent: |
mu4e 1.3.2; emacs 26.1 |
Cleber Rosa <address@hidden> writes:
> Because Travis doesn't allow us to keep files produced during tests
> (such as log files), let's print the complete job log to the "console"
> in case of job failures.
>
> This is a debugging aid, and given that there's been some timeouts
> happening on some tests, we absolutely needs the logs to have a proper
> action.
>
> Signed-off-by: Cleber Rosa <address@hidden>
Acked-by: Alex Bennée <address@hidden>
> ---
> .travis.yml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/.travis.yml b/.travis.yml
> index b053a836a3..9f8e73f276 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -226,6 +226,8 @@ matrix:
> - env:
> - CONFIG="--python=/usr/bin/python3
> --target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu"
> - TEST_CMD="make check-acceptance"
> + after_failure:
> + - cat tests/results/latest/job.log
> addons:
> apt:
> packages:
--
Alex Bennée
- [Qemu-devel] [PATCH 0/8] Miscellaneous acceptance test and Travis CI improvements, Cleber Rosa, 2019/06/07
- [Qemu-devel] [PATCH 1/8] Travis: print acceptance tests logs in case of job failure, Cleber Rosa, 2019/06/07
- [Qemu-devel] [PATCH 3/8] Acceptance tests: drop left over usage of ":avocado: enable", Cleber Rosa, 2019/06/07
- [Qemu-devel] [PATCH 2/8] tests/requirements.txt: pin paramiko version requirement, Cleber Rosa, 2019/06/07
- [Qemu-devel] [PATCH 4/8] Boot Linux Console Test: add a test for ppc64 + pseries, Cleber Rosa, 2019/06/07
- [Qemu-devel] [PATCH 7/8] VNC Acceptance test: check protocol version, Cleber Rosa, 2019/06/07