summaryrefslogtreecommitdiffstats
path: root/testcases/config_functest.yaml
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-01-14 11:45:19 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-14 15:01:23 +0000
commit2f3d438bd74f39deaca80cd8adbc9a636ccb3227 (patch)
treefb62a35e92d7618be1a8018d03eac527749926d7 /testcases/config_functest.yaml
parentc8e55f0a6ff26cbf179ef518713b1fe104ff8a05 (diff)
set up mechanism to tun only runnable tests in CI based on scenario
JIRA: FUNCTEST-119 Change-Id: I342c027c79fab1cc9fa65ddf8222e7b12b946af8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit cdf5e6a2fd05f07a5db92175777113d732258a94)
Diffstat (limited to 'testcases/config_functest.yaml')
-rw-r--r--testcases/config_functest.yaml75
1 files changed, 49 insertions, 26 deletions
diff --git a/testcases/config_functest.yaml b/testcases/config_functest.yaml
index 5c457612d..be7687ac4 100644
--- a/testcases/config_functest.yaml
+++ b/testcases/config_functest.yaml
@@ -148,10 +148,29 @@ ONOS:
results:
test_db_url: http://213.77.62.197
+# to be maintained...
+# the execution order is important as some tests may be more destructive than others
+# and if vPing is failing is usually not needed to continue...
+test_exec_priority:
+ 1: vping
+ 2: tempest
+ 3: odl
+ #4: onos
+ #5: ovno
+ #6: doctor
+ #7: promise
+ #8: policy-test
+ #9: odl-vpn_service-tests
+ #10: opnfv-yardstick-tc026-sdnvpn
+ #11: openstack-neutron-bgpvpn-api-extension-tests
+ 12: vims
+ 13: rally
+
+
########################################################################
# This part lists the dependencies of the tests
#
-# it is used to managed the complexity of the possible combination
+# it is used to manage the complexity of the possible combinations
#
# 17 projects have been declared for Brahmaputra (D Milestone)
# 89 testcases are associated with these 17 projects
@@ -168,51 +187,55 @@ results:
#
# By default we consider that all the tests can be run on any configuration
#
-# we defined 3 constraints
+# we defined 2 constraints
# - installer (e.g. my test can be run only with installer Compass)
# possible values: apex, compass, fuel, joid
#
-# - the controller (odl, onos, opencontrail)
+# - the scenario: it described a specif installation
+# os-<controller>-<nfvfeature>-<mode>[-<extrastuff>]
+# With parameters:
+# controller=(nosdn|odl_l3|odl_l2|onos|ocl)
+# No odl_l3 today
+# nfvfeature=(kvm|ovs|dpdk|nofeature)
+# '_' list separated.
+# mode=(ha|noha)
+# extrastuff=(none)
+# Optional field - Not used today#
#
-# - the scenario (ovs, kvm, QEMU, proc) based on Fuel proposal
-# see https://git.opnfv.org/cgit/fuel/tree/deploy/scenario/scenario.yaml
+# ref:https://gerrit.opnfv.org/gerrit/#/c/6323/7/jjb/joid/joid-deploy.sh (L72-82)
# e.g my test is only possible with OVS 2.3.2 on odl
-# not fully clear as the controller may be included with the scenario
#
-# In a first step, our main need is to trigger ad hox controller suite
-# In second step we may focus with scenario parameter
-# but no so far
-# - either controller suite
-# or
-# - suites that should be runnable on any conf, any scenario
+# in functest, we indicate the regex pattern to be checked towards the scenario
+# e.g. odl-vpn_service-tests can be run if and only if
+# - installer is fuel
+# - scenario contains the name ovs and odl
#
#######################################################################
test-dependencies:
doctor:
+ installer: 'fuel'
functest:
- vping:
vims:
+ vping:
tempest:
rally:
odl:
- controller: 'odl'
+ scenario: 'odl'
onos:
- controller: 'onos'
- onos-ovsdb:
- controller: 'onos'
+ scenario: 'onos'
promise:
+ installer: '(fuel)|(joid)'
ovno:
- controller: 'opencontrail'
+ scenario: 'ocl'
policy-test:
- controller: 'odl'
+ scenario: 'odl'
sdnvpn:
opnfv-yardstick-tc026-sdnvpn:
- controller: 'nosdn'
- scenario: 'os_ovh_ha'
+ installer: 'fuel'
+ scenario: '(ovs)*(nosdn)'
odl-vpn_service-tests:
- controller: 'odl'
- scenario: 'os_ovh_ha'
+ installer: 'fuel'
+ scenario: '(ovs)*(odl)'
openstack-neutron-bgpvpn-api-extension-tests:
- controller: 'nosdn'
- scenario: 'os_ovh_ha'
-
+ installer: 'fuel'
+ scenario: '(ovs)*(nosdn)'