Merge "Add Tempest Defcore test case"
[functest.git] / functest / ci / testcases.yaml
1 tiers:
2     -
3         name: healthcheck
4         order: 0
5         ci_loop: '(daily)|(weekly)'
6         description : >-
7             First tier to be executed to verify the basic
8             operations in the VIM.
9         testcases:
10             -
11                 name: healthcheck
12                 criteria: 'status == "PASS"'
13                 blocking: true
14                 description: >-
15                     This test case verifies the basic OpenStack services like
16                     Keystone, Glance, Cinder, Neutron and Nova.
17
18                 dependencies:
19                     installer: ''
20                     scenario: '^((?!lxd).)*$'
21             -
22                 name: snaps_health_check
23                 criteria: 'status == "PASS"'
24                 blocking: false
25                 description: >-
26                     This test case creates executes the SimpleHealthCheck
27                     Python test class which creates an, image, flavor, network,
28                     and Cirros VM instance and observes the console output to
29                     validate the single port obtains the correct IP address.
30
31                 dependencies:
32                     installer: ''
33                     scenario: '^((?!lxd).)*$'
34                 run:
35                     module: 'functest.opnfv_tests.openstack.snaps.health_check'
36                     class: 'HealthCheck'
37             -
38                 name: connection_check
39                 criteria: 'status == "PASS"'
40                 blocking: true
41                 description: >-
42                     This test case verifies the retrieval of OpenStack clients:
43                     Keystone, Glance, Neutron and Nova and may perform some
44                     simple queries. When the config value of
45                     snaps.use_keystone is True, functest must have access to
46                     the cloud's private network.
47
48                 dependencies:
49                     installer: '^((?!netvirt).)*$'
50                     scenario: ''
51                 run:
52                     module: 'functest.opnfv_tests.openstack.snaps.connection_check'
53                     class: 'ConnectionCheck'
54
55             -
56                 name: api_check
57                 criteria: 'status == "PASS"'
58                 blocking: true
59                 description: >-
60                     This test case verifies the retrieval of OpenStack clients:
61                     Keystone, Glance, Neutron and Nova and may perform some
62                     simple queries. When the config value of
63                     snaps.use_keystone is True, functest must have access to
64                     the cloud's private network.
65
66                 dependencies:
67                     installer: '^((?!netvirt).)*$'
68                     scenario: ''
69                 run:
70                     module: 'functest.opnfv_tests.openstack.snaps.api_check'
71                     class: 'ApiCheck'
72     -
73         name: smoke
74         order: 1
75         ci_loop: '(daily)|(weekly)'
76         description : >-
77             Set of basic Functional tests to validate the OPNFV scenarios.
78         testcases:
79             -
80                 name: vping_ssh
81                 criteria: 'status == "PASS"'
82                 blocking: true
83                 description: >-
84                     This test case verifies: 1) SSH to an instance using floating
85                     IPs over the public network. 2) Connectivity between 2 instances
86                     over a private network.
87                 dependencies:
88                     installer: ''
89                     scenario: '^((?!bgpvpn|odl_l3).)*$'
90                 run:
91                     module: 'functest.opnfv_tests.openstack.vping.vping_ssh'
92                     class: 'VPingSSH'
93
94             -
95                 name: vping_userdata
96                 criteria: 'status == "PASS"'
97                 blocking: true
98                 description: >-
99                     This test case verifies:  1) Boot a VM with given userdata.
100                     2) Connectivity between 2 instances over a private network.
101                 dependencies:
102                     installer: ''
103                     scenario: '^((?!lxd).)*$'
104                 run:
105                     module: 'functest.opnfv_tests.openstack.vping.vping_userdata'
106                     class: 'VPingUserdata'
107
108             -
109                 name: tempest_smoke_serial
110                 criteria: 'success_rate == 100%'
111                 blocking: false
112                 description: >-
113                     This test case runs the smoke subset of the OpenStack
114                     Tempest suite. The list of test cases is generated by
115                     Tempest automatically and depends on the parameters of
116                     the OpenStack deplopyment.
117                 dependencies:
118                     installer: '^((?!netvirt).)*$'
119                     scenario: ''
120                 run:
121                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
122                     class: 'TempestSmokeSerial'
123
124             -
125                 name: rally_sanity
126                 criteria: 'success_rate == 100%'
127                 blocking: false
128                 description: >-
129                     This test case runs a sub group of tests of the OpenStack
130                     Rally suite in smoke mode.
131                 dependencies:
132                     installer: ''
133                     scenario: '^((?!bgpvpn).)*$'
134                 run:
135                     module: 'functest.opnfv_tests.openstack.rally.rally'
136                     class: 'RallySanity'
137
138             -
139                 name: odl
140                 criteria: 'success_rate == 100%'
141                 blocking: true
142                 description: >-
143                     Test Suite for the OpenDaylight SDN Controller. It
144                     integrates some test suites from upstream using
145                     Robot as the test framework.
146                 dependencies:
147                     installer: ''
148                     scenario: 'odl'
149                 run:
150                     module: 'functest.opnfv_tests.sdn.odl.odl'
151                     class: 'ODLTests'
152                     args:
153                         suites:
154                             -  /home/opnfv/repos/odl_test/csit/suites/integration/basic
155                             -  /home/opnfv/repos/odl_test/csit/suites/openstack/neutron
156
157             -
158                 name: odl_netvirt
159                 criteria: 'success_rate == 100%'
160                 blocking: true
161                 description: >-
162                     Test Suite for the OpenDaylight SDN Controller when
163                     the NetVirt features are installed. It integrates
164                     some test suites from upstream using Robot as the
165                     test framework.
166                 dependencies:
167                     installer: ''
168                     scenario: 'netvirt'
169                 run:
170                     module: 'functest.opnfv_tests.sdn.odl.odl'
171                     class: 'ODLTests'
172                     args:
173                         suites:
174                             -  /home/opnfv/repos/odl_test/csit/suites/integration/basic
175                             -  /home/opnfv/repos/odl_test/csit/suites/openstack/neutron
176                             -  /home/opnfv/repos/odl_test/csit/suites/openstack/connectivity
177
178             -
179                 name: onos
180                 criteria: 'status == "PASS"'
181                 blocking: true
182                 description: >-
183                     Test Suite for the ONOS SDN Controller. It integrates
184                     some test suites from upstream using TestON as the test
185                     framework.
186                 dependencies:
187                     installer: ''
188                     scenario: 'onos'
189
190
191             -
192                 name: snaps_smoke
193                 criteria: 'status == "PASS"'
194                 blocking: false
195                 description: >-
196                     This test case contains tests that setup and destroy
197                     environments with VMs with and without Floating IPs
198                     with a newly created user and project. Set the config
199                     value snaps.use_floating_ips (True|False) to toggle
200                     this functionality. When the config value of
201                     snaps.use_keystone is True, functest must have access to
202                     the cloud's private network.
203
204                 dependencies:
205                     installer: '^((?!netvirt).)*$'
206                     scenario: ''
207                 run:
208                     module: 'functest.opnfv_tests.openstack.snaps.smoke'
209                     class: 'SnapsSmoke'
210
211     -
212         name: features
213         order: 2
214         ci_loop: '(daily)|(weekly)'
215         description : >-
216             Test suites from feature projects
217             integrated in functest
218         testcases:
219             -
220                 name: promise
221                 criteria: 'success_rate == 100%'
222                 blocking: false
223                 description: >-
224                     Test suite from Promise project.
225                 dependencies:
226                     installer: '(fuel)|(joid)'
227                     scenario: ''
228                 run:
229                      module: 'functest.opnfv_tests.features.promise'
230                      class: 'Promise'
231
232             -
233                 name: doctor
234                 criteria: 'status == "PASS"'
235                 blocking: false
236                 description: >-
237                     Test suite from Doctor project.
238                 dependencies:
239                     installer: '(apex)|(fuel)|(joid)'
240                     scenario: '^((?!fdio).)*$'
241                 run:
242                     module: 'functest.opnfv_tests.features.doctor'
243                     class: 'Doctor'
244
245             -
246                 name: bgpvpn
247                 criteria: 'status == "PASS"'
248                 blocking: false
249                 description: >-
250                     Test suite from SDNVPN project.
251                 dependencies:
252                     installer: '(fuel)|(apex)|(netvirt)'
253                     scenario: 'bgpvpn'
254                 run:
255                     module: 'functest.opnfv_tests.features.sdnvpn'
256                     class: 'SdnVpnTests'
257
258             -
259                 name: security_scan
260                 criteria: 'status == "PASS"'
261                 blocking: false
262                 description: >-
263                     Simple Security Scan
264                 dependencies:
265                     installer: 'apex'
266                     scenario: '^((?!fdio).)*$'
267                 run:
268                     module: 'functest.opnfv_tests.features.security_scan'
269                     class: 'SecurityScan'
270 #            -
271 #                name: copper
272 #                criteria: 'status == "PASS"'
273 #                blocking: false
274 #                description: >-
275 #                    Test suite for policy management based on OpenStack Congress
276 #                dependencies:
277 #                    installer: '(apex)|(joid)'
278 #                    scenario: '^((?!fdio|lxd).)*$'
279 #                run:
280 #                    module: 'functest.opnfv_tests.features.copper'
281 #                    class: 'Copper'
282             -
283                 name: multisite
284                 criteria: 'success_rate == 100%'
285                 blocking: false
286                 description: >-
287                     Test suite from kingbird
288                 dependencies:
289                     installer: '(fuel)|(compass)'
290                     scenario: 'multisite'
291                 run:
292                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
293                     class: 'TempestMultisite'
294             -
295                 name: odl-sfc
296                 criteria: 'status == "PASS"'
297                 blocking: false
298                 description: >-
299                     Test suite for odl-sfc to test two chains and two SFs
300                 dependencies:
301                     installer: '(apex)|(fuel)'
302                     scenario: 'odl_l2-sfc'
303                 run:
304                     module: 'functest.opnfv_tests.features.odl_sfc'
305                     class: 'OpenDaylightSFC'
306             -
307                 name: onos_sfc
308                 criteria: 'status == "PASS"'
309                 blocking: true
310                 description: >-
311                     Test Suite for onos-sfc to test sfc function.
312                 dependencies:
313                     installer: ''
314                     scenario: 'onos-sfc'
315             -
316                 name: parser
317                 criteria: 'ret == 0'
318                 blocking: false
319                 description: >-
320                     Test suite from Parser project.
321                 dependencies:
322                     installer: 'fuel'
323                     scenario: '^((?!bgpvpn|noha).)*$'
324                 run:
325                     module: 'functest.opnfv_tests.vnf.rnc.parser'
326                     class: 'Parser'
327             -
328                 name: orchestra
329                 criteria: 'ret == 0'
330                 blocking: false
331                 description: >-
332                     Test OpenBaton (Orchestra) stack
333                 dependencies:
334                     installer: 'joid'
335                     scenario: 'unknown'
336                 run:
337                     module: 'functest.opnfv_tests.features.orchestrator.orchestra'
338                     class: 'OpenbatonOrchestrator'
339             -
340                 name: netready
341                 criteria: 'status == "PASS"'
342                 blocking: false
343                 description: >-
344                     Test suite from Netready project.
345                 dependencies:
346                     installer: 'apex'
347                     scenario: 'gluon'
348                 run:
349                      module: 'functest.opnfv_tests.features.netready'
350                      class: 'GluonVping'
351             -
352                 name: barometer
353                 criteria: 'status == "PASS"'
354                 blocking: false
355                 description: >-
356                     Test suite for the Barometer project. Separate tests verify the
357                     proper configuration and functionality of the following
358                     collectd plugins Ceilometer, Hugepages, Memory RAS (mcelog),
359                     and OVS Events
360                 dependencies:
361                     installer: 'fuel'
362                     scenario: 'kvm_ovs_dpdk_bar'
363                 run:
364                      module: 'functest.opnfv_tests.features.barometer'
365                      class: 'BarometerCollectd'
366     -
367         name: components
368         order: 3
369         ci_loop: 'daily'
370         description : >-
371             Extensive testing of OpenStack API.
372         testcases:
373 #            -
374 #                name: tempest_full_parallel
375 #                criteria: 'success_rate >= 80%'
376 #                blocking: false
377 #                description: >-
378 #                    The list of test cases is generated by
379 #                    Tempest automatically and depends on the parameters of
380 #                    the OpenStack deplopyment.
381 #                dependencies:
382 #                    installer: '^((?!netvirt).)*$'
383 #                    scenario: ''
384 #                run:
385 #                    module: 'functest.opnfv_tests.openstack.tempest.tempest'
386 #                    class: 'TempestFullParallel'
387             -
388                 name: tempest_defcore
389                 criteria: 'success_rate == 100%'
390                 blocking: false
391                 description: >-
392                     This is the set of Tempest test cases created by OpenStack
393                     Interop Working Group for certification purposes.
394                 dependencies:
395                     installer: ''
396                     scenario: 'nosdn-nofeature-ha'
397                 run:
398                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
399                     class: 'TempestDefcore'
400 #            -
401 #                name: rally_full
402 #                criteria: 'success_rate >= 90%'
403 #                blocking: false
404 #                description: >-
405 #                    This test case runs the full suite of scenarios of the OpenStack
406 #                    Rally suite using several threads and iterations.
407 #                dependencies:
408 #                    installer: '^((?!netvirt).)*$'
409 #                    scenario: ''
410 #                run:
411 #                    module: 'functest.opnfv_tests.openstack.rally.rally'
412 #                    class: 'RallyFull'
413
414     -
415         name: vnf
416         order: 4
417         ci_loop: 'weekly'
418         description : >-
419             Collection of VNF test cases.
420         testcases:
421             -
422                 name: cloudify_ims
423                 criteria: 'status == "PASS"'
424                 blocking: false
425                 description: >-
426                     This test case deploys an OpenSource vIMS solution from Clearwater
427                     using the Cloudify orchestrator. It also runs some signaling traffic.
428                 dependencies:
429                     installer: ''
430                     scenario: '(ocl)|(nosdn)|^(os-odl)((?!bgpvpn).)*$'
431                 run:
432                     module: 'functest.opnfv_tests.vnf.ims.cloudify_ims'
433                     class: 'ImsVnf'
434             -
435                 name: aaa
436                 criteria: 'ret == 0'
437                 blocking: false
438                 description: >-
439                     Test suite from Parser project.
440                 dependencies:
441                     installer: ''
442                     scenario: ''
443                 run:
444                     module: 'functest.opnfv_tests.vnf.aaa.aaa'
445                     class: 'AaaVnf'
446
447             -
448                 name: juju_epc
449                 criteria: 'ret == 0'
450                 blocking: false
451                 description: >-
452                     Test suite from OAI project, vEPC deployed with Juju.
453                 dependencies:
454                     installer: 'unknown'
455                     scenario: 'unknown'
456                 run:
457                     module: 'functest.opnfv_tests.vnf.epc.epc'
458                     class: 'EpcVnf'
459
460             -
461                 name: orchestra_ims
462                 criteria: 'ret == 0'
463                 blocking: false
464                 description: >-
465                     VNF deployment with OpenBaton (Orchestra)
466                 dependencies:
467                     installer: ''
468                     scenario: ''
469                 run:
470                     module: 'functest.opnfv_tests.vnf.ims.orchestra_ims'
471                     class: 'ImsVnf'
472
473             -
474                 name: opera_ims
475                 criteria: 'ret == 0'
476                 blocking: false
477                 description: >-
478                     Evolution of vIMS
479                 dependencies:
480                     installer: 'unknown'
481                     scenario: 'unknown'
482                 run:
483                     module: 'functest.opnfv_tests.vnf.ims.opera_ims'
484                     class: 'ImsVnf'