Merge "Removal of deprecated SNAPS-OO classes."
[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                 case_name: connection_check
12                 project_name: functest
13                 criteria: 100
14                 blocking: true
15                 description: >-
16                     This test case verifies the retrieval of OpenStack clients:
17                     Keystone, Glance, Neutron and Nova and may perform some
18                     simple queries. When the config value of
19                     snaps.use_keystone is True, functest must have access to
20                     the cloud's private network.
21                 dependencies:
22                     installer: '^((?!netvirt).)*$'
23                     scenario: ''
24                 run:
25                     module: 'functest.opnfv_tests.openstack.snaps.connection_check'
26                     class: 'ConnectionCheck'
27
28             -
29                 case_name: api_check
30                 project_name: functest
31                 criteria: 100
32                 blocking: true
33                 description: >-
34                     This test case verifies the retrieval of OpenStack clients:
35                     Keystone, Glance, Neutron and Nova and may perform some
36                     simple queries. When the config value of
37                     snaps.use_keystone is True, functest must have access to
38                     the cloud's private network.
39                 dependencies:
40                     installer: '^((?!netvirt).)*$'
41                     scenario: '^((?!lxd).)*$'
42                 run:
43                     module: 'functest.opnfv_tests.openstack.snaps.api_check'
44                     class: 'ApiCheck'
45
46             -
47                 case_name: snaps_health_check
48                 project_name: functest
49                 criteria: 100
50                 blocking: true
51                 description: >-
52                     This test case creates executes the SimpleHealthCheck
53                     Python test class which creates an, image, flavor, network,
54                     and Cirros VM instance and observes the console output to
55                     validate the single port obtains the correct IP address.
56                 dependencies:
57                     installer: ''
58                     scenario: '^((?!lxd).)*$'
59                 run:
60                     module: 'functest.opnfv_tests.openstack.snaps.health_check'
61                     class: 'HealthCheck'
62
63     -
64         name: smoke
65         order: 1
66         ci_loop: '(daily)|(weekly)'
67         description : >-
68             Set of basic Functional tests to validate the OPNFV scenarios.
69         testcases:
70             -
71                 case_name: vping_ssh
72                 project_name: functest
73                 criteria: 100
74                 blocking: true
75                 description: >-
76                     This test case verifies: 1) SSH to an instance using floating
77                     IPs over the public network. 2) Connectivity between 2 instances
78                     over a private network.
79                 dependencies:
80                     installer: ''
81                     scenario: '^((?!odl_l3|odl-bgpvpn|gluon).)*$'
82                 run:
83                     module: 'functest.opnfv_tests.openstack.vping.vping_ssh'
84                     class: 'VPingSSH'
85
86             -
87                 case_name: vping_userdata
88                 project_name: functest
89                 criteria: 100
90                 blocking: true
91                 description: >-
92                     This test case verifies:  1) Boot a VM with given userdata.
93                     2) Connectivity between 2 instances over a private network.
94                 dependencies:
95                     installer: ''
96                     scenario: '^((?!lxd).)*$'
97                 run:
98                     module: 'functest.opnfv_tests.openstack.vping.vping_userdata'
99                     class: 'VPingUserdata'
100
101             -
102                 case_name: tempest_smoke_serial
103                 project_name: functest
104                 criteria: 100
105                 blocking: false
106                 description: >-
107                     This test case runs the smoke subset of the OpenStack
108                     Tempest suite. The list of test cases is generated by
109                     Tempest automatically and depends on the parameters of
110                     the OpenStack deplopyment.
111                 dependencies:
112                     installer: '^((?!netvirt).)*$'
113                     scenario: ''
114                 run:
115                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
116                     class: 'TempestSmokeSerial'
117
118             -
119                 case_name: rally_sanity
120                 project_name: functest
121                 criteria: 100
122                 blocking: false
123                 description: >-
124                     This test case runs a sub group of tests of the OpenStack
125                     Rally suite in smoke mode.
126                 dependencies:
127                     installer: ''
128                     scenario: ''
129                 run:
130                     module: 'functest.opnfv_tests.openstack.rally.rally'
131                     class: 'RallySanity'
132
133             -
134                 case_name: refstack_defcore
135                 project_name: functest
136                 criteria: 100
137                 blocking: false
138                 description: >-
139                     This test case runs a sub group of tests of the OpenStack
140                     Defcore testcases by using refstack client.
141                 dependencies:
142                     installer: ''
143                     scenario: ''
144                 run:
145                     module: 'functest.opnfv_tests.openstack.refstack_client.refstack_client'
146                     class: 'RefstackClient'
147
148             -
149                 case_name: odl
150                 project_name: functest
151                 criteria: 100
152                 blocking: false
153                 description: >-
154                     Test Suite for the OpenDaylight SDN Controller. It
155                     integrates some test suites from upstream using
156                     Robot as the test framework.
157                 dependencies:
158                     installer: ''
159                     scenario: 'odl'
160                 run:
161                     module: 'functest.opnfv_tests.sdn.odl.odl'
162                     class: 'ODLTests'
163                     args:
164                         suites:
165                             -  /src/odl_test/csit/suites/integration/basic
166                             -  /src/odl_test/csit/suites/openstack/neutron
167
168             -
169                 case_name: odl_netvirt
170                 project_name: functest
171                 criteria: 100
172                 blocking: false
173                 description: >-
174                     Test Suite for the OpenDaylight SDN Controller when
175                     the NetVirt features are installed. It integrates
176                     some test suites from upstream using Robot as the
177                     test framework.
178                 dependencies:
179                     installer: 'apex'
180                     scenario: 'os-odl_l3-nofeature'
181                 run:
182                     module: 'functest.opnfv_tests.sdn.odl.odl'
183                     class: 'ODLTests'
184                     args:
185                         suites:
186                             -  /src/odl_test/csit/suites/integration/basic
187                             -  /src/odl_test/csit/suites/openstack/neutron
188                             -  /src/odl_test/csit/suites/openstack/connectivity
189
190             -
191                 case_name: snaps_smoke
192                 project_name: functest
193                 criteria: 100
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: '^((?!lxd).)*$'
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                 case_name: doctor-notification
221                 project_name: doctor
222                 enabled: false
223                 criteria: 100
224                 blocking: false
225                 description: >-
226                     Test suite from Doctor project.
227                 dependencies:
228                     installer: 'apex'
229                     scenario: '^((?!fdio).)*$'
230                 run:
231                     module: 'functest.core.feature'
232                     class: 'BashFeature'
233                     args:
234                         cmd: 'doctor-test'
235
236             -
237                 case_name: bgpvpn
238                 project_name: sdnvpn
239                 criteria: 100
240                 blocking: false
241                 description: >-
242                     Test suite from SDNVPN project.
243                 dependencies:
244                     installer: '(fuel)|(apex)|(netvirt)'
245                     scenario: 'bgpvpn'
246                 run:
247                     module: 'sdnvpn.test.functest.run_sdnvpn_tests'
248                     class: 'SdnvpnFunctest'
249
250             -
251                 case_name: functest-odl-sfc
252                 project_name: sfc
253                 criteria: 100
254                 blocking: false
255                 description: >-
256                     Test suite for odl-sfc to test two chains with one SF and one chain with two SFs
257                 dependencies:
258                     installer: ''
259                     scenario: 'odl.*sfc'
260                 run:
261                     module: 'functest.core.feature'
262                     class: 'BashFeature'
263                     args:
264                         cmd: 'run_sfc_tests.py'
265
266             -
267                 case_name: barometercollectd
268                 project_name: barometer
269                 enabled: false
270                 criteria: 100
271                 blocking: false
272                 description: >-
273                     Test suite for the Barometer project. Separate tests verify
274                     the proper configuration and basic functionality of all the
275                     collectd plugins as described in the Project Release Plan
276                 dependencies:
277                     installer: 'apex'
278                     scenario: 'bar'
279                 run:
280                      module: 'baro_tests.barometer'
281                      class: 'BarometerCollectd'
282
283             -
284                 case_name: fds
285                 project_name: fastdatastacks
286                 criteria: 100
287                 blocking: false
288                 description: >-
289                     Test Suite for the OpenDaylight SDN Controller when GBP features are
290                     installed. It integrates some test suites from upstream using
291                     Robot as the test framework.
292                 dependencies:
293                     installer: 'apex'
294                     scenario: 'odl.*-fdio'
295                 run:
296                     module: 'functest.opnfv_tests.sdn.odl.odl'
297                     class: 'ODLTests'
298                     args:
299                         suites:
300                             -  /src/fds/testing/robot
301
302     -
303         name: components
304         order: 3
305         ci_loop: 'weekly'
306         description : >-
307             Extensive testing of OpenStack API.
308         testcases:
309             -
310                 case_name: tempest_full_parallel
311                 project_name: functest
312                 criteria: 80
313                 blocking: false
314                 description: >-
315                     The list of test cases is generated by
316                     Tempest automatically and depends on the parameters of
317                     the OpenStack deplopyment.
318                 dependencies:
319                     installer: '^((?!netvirt).)*$'
320                     scenario: ''
321                 run:
322                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
323                     class: 'TempestFullParallel'
324
325             -
326                 case_name: rally_full
327                 project_name: functest
328                 criteria: 90
329                 blocking: false
330                 description: >-
331                     This test case runs the full suite of scenarios of the OpenStack
332                     Rally suite using several threads and iterations.
333                 dependencies:
334                     installer: '^((?!netvirt).)*$'
335                     scenario: ''
336                 run:
337                     module: 'functest.opnfv_tests.openstack.rally.rally'
338                     class: 'RallyFull'
339
340     -
341         name: vnf
342         order: 4
343         ci_loop: '(daily)|(weekly)'
344         description : >-
345             Collection of VNF test cases.
346         testcases:
347             -
348                 case_name: cloudify_ims
349                 project_name: functest
350                 criteria: 80
351                 blocking: false
352                 description: >-
353                     This test case deploys an OpenSource vIMS solution from Clearwater
354                     using the Cloudify orchestrator. It also runs some signaling traffic.
355                 dependencies:
356                     installer: ''
357                     scenario: 'os-nosdn-nofeature-ha'
358                 run:
359                     module: 'functest.opnfv_tests.vnf.ims.cloudify_ims'
360                     class: 'CloudifyIms'
361             -
362                 case_name: orchestra_openims
363                 project_name: orchestra
364                 criteria: 100
365                 blocking: false
366                 description: >-
367                     OpenIMS VNF deployment with Open Baton (Orchestra)
368                 dependencies:
369                     installer: ''
370                     scenario: 'os-nosdn-nofeature-ha'
371                 run:
372                     module: 'functest.opnfv_tests.vnf.ims.orchestra_openims'
373                     class: 'OpenImsVnf'
374
375             -
376                 case_name: orchestra_clearwaterims
377                 project_name: orchestra
378                 criteria: 100
379                 blocking: false
380                 description: >-
381                     ClearwaterIMS VNF deployment with Open Baton (Orchestra)
382                 dependencies:
383                     installer: ''
384                     scenario: 'os-nosdn-nofeature-ha'
385                 run:
386                     module: 'functest.opnfv_tests.vnf.ims.orchestra_clearwaterims'
387                     class: 'ClearwaterImsVnf'
388
389             -
390                 case_name: vyos_vrouter
391                 project_name: functest
392                 criteria: 100
393                 blocking: false
394                 description: >-
395                     This test case is vRouter testing.
396                 dependencies:
397                     installer: ''
398                     scenario: 'os-nosdn-nofeature-ha'
399                 run:
400                     module: 'functest.opnfv_tests.vnf.router.cloudify_vrouter'
401                     class: 'CloudifyVrouter'