Add keystone-tempest-plugin 11/68711/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 26 Oct 2019 16:14:47 +0000 (18:14 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 29 Oct 2019 18:54:00 +0000 (19:54 +0100)
It adds tempest_keystone which runs the tests proposed by
keystone-tempest-plugin [1].

[1] https://opendev.org/openstack/keystone-tempest-plugin

Change-Id: I83db584c37fe63a549ccf396b03e034778254b3a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 22ec0c1008b81f368476d8cea84117a93d15dab2)

ansible/site.yml
docker/smoke/Dockerfile
docker/smoke/testcases.yaml
docs/release/release-notes/functest-release.rst
functest/ci/testcases.yaml

index dd8d965..90422ca 100644 (file)
@@ -59,6 +59,7 @@
           tests:
             - neutron-tempest-plugin-api
             - tempest_cinder
+            - tempest_keystone
             - rally_sanity
             - refstack_compute
             - refstack_object
index 561b436..15aecd6 100644 (file)
@@ -7,6 +7,7 @@ ARG REFSTACK_TARGET=2018.11
 ARG PATROLE_TAG=0.5.0
 ARG NEUTRON_TEMPEST_TAG=0.3.0
 ARG CINDER_TEMPEST_TAG=0.2.0
+ARG KEYSTONE_TEMPEST_TAG=0.2.0
 ARG BARBICAN_TAG=0.1.0
 ARG OCTAVIA_TAG=1.0.0
 
@@ -34,6 +35,11 @@ RUN apk --no-cache add --update libxml2 libxslt && \
         git fetch --tags https://git.openstack.org/openstack/cinder-tempest-plugin.git $CINDER_TEMPEST_TAG && \
         git checkout FETCH_HEAD) && \
     update-requirements -s --source /src/openstack-requirements /src/cinder-tempest-plugin && \
+    git init /src/keystone-tempest-plugin && \
+    (cd /src/keystone-tempest-plugin && \
+        git fetch --tags https://git.openstack.org/openstack/keystone-tempest-plugin.git $KEYSTONE_TEMPEST_TAG && \
+        git checkout FETCH_HEAD) && \
+    update-requirements -s --source /src/openstack-requirements /src/keystone-tempest-plugin && \
     git init /src/barbican-tempest-plugin && \
     (cd /src/barbican-tempest-plugin && \
         git fetch --tags https://opendev.org/openstack/barbican-tempest-plugin.git $BARBICAN_TAG && \
@@ -46,7 +52,8 @@ RUN apk --no-cache add --update libxml2 libxslt && \
     update-requirements -s --source /src/openstack-requirements /src/octavia-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/octavia-tempest-plugin && \
+        networking-bgpvpn networking-sfc /src/cinder-tempest-plugin \
+        /src/keystone-tempest-plugin /src/octavia-tempest-plugin && \
     mkdir -p /home/opnfv/functest/data/refstack && \
     mkdir -p /etc/neutron /etc/cinder /etc/glance /etc/keystone /etc/nova && \
     wget -q -O /etc/glance/policy.json https://opendev.org/openstack/glance/raw/branch/$OPENSTACK_TAG/etc/policy.json && \
@@ -57,7 +64,7 @@ RUN apk --no-cache add --update libxml2 libxslt && \
     deactivate && \
     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/octavia-tempest-plugin && \
+        /src/cinder-tempest-plugin /src/keystone-tempest-plugin /src/octavia-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
index ef16305..30569a6 100644 (file)
@@ -39,6 +39,21 @@ tiers:
                         option:
                             - '--concurrency=4'
 
+            -
+                case_name: tempest_keystone
+                project_name: functest
+                criteria: 100
+                blocking: false
+                description: >-
+                    This test case runs the Tempest suite proposed by the
+                    Keystone project.
+                run:
+                    name: tempest_common
+                    args:
+                        mode: 'keystone_tempest_plugin.'
+                        option:
+                            - '--concurrency=4'
+
             -
                 case_name: rally_sanity
                 project_name: functest
index 4565f10..9bfe268 100644 (file)
@@ -37,6 +37,7 @@ The internal test cases are:
  * odl
  * neutron-tempest-plugin-api
  * tempest_cinder
+ * tempest_keystone
  * rally_sanity
  * refstack_compute
  * refstack_object
index 132c6b1..ba09f83 100644 (file)
@@ -217,6 +217,21 @@ tiers:
                         option:
                             - '--concurrency=4'
 
+            -
+                case_name: tempest_keystone
+                project_name: functest
+                criteria: 100
+                blocking: false
+                description: >-
+                    This test case runs the Tempest suite proposed by the
+                    Keystone project.
+                run:
+                    name: tempest_common
+                    args:
+                        mode: 'keystone_tempest_plugin.'
+                        option:
+                            - '--concurrency=4'
+
             -
                 case_name: rally_sanity
                 project_name: functest