qemu-devel
[Top][All Lists]
Advanced

[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: Wainer dos Santos Moschetta
Subject: Re: [Qemu-devel] [PATCH 1/8] Travis: print acceptance tests logs in case of job failure
Date: Mon, 10 Jun 2019 16:46:56 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2


On 06/07/2019 12:22 PM, Cleber Rosa wrote:
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>
---
  .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

It's handy. Unfortunately you cannot archive the log files in Travis, otherwise that would be a nice option.

Reviewed-by: Wainer dos Santos Moschetta <address@hidden>

@@ -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:




reply via email to

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