Skip to content

travis: Improve log browseability

Wainer dos Santos Moschetta qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2travis.yml: avocado: Print logs of non-pass tests only.travis.yml+2 -23 replies
2/2travis.yml: Detach build and test steps.travis.yml+2 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] travis: Improve log browseability

While I was working on [1] I needed to check what dependencies were missing on Travis environment to build a kernel. The test was coded so that a build failure would cancel the test. As a result, and because all tests pass'ed (or cancel'ed) I could not see the Avocado logs (consequentely not able to check the missing packages). That was the main reason for the Patch 01 in this series. Also it seems pointless to print the log of the tests that pass.

The patch 02 is a tentative to improve the browsing of build vs test logs. Honestly I was expecting that Travis was able to put the output of steps each on toggled text boxes (see the 'before_script' section, each command output has a
toggle). But that isn't the behavior of the 'script' section. At least it prints the end of the build command ('The command "BUILD_RC=0 && make -j3 || BUILD_RC=$?" exited with 0.') which can be grep'ed.

Git:
- Tree: https://github.com/wainersm/qemu
- Brach: travis_improved_browse

CI:
- Travis (FAIL): https://travis-ci.org/wainersm/qemu/builds/630948777
QEMU keep failing with --without-default-devices

References:
[1] https://www.mail-archive.com/[email protected]/msg663432.html

Wainer dos Santos Moschetta (2):
travis.yml: avocado: Print logs of non-pass tests only travis.yml: Detach build and test steps

 .travis.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Signature · 1 line
2.23.0