Enable heat support in telemetry-tempest-plugin
* Due to tempest plugin split migration and deprecation of `orchestration` flag in heat which is replaced with heat_plugins leads to skipping telemetry scenario tests. * It updates the same and enable tests for the same. Change-Id: Idd12dcb05322737b3d9b72eac902b969252ee4c3
This commit is contained in:
parent
8bccc06c2b
commit
358c65f29c
|
@ -10,6 +10,8 @@
|
|||
- openstack/ceilometer
|
||||
- openstack/panko
|
||||
- openstack/telemetry-tempest-plugin
|
||||
- openstack/heat-tempest-plugin
|
||||
- openstack/heat
|
||||
# following are required when DEVSTACK_GATE_HEAT, which this
|
||||
# job turns on
|
||||
- openstack/dib-utils
|
||||
|
|
|
@ -35,16 +35,15 @@
|
|||
export DEVSTACK_GATE_EXERCISES=0
|
||||
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
||||
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
||||
export PROJECTS="openstack/ceilometer openstack/aodh openstack/panko openstack/telemetry-tempest-plugin"
|
||||
export PROJECTS="openstack/ceilometer openstack/aodh openstack/panko openstack/telemetry-tempest-plugin openstack/heat openstack/heat-tempest-plugin"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko git://git.openstack.org/openstack/panko"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh git://git.openstack.org/openstack/aodh"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat git://git.openstack.org/openstack/heat"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin telemetry-tempest-plugin git://git.openstack.org/openstack/telemetry-tempest-plugin"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/heat-tempest-plugin /opt/stack/new/telemetry-tempest-plugin'"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"CEILOMETER_BACKEND=gnocchi"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"GNOCCHI_ARCHIVE_POLICY=high"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"CEILOMETER_PIPELINE_INTERVAL=15"
|
||||
export DEVSTACK_PROJECT_FROM_GIT=$ZUUL_SHORT_PROJECT_NAME
|
||||
function post_test_hook {
|
||||
cd /opt/stack/new/telemetry-tempest-plugin/telemetry_tempest_plugin/integration/hooks/
|
||||
./post_test_hook.sh
|
||||
|
|
|
@ -84,7 +84,7 @@ sudo chown -R tempest:stack $BASE/new/tempest
|
|||
sudo chown -R tempest:stack $BASE/data/tempest
|
||||
cd $BASE/new/tempest
|
||||
set +e
|
||||
sudo -H -u tempest OS_TEST_TIMEOUT=$TEMPEST_OS_TEST_TIMEOUT tox -eall-plugin -- telemetry_tempest_plugin --concurrency=$TEMPEST_CONCURRENCY
|
||||
sudo -H -u tempest OS_TEST_TIMEOUT=$TEMPEST_OS_TEST_TIMEOUT tox -evenv-tempest -- tempest run -r telemetry_tempest_plugin --concurrency=$TEMPEST_CONCURRENCY
|
||||
EXIT_CODE=$?
|
||||
set -e
|
||||
export_subunit_data "all-plugin"
|
||||
|
|
|
@ -31,8 +31,8 @@ class TestTelemetryIntegration(manager.ScenarioTest):
|
|||
@classmethod
|
||||
def skip_checks(cls):
|
||||
super(TestTelemetryIntegration, cls).skip_checks()
|
||||
for name in ["aodh_plugin", "gnocchi", "nova", "heat", "panko",
|
||||
"ceilometer", "glance"]:
|
||||
for name in ["aodh_plugin", "gnocchi", "nova", "heat_plugin",
|
||||
"panko", "ceilometer", "glance"]:
|
||||
cls._check_service(name)
|
||||
|
||||
@classmethod
|
||||
|
@ -88,7 +88,7 @@ class TestTelemetryIntegration(manager.ScenarioTest):
|
|||
"AODH_SERVICE_URL": self._get_endpoint(auth, "alarming_plugin"),
|
||||
"GNOCCHI_SERVICE_URL": self._get_endpoint(auth, "metric"),
|
||||
"PANKO_SERVICE_URL": self._get_endpoint(auth, "event"),
|
||||
"HEAT_SERVICE_URL": self._get_endpoint(auth, "orchestration"),
|
||||
"HEAT_SERVICE_URL": self._get_endpoint(auth, "heat_plugin"),
|
||||
"NOVA_SERVICE_URL": self._get_endpoint(auth, "compute"),
|
||||
"GLANCE_SERVICE_URL": self._get_endpoint(auth, "image"),
|
||||
"GLANCE_IMAGE_NAME": self.glance_image_create(),
|
||||
|
|
Loading…
Reference in New Issue