Add patrole user and reader testing
[functest.git] / docker / smoke / testcases.yaml
index 5b91899..9eb46db 100644 (file)
@@ -7,7 +7,7 @@ tiers:
             Set of basic Functional tests to validate the OPNFV scenarios.
         testcases:
             -
-                case_name: neutron-tempest-plugin-api
+                case_name: tempest_neutron
                 project_name: functest
                 criteria: 100
                 blocking: false
@@ -21,7 +21,7 @@ tiers:
                     args:
                         mode: '^neutron_tempest_plugin\.api'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_cinder
@@ -37,7 +37,7 @@ tiers:
                         mode:
                             '(?!.*test_incremental_backup)(^cinder_tempest_plugin.)'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_keystone
@@ -52,7 +52,7 @@ tiers:
                     args:
                         mode: 'keystone_tempest_plugin.'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_heat
@@ -66,6 +66,26 @@ tiers:
                     name: tempest_heat
                     args:
                         mode: '^heat_tempest_plugin.tests'
+                        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)(?!.*test_live)\
+                            (^telemetry_tempest_plugin)"
+                        services:
+                            - aodh
+                            - gnocchi
+                            - panko
                         option:
                             - '--concurrency=4'
 
@@ -99,7 +119,7 @@ tiers:
                     args:
                         target: compute
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: refstack_object
@@ -116,7 +136,7 @@ tiers:
                     args:
                         target: object
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: refstack_platform
@@ -133,7 +153,7 @@ tiers:
                     args:
                         target: platform
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_full
@@ -150,7 +170,7 @@ tiers:
                     args:
                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_scenario
@@ -187,7 +207,7 @@ tiers:
                             - '--concurrency=1'
 
             -
-                case_name: patrole
+                case_name: patrole_admin
                 project_name: functest
                 criteria: 100
                 blocking: false
@@ -212,62 +232,57 @@ tiers:
                             - 'test_list_metadef_namespaces'
 
             -
-                case_name: neutron_trunk
+                case_name: patrole_user
                 project_name: functest
                 criteria: 100
                 blocking: false
                 description: >-
-                    This test case runs the neutron trunk subtest of the
-                    OpenStack Tempest suite. The list of test cases is
-                    generated by Tempest having as input the relevant
-                    testcase list file.
-                run:
-                    name: tempest_common
-                    args:
-                        mode: 'neutron_tempest_plugin.(api|scenario).test_trunk'
-                        neutron_extensions:
-                            - trunk
-                            - trunk-details
-
-            -
-                case_name: networking-bgpvpn
-                project_name: functest
-                criteria: 100
-                blocking: false
-                description: >-
-                    This test case runs OpenStack networking-bgpvpn Tempest
-                    suite. The list of test cases is generated by Tempest
-                    having as input the relevant regex.
+                    Test suite from Patrole project.
                 run:
-                    name: tempest_common
+                    name: patrole
                     args:
-                        mode: '^neutron_tempest_plugin.bgpvpn.api\.'
-                        neutron_extensions:
-                            - bgpvpn
-                        option:
-                            - '--concurrency=3'
+                        role: 'user'
+                        includes:
+                            - 'image'
+                            - 'network'
+                        excludes:
+                            - 'network.test_flavors_rbac'
+                            - 'network.test_network_ip_availability_rbac'
+                            - 'test_networks_multiprovider_rbac'
+                            - 'test_auto_allocated_topology_rbac'
+                            - 'test_create_network_provider_segmentation_id'
+                            - 'test_update_network_provider_physical_network'
+                            - 'test_update_network_provider_segmentation_id'
+                            - 'network.test_agents_rbac'
+                            - 'test_list_metadef_namespaces'
 
             -
-                case_name: networking-sfc
+                case_name: patrole_reader
                 project_name: functest
                 criteria: 100
                 blocking: false
                 description: >-
-                    This test case runs OpenStack networking-sfc Tempest
-                    suite. The list of test cases is generated by Tempest
-                    having as input the relevant regex.
+                    Test suite from Patrole project.
                 run:
-                    name: tempest_common
+                    name: patrole
                     args:
-                        mode:
-                            '^(?:neutron_tempest_plugin\.sfc\.tests\.api).*$'
-                        neutron_extensions:
-                            - sfc
-                        option:
-                            - '--concurrency=0'
+                        role: 'reader'
+                        includes:
+                            - 'image'
+                            - 'network'
+                        excludes:
+                            - 'network.test_flavors_rbac'
+                            - 'network.test_network_ip_availability_rbac'
+                            - 'test_networks_multiprovider_rbac'
+                            - 'test_auto_allocated_topology_rbac'
+                            - 'test_create_network_provider_segmentation_id'
+                            - 'test_update_network_provider_physical_network'
+                            - 'test_update_network_provider_segmentation_id'
+                            - 'network.test_agents_rbac'
+                            - 'test_list_metadef_namespaces'
 
             -
-                case_name: barbican
+                case_name: tempest_barbican
                 project_name: functest
                 criteria: 100
                 blocking: false
@@ -281,9 +296,11 @@ tiers:
                             '^barbican_tempest_plugin.((?!test_signed_image_upload_boot_failure).)*$'
                         services:
                             - barbican
+                        option:
+                            - '--concurrency=4'
 
             -
-                case_name: octavia
+                case_name: tempest_octavia
                 project_name: functest
                 criteria: 100
                 blocking: false
@@ -293,8 +310,11 @@ tiers:
                 run:
                     name: tempest_common
                     args:
-                        mode:
-                            '^octavia_tempest_plugin.tests.api.v2'
+                        mode: "(?!.*api.v2.test_availability_zone)\
+                            (?!.*api.v2.test_availability_zone_profile)\
+                            (?!.*api.v2.test_member.MemberAPITest.test_member_ipv4_create)\
+                            (?!.*api.v2.test_member.MemberAPITest.test_member_ipv6_create)\
+                            (^octavia_tempest_plugin.tests.(api|scenario))"
                         services:
                             - octavia
                         option: