Do not run stage-output again in Tempest

stage-output is already invoked in the devstack job.
Rather than running the role again in Tempest post, extend the
list of files to be staged and extensions to be converted to txt.

Change-Id: I0844700f1c770809cba5a2e0e39737fd6827896f
Depends-on: https://review.openstack.org/540485/
This commit is contained in:
Andrea Frittoli 2018-01-31 22:21:07 +00:00
parent 1068f8b775
commit 4c24a1a72f
2 changed files with 14 additions and 17 deletions

View File

@ -10,6 +10,19 @@
vars:
devstack_services:
tempest: true
test_results_stage_name: 'test_results'
zuul_copy_output:
'{{ devstack_base_dir }}/tempest/etc/tempest.conf': 'logs'
'{{ devstack_base_dir }}/tempest/etc/accounts.yaml': 'logs'
'{{ devstack_base_dir }}/tempest/tempest.log': 'logs'
'{{ stage_dir }}/{{ test_results_stage_name }}.subunit': 'logs'
'{{ stage_dir }}/{{ test_results_stage_name }}.html': 'logs'
'{{ stage_dir }}/stackviz': 'logs'
extensions_to_txt:
conf: True
log: True
yaml: True
yml: True
run: playbooks/devstack-tempest.yaml
post-run: playbooks/post-tempest.yaml

View File

@ -1,23 +1,7 @@
- hosts: all
become: true
vars:
logs_root: "{{ devstack_base_dir|default('/opt/stack') }}"
test_results_stage_name: 'test_results'
roles:
- role: process-test-results
test_results_dir: '{{ logs_root }}/tempest'
test_results_dir: '{{ devstack_base_dir }}/tempest'
tox_envdir: tempest
- role: process-stackviz
- role: stage-output
zuul_copy_output:
{ '{{ logs_root }}/tempest/etc/tempest.conf': 'logs',
'{{ logs_root }}/tempest/etc/accounts.yaml': 'logs',
'{{ logs_root }}/tempest/tempest.log': 'logs',
'{{ stage_dir }}/{{ test_results_stage_name }}.subunit': 'logs',
'{{ stage_dir }}/{{ test_results_stage_name }}.html': 'logs',
'{{ stage_dir }}/stackviz': 'logs' }
extensions_to_txt:
- conf
- log
- yaml
- yml