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:
parent
1068f8b775
commit
4c24a1a72f
13
.zuul.yaml
13
.zuul.yaml
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user