Change volume encryption test to use barbican_tempest test

The original volume encryption tests create images using
images that are not signed.  These images are not booted when
image signing is enabled, causing the tests to fail.

The new tests are more current, and are maintained by the Barbican
team.

Change-Id: I159ca055db5e5279a70c43998f46773318406922
Depends-On: I2cad0b81eeab07785dfd4bb66e582d359504b0aa
This commit is contained in:
Ade Lee 2017-12-08 16:41:42 -05:00
parent b800002c13
commit 60b6e49ed4
2 changed files with 7 additions and 4 deletions

View File

@ -53,7 +53,7 @@ tempest_whitelist:
# Testing swift
- 'tempest.api.object_storage.test_object_services.ObjectTest'
# Testing cinder volumes encrypted by barbican:
- 'tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes'
- 'barbican_tempest_plugin.tests.scenario.test_volume_encryption.VolumeEncryptionTest'
# TODO(emilien) run autoscaling tests when telemetry works in python-tempestconf
# - 'ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration'
# TODO(emilien) run ec2api tests when ec2api is supported in python-tempestconf

View File

@ -78,14 +78,17 @@ run_tempest: >-
{%- endif -%}
test_regex: ''
# 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.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern", "tempest.api.object_storage.test_object_services.ObjectTest", "tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes", "ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration"]
["tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern",
"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"]
["tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern",
"tempest.api.object_storage.test_object_services.ObjectTest"]
{%- endif -%}
tempest_plugins: