0f836641841ef9fe0e0048a871248328533907ed
[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: api_check
150                 project_name: functest
151                 criteria: 100
152                 blocking: true
153                 description: >-
154                     This test case verifies the retrieval of OpenStack clients:
155                     Keystone, Glance, Neutron and Nova and may perform some
156                     simple queries. When the config value of
157                     snaps.use_keystone is True, functest must have access to
158                     the cloud's private network.
159                 run:
160                     name: api_check
161
162             -
163                 case_name: snaps_health_check
164                 project_name: functest
165                 criteria: 100
166                 blocking: true
167                 description: >-
168                     This test case creates executes the SimpleHealthCheck
169                     Python test class which creates an, image, flavor, network,
170                     and Cirros VM instance and observes the console output to
171                     validate the single port obtains the correct IP address.
172                 run:
173                     name: snaps_health_check
174
175     -
176         name: smoke
177         order: 1
178         description: >-
179             Set of basic Functional tests to validate the OPNFV scenarios.
180         testcases:
181             -
182                 case_name: tempest_smoke
183                 project_name: functest
184                 criteria: 100
185                 blocking: false
186                 description: >-
187                     This test case runs the smoke subset of the OpenStack
188                     Tempest suite. The list of test cases is generated by
189                     Tempest automatically and depends on the parameters of
190                     the OpenStack deplopyment.
191                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L114
192                 run:
193                     name: tempest_common
194                     args:
195                         mode: '(?=.*\[.*\bsmoke\b.*\])(^tempest\.api)'
196                         option:
197                             - '--concurrency=4'
198
199             -
200                 case_name: neutron-tempest-plugin-api
201                 project_name: functest
202                 criteria: 100
203                 blocking: false
204                 description: >-
205                     This test case runs the Tempest suite proposed by the
206                     Neutron project. The list of test cases is generated by
207                     Tempest automatically and depends on the parameters of
208                     the OpenStack deployment.
209                 run:
210                     name: tempest_common
211                     args:
212                         mode: '^neutron_tempest_plugin\.api'
213                         option:
214                             - '--concurrency=4'
215
216             -
217                 case_name: rally_sanity
218                 project_name: functest
219                 criteria: 100
220                 blocking: false
221                 description: >-
222                     This test case runs a sub group of tests of the OpenStack
223                     Rally suite in smoke mode.
224                 run:
225                     name: rally_sanity
226
227             -
228                 case_name: rally_jobs
229                 project_name: functest
230                 criteria: 100
231                 blocking: false
232                 description: >-
233                     This test case runs a group of Rally jobs used in
234                     OpenStack gating
235                 run:
236                     name: rally_jobs
237
238             -
239                 case_name: refstack_defcore
240                 project_name: functest
241                 criteria: 100
242                 blocking: false
243                 description: >-
244                     This test case runs a sub group of tests of the OpenStack
245                     Defcore testcases.
246                 run:
247                     name: refstack_defcore
248                     args:
249                         option:
250                             - '--concurrency=4'
251
252             -
253                 case_name: patrole
254                 project_name: functest
255                 criteria: 100
256                 blocking: false
257                 description: >-
258                     Test suite from Patrole project.
259                 run:
260                     name: patrole
261                     args:
262                         role: 'admin'
263                         includes:
264                             - 'image'
265                         excludes:
266                             - 'test_networks_multiprovider_rbac'
267                             - 'test_auto_allocated_topology_rbac'
268
269             -
270                 case_name: snaps_smoke
271                 project_name: functest
272                 criteria: 100
273                 blocking: false
274                 description: >-
275                     This test case contains tests that setup and destroy
276                     environments with VMs with and without Floating IPs
277                     with a newly created user and project. Set the config
278                     value snaps.use_floating_ips (True|False) to toggle
279                     this functionality. When the config value of
280                     snaps.use_keystone is True, functest must have access to
281                     the cloud's private network.
282                 run:
283                     name: snaps_smoke
284
285             -
286                 case_name: neutron_trunk
287                 project_name: functest
288                 criteria: 100
289                 blocking: false
290                 description: >-
291                     This test case runs the neutron trunk subtest of the
292                     OpenStack Tempest suite. The list of test cases is
293                     generated by Tempest having as input the relevant
294                     testcase list file.
295                 run:
296                     name: tempest_common
297                     args:
298                         mode: 'neutron_tempest_plugin.(api|scenario).test_trunk'
299                         neutron_extensions:
300                             - trunk
301                             - trunk-details
302
303             -
304                 case_name: networking-bgpvpn
305                 project_name: functest
306                 criteria: 100
307                 blocking: false
308                 description: >-
309                     This test case runs OpenStack networking-bgpvpn Tempest
310                     suite. The list of test cases is generated by Tempest
311                     having as input the relevant regex.
312                 run:
313                     name: tempest_common
314                     args:
315                         mode: '^networking_bgpvpn_tempest\.'
316                         neutron_extensions:
317                             - bgpvpn
318                         option:
319                             - '--concurrency=4'
320
321             -
322                 case_name: networking-sfc
323                 project_name: functest
324                 criteria: 100
325                 blocking: false
326                 description: >-
327                     This test case runs OpenStack networking-sfc Tempest
328                     suite. The list of test cases is generated by Tempest
329                     having as input the relevant regex.
330                 run:
331                     name: tempest_common
332                     args:
333                         mode:
334                             '^(?:networking_sfc\.tests\.tempest_plugin.tests.api).*$'
335                         neutron_extensions:
336                             - sfc
337                         option:
338                             - '--concurrency=0'
339
340             -
341                 case_name: barbican
342                 project_name: functest
343                 criteria: 100
344                 blocking: false
345                 description: >-
346                     It leverages on the tempest plugin containing tests used to
347                     verify the functionality of a barbican installation.
348                 run:
349                     name: barbican
350                     args:
351                         mode:
352                             '^barbican_tempest_plugin.((?!test_signed_image_upload_boot_failure).)*$'
353                         services:
354                             - barbican
355
356     -
357         name: benchmarking
358         order: 2
359         description: >-
360             Run several OpenStack performance tools
361             https://docs.openstack.org/performance-docs/latest/methodologies/tools.html
362         testcases:
363             -
364                 case_name: vmtp
365                 project_name: functest
366                 criteria: 100
367                 blocking: false
368                 description: >-
369                     VMTP is a small python application that will automatically
370                     perform ping connectivity, round trip time measurement
371                     (latency) and TCP/UDP throughput
372                 dependencies:
373                     - POD_ARCH: '^(?!aarch64$)'
374                 run:
375                     name: vmtp
376
377             -
378                 case_name: shaker
379                 project_name: functest
380                 criteria: 100
381                 blocking: false
382                 description: >-
383                     Shaker wraps around popular system network testing tools
384                     like iperf, iperf3 and netperf (with help of flent). Shaker
385                     is able to deploy OpenStack instances and networks in
386                     different topologies.
387                 run:
388                     name: shaker
389
390     -
391         name: features
392         order: 3
393         description: >-
394             Test suites from feature projects
395             integrated in functest
396         testcases:
397             -
398                 case_name: doctor-notification
399                 project_name: doctor
400                 enabled: false
401                 criteria: 100
402                 blocking: false
403                 description: >-
404                     Test suite from Doctor project.
405                 dependencies:
406                     - INSTALLER_TYPE: '(apex)|(fuel)|(daisy)'
407                     - DEPLOY_SCENARIO: '^((?!fdio|nofeature).)*$'
408                 run:
409                     name: bashfeature
410                     args:
411                         cmd: 'doctor-test'
412
413             -
414                 case_name: bgpvpn
415                 project_name: sdnvpn
416                 enabled: false
417                 criteria: 100
418                 blocking: false
419                 description: >-
420                     Test suite from SDNVPN project.
421                 dependencies:
422                     - DEPLOY_SCENARIO: 'bgpvpn'
423                 run:
424                     name: bgpvpn
425
426             -
427                 case_name: functest-odl-sfc
428                 project_name: sfc
429                 enabled: false
430                 criteria: 100
431                 blocking: false
432                 description: >-
433                     Test suite for odl-sfc to test two chains with one SF and
434                     one chain with two SFs
435                 dependencies:
436                     - DEPLOY_SCENARIO: 'odl.*sfc'
437                 run:
438                     name: functest-odl-sfc
439
440             -
441                 case_name: barometercollectd
442                 project_name: barometer
443                 enabled: false
444                 criteria: 100
445                 blocking: false
446                 description: >-
447                     Test suite for the Barometer project. Separate tests verify
448                     the proper configuration and basic functionality of all the
449                     collectd plugins as described in the Project Release Plan
450                 dependencies:
451                     - DEPLOY_SCENARIO: 'bar'
452                 run:
453                     name: barometercollectd
454
455             -
456                 case_name: fds
457                 project_name: fastdatastacks
458                 enabled: false
459                 criteria: 100
460                 blocking: false
461                 description: >-
462                     Test Suite for the OpenDaylight SDN Controller when GBP
463                     features are installed. It integrates some test suites from
464                     upstream using Robot as the test framework.
465                 dependencies:
466                     - DEPLOY_SCENARIO: 'odl.*-fdio'
467                 run:
468                     name: odl
469                     args:
470                         suites:
471                             - /src/fds/testing/robot
472             -
473                 case_name: vgpu
474                 project_name: functest
475                 criteria: 100
476                 blocking: false
477                 description: >-
478                     Test suite for the OpenStack vGPU feature
479                 dependencies:
480                     - DEPLOY_SCENARIO: 'vgpu'
481                 run:
482                     name: vgpu
483
484             -
485                 case_name: stor4nfv_os
486                 project_name: stor4nfv
487                 enabled: false
488                 criteria: 100
489                 blocking: false
490                 description: >-
491                     This tests are necessary demonstrate conformance
492                     of the OpenStack+Stor4NFV deployment.
493                 dependencies:
494                     - DEPLOY_SCENARIO: 'stor4nfv'
495                 run:
496                     name: stor4nfv_os
497
498     -
499         name: components
500         order: 4
501         description: >-
502             Extensive testing of OpenStack API.
503         testcases:
504             -
505                 case_name: tempest_full
506                 project_name: functest
507                 criteria: 100
508                 blocking: false
509                 description: >-
510                     The list of test cases is generated by
511                     Tempest automatically and depends on the parameters of
512                     the OpenStack deployment.
513                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L83
514                 run:
515                     name: tempest_common
516                     args:
517                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'
518                         option:
519                             - '--concurrency=4'
520
521             -
522                 case_name: tempest_scenario
523                 project_name: functest
524                 criteria: 100
525                 blocking: false
526                 description: >-
527                     The list of test cases is generated by
528                     Tempest automatically and depends on the parameters of
529                     the OpenStack deployment.
530                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
531                 run:
532                     name: tempest_common
533                     args:
534                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)'
535                         option:
536                             - '--concurrency=1'
537
538             -
539                 case_name: rally_full
540                 project_name: functest
541                 criteria: 100
542                 blocking: false
543                 description: >-
544                     This test case runs the full suite of scenarios of the
545                     OpenStack Rally suite using several threads and iterations.
546                 run:
547                     name: rally_full
548
549     -
550         name: vnf
551         order: 5
552         description: >-
553             Collection of VNF test cases.
554         testcases:
555             -
556                 case_name: cloudify
557                 project_name: functest
558                 criteria: 100
559                 blocking: false
560                 description: >-
561                     This test case deploys the Cloudify orchestrator.
562                 run:
563                     name: cloudify
564             -
565                 case_name: cloudify_ims
566                 project_name: functest
567                 criteria: 100
568                 blocking: false
569                 description: >-
570                     This test case deploys an OpenSource vIMS solution from
571                     Clearwater using the Cloudify orchestrator. It also runs
572                     some signaling traffic.
573                 dependencies:
574                     - DEPLOY_SCENARIO: 'os-.*-nofeature-.*ha'
575                 run:
576                     name: cloudify_ims
577
578             -
579                 case_name: heat_ims
580                 project_name: functest
581                 criteria: 100
582                 blocking: false
583                 description: >-
584                     This test case deploys an OpenSource vIMS solution from
585                     Clearwater using the OpenStack Heat orchestrator.
586                     It also runs some signaling traffic.
587                 run:
588                     name: heat_ims
589
590             -
591                 case_name: vyos_vrouter
592                 project_name: functest
593                 criteria: 100
594                 blocking: false
595                 description: >-
596                     This test case is vRouter testing.
597                 run:
598                     name: vyos_vrouter
599
600             -
601                 case_name: juju_epc
602                 project_name: functest
603                 criteria: 100
604                 blocking: false
605                 description: >-
606                     vEPC validation with Juju as VNF manager and ABoT as test
607                     executor.
608                 run:
609                     name: juju_epc