48bf51395ef08c7641c49e9e4908bea908800916
[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                             - 'barbican'
203
204             -
205                 case_name: refstack_compute
206                 project_name: functest
207                 criteria: 100
208                 blocking: false
209                 deny_skipping: true
210                 description: >-
211                     This test case runs a sub group of tests of the OpenStack
212                     Compute testcases.
213                 run:
214                     name: refstack
215                     args:
216                         target: compute
217                         option:
218                             - '--concurrency=4'
219
220             -
221                 case_name: refstack_object
222                 project_name: functest
223                 criteria: 100
224                 blocking: false
225                 deny_skipping: true
226                 description: >-
227                     This test case runs a sub group of tests of the OpenStack
228                     Object testcases.
229                 run:
230                     name: refstack
231                     args:
232                         target: object
233                         option:
234                             - '--concurrency=4'
235
236             -
237                 case_name: refstack_platform
238                 project_name: functest
239                 criteria: 100
240                 blocking: false
241                 deny_skipping: true
242                 description: >-
243                     This test case runs a sub group of tests of the OpenStack
244                     Platform testcases.
245                 run:
246                     name: refstack
247                     args:
248                         target: platform
249                         option:
250                             - '--concurrency=4'
251
252             -
253                 case_name: tempest_full
254                 project_name: functest
255                 criteria: 100
256                 blocking: false
257                 description: >-
258                     The list of test cases is generated by
259                     Tempest automatically and depends on the parameters of
260                     the OpenStack deployment.
261                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L83
262                 run:
263                     name: tempest_common
264                     args:
265                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'
266                         option:
267                             - '--concurrency=4'
268
269             -
270                 case_name: tempest_scenario
271                 project_name: functest
272                 criteria: 100
273                 blocking: false
274                 description: >-
275                     The list of test cases is generated by
276                     Tempest automatically and depends on the parameters of
277                     the OpenStack deployment.
278                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
279                 run:
280                     name: tempest_common
281                     args:
282                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)'
283                         option:
284                             - '--concurrency=1'
285
286             -
287                 case_name: patrole
288                 project_name: functest
289                 criteria: 100
290                 blocking: false
291                 description: >-
292                     Test suite from Patrole project.
293                 run:
294                     name: patrole
295                     args:
296                         role: 'admin'
297                         includes:
298                             - 'image'
299                             - 'network'
300                         excludes:
301                             - 'network.test_flavors_rbac'
302                             - 'network.test_network_ip_availability_rbac'
303                             - 'test_networks_multiprovider_rbac'
304                             - 'test_auto_allocated_topology_rbac'
305                             - 'test_create_network_provider_segmentation_id'
306                             - 'test_update_network_provider_physical_network'
307                             - 'test_update_network_provider_segmentation_id'
308                             - 'network.test_agents_rbac'
309                             - 'test_list_metadef_namespaces'
310
311             -
312                 case_name: neutron_trunk
313                 project_name: functest
314                 criteria: 100
315                 blocking: false
316                 description: >-
317                     This test case runs the neutron trunk subtest of the
318                     OpenStack Tempest suite. The list of test cases is
319                     generated by Tempest having as input the relevant
320                     testcase list file.
321                 run:
322                     name: tempest_common
323                     args:
324                         mode: 'neutron_tempest_plugin.(api|scenario).test_trunk'
325                         neutron_extensions:
326                             - trunk
327                             - trunk-details
328
329             -
330                 case_name: networking-bgpvpn
331                 project_name: functest
332                 criteria: 100
333                 blocking: false
334                 description: >-
335                     This test case runs OpenStack networking-bgpvpn Tempest
336                     suite. The list of test cases is generated by Tempest
337                     having as input the relevant regex.
338                 run:
339                     name: tempest_common
340                     args:
341                         mode: '^neutron_tempest_plugin.bgpvpn.api\.'
342                         neutron_extensions:
343                             - bgpvpn
344                         option:
345                             - '--concurrency=4'
346
347             -
348                 case_name: networking-sfc
349                 project_name: functest
350                 criteria: 100
351                 blocking: false
352                 description: >-
353                     This test case runs OpenStack networking-sfc Tempest
354                     suite. The list of test cases is generated by Tempest
355                     having as input the relevant regex.
356                 run:
357                     name: tempest_common
358                     args:
359                         mode:
360                             '^(?:neutron_tempest_plugin\.sfc\.tests\.api).*$'
361                         neutron_extensions:
362                             - sfc
363                         option:
364                             - '--concurrency=0'
365
366             -
367                 case_name: barbican
368                 project_name: functest
369                 criteria: 100
370                 blocking: false
371                 description: >-
372                     It leverages on the tempest plugin containing tests used to
373                     verify the functionality of a barbican installation.
374                 run:
375                     name: barbican
376                     args:
377                         mode:
378                             '^barbican_tempest_plugin.((?!test_signed_image_upload_boot_failure).)*$'
379                         services:
380                             - barbican
381
382             -
383                 case_name: octavia
384                 project_name: functest
385                 criteria: 100
386                 blocking: false
387                 description: >-
388                     It leverages on the tempest plugin containing tests used to
389                     verify the functionality of an octavia installation.
390                 run:
391                     name: tempest_common
392                     args:
393                         mode:
394                             '^octavia_tempest_plugin.tests.api.v2'
395                         services:
396                             - octavia
397                         option:
398                             - '--concurrency=2'
399
400     -
401         name: benchmarking
402         order: 2
403         description: >-
404             Run several OpenStack performance tools
405             https://docs.openstack.org/performance-docs/latest/methodologies/tools.html
406         testcases:
407             -
408                 case_name: rally_full
409                 project_name: functest
410                 criteria: 100
411                 blocking: false
412                 description: >-
413                     This test case runs the full suite of scenarios of the
414                     OpenStack Rally suite using several threads and iterations.
415                 run:
416                     name: rally_full
417                     args:
418                         optional:
419                             - 'gnocchi'
420                             - 'barbican'
421
422             -
423                 case_name: rally_jobs
424                 project_name: functest
425                 criteria: 100
426                 blocking: false
427                 description: >-
428                     This test case runs a group of Rally jobs used in
429                     OpenStack gating
430                 run:
431                     name: rally_jobs
432                     args:
433                         optional:
434                             - 'gnocchi'
435
436             -
437                 case_name: vmtp
438                 project_name: functest
439                 criteria: 100
440                 blocking: false
441                 description: >-
442                     VMTP is a small python application that will automatically
443                     perform ping connectivity, round trip time measurement
444                     (latency) and TCP/UDP throughput
445                 dependencies:
446                     - POD_ARCH: '^(?!aarch64$)'
447                 run:
448                     name: vmtp
449
450             -
451                 case_name: shaker
452                 project_name: functest
453                 criteria: 100
454                 blocking: false
455                 description: >-
456                     Shaker wraps around popular system network testing tools
457                     like iperf, iperf3 and netperf (with help of flent). Shaker
458                     is able to deploy OpenStack instances and networks in
459                     different topologies.
460                 run:
461                     name: shaker
462
463     -
464         name: features
465         order: 3
466         description: >-
467             Test suites from feature projects
468             integrated in functest
469         testcases:
470             -
471                 case_name: doctor-notification
472                 project_name: doctor
473                 enabled: false
474                 criteria: 100
475                 blocking: false
476                 description: >-
477                     Test suite from Doctor project.
478                 dependencies:
479                     - INSTALLER_TYPE: '(apex)|(fuel)|(daisy)'
480                     - DEPLOY_SCENARIO: '^((?!fdio|nofeature).)*$'
481                 run:
482                     name: bashfeature
483                     args:
484                         cmd: 'doctor-test'
485
486             -
487                 case_name: functest-odl-sfc
488                 project_name: sfc
489                 criteria: 100
490                 blocking: false
491                 description: >-
492                     Test suite for odl-sfc to test two chains with one SF and
493                     one chain with two SFs
494                 dependencies:
495                     - DEPLOY_SCENARIO: 'odl.*sfc'
496                 run:
497                     name: functest-odl-sfc
498
499             -
500                 case_name: barometercollectd
501                 project_name: barometer
502                 enabled: false
503                 criteria: 100
504                 blocking: false
505                 description: >-
506                     Test suite for the Barometer project. Separate tests verify
507                     the proper configuration and basic functionality of all the
508                     collectd plugins as described in the Project Release Plan
509                 dependencies:
510                     - DEPLOY_SCENARIO: 'bar'
511                 run:
512                     name: barometercollectd
513
514             -
515                 case_name: vgpu
516                 project_name: functest
517                 criteria: 100
518                 blocking: false
519                 description: >-
520                     Test suite for the OpenStack vGPU feature
521                 dependencies:
522                     - DEPLOY_SCENARIO: 'vgpu'
523                 run:
524                     name: vgpu
525
526             -
527                 case_name: stor4nfv_os
528                 project_name: stor4nfv
529                 enabled: false
530                 criteria: 100
531                 blocking: false
532                 description: >-
533                     This tests are necessary demonstrate conformance
534                     of the OpenStack+Stor4NFV deployment.
535                 dependencies:
536                     - DEPLOY_SCENARIO: 'stor4nfv'
537                 run:
538                     name: stor4nfv_os
539
540     -
541         name: vnf
542         order: 4
543         description: >-
544             Collection of VNF test cases.
545         testcases:
546             -
547                 case_name: cloudify
548                 project_name: functest
549                 criteria: 100
550                 blocking: false
551                 description: >-
552                     This test case deploys the Cloudify orchestrator.
553                 run:
554                     name: cloudify
555             -
556                 case_name: cloudify_ims
557                 project_name: functest
558                 criteria: 100
559                 blocking: false
560                 description: >-
561                     This test case deploys an OpenSource vIMS solution from
562                     Clearwater using the Cloudify orchestrator. It also runs
563                     some signaling traffic.
564                 dependencies:
565                     - DEPLOY_SCENARIO: 'os-.*-nofeature-.*ha'
566                 run:
567                     name: cloudify_ims
568
569             -
570                 case_name: heat_ims
571                 project_name: functest
572                 criteria: 100
573                 blocking: false
574                 description: >-
575                     This test case deploys an OpenSource vIMS solution from
576                     Clearwater using the OpenStack Heat orchestrator.
577                     It also runs some signaling traffic.
578                 run:
579                     name: heat_ims
580
581             -
582                 case_name: vyos_vrouter
583                 project_name: functest
584                 criteria: 100
585                 blocking: false
586                 description: >-
587                     This test case is vRouter testing.
588                 run:
589                     name: vyos_vrouter
590
591             -
592                 case_name: juju_epc
593                 project_name: functest
594                 criteria: 100
595                 blocking: false
596                 description: >-
597                     vEPC validation with Juju as VNF manager and ABoT as test
598                     executor.
599                 run:
600                     name: juju_epc