aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-04-29 20:34:43 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-05-04 21:36:03 +0200
commitc6ba4fb196e2b00c55b65a3bf880023d48ccfe86 (patch)
tree20647f96fb2d1b0591ed3aba86256eac58799806
parent127c2fbf40a03be65773e0bd6c7080e639a4635e (diff)
Add tempest_telemetry
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 <cedric.ollivier@orange.com> (cherry picked from commit 0d90068be4aa4076ec1af0bcede780d41eddbe01)
-rw-r--r--ansible/site.yml1
-rw-r--r--docker/smoke/Dockerfile10
-rw-r--r--docker/smoke/testcases.yaml20
-rw-r--r--docs/release/release-notes/functest-release.rst1
-rw-r--r--functest/ci/testcases.yaml20
5 files changed, 50 insertions, 2 deletions
diff --git a/ansible/site.yml b/ansible/site.yml
index 470b4b07e..57aacb3f6 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -61,6 +61,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 50132fd40..c807181ce 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -11,6 +11,7 @@ ARG KEYSTONE_TEMPEST_TAG=0.2.0
ARG BARBICAN_TAG=0.1.0
ARG OCTAVIA_TAG=1.0.0
ARG HEAT_TEMPEST_TAG=1.0.0
+ARG TELEMETRY_TEMPEST_TAG=1.0.0
RUN apk --no-cache add --update libxml2 libxslt && \
apk --no-cache add --virtual .build-deps --update \
@@ -58,11 +59,16 @@ 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 \
networking-bgpvpn networking-sfc /src/cinder-tempest-plugin \
/src/keystone-tempest-plugin /src/octavia-tempest-plugin \
- /src/heat-tempest-plugin && \
+ /src/heat-tempest-plugin /src/telemetry-tempest-plugin && \
mkdir -p /home/opnfv/functest/data/refstack && \
mkdir -p /etc/neutron /etc/glance && \
wget -q -O /etc/glance/policy.json https://opendev.org/openstack/glance/raw/branch/$OPENSTACK_TAG/etc/policy.json && \
@@ -74,7 +80,7 @@ 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/octavia-tempest-plugin /src/heat-tempest-plugin /src/telemetry-tempest-plugin && \
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 35139639a..875364280 100644
--- a/docker/smoke/testcases.yaml
+++ b/docker/smoke/testcases.yaml
@@ -70,6 +70,26 @@ tiers:
- '--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
criteria: 100
diff --git a/docs/release/release-notes/functest-release.rst b/docs/release/release-notes/functest-release.rst
index 40b3c88f6..76ffad9b9 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 abda574e9..b41afd600 100644
--- a/functest/ci/testcases.yaml
+++ b/functest/ci/testcases.yaml
@@ -248,6 +248,26 @@ tiers:
- '--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
criteria: 100