]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ci: integration: Bundle only failed Avocado test results
authorErik Skultety <eskultet@redhat.com>
Thu, 13 Oct 2022 08:59:08 +0000 (10:59 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 25 Oct 2022 07:40:44 +0000 (09:40 +0200)
commit5597ae9609cd2bca9a29319719de3b23e17a2e9c
tree00438c11b5b9414e8b3ed63965bd8652ab3b4ee0
parent2b26127397056339b6ac15c0f89e7369029e464e
ci: integration: Bundle only failed Avocado test results

Latest versions of Avocado create 'by-status' symlink shortcuts to test
results, IOW:

 # this is the main test results directory containing all data
 $ ls <path>/avocado/job-results/latest/test-results/
 01-scripts_networks_050-transient-lifecycle.t
 02-scripts_networks_051-transient-autostart.t
 ...
 22-scripts_networks_400-guest-bandwidth.t
 by_status/

 # list only the failed tests
 $ ls -l <path>/avocado/job-results/latest/test-results/by-status/FAIL
 19-scripts_networks_360-guest-network-vepa.t ->
    <path>/avocado/job-results/latest/test-results/19-scripts_networks_360-guest-network-vepa.t

Therefore, let's bundle only the failed ones, it's going to make the
log artifacts more obvious when looking for libvirt errors.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
ci/integration-template.yml