qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 2/2] Travis: print acceptance tests logs in case of j


From: Eduardo Habkost
Subject: [Qemu-devel] [PULL 2/2] Travis: print acceptance tests logs in case of job failure
Date: Tue, 18 Jun 2019 11:40:13 -0300

From: Cleber Rosa <address@hidden>

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>
Message-Id: <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Acked-by: Alex Bennée <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
 .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:
-- 
2.18.0.rc1.1.g3f1ff2140




reply via email to

[Prev in Thread] Current Thread [Next in Thread]