Merge "Refactor tempest common"
[functest.git] / functest / ci / testcases.yaml
index 166646b..2f5c8c0 100644 (file)
@@ -35,7 +35,7 @@ tiers:
                     required by advanced testcases (subnet, network and
                     router).
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: ''
                 run:
                     module: 'functest.core.tenantnetwork'
@@ -51,7 +51,7 @@ tiers:
                     all tenant network ressources required by a testcase
                     (subnet, network and router).
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: ''
                 run:
                     module: 'functest.core.tenantnetwork'
@@ -67,7 +67,7 @@ tiers:
                     resources and prepares a future VM attached to that
                     network.
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: ''
                 run:
                     module: 'functest.core.singlevm'
@@ -83,7 +83,7 @@ tiers:
                     all tenant network ressources, flavors, images, etc.
                     required by advanced testcases.
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: ''
                 run:
                     module: 'functest.core.singlevm'
@@ -99,7 +99,7 @@ tiers:
                     resources and completes it by booting a VM attached to that
                     network.
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: ''
                 run:
                     module: 'functest.core.singlevm'
@@ -115,7 +115,7 @@ tiers:
                     all tenant network ressources and vms required by advanced
                     testcases.
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: ''
                 run:
                     module: 'functest.core.singlevm'
@@ -131,7 +131,7 @@ tiers:
                     floating IPs over the public network. 2) Connectivity
                     between 2 instances over a private network.
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: '^((?!lxd).)*$'
                 run:
                     module: 'functest.opnfv_tests.openstack.vping.vping_ssh'
@@ -146,7 +146,7 @@ tiers:
                     This test case verifies:  1) Boot a VM with given userdata.
                     2) Connectivity between 2 instances over a private network.
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: '^((?!lxd).)*$'
                 run:
                     module:
@@ -164,7 +164,7 @@ tiers:
                     from instance 1, attach it on instance 2 3) Read volume
                     data
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: '^((?!lxd).)*$'
                 run:
                     module: 'functest.opnfv_tests.openstack.cinder.cinder_test'
@@ -180,7 +180,7 @@ tiers:
                     integrates some test suites from upstream using
                     Robot as the test framework.
                 dependencies:
-                    installer: '^((?!fuel|apex|compass|daisy|osa).)*$'
+                    installer: ''
                     scenario: 'odl'
                 run:
                     module: 'functest.opnfv_tests.sdn.odl.odl'
@@ -233,7 +233,7 @@ tiers:
             Set of basic Functional tests to validate the OPNFV scenarios.
         testcases:
             -
-                case_name: tempest_smoke_serial
+                case_name: tempest_smoke
                 project_name: functest
                 criteria: 100
                 blocking: false
@@ -247,7 +247,9 @@ tiers:
                     scenario: ''
                 run:
                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
-                    class: 'TempestSmokeSerial'
+                    class: 'TempestCommon'
+                    args:
+                        mode: '^tempest\.(api|scenario).*\[.*\bsmoke\b.*\]$'
 
             -
                 case_name: rally_sanity
@@ -302,6 +304,23 @@ tiers:
                         exclude:
                             - 'test_networks_multiprovider_rbac'
 
+            -
+                case_name: vmtp
+                project_name: functest
+                criteria: 100
+                blocking: false
+                description: >-
+                    VMTP is a small python application that will automatically
+                    perform ping connectivity, round trip time measurement
+                    (latency) and TCP/UDP throughput
+                dependencies:
+                    installer: ''
+                    scenario: ''
+                run:
+                    module:
+                        'functest.opnfv_tests.openstack.vmtp.vmtp'
+                    class: 'Vmtp'
+
             -
                 case_name: shaker
                 project_name: functest
@@ -355,8 +374,10 @@ tiers:
                     installer: '(fuel)|(apex)|(compass)'
                     scenario: ''
                 run:
-                    module: 'functest.opnfv_tests.openstack.tempest.tempest'
+                    module: 'functest.opnfv_tests.openstack.trunk.trunk'
                     class: 'TempestNeutronTrunk'
+                    args:
+                        mode: 'neutron_tempest_plugin.(api|scenario).test_trunk'
 
             -
                 case_name: barbican
@@ -371,7 +392,9 @@ tiers:
                     scenario: ''
                 run:
                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
-                    class: 'TempestBarbican'
+                    class: 'TempestCommon'
+                    args:
+                        mode: 'barbican_tempest_plugin.tests.(api|scenario)'
 
     -
         name: features
@@ -469,7 +492,7 @@ tiers:
             Extensive testing of OpenStack API.
         testcases:
             -
-                case_name: tempest_full_parallel
+                case_name: tempest_full
                 project_name: functest
                 criteria: 80
                 blocking: false
@@ -482,7 +505,9 @@ tiers:
                     scenario: ''
                 run:
                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
-                    class: 'TempestFullParallel'
+                    class: 'TempestCommon'
+                    args:
+                        mode: '^tempest\.'
 
             -
                 case_name: rally_full