[PATCH 0/2] ci: improve debuggability of I/O tests

Daniel P. Berrangé posted 2 patches 1 year, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220509124134.867431-1-berrange@redhat.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
.gitlab-ci.d/buildtest-template.yml | 12 ++++++++++--
tests/qemu-iotests/testrunner.py    |  3 +++
2 files changed, 13 insertions(+), 2 deletions(-)
[PATCH 0/2] ci: improve debuggability of I/O tests
Posted by Daniel P. Berrangé 1 year, 11 months ago
Currently with the TAP harness we see essentially no useful information
about the I/O tests execution. To pick a random job:

  https://gitlab.com/qemu-project/qemu/-/jobs/2429330423

All that we get is this:

  184/204 qemu:block / qemu-iotests qcow2  OK  309.10s   116 subtests passed

The full details are in a testlog.txt file that isn't accessible. This
series publishes that as an artifact. It further tweaks the TAP runner
to print out when it is about to run a test, so we get a record of what
was running, if the test harness gets terminated abnormally/prematurely

Daniel P. Berrangé (2):
  tests/qemu-iotests: print intent to run a test in TAP mode
  .gitlab-ci.d: export meson testlog.txt as an artifact

 .gitlab-ci.d/buildtest-template.yml | 12 ++++++++++--
 tests/qemu-iotests/testrunner.py    |  3 +++
 2 files changed, 13 insertions(+), 2 deletions(-)

-- 
2.35.1

Re: [PATCH 0/2] ci: improve debuggability of I/O tests
Posted by Kevin Wolf 1 year, 11 months ago
Am 09.05.2022 um 14:41 hat Daniel P. Berrangé geschrieben:
> Currently with the TAP harness we see essentially no useful information
> about the I/O tests execution. To pick a random job:
> 
>   https://gitlab.com/qemu-project/qemu/-/jobs/2429330423
> 
> All that we get is this:
> 
>   184/204 qemu:block / qemu-iotests qcow2  OK  309.10s   116 subtests passed
> 
> The full details are in a testlog.txt file that isn't accessible. This
> series publishes that as an artifact. It further tweaks the TAP runner
> to print out when it is about to run a test, so we get a record of what
> was running, if the test harness gets terminated abnormally/prematurely

Thanks, applied to the block branch.

Kevin