diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-04-29 20:34:43 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-05-04 21:31:18 +0200 |
commit | 6ece10c4aa84ac3be0a9a3e5873c7c58ee5e8107 (patch) | |
tree | 5ebcaabdf1aebcbc4743aaa166960df0130b75f6 /docker/smoke | |
parent | 29a61c0abff62495b1fb400538b359b371fa12c1 (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)
Diffstat (limited to 'docker/smoke')
-rw-r--r-- | docker/smoke/Dockerfile | 11 | ||||
-rw-r--r-- | docker/smoke/testcases.yaml | 20 |
2 files changed, 29 insertions, 2 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index 641a9097b..124a19e2d 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -10,6 +10,7 @@ ARG KEYSTONE_TEMPEST_TAG=0.3.0 ARG BARBICAN_TAG=0.3.0 ARG OCTAVIA_TAG=1.2.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 \ @@ -61,10 +62,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 && \ wget -q -O /etc/glance/policy.json https://opendev.org/openstack/glance/raw/branch/$OPENSTACK_TAG/etc/policy.json && \ @@ -76,7 +82,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/octavia-tempest-plugin /src/heat-tempest-plugin \ + /src/telemetry-tempest-plugin /src/neutron && \ 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 e493adfd9..7bcd53fcc 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 |