DNM - devstack-admin-plugins job test

Change-Id: I77a16e9c96fd731bf0833c624c2fbc90ab753c2f
This commit is contained in:
lpiwowar 2021-11-16 13:21:22 +01:00
parent d630e489aa
commit fc52dbb5d1
1 changed files with 388 additions and 13 deletions

View File

@ -6,18 +6,52 @@
- release-notes-jobs-python3
check:
jobs:
- python-tempestconf-tempest-devstack-admin
- python-tempestconf-tempest-devstack-admin-train
- python-tempestconf-tempest-devstack-admin-ussuri
- python-tempestconf-tempest-devstack-admin-victoria
- python-tempestconf-tempest-devstack-admin-wallaby
- python-tempestconf-tempest-devstack-admin-xena
- python-tempestconf-tempest-devstack-demo
#- python-tempestconf-tempest-devstack-admin
#- python-tempestconf-tempest-devstack-admin-train
#- python-tempestconf-tempest-devstack-admin-ussuri
#- python-tempestconf-tempest-devstack-admin-victoria
#- python-tempestconf-tempest-devstack-admin-wallaby
#- python-tempestconf-tempest-devstack-admin-xena
#- python-tempestconf-tempest-devstack-demo
# TODO(mkopec) temporarily disabled to unblock gates
#- python-tempestconf-tempest-devstack-admin-plugins
- python-tempestconf-tempest-packstack-admin:
voting: false
- python-tempestconf-tempest-packstack-demo:
#- python-tempestconf-tempest-packstack-admin:
# voting: false
#- python-tempestconf-tempest-packstack-demo:
#- python-tempestconf-tempest-devstack-demo
- python-tempestconf-tempest-devstack-admin-plugins
- python-tempestconf-tempest-devstack-admin-plugins-2
- test-job
- test-job-2
- test-job-3
#- python-tempestconf-tempest-packstack-admin:
# voting: false
#- python-tempestconf-tempest-packstack-demo:
# voting: false
#- tripleo-ci-centos-8-content-provider:
# irrelevant-files: &irrelevant-files
# - config_tempest/tests/.*$
# - ^doc/.*$
# - ^releasenotes/.*$
# - ^.*\.rst$
#- tripleo-ci-centos-8-scenario002-standalone:
# irrelevant-files: *irrelevant-files
# vars: &standalone
# consumer_job: true
# build_container_images: false
# tags:
# - standalone
# dependencies:
# - tripleo-ci-centos-8-content-provider
#- tripleo-ci-centos-8-standalone:
# irrelevant-files: *irrelevant-files
# vars: *standalone
# dependencies:
# - tripleo-ci-centos-8-content-provider
- refstack-client-devstack-master:
# TODO(mkopec) temporarily put non voting to unblock gates
voting: false
- refstack-client-devstack-master:
irrelevant-files: &irrelevant-files
@ -95,10 +129,192 @@
- refstack-client-devstack-wallaby
- refstack-client-devstack-xena
- job:
name: designate-base-4
parent: devstack-tempest
vars: &base_vars
devstack_localrc:
DESIGNATE_SERVICE_PORT_DNS: 5322
TEMPEST_PLUGINS: /opt/stack/designate-tempest-plugin /opt/stack/manila-tempest-plugin /opt/stack/barbican-tempest-plugin
USE_PYTHON3: true
API_WORKERS: 4
MANILA_USE_UWSGI: False
MANILA_USE_MOD_WSGI: False
MANILA_USE_DOWNGRADE_MIGRATIONS: true
MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
MANILA_CONFIGURE_DEFAULT_TYPES: true
MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
devstack_plugins:
heat: https://opendev.org/openstack/heat
manila: https://opendev.org/openstack/manila
manila-ui: https://opendev.org/openstack/manila-ui
designate: https://opendev.org/openstack/designate
barbican: https://opendev.org/openstack/barbican
devstack_services:
designate: true
s-account: false
s-container: false
s-object: false
s-proxy: false
c-bak: false
h-eng: True
h-api: True
h-api-cfn: True
h-api-cw: True
designate-central: True
designate-api: True
designate-worker: True
designate-producer: True
designate-mdns: True
barbican: True
tox_envlist: all
tempest_test_regex: "designate_tempest_plugin.*|manila_tempest_tests.*|barbican_tempest_plugin.*"
required-projects: &base_required_projects
- openstack/designate
- openstack/designate-dashboard
- openstack/designate-tempest-plugin
- openstack/python-designateclient
- openstack/heat
- openstack/manila
- openstack/manila-ui
- openstack/manila-tempest-plugin
- openinfra/python-tempestconf
- openstack/tempest
- openstack/devstack
- openstack/barbican
- openstack/barbican-tempest-plugin
- openstack/requirements
timeout: 4200
irrelevant-files: &base_irrelevant_files
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- job:
name: test-job-3
parent: designate-base-4
description: Test job
- job:
name: designate-base-3
parent: devstack-tempest
vars:
devstack_localrc:
DESIGNATE_SERVICE_PORT_DNS: 5322
TEMPEST_PLUGINS: /opt/stack/designate-tempest-plugin
USE_PYTHON3: true
API_WORKERS: 4
MANILA_USE_UWSGI: False
MANILA_USE_MOD_WSGI: False
devstack_plugins:
designate: https://opendev.org/openstack/designate
devstack_services:
designate: true
s-account: false
s-container: false
s-object: false
s-proxy: false
c-bak: false
h-eng: True
h-api: True
h-api-cfn: True
h-api-cw: True
barbican: True
tox_envlist: all
tempest_test_regex: |
designate_tempest_plugin.*
required-projects:
- openstack/designate
- openstack/designate-dashboard
- openstack/designate-tempest-plugin
- openstack/python-designateclient
timeout: 4200
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- job:
name: test-job-2
parent: designate-base-3
description: Test job
- job:
name: designate-base-2
parent: devstack-tempest
roles:
- zuul: openinfra/python-tempestconf
- zuul: openstack/tempest
- zuul: openstack/devstack
vars:
devstack_localrc:
DESIGNATE_SERVICE_PORT_DNS: 5322
TEMPEST_PLUGINS: /opt/stack/designate-tempest-plugin /opt/stack/manila-tempest-plugin /opt/stack/heat-tempest-plugin /opt/stack/barbican-tempest-plugin
USE_PYTHON3: true
API_WORKERS: 4
MANILA_USE_UWSGI: False
MANILA_USE_MOD_WSGI: False
devstack_plugins:
heat: https://opendev.org/openstack/heat
manila: https://opendev.org/openstack/manila
manila-ui: https://opendev.org/openstack/manila-ui
designate: https://opendev.org/openstack/designate
barbican: https://opendev.org/openstack/barbican
devstack_services:
h-eng: True
h-api: True
h-api-cfn: True
h-api-cw: True
designate: true
s-account: false
s-container: false
s-object: false
s-proxy: false
c-bak: false
barbican: True
tox_envlist: all
tempest_test_regex: ".*"
required-projects:
- openstack/python-designateclient
- openstack/heat
- openstack/heat-tempest-plugin
- openstack/manila
- openstack/manila-ui
- openstack/manila-tempest-plugin
- openinfra/python-tempestconf
- openstack/tempest
- openstack/devstack
- openstack/designate
- openstack/designate-tempest-plugin
- openstack/barbican
- openstack/barbican-tempest-plugin
- openstack/requirements
timeout: 4200
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- job:
name: test-job
parent: designate-base-2
description: Test job
- job:
name: python-tempestconf-devstack-base
parent: devstack
parent: devstack-tempest
description: Base job for python-tempestconf on a devstack environment
required-projects:
- openstack/heat
@ -120,6 +336,7 @@
- zuul: openstack/tempest
- zuul: openstack/devstack
vars:
configure_swap_size: 8192
zuul_copy_output:
'{{ devstack_base_dir }}/tempest/tempest.log': logs
'{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
@ -132,11 +349,13 @@
designate: https://opendev.org/openstack/designate
barbican: https://opendev.org/openstack/barbican
devstack_localrc:
DESIGNATE_SERVICE_PORT_DNS: 5322
TEMPEST_PLUGINS: /opt/stack/designate-tempest-plugin
USE_PYTHON3: True
MANILA_USE_UWSGI: False
MANILA_USE_MOD_WSGI: False
LIBS_FROM_GIT: python-manilaclient
devstack_services: &devstack_services
devstack_services:
h-eng: True
h-api: True
h-api-cfn: True
@ -148,6 +367,11 @@
designate-producer: True
designate-mdns: True
barbican: True
s-account: False
s-container: False
s-object: False
s-proxy: False
c-bak: False
irrelevant-files: *irrelevant-files
- job:
@ -174,6 +398,157 @@
/etc/openstack/accounts.yaml: logs
irrelevant-files: *irrelevant-files
- job:
name: heat-functional-base
parent: devstack
abstract: true
description: Base heat functional test job
timeout: 7800
roles:
- zuul: opendev.org/openinfra/python-tempestconf
- zuul: opendev.org/openstack/devstack
- zuul: opendev.org/openstack/tempest
required-projects:
- openstack/devstack-gate
- openstack/barbican
- openstack/heat
- openstack/heat-templates
- openstack/heat-tempest-plugin
- openstack/octavia
- openstack/neutron
- openstack/oslo.messaging
- openstack/python-barbicanclient
- openstack/python-heatclient
- openstack/heat-agents
- openstack/tempest
vars:
tempestconf_pip_virtualenv_python: "python3"
configure_swap_size: 8192
tempest_plugins:
- heat-tempest-plugin
devstack_localrc:
TEMPEST_PLUGINS: '/opt/stack/heat-tempest-plugin'
HEAT_USE_MOD_WSGI: True
CEILOMETER_PIPELINE_INTERVAL: 60
USE_PYTHON3: True
MANILA_USE_UWSGI: False
MANILA_USE_MOD_WSGI: False
LIBS_FROM_GIT: python-manilaclient
devstack_services:
tls-proxy: false
s-account: false
s-container: false
s-object: false
s-proxy: false
h-eng: True
h-api: True
h-api-cfn: True
h-api-cw: True
designate: True
designate-central: True
designate-api: True
designate-worker: True
designate-producer: True
designate-mdns: True
barbican: True
tempest: true
devstack_plugins:
barbican: https://opendev.org/openstack/barbican
heat: https://opendev.org/openstack/heat
manila: https://opendev.org/openstack/manila
manila-ui: https://opendev.org/openstack/manila-ui
designate: https://opendev.org/openstack/designate
octavia: https://opendev.org/openstack/octavia
devstack_local_conf:
post-config:
$HEAT_CONF:
DEFAULT:
convergence_engine: true
stack_scheduler_hints: true
hidden_stack_tags: hidden
encrypt_parameters_and_properties: True
logging_exception_prefix: "%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s"
enable_stack_adopt: true
enable_stack_abandon: true
max_stacks_per_tenant: 256
heat_api:
workers: 2
heat_api_cfn:
workers: 2
cache:
enabled: True
eventlet_opts:
client_socket_timeout: 120
oslo_messaging_notifications:
driver: messagingv2
test-config:
$TEMPEST_CONFIG:
service_available:
heat: True
heat_plugin:
convergence_engine_enabled: true
minimal_image_ref: ${DEFAULT_IMAGE_NAME:-cirros-0.3.6-x86_64-disk}
instance_type: m1.heat_int
minimal_instance_type: m1.heat_micro
image_ref: Fedora-Cloud-Base-33-1.2.x86_64
hidden_stack_tag: hidden
heat_config_notify_script: /opt/stack/heat-agents/heat-config/bin/heat-config-notify
boot_config_env: /opt/stack/heat-templates/hot/software-config/boot-config/test_image_env.yaml
credential_secret_id: $OS_CREDENTIAL_SECRET_ID
heat_features_enabled:
multi_cloud: True
# disable cinder backup feature
volume-feature-enabled:
backup: False
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
extensions_to_txt:
conf: true
log: true
yaml: true
yml: true
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^heat/locale/.*$
- ^heat/tests/.*$
- ^releasenotes/.*$
- job:
name: python-tempestconf-tempest-devstack-admin-plugins-2
parent: heat-functional-base
description: |
Tempest job for python-tempestconf on a devstack environment as the admin user.
run: playbooks/python-tempestconf-tempest-devstack.yaml
vars:
# creator role is required for Barbican tests
additional_tempestconf_params: "auth.tempest_roles creator image_signature_verification.enforced False compute-feature-enabled.scheduler_enabled_filters AvailabilityZoneFilter"
test_regex:
- 'heat_tempest_plugin'
- 'designate_tempest_plugin'
- 'barbican_tempest_plugin'
exclude_regex:
- 'heat_tempest_plugin.tests.functional.test_nova_server_networks.CreateServerTest.test_create_update_server_with_subnet'
- 'heat_tempest_plugin.tests.scenario.test_volumes.VolumeBackupRestoreIntegrationTest.test_cinder_volume_create_backup_restore'
- 'heat_tempest_plugin.tests.scenario.test_server_software_config.SoftwareConfigIntegrationTest.test_server_software_config'
- 'heat_tempest_plugin.tests.scenario.test_server_signal.ServerSignalIntegrationTest.test_server_signal_userdata_format_software_config'
- 'heat_tempest_plugin.tests.scenario.test_aodh_alarm.AodhAlarmTest.test_alarm'
- 'heat_tempest_plugin.tests.scenario.test_server_cfn_init.CfnInitIntegrationTest.test_server_cfn_init'
- 'heat_tempest_plugin.tests.scenario.test_base_resources.BasicResourcesTest.test_base_resources_integration'
- 'heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition'
user: admin
cloud_user: devstack-admin
plugins_paths:
- "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/heat-tempest-plugin'].src_dir }}"
- "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/designate-tempest-plugin'].src_dir }}"
- "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/barbican-tempest-plugin'].src_dir }}"
tempest_concurrency: 2
- job:
name: python-tempestconf-tempest-devstack-admin-plugins
parent: python-tempestconf-devstack-base
@ -182,7 +557,7 @@
run: playbooks/python-tempestconf-tempest-devstack.yaml
vars:
# creator role is required for Barbican tests
additional_tempestconf_params: "auth.tempest_roles creator image_signature_verification.enforced False"
additional_tempestconf_params: "auth.tempest_roles creator image_signature_verification.enforced False compute-feature-enabled.scheduler_enabled_filters AvailabilityZoneFilter"
test_regex:
- 'heat_tempest_plugin'
- 'designate_tempest_plugin'