From a51c6c30b924cf4825a6bd1335117084234cd37d Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Tue, 27 Sep 2022 12:27:05 +0200 Subject: [PATCH] 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 --- roles/collect_logs/tasks/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/collect_logs/tasks/publish.yml b/roles/collect_logs/tasks/publish.yml index 6a41a15..e85676a 100644 --- a/roles/collect_logs/tasks/publish.yml +++ b/roles/collect_logs/tasks/publish.yml @@ -52,8 +52,8 @@ - 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 - name: Fetch .sh and .log files from local working directory on localhost shell: >