From 0b98c20a7f7e960d7251ee182e7ff60a889e91eb Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Tue, 18 Jun 2019 11:10:43 -0300 Subject: [PATCH 1/2] Revert "travis: Make check-acceptance job more verbose" This reverts commit 6d7a134da4afebe8551a69329478415cfb4cbe91. We'll have a better fix, that will show the full avocado job log only if a test case failed. Signed-off-by: Eduardo Habkost --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 08502c0aa2..2f1658602e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -232,7 +232,7 @@ matrix: # Acceptance (Functional) tests - 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 AVOCADO_SHOW=test check-acceptance" + - TEST_CMD="make check-acceptance" addons: apt: packages: From c21f30ebc779cd4210b488dd702b3f8653aee82b Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Fri, 7 Jun 2019 11:22:16 -0400 Subject: [PATCH 2/2] Travis: print acceptance tests logs in case of job failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Message-Id: <20190607152223.9467-2-crosa@redhat.com> Reviewed-by: Wainer dos Santos Moschetta Acked-by: Alex Bennée Signed-off-by: Eduardo Habkost --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2f1658602e..aeb9b211cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -233,6 +233,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: