24adbc49c0127236aea900d4485e2ba65fa7183f
[functest.git] / functest / ci / testcases.yaml
1 ---
2 tiers:
3     -
4         name: healthcheck
5         order: 0
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.
19                 run:
20                     name: connection_check
21
22             -
23                 case_name: tenantnetwork1
24                 project_name: functest
25                 criteria: 100
26                 blocking: true
27                 description: >-
28                     It creates and configures all tenant network ressources
29                     required by advanced testcases (subnet, network and
30                     router).
31                 run:
32                     name: tenantnetwork1
33
34             -
35                 case_name: tenantnetwork2
36                 project_name: functest
37                 criteria: 100
38                 blocking: true
39                 description: >-
40                     It creates new user/project before creating and configuring
41                     all tenant network ressources required by a testcase
42                     (subnet, network and router).
43                 run:
44                     name: tenantnetwork2
45
46             -
47                 case_name: vmready1
48                 project_name: functest
49                 criteria: 100
50                 blocking: true
51                 description: >-
52                     It inherits from TenantNetwork1 which creates all network
53                     resources and prepares a future VM attached to that
54                     network.
55                 run:
56                     name: vmready1
57
58             -
59                 case_name: vmready2
60                 project_name: functest
61                 criteria: 100
62                 blocking: true
63                 description: >-
64                     It creates new user/project before creating and configuring
65                     all tenant network ressources, flavors, images, etc.
66                     required by advanced testcases.
67                 run:
68                     name: vmready2
69
70             -
71                 case_name: singlevm1
72                 project_name: functest
73                 criteria: 100
74                 blocking: true
75                 description: >-
76                     It inherits from TenantNetwork1 which creates all network
77                     resources and completes it by booting a VM attached to that
78                     network.
79                 run:
80                     name: singlevm1
81
82             -
83                 case_name: singlevm2
84                 project_name: functest
85                 criteria: 100
86                 blocking: true
87                 description: >-
88                     It creates new user/project before creating and configuring
89                     all tenant network ressources and vms required by advanced
90                     testcases.
91                 run:
92                     name: singlevm2
93
94             -
95                 case_name: vping_ssh
96                 project_name: functest
97                 criteria: 100
98                 blocking: true
99                 description: >-
100                     This test case verifies: 1) SSH to an instance using
101                     floating IPs over the public network. 2) Connectivity
102                     between 2 instances over a private network.
103                 run:
104                     name: vping_ssh
105
106             -
107                 case_name: vping_userdata
108                 project_name: functest
109                 criteria: 100
110                 blocking: true
111                 description: >-
112                     This test case verifies:  1) Boot a VM with given userdata.
113                     2) Connectivity between 2 instances over a private network.
114                 run:
115                     name: vping_userdata
116
117             -
118                 case_name: cinder_test
119                 project_name: functest
120                 criteria: 100
121                 blocking: true
122                 description: >-
123                     This test case verifies: 1) Attach volume and to 1
124                     instance; 2) Write data on volume 3) Detach volume
125                     from instance 1, attach it on instance 2 3) Read volume
126                     data
127                 run:
128                     name: cinder_test
129
130             -
131                 case_name: odl
132                 project_name: functest
133                 criteria: 100
134                 blocking: true
135                 description: >-
136                     Test Suite for the OpenDaylight SDN Controller. It
137                     integrates some test suites from upstream using
138                     Robot as the test framework.
139                 dependencies:
140                     - DEPLOY_SCENARIO: 'odl'
141                 run:
142                     name: odl
143                     args:
144                         suites:
145                             - /src/odl_test/csit/suites/integration/basic
146                             - /src/odl_test/csit/suites/openstack/neutron
147
148             -
149                 case_name: tempest_smoke
150                 project_name: functest
151                 criteria: 100
152                 blocking: false
153                 description: >-
154                     This test case runs the smoke subset of the OpenStack
155                     Tempest suite. The list of test cases is generated by
156                     Tempest automatically and depends on the parameters of
157                     the OpenStack deplopyment.
158                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L114
159                 run:
160                     name: tempest_common
161                     args:
162                         mode: '(?=.*\[.*\bsmoke\b.*\])(^tempest\.api)'
163                         option:
164                             - '--concurrency=4'
165
166     -
167         name: smoke
168         order: 1
169         description: >-
170             Set of basic Functional tests to validate the OPNFV scenarios.
171         testcases:
172             -
173                 case_name: neutron-tempest-plugin-api
174                 project_name: functest
175                 criteria: 100
176                 blocking: false
177                 description: >-
178                     This test case runs the Tempest suite proposed by the
179                     Neutron project. The list of test cases is generated by
180                     Tempest automatically and depends on the parameters of
181                     the OpenStack deployment.
182                 run:
183                     name: tempest_common
184                     args:
185                         mode: '^neutron_tempest_plugin\.api'
186                         option:
187                             - '--concurrency=4'
188
189             -
190                 case_name: rally_sanity
191                 project_name: functest
192                 criteria: 100
193                 blocking: false
194                 description: >-
195                     This test case runs a sub group of tests of the OpenStack
196                     Rally suite in smoke mode.
197                 run:
198                     name: rally_sanity
199                     args:
200                         optional:
201                             - 'gnocchi'
202
203             -
204                 case_name: refstack_compute
205                 project_name: functest
206                 criteria: 100
207                 blocking: false
208                 deny_skipping: true
209                 description: >-
210                     This test case runs a sub group of tests of the OpenStack
211                     Compute testcases.
212                 run:
213                     name: refstack
214                     args:
215                         target: compute
216                         option:
217                             - '--concurrency=4'
218
219             -
220                 case_name: refstack_object
221                 project_name: functest
222                 criteria: 100
223                 blocking: false
224                 deny_skipping: true
225                 description: >-
226                     This test case runs a sub group of tests of the OpenStack
227                     Object testcases.
228                 run:
229                     name: refstack
230                     args:
231                         target: object
232                         option:
233                             - '--concurrency=4'
234
235             -
236                 case_name: refstack_platform
237                 project_name: functest
238                 criteria: 100
239                 blocking: false
240                 deny_skipping: true
241                 description: >-
242                     This test case runs a sub group of tests of the OpenStack
243                     Platform testcases.
244                 run:
245                     name: refstack
246                     args:
247                         target: platform
248                         option:
249                             - '--concurrency=4'
250
251             -
252                 case_name: tempest_full
253                 project_name: functest
254                 criteria: 100
255                 blocking: false
256                 description: >-
257                     The list of test cases is generated by
258                     Tempest automatically and depends on the parameters of
259                     the OpenStack deployment.
260                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L83
261                 run:
262                     name: tempest_common
263                     args:
264                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'
265                         option:
266                             - '--concurrency=4'
267
268             -
269                 case_name: tempest_scenario
270                 project_name: functest
271                 criteria: 100
272                 blocking: false
273                 description: >-
274                     The list of test cases is generated by
275                     Tempest automatically and depends on the parameters of
276                     the OpenStack deployment.
277                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
278                 run:
279                     name: tempest_common
280                     args:
281                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)'
282                         option:
283                             - '--concurrency=1'
284
285             -
286                 case_name: patrole
287                 project_name: functest
288                 criteria: 100
289                 blocking: false
290                 description: >-
291                     Test suite from Patrole project.
292                 run:
293                     name: patrole
294                     args:
295                         role: 'admin'
296                         includes:
297                             - 'image'
298                             - 'network'
299                         excludes:
300                             - 'network.test_flavors_rbac'
301                             - 'network.test_network_ip_availability_rbac'
302                             - 'test_networks_multiprovider_rbac'
303                             - 'test_auto_allocated_topology_rbac'
304                             - 'test_create_network_provider_segmentation_id'
305                             - 'test_update_network_provider_physical_network'
306                             - 'test_update_network_provider_segmentation_id'
307                             - 'network.test_agents_rbac'
308
309             -
310                 case_name: neutron_trunk
311                 project_name: functest
312                 criteria: 100
313                 blocking: false
314                 description: >-
315                     This test case runs the neutron trunk subtest of the
316                     OpenStack Tempest suite. The list of test cases is
317                     generated by Tempest having as input the relevant
318                     testcase list file.
319                 run:
320                     name: tempest_common
321                     args:
322                         mode: 'neutron_tempest_plugin.(api|scenario).test_trunk'
323                         neutron_extensions:
324                             - trunk
325                             - trunk-details
326
327             -
328                 case_name: networking-bgpvpn
329                 project_name: functest
330                 criteria: 100
331                 blocking: false
332                 description: >-
333                     This test case runs OpenStack networking-bgpvpn Tempest
334                     suite. The list of test cases is generated by Tempest
335                     having as input the relevant regex.
336                 run:
337                     name: tempest_common
338                     args:
339                         mode: '^networking_bgpvpn_tempest.tests.api\.'
340                         neutron_extensions:
341                             - bgpvpn
342                         option:
343                             - '--concurrency=4'
344
345             -
346                 case_name: networking-sfc
347                 project_name: functest
348                 criteria: 100
349                 blocking: false
350                 description: >-
351                     This test case runs OpenStack networking-sfc Tempest
352                     suite. The list of test cases is generated by Tempest
353                     having as input the relevant regex.
354                 run:
355                     name: tempest_common
356                     args:
357                         mode:
358                             '^(?:networking_sfc\.tests\.tempest_plugin.tests.api).*$'
359                         neutron_extensions:
360                             - sfc
361                         option:
362                             - '--concurrency=0'
363
364             -
365                 case_name: barbican
366                 project_name: functest
367                 criteria: 100
368                 blocking: false
369                 description: >-
370                     It leverages on the tempest plugin containing tests used to
371                     verify the functionality of a barbican installation.
372                 run:
373                     name: barbican
374                     args:
375                         mode:
376                             '^barbican_tempest_plugin.((?!test_signed_image_upload_boot_failure).)*$'
377                         services:
378                             - barbican
379
380     -
381         name: benchmarking
382         order: 2
383         description: >-
384             Run several OpenStack performance tools
385             https://docs.openstack.org/performance-docs/latest/methodologies/tools.html
386         testcases:
387             -
388                 case_name: rally_full
389                 project_name: functest
390                 criteria: 100
391                 blocking: false
392                 description: >-
393                     This test case runs the full suite of scenarios of the
394                     OpenStack Rally suite using several threads and iterations.
395                 run:
396                     name: rally_full
397                     args:
398                         optional:
399                             - 'gnocchi'
400
401             -
402                 case_name: rally_jobs
403                 project_name: functest
404                 criteria: 100
405                 blocking: false
406                 description: >-
407                     This test case runs a group of Rally jobs used in
408                     OpenStack gating
409                 run:
410                     name: rally_jobs
411                     args:
412                         optional:
413                             - 'gnocchi'
414
415             -
416                 case_name: vmtp
417                 project_name: functest
418                 criteria: 100
419                 blocking: false
420                 description: >-
421                     VMTP is a small python application that will automatically
422                     perform ping connectivity, round trip time measurement
423                     (latency) and TCP/UDP throughput
424                 dependencies:
425                     - POD_ARCH: '^(?!aarch64$)'
426                 run:
427                     name: vmtp
428
429             -
430                 case_name: shaker
431                 project_name: functest
432                 criteria: 100
433                 blocking: false
434                 description: >-
435                     Shaker wraps around popular system network testing tools
436                     like iperf, iperf3 and netperf (with help of flent). Shaker
437                     is able to deploy OpenStack instances and networks in
438                     different topologies.
439                 run:
440                     name: shaker
441
442     -
443         name: features
444         order: 3
445         description: >-
446             Test suites from feature projects
447             integrated in functest
448         testcases:
449             -
450                 case_name: doctor-notification
451                 project_name: doctor
452                 enabled: false
453                 criteria: 100
454                 blocking: false
455                 description: >-
456                     Test suite from Doctor project.
457                 dependencies:
458                     - INSTALLER_TYPE: '(apex)|(fuel)|(daisy)'
459                     - DEPLOY_SCENARIO: '^((?!fdio|nofeature).)*$'
460                 run:
461                     name: bashfeature
462                     args:
463                         cmd: 'doctor-test'
464
465             -
466                 case_name: functest-odl-sfc
467                 project_name: sfc
468                 criteria: 100
469                 blocking: false
470                 description: >-
471                     Test suite for odl-sfc to test two chains with one SF and
472                     one chain with two SFs
473                 dependencies:
474                     - DEPLOY_SCENARIO: 'odl.*sfc'
475                 run:
476                     name: functest-odl-sfc
477
478             -
479                 case_name: barometercollectd
480                 project_name: barometer
481                 enabled: false
482                 criteria: 100
483                 blocking: false
484                 description: >-
485                     Test suite for the Barometer project. Separate tests verify
486                     the proper configuration and basic functionality of all the
487                     collectd plugins as described in the Project Release Plan
488                 dependencies:
489                     - DEPLOY_SCENARIO: 'bar'
490                 run:
491                     name: barometercollectd
492
493             -
494                 case_name: vgpu
495                 project_name: functest
496                 criteria: 100
497                 blocking: false
498                 description: >-
499                     Test suite for the OpenStack vGPU feature
500                 dependencies:
501                     - DEPLOY_SCENARIO: 'vgpu'
502                 run:
503                     name: vgpu
504
505             -
506                 case_name: stor4nfv_os
507                 project_name: stor4nfv
508                 enabled: false
509                 criteria: 100
510                 blocking: false
511                 description: >-
512                     This tests are necessary demonstrate conformance
513                     of the OpenStack+Stor4NFV deployment.
514                 dependencies:
515                     - DEPLOY_SCENARIO: 'stor4nfv'
516                 run:
517                     name: stor4nfv_os
518
519     -
520         name: vnf
521         order: 4
522         description: >-
523             Collection of VNF test cases.
524         testcases:
525             -
526                 case_name: cloudify
527                 project_name: functest
528                 criteria: 100
529                 blocking: false
530                 description: >-
531                     This test case deploys the Cloudify orchestrator.
532                 run:
533                     name: cloudify
534             -
535                 case_name: cloudify_ims
536                 project_name: functest
537                 criteria: 100
538                 blocking: false
539                 description: >-
540                     This test case deploys an OpenSource vIMS solution from
541                     Clearwater using the Cloudify orchestrator. It also runs
542                     some signaling traffic.
543                 dependencies:
544                     - DEPLOY_SCENARIO: 'os-.*-nofeature-.*ha'
545                 run:
546                     name: cloudify_ims
547
548             -
549                 case_name: heat_ims
550                 project_name: functest
551                 criteria: 100
552                 blocking: false
553                 description: >-
554                     This test case deploys an OpenSource vIMS solution from
555                     Clearwater using the OpenStack Heat orchestrator.
556                     It also runs some signaling traffic.
557                 run:
558                     name: heat_ims
559
560             -
561                 case_name: vyos_vrouter
562                 project_name: functest
563                 criteria: 100
564                 blocking: false
565                 description: >-
566                     This test case is vRouter testing.
567                 run:
568                     name: vyos_vrouter
569
570             -
571                 case_name: juju_epc
572                 project_name: functest
573                 criteria: 100
574                 blocking: false
575                 description: >-
576                     vEPC validation with Juju as VNF manager and ABoT as test
577                     executor.
578                 run:
579                     name: juju_epc