From 0d90068be4aa4076ec1af0bcede780d41eddbe01 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 29 Apr 2020 20:34:43 +0200 Subject: Add tempest_telemetry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It runs all telemetry-tempest-plugin tests except test_autoscaling which is currently failing in our gates. Change-Id: I2c712eda71799e96735419e1c547a775be659156 Signed-off-by: Cédric Ollivier --- ansible/site.yml | 1 + docker/smoke/Dockerfile | 11 +++++++++-- docker/smoke/testcases.yaml | 20 ++++++++++++++++++++ docs/release/release-notes/functest-release.rst | 1 + functest/ci/testcases.yaml | 20 ++++++++++++++++++++ 5 files changed, 51 insertions(+), 2 deletions(-) diff --git a/ansible/site.yml b/ansible/site.yml index c5b770bb7..a4a6d3f03 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -53,6 +53,7 @@ - tempest_cinder - tempest_keystone - tempest_heat + - tempest_telemetry - rally_sanity - refstack_compute - refstack_object diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index c49cb5518..fb2649809 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -11,6 +11,7 @@ ARG GLANCE_TAG=master ARG BARBICAN_TAG=master ARG OCTAVIA_TAG=master ARG HEAT_TEMPEST_TAG=master +ARG TELEMETRY_TEMPEST_TAG=master RUN apk --no-cache add --update libxml2 libxslt && \ apk --no-cache add --virtual .build-deps --update \ @@ -57,10 +58,15 @@ RUN apk --no-cache add --update libxml2 libxslt && \ git fetch --tags https://git.openstack.org/openstack/heat-tempest-plugin.git $HEAT_TEMPEST_TAG && \ git checkout FETCH_HEAD) && \ update-requirements -s --source /src/openstack-requirements /src/heat-tempest-plugin && \ + git init /src/telemetry-tempest-plugin && \ + (cd /src/telemetry-tempest-plugin && \ + git fetch --tags https://git.openstack.org/openstack/telemetry-tempest-plugin.git $TELEMETRY_TEMPEST_TAG && \ + git checkout FETCH_HEAD) && \ + update-requirements -s --source /src/openstack-requirements /src/telemetry-tempest-plugin && \ pip3 install --no-cache-dir --src /src -cupper-constraints.txt -cupper-constraints.opnfv.txt \ /src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin \ /src/cinder-tempest-plugin /src/keystone-tempest-plugin \ - /src/octavia-tempest-plugin /src/heat-tempest-plugin && \ + /src/octavia-tempest-plugin /src/heat-tempest-plugin /src/telemetry-tempest-plugin && \ mkdir -p /home/opnfv/functest/data/refstack && \ mkdir -p /etc/neutron /etc/glance && \ virtualenv --no-pip --no-setuptools --no-wheel oslo && . oslo/bin/activate && \ @@ -73,7 +79,8 @@ RUN apk --no-cache add --update libxml2 libxslt && \ rm -r oslo upper-constraints.txt upper-constraints.opnfv.txt \ /src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin \ /src/cinder-tempest-plugin /src/keystone-tempest-plugin \ - /src/octavia-tempest-plugin /src/heat-tempest-plugin /src/neutron /src/glance && \ + /src/octavia-tempest-plugin /src/heat-tempest-plugin \ + /src/telemetry-tempest-plugin /src/neutron /src/glance && \ apk del .build-deps COPY compute.txt /home/opnfv/functest/data/refstack/compute.txt COPY object.txt /home/opnfv/functest/data/refstack/object.txt diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml index aea1e05fb..1c9bc39d6 100644 --- a/docker/smoke/testcases.yaml +++ b/docker/smoke/testcases.yaml @@ -69,6 +69,26 @@ tiers: option: - '--concurrency=1' + - + case_name: tempest_telemetry + project_name: functest + criteria: 100 + blocking: false + description: >- + This test case runs the Tempest suite proposed by the + Telemetry project. + run: + name: tempest_common + args: + mode: "(?!.*test_autoscaling)\ + (^telemetry_tempest_plugin)" + services: + - aodh + - gnocchi + - panko + option: + - '--concurrency=3' + - case_name: rally_sanity project_name: functest diff --git a/docs/release/release-notes/functest-release.rst b/docs/release/release-notes/functest-release.rst index ed8dba6bf..f486b32a6 100644 --- a/docs/release/release-notes/functest-release.rst +++ b/docs/release/release-notes/functest-release.rst @@ -39,6 +39,7 @@ The internal test cases are: * tempest_cinder * tempest_keystone * tempest_heat + * tempest_telemetry * rally_sanity * refstack_compute * refstack_object diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml index bcda81936..8f731e31e 100644 --- a/functest/ci/testcases.yaml +++ b/functest/ci/testcases.yaml @@ -247,6 +247,26 @@ tiers: option: - '--concurrency=1' + - + case_name: tempest_telemetry + project_name: functest + criteria: 100 + blocking: false + description: >- + This test case runs the Tempest suite proposed by the + Telemetry project. + run: + name: tempest_common + args: + mode: "(?!.*test_autoscaling)\ + (^telemetry_tempest_plugin)" + services: + - aodh + - gnocchi + - panko + option: + - '--concurrency=3' + - case_name: rally_sanity project_name: functest -- cgit 1.2.3-korg