Use telemetry-tempest-plugin for Telemetry projects

* https://review.openstack.org/#/c/532773/ moves gnocchi tests
  under telemetry-tempest-plugin. It is better to use and update
  the name space.

* Added python-heat-tests-tempest for heat support in
  telemetry-tempest-plugin
  
Depends-On: https://review.openstack.org/540711

Change-Id: I932721000f1954b5b1eceda9964f9313de386413
This commit is contained in:
Chandan Kumar 2018-01-17 15:15:28 +05:30
parent 5df87e0951
commit 949fd3f17d
4 changed files with 89 additions and 15 deletions

View File

@ -46,11 +46,29 @@ overcloud_roles:
- StorageMgmt
- Tenant
validate_template: scenario001-multinode.yaml
tempest_whitelist:
tempest_whitelist_old:
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
- 'ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration'
tempest_plugins:
tempest_whitelist_new:
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
- 'telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration'
tempest_whitelist: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_whitelist_new }}
{%- else -%}{{ tempest_whitelist_old }}
{%- endif -%}
tempest_plugins_old:
- python-aodh-tests
- python-ceilometer-tests
- python-gnocchi-tests
- python-panko-tests
tempest_plugins_new:
- python-telemetry-tests-tempest
- python-heat-tests-tempest
tempest_plugins: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
{%- else -%}{{ tempest_plugins_old }}
{%- endif -%}

View File

@ -45,7 +45,7 @@ run_tempest: >-
{%- endif -%}
test_regex: ''
tempest_whitelist:
tempest_whitelist_old:
# Testing zaqar doesn't work yet, but it's in progress
# - 'zaqar.tests.tempest_plugin.tests.v2.test_queues.TestManageQueue'
# Testing boot from volume and server connectivity
@ -58,13 +58,42 @@ tempest_whitelist:
# - 'ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration'
# TODO(emilien) run ec2api tests when ec2api is supported in python-tempestconf
# - 'ec2api.tests.functional.api.test_key_pairs.KeyPairTest'
tempest_plugins:
tempest_whitelist_new:
# Testing zaqar doesn't work yet, but it's in progress
# - 'zaqar.tests.tempest_plugin.tests.v2.test_queues.TestManageQueue'
# Testing boot from volume and server connectivity
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
# Testing swift
- 'tempest.api.object_storage.test_object_services.ObjectTest'
# Testing cinder volumes encrypted by barbican:
- 'barbican_tempest_plugin.tests.scenario.test_volume_encryption.VolumeEncryptionTest'
# - 'telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration'
# TODO(emilien) run ec2api tests when ec2api is supported in python-tempestconf
# - 'ec2api.tests.functional.api.test_key_pairs.KeyPairTest'
tempest_whitelist: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_whitelist_new }}
{%- else -%}{{ tempest_whitelist_old }}
{%- endif -%}
tempest_plugins_old:
- python-aodh-tests
- python-ceilometer-tests
- python-gnocchi-tests
- python-barbican-tests-tempest
- python-zaqar-tests
- python-ec2-api-tests
tempest_plugins_new:
- python-telemetry-tests-tempest
- python-barbican-tests-tempest
- python-zaqar-tests
- python-ec2-api-tests
- python-heat-tests-tempest
tempest_plugins: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
{%- else -%}{{ tempest_plugins_old }}
{%- endif -%}
tempest_extra_config: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}
{'compute-feature-enabled.attach_encrypted_volume': 'True', 'auth.tempest_roles': '"Member, creator"'}

View File

@ -80,14 +80,29 @@ run_tempest: >-
{%- endif -%}
test_regex: ''
tempest_whitelist:
tempest_whitelist_old:
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
- 'ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration'
tempest_plugins:
tempest_whitelist_new:
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
- 'telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration'
tempest_whitelist: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_whitelist_new }}
{%- else -%}{{ tempest_whitelist_old }}
{%- endif -%}
tempest_plugins_old:
- python-aodh-tests
- python-ceilometer-tests
- python-gnocchi-tests
- python-panko-tests
tempest_plugins_new:
- python-telemetry-tests-tempest
- python-heat-tests-tempest
tempest_plugins: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
{%- else -%}{{ tempest_plugins_old }}
{%- endif -%}
tempest_extra_config: {'telemetry.alarm_granularity': '60'}
# This is a workaround to have test_volume_boot_pattern passing, it's failing

View File

@ -80,17 +80,19 @@ run_tempest: >-
test_regex: ''
# TODO(emilien) run ec2api tests when ec2api is supported in python-tempestconf
# 'ec2api.tests.functional.api.test_key_pairs.KeyPairTest'
tempest_whitelist_new:
- "tempest.api.object_storage.test_object_services.ObjectTest"
- "barbican_tempest_plugin.tests.scenario.test_volume_encryption.VolumeEncryptionTest"
- "telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration"
tempest_whitelist_old:
- "tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern"
- "tempest.api.object_storage.test_object_services.ObjectTest"
tempest_whitelist: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}
["tempest.api.object_storage.test_object_services.ObjectTest",
"barbican_tempest_plugin.tests.scenario.test_volume_encryption.VolumeEncryptionTest",
"ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration"]
{%- else -%}
["tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern",
"tempest.api.object_storage.test_object_services.ObjectTest"]
{%- endif -%}
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_whitelist_new }}
{%- else -%}{{ tempest_whitelist_old }}
{%- endif -%}
tempest_plugins:
tempest_plugins_old:
- python-aodh-tests
- python-ceilometer-tests
- python-gnocchi-tests
@ -98,6 +100,16 @@ tempest_plugins:
- python-barbican-tests-tempest
- python-zaqar-tests
- python-ec2-api-tests
tempest_plugins_new:
- python-telemetry-tests-tempest
- python-barbican-tests-tempest
- python-zaqar-tests
- python-ec2-api-tests
- python-heat-tests-tempest
tempest_plugins: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
{%- else -%}{{ tempest_plugins_old }}
{%- endif -%}
tempest_extra_config: >-
{% if release not in ['newton', 'ocata', 'pike'] -%}
{'compute-feature-enabled.attach_encrypted_volume': 'True', 'auth.tempest_roles': '"Member, creator"', 'telemetry.alarm_granularity': '60'}