Add keystone-tempest-plugin 82/68882/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>
Thu, 14 Nov 2019 20:51:06 +0000 (21:51 +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 63787fe..6f1d050 100644 (file)
@@ -61,6 +61,7 @@
           tests:
             - neutron-tempest-plugin-api
             - tempest_cinder
+            - tempest_keystone
             - rally_sanity
             - refstack_defcore
             - tempest_full
index 9846079..84b2443 100644 (file)
@@ -7,6 +7,7 @@ ARG REFSTACK_TARGET=2018.11
 ARG PATROLE_TAG=0.4.0
 ARG NEUTRON_TEMPEST_TAG=0.3.0
 ARG CINDER_TEMPEST_TAG=0.1.0
+ARG KEYSTONE_TEMPEST_TAG=0.1.0
 ARG BARBICAN_TAG=0.1.0
 
 RUN apk --no-cache add --update libxml2 libxslt && \
@@ -33,6 +34,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 && \
@@ -40,9 +46,10 @@ RUN apk --no-cache add --update libxml2 libxslt && \
     update-requirements -s --source /src/openstack-requirements /src/barbican-tempest-plugin/ && \
     pip 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 && \
+        networking-bgpvpn networking-sfc /src/cinder-tempest-plugin /src/keystone-tempest-plugin && \
     rm -r upper-constraints.txt upper-constraints.opnfv.txt \
-        /src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin && \
+        /src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin \
+        /src/cinder-tempest-plugin /src/keystone-tempest-plugin && \
     mkdir -p /home/opnfv/functest/data/refstack && \
     mkdir -p /etc/neutron /etc/glance && \
     wget -q -O /etc/neutron/policy.json https://opendev.org/openstack/neutron/raw/branch/$OPENSTACK_TAG/etc/policy.json && \
index 243f285..20958ab 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 af4b12a..51db177 100644 (file)
@@ -36,6 +36,7 @@ The internal test cases are:
  * tempest_smoke
  * neutron-tempest-plugin-api
  * tempest_cinder
+ * tempest_keystone
  * rally_sanity
  * refstack_defcore
  * patrole
index 1372747..cf6fa49 100644 (file)
@@ -202,6 +202,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