From ff913ae76b1b3ef24c019fb4bf6689ba3340005f Mon Sep 17 00:00:00 2001 From: Chandan Kumar <chkumar@redhat.com> Date: Tue, 6 Feb 2018 12:42:12 +0530 Subject: [PATCH] Fixed telemetry integration zuul jobs * telemetry integration tests run in tempest-venv so plugin needs to be installed in the same venv. devstack plugin installs the plugin all-plugin venv so tests are not discovered by tempest. In order to fix the same we need to use TEMPEST_PLUGINS vars for the same. * telemetry integration tests are dependent on heat-tempest-plugin so we need to add that to the required projects. Change-Id: Icab1e53d20bb7c95c232a4512e83905dcca7c599 --- .zuul.yaml | 2 ++ .../oslo.messaging-telemetry-dsvm-integration-amqp1/run.yaml | 5 ++--- .../run.yaml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index d25f8c4e4..862034ee7 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -187,6 +187,7 @@ - openstack/oslo.messaging - openstack/panko - openstack/telemetry-tempest-plugin + - openstack/heat-tempest-plugin # following are required when DEVSTACK_GATE_HEAT, which this # job turns on - openstack/dib-utils @@ -259,6 +260,7 @@ - openstack/oslo.messaging - openstack/panko - openstack/telemetry-tempest-plugin + - openstack/heat-tempest-plugin # following are required when DEVSTACK_GATE_HEAT, which this # job turns on - openstack/dib-utils diff --git a/playbooks/oslo.messaging-telemetry-dsvm-integration-amqp1/run.yaml b/playbooks/oslo.messaging-telemetry-dsvm-integration-amqp1/run.yaml index 0dc28c41c..007c66c40 100644 --- a/playbooks/oslo.messaging-telemetry-dsvm-integration-amqp1/run.yaml +++ b/playbooks/oslo.messaging-telemetry-dsvm-integration-amqp1/run.yaml @@ -35,19 +35,18 @@ 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-tempest-plugin" export PROJECTS="openstack/devstack-plugin-amqp1 $PROJECTS" 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_LOCAL_CONFIG+=$'\n'"AMQP1_SERVICE=qpid-hybrid" export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin devstack-plugin-amqp1 git://git.openstack.org/openstack/devstack-plugin-amqp1" - 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 diff --git a/playbooks/oslo.messaging-telemetry-dsvm-integration-rabbit/run.yaml b/playbooks/oslo.messaging-telemetry-dsvm-integration-rabbit/run.yaml index ffff8dd45..b07cfbab9 100644 --- a/playbooks/oslo.messaging-telemetry-dsvm-integration-rabbit/run.yaml +++ b/playbooks/oslo.messaging-telemetry-dsvm-integration-rabbit/run.yaml @@ -35,12 +35,12 @@ 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-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"