zuulv3 optimization

This patch set improves inheritance of watcher jobs.

Change-Id: I65335cd0b25a355c46bfea8a962f63b8ac02ebf2
This commit is contained in:
Alexander Chadin
2018-03-27 12:46:01 +03:00
parent cfaab0cbdc
commit 39d7ce9ee8

View File

@@ -1,7 +1,7 @@
- project: - project:
check: check:
jobs: jobs:
- watcher-tempest-zuulv3 - watcher-tempest-functional
- watcher-tempest-dummy_optim - watcher-tempest-dummy_optim
- watcher-tempest-actuator - watcher-tempest-actuator
- watcher-tempest-basic_optim - watcher-tempest-basic_optim
@@ -10,7 +10,7 @@
- legacy-rally-dsvm-watcher-rally - legacy-rally-dsvm-watcher-rally
gate: gate:
jobs: jobs:
- watcher-tempest-zuulv3 - watcher-tempest-functional
- watcher-tempest-dummy_optim - watcher-tempest-dummy_optim
- watcher-tempest-actuator - watcher-tempest-actuator
- watcher-tempest-basic_optim - watcher-tempest-basic_optim
@@ -20,50 +20,37 @@
- job: - job:
name: watcher-tempest-dummy_optim name: watcher-tempest-dummy_optim
voting: false parent: watcher-tempest-multinode
parent: watcher-tempest-zuulv3
vars: vars:
tempest_test_regex: 'watcher_tempest_plugin.tests.scenario.test_execute_dummy_optim' tempest_test_regex: 'watcher_tempest_plugin.tests.scenario.test_execute_dummy_optim'
- job: - job:
name: watcher-tempest-actuator name: watcher-tempest-actuator
voting: false parent: watcher-tempest-multinode
parent: watcher-tempest-zuulv3
vars: vars:
tempest_test_regex: 'watcher_tempest_plugin.tests.scenario.test_execute_actuator' tempest_test_regex: 'watcher_tempest_plugin.tests.scenario.test_execute_actuator'
- job: - job:
name: watcher-tempest-basic_optim name: watcher-tempest-basic_optim
voting: false parent: watcher-tempest-multinode
parent: watcher-tempest-zuulv3
vars: vars:
tempest_test_regex: 'watcher_tempest_plugin.tests.scenario.test_execute_basic_optim' tempest_test_regex: 'watcher_tempest_plugin.tests.scenario.test_execute_basic_optim'
- job: - job:
name: watcher-tempest-workload_balancing name: watcher-tempest-workload_balancing
voting: false parent: watcher-tempest-multinode
parent: watcher-tempest-zuulv3
vars: vars:
tempest_test_regex: 'watcher_tempest_plugin.tests.scenario.test_execute_workload_balancing' tempest_test_regex: 'watcher_tempest_plugin.tests.scenario.test_execute_workload_balancing'
- job: - job:
name: watcher-tempest-zuulv3 name: watcher-tempest-multinode
parent: devstack-tempest parent: watcher-tempest-functional
voting: true voting: false
timeout: 7200
nodeset: openstack-two-node nodeset: openstack-two-node
pre-run: playbooks/pre.yaml pre-run: playbooks/pre.yaml
run: playbooks/orchestrate-tempest.yaml run: playbooks/orchestrate-tempest.yaml
roles: roles:
- zuul: openstack/tempest - zuul: openstack/tempest
required-projects:
- openstack/ceilometer
- openstack-infra/devstack-gate
- openstack/python-openstackclient
- openstack/python-watcherclient
- openstack/watcher
- openstack/watcher-tempest-plugin
- openstack/tempest
group-vars: group-vars:
subnode: subnode:
devstack_local_conf: devstack_local_conf:
@@ -99,12 +86,23 @@
compute-feature-enabled: compute-feature-enabled:
live_migration: true live_migration: true
block_migration_for_live_migration: true block_migration_for_live_migration: true
devstack_localrc:
WATCHER_USE_MOD_WSGI: False
TEMPEST_PLUGINS: '/opt/stack/watcher-tempest-plugin'
tempest_test_regex: 'watcher_tempest_plugin.tests.api'
devstack_plugins: devstack_plugins:
ceilometer: https://git.openstack.org/openstack/ceilometer ceilometer: https://git.openstack.org/openstack/ceilometer
- job:
name: watcher-tempest-functional
parent: devstack-tempest
timeout: 7200
required-projects:
- openstack/ceilometer
- openstack-infra/devstack-gate
- openstack/python-openstackclient
- openstack/python-watcherclient
- openstack/watcher
- openstack/watcher-tempest-plugin
- openstack/tempest
vars:
devstack_plugins:
watcher: https://git.openstack.org/openstack/watcher watcher: https://git.openstack.org/openstack/watcher
devstack_services: devstack_services:
tls-proxy: false tls-proxy: false
@@ -116,6 +114,9 @@
s-container: false s-container: false
s-object: false s-object: false
s-proxy: false s-proxy: false
devstack_localrc:
TEMPEST_PLUGINS: '/opt/stack/watcher-tempest-plugin'
tempest_test_regex: 'watcher_tempest_plugin.tests.api'
tox_envlist: all tox_envlist: all
tox_environment: tox_environment:
# Do we really need to set this? It's cargo culted # Do we really need to set this? It's cargo culted
@@ -124,31 +125,13 @@
/etc/hosts: logs /etc/hosts: logs
- job: - job:
# This job is used by python-watcherclient repo # This job is used in python-watcherclient repo
name: watcherclient-tempest-functional name: watcherclient-tempest-functional
parent: devstack-tempest parent: watcher-tempest-functional
voting: false voting: false
timeout: 4200 timeout: 4200
required-projects:
- openstack-dev/devstack
- openstack-infra/devstack-gate
- openstack/python-openstackclient
- openstack/python-watcherclient
- openstack/watcher
- openstack/tempest
vars: vars:
tempest_concurrency: 1
devstack_localrc: devstack_localrc:
WATCHER_USE_MOD_WSGI: False
TEMPEST_PLUGINS: '/opt/stack/python-watcherclient' TEMPEST_PLUGINS: '/opt/stack/python-watcherclient'
tempest_test_regex: 'watcherclient.tests.functional' tempest_test_regex: 'watcherclient.tests.functional'
devstack_plugins:
watcher: https://git.openstack.org/openstack/watcher
devstack_services:
rabbit: true
mysql: true
tls-proxy: false
watcher-api: true
watcher-decision-engine: true
watcher-applier: true
tempest: true
tox_envlist: all