Rename tempest result files

To provide visibility of testrepository subunit results
- Generated by tempest run - to the gate logstash [1] and
further processing that allows OSA project to be displayed under
health dashboard [2].

The subunit file should be always collected - even when test cases fails -

Files should be zipped and named: **/*testr_results.html.gz and
**/*testrepository.subunit.gz. So that publisher [3] picks them up

[1] https://github.com/openstack-infra/system-config/blob/master/modules/openstack_project/files/logstash/jenkins-log-client.yaml#L14
[2] http://status.openstack.org/openstack-health/#/
[3] https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/macros.yaml#L975

Change-Id: Ia06389d8724f23283f72dea3b055d0cb43b0be32
This commit is contained in:
Luz Cazares 2017-06-19 18:11:49 +00:00
parent a2a5320466
commit dbb46550bf
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@
- name: Generate html subunit results
shell: |
. {{ tempest_venv_bin }}/activate
subunit2html {{ tempest_log_dir }}/testrepository.subunit {{ tempest_log_dir }}/tempest_results.html
subunit2html {{ tempest_log_dir }}/testrepository.subunit {{ tempest_log_dir }}/testr_results.html
args:
chdir: "{{ tempest_venv_bin | dirname }}/workspace"
executable: /bin/bash

View File

@ -38,7 +38,7 @@
that: "item in _results_list.stdout_lines"
msg: "{{ item }} must be present in {{ tempest_log_dir }}"
with_items:
- "tempest_results.html"
- "testr_results.html"
- "tempest_results.xml"
- "testrepository.subunit"