Copy and unzip testrepository

In an effort for ci-logging-processing process the testrepository to
have tempest results on opensearch, the testrepository can not be
gzipped, since logging processing tool doesn't support gzipped files
yet, and also be in the root of the logs directory.

Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/859526

Change-Id: Iebba70821f7aec02dc97477f49148064da9aa743
This commit is contained in:
Arx Cruz 2022-09-27 12:27:05 +02:00 committed by Arx Cruz
parent ffb9f0e5c1
commit 6e10ac2b7f
2 changed files with 4 additions and 3 deletions

View File

@ -52,8 +52,9 @@
- name: Copy testrepository.subunit file to the root of collect_dir for os_tempest
shell: >
cp {{ artcl_collect_dir }}/undercloud/var/log/tempest/testrepository.subunit.gz {{ artcl_collect_dir }}/testrepository.subunit.gz || true
when: use_os_tempest is defined
cp {{ artcl_collect_dir }}/undercloud/var/log/tempest/testrepository.subunit* {{ artcl_collect_dir }} || true;
gunzip {{ artcl_collect_dir }}/testrepository.subunit.gz || true;
changed_when: true
- name: Fetch .sh and .log files from local working directory on localhost
shell: >

View File

@ -6,7 +6,7 @@
vars:
tox_envlist: sanity # dynamic tox env added by tox-ansible
# we want to run sanity only on py38 instead of implicit 2.6-3.9 range
tox_extra_args: -- --python 3.8
tox_extra_args: -- --python 3.9
- job:
name: tox-ansible-test-units