vitrage-tempest-plugin/.zuul.yaml
Eyal 6376e327e0 Don't use test gnocchi its not stable
for some strange reason when installing ceilometer and gnocchi
the mysqld process is killed by the oom killer of the operating system
this happens only in the gate and not localy on my devstack.

for now we won't enable the ceilometer plugin (which installs gnocchi)

Change-Id: If870b80456d8ebd4877253d977b5c59a11ad1c16
2020-09-17 10:35:57 +03:00

275 lines
8.9 KiB
YAML

- project:
templates:
- check-requirements
- tempest-plugin-jobs
- publish-openstack-docs-pti
check:
jobs:
- vitrage-tempest-plugin-api
- vitrage-tempest-plugin-datasources
- vitrage-tempest-plugin-datasources-ussuri
- vitrage-tempest-plugin-api-ussuri
- vitrage-tempest-plugin-datasources-train
- vitrage-tempest-plugin-api-train
- vitrage-tempest-plugin-datasources-stein
- vitrage-tempest-plugin-api-stein
gate:
queue: vitrage
jobs:
- vitrage-tempest-plugin-api
- vitrage-tempest-plugin-datasources
- job:
name: vitrage-tempest-plugin-base
parent: devstack-tempest
pre-run: playbooks/pre.yaml
timeout: 7800
required-projects: &base_required_projects
- opendev.org/openstack/aodh
- opendev.org/openstack/mistral
- opendev.org/openstack/python-vitrageclient
- opendev.org/openstack/vitrage
- opendev.org/openstack/vitrage-tempest-plugin
- opendev.org/openstack/ceilometer
- opendev.org/openstack/heat
irrelevant-files: &base_irrelevant_files
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars: &base_vars
devstack_local_conf:
post-config:
$NOVA_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
notifications:
versioned_notifications_topics: 'versioned_notifications,vitrage_notifications'
notification_driver: messagingv2
$NEUTRON_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$CINDER_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$AODH_CONF:
oslo_messaging_notifications:
topics: 'notifications,vitrage_notifications'
driver: messagingv2
$VITRAGE_CONF:
DEFAULT:
notifiers: 'mistral,nova,webhook'
datasources:
snapshots_interval: 120
test-config:
$TEMPEST_CONFIG:
service_available:
vitrage: True
root_cause_analysis_service:
zabbix_alarms_per_host: 2
instances_per_host: 2
snapshots_interval: 120
tox_envlist: all
tempest_concurrency: 1
tempest_test_regex: topology|test_rca|test_alarms|test_resources|test_template|test_webhook|test_service
tempest_black_regex: tempest\.api
tempest_plugins:
- vitrage-tempest-plugin
devstack_localrc:
VITRAGE_USE_STATIC: 1
VITRAGE_USE_DOCTOR: 1
VITRAGE_USE_PROMETHEUS: 1
devstack_services:
s-account: false
s-container: false
s-object: false
s-proxy: false
tls-proxy: false
devstack_plugins:
aodh: https://opendev.org/openstack/aodh
vitrage: https://opendev.org/openstack/vitrage
- job:
name: vitrage-tempest-plugin-api
parent: vitrage-tempest-plugin-base
- job:
name: vitrage-tempest-plugin-api-ipv6-only
parent: devstack-tempest-ipv6
pre-run: playbooks/pre.yaml
timeout: 7800
required-projects: *base_required_projects
irrelevant-files: *base_irrelevant_files
vars: *base_vars
- job:
name: vitrage-tempest-plugin-datasources
parent: vitrage-tempest-plugin-base
vars:
devstack_local_conf:
post-config:
$NOVA_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
notifications:
versioned_notifications_topics: 'versioned_notifications,vitrage_notifications'
notification_driver: messagingv2
$NEUTRON_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$CINDER_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$HEAT_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
policy_file: /etc/heat/policy.yaml
$AODH_CONF:
oslo_messaging_notifications:
topics: 'notifications,vitrage_notifications'
driver: messagingv2
$VITRAGE_CONF:
DEFAULT:
notifiers: 'mistral,nova,webhook'
datasources:
snapshots_interval: 120
test-config:
$TEMPEST_CONFIG:
service_available:
vitrage: True
root_cause_analysis_service:
zabbix_alarms_per_host: 2
instances_per_host: 2
snapshots_interval: 120
tempest_test_regex: datasources|test_events|notifiers|e2e|database
devstack_plugins:
heat: https://opendev.org/openstack/heat
aodh: https://opendev.org/openstack/aodh
mistral: https://opendev.org/openstack/mistral
vitrage: https://opendev.org/openstack/vitrage
- job:
name: vitrage-tempest-plugin-mock
parent: devstack-tempest
timeout: 7800
required-projects:
- opendev.org/openstack/python-vitrageclient
- opendev.org/openstack/vitrage
- opendev.org/openstack/vitrage-tempest-plugin
irrelevant-files: *base_irrelevant_files
vars:
devstack_local_conf:
post-config:
$NOVA_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
notifications:
versioned_notifications_topics: 'versioned_notifications,vitrage_notifications'
notification_driver: messagingv2
notification_format: both
$CINDER_CONF:
DEFAULT:
notification_topics: 'notifications,vitrage_notifications'
notification_driver: messagingv2
$VITRAGE_CONF:
DEFAULT:
verbose: true
debug: false
notifiers: 'nova,webhook'
rpc_response_timeout: 300
datasources:
types: 'doctor,mock_graph_datasource'
path: 'vitrage.datasources,vitrage.tests.mocks'
snapshots_interval: 60
mock_graph_datasource:
networks: 100
zones_per_cluster: 4
hosts_per_zone: 16
zabbix_alarms_per_host: 8
instances_per_host: 50
ports_per_instance: 3
volumes_per_instance: 2
vitrage_alarms_per_instance: 0
tripleo_controllers: 3
zabbix_alarms_per_controller: 1
test-config:
$TEMPEST_CONFIG:
service_available:
vitrage: True
root_cause_analysis_service:
zabbix_alarms_per_host: 8
instances_per_host: 50
snapshots_interval: 60
tox_envlist: all
tempest_concurrency: 1
tempest_test_regex: mock_datasource
tempest_plugins:
- vitrage-tempest-plugin
devstack_services:
s-account: false
s-container: false
s-object: false
s-proxy: false
tls-proxy: false
devstack_plugins:
vitrage: https://opendev.org/openstack/vitrage
- job:
name: vitrage-tempest-plugin-api-ussuri
parent: vitrage-tempest-plugin-api
nodeset: openstack-single-node-bionic
override-checkout: stable/ussuri
- job:
name: vitrage-tempest-plugin-datasources-ussuri
parent: vitrage-tempest-plugin-datasources
nodeset: openstack-single-node-bionic
override-checkout: stable/ussuri
- job:
name: vitrage-tempest-plugin-api-train
parent: vitrage-tempest-plugin-api
nodeset: openstack-single-node-bionic
override-checkout: stable/train
vars:
devstack_localrc:
USE_PYTHON3: True
- job:
name: vitrage-tempest-plugin-datasources-train
parent: vitrage-tempest-plugin-datasources
nodeset: openstack-single-node-bionic
override-checkout: stable/train
vars:
devstack_localrc:
USE_PYTHON3: True
- job:
name: vitrage-tempest-plugin-api-stein
parent: vitrage-tempest-plugin-api
nodeset: openstack-single-node-bionic
override-checkout: stable/stein
vars:
tempest_black_regex: tempest\.api|test_template
devstack_localrc:
USE_PYTHON3: True
- job:
name: vitrage-tempest-plugin-datasources-stein
parent: vitrage-tempest-plugin-datasources
nodeset: openstack-single-node-bionic
override-checkout: stable/stein
vars:
tempest_black_regex: tempest\.api|test_template
devstack_localrc:
USE_PYTHON3: True