b6e29b98a5c26706c160242d2fd926940d688aa5
[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=3'
165
166             -
167                 case_name: tempest_horizon
168                 project_name: functest
169                 criteria: 100
170                 blocking: false
171                 description: >-
172                     This test case runs the Tempest suite proposed by the
173                     Horizon project.
174                 dependencies:
175                     - DASHBOARD_URL: '^(?!\s*$).+'
176                 run:
177                     name: tempest_horizon
178                     args:
179                         mode: '^tempest_horizon.'
180
181     -
182         name: smoke
183         order: 1
184         description: >-
185             Set of basic Functional tests to validate the OPNFV scenarios.
186         testcases:
187             -
188                 case_name: tempest_neutron
189                 project_name: functest
190                 criteria: 100
191                 blocking: false
192                 description: >-
193                     This test case runs the Tempest suite proposed by the
194                     Neutron project. The list of test cases is generated by
195                     Tempest automatically and depends on the parameters of
196                     the OpenStack deployment.
197                 run:
198                     name: tempest_common
199                     args:
200                         mode: '^neutron_tempest_plugin\.api'
201                         option:
202                             - '--concurrency=3'
203
204             -
205                 case_name: tempest_cinder
206                 project_name: functest
207                 criteria: 100
208                 blocking: false
209                 description: >-
210                     This test case runs the Tempest suite proposed by the
211                     Cinder project.
212                 run:
213                     name: tempest_common
214                     args:
215                         mode:
216                             '(?!.*test_incremental_backup)(^cinder_tempest_plugin.)'
217                         option:
218                             - '--concurrency=3'
219
220             -
221                 case_name: tempest_keystone
222                 project_name: functest
223                 criteria: 100
224                 blocking: false
225                 description: >-
226                     This test case runs the Tempest suite proposed by the
227                     Keystone project.
228                 run:
229                     name: tempest_common
230                     args:
231                         mode: 'keystone_tempest_plugin.'
232                         option:
233                             - '--concurrency=3'
234
235             -
236                 case_name: tempest_heat
237                 project_name: functest
238                 criteria: 100
239                 blocking: false
240                 description: >-
241                     This test case runs the Tempest suite proposed by the
242                     Heat project.
243                 run:
244                     name: tempest_heat
245                     args:
246                         mode: '^heat_tempest_plugin.tests'
247                         option:
248                             - '--concurrency=1'
249
250             -
251                 case_name: tempest_telemetry
252                 project_name: functest
253                 criteria: 100
254                 blocking: false
255                 description: >-
256                     This test case runs the Tempest suite proposed by the
257                     Telemetry project.
258                 run:
259                     name: tempest_common
260                     args:
261                         mode: "(?!.*test_autoscaling)(?!.*test_live)\
262                             (^telemetry_tempest_plugin)"
263                         services:
264                             - aodh
265                             - gnocchi
266                             - panko
267                         option:
268                             - '--concurrency=3'
269
270             -
271                 case_name: rally_sanity
272                 project_name: functest
273                 criteria: 100
274                 blocking: false
275                 description: >-
276                     This test case runs a sub group of tests of the OpenStack
277                     Rally suite in smoke mode.
278                 run:
279                     name: rally_sanity
280                     args:
281                         optional:
282                             - 'gnocchi'
283                             - 'barbican'
284
285             -
286                 case_name: refstack_compute
287                 project_name: functest
288                 criteria: 100
289                 blocking: false
290                 deny_skipping: true
291                 tests_count: 222
292                 description: >-
293                     This test case runs a sub group of tests of the OpenStack
294                     Compute testcases.
295                 run:
296                     name: refstack
297                     args:
298                         target: compute
299                         option:
300                             - '--concurrency=3'
301
302             -
303                 case_name: refstack_object
304                 project_name: functest
305                 criteria: 100
306                 blocking: false
307                 deny_skipping: true
308                 tests_count: 58
309                 description: >-
310                     This test case runs a sub group of tests of the OpenStack
311                     Object testcases.
312                 run:
313                     name: refstack
314                     args:
315                         target: object
316                         option:
317                             - '--concurrency=3'
318
319             -
320                 case_name: refstack_platform
321                 project_name: functest
322                 criteria: 100
323                 blocking: false
324                 deny_skipping: true
325                 tests_count: 278
326                 description: >-
327                     This test case runs a sub group of tests of the OpenStack
328                     Platform testcases.
329                 run:
330                     name: refstack
331                     args:
332                         target: platform
333                         option:
334                             - '--concurrency=3'
335
336             -
337                 case_name: tempest_full
338                 project_name: functest
339                 criteria: 100
340                 blocking: false
341                 description: >-
342                     The list of test cases is generated by
343                     Tempest automatically and depends on the parameters of
344                     the OpenStack deployment.
345                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L83
346                 run:
347                     name: tempest_common
348                     args:
349                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'
350                         option:
351                             - '--concurrency=3'
352
353             -
354                 case_name: tempest_scenario
355                 project_name: functest
356                 criteria: 100
357                 blocking: false
358                 description: >-
359                     The list of test cases is generated by
360                     Tempest automatically and depends on the parameters of
361                     the OpenStack deployment.
362                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
363                 run:
364                     name: tempest_scenario
365                     args:
366                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)'
367                         option:
368                             - '--concurrency=1'
369
370             -
371                 case_name: tempest_slow
372                 project_name: functest
373                 criteria: 100
374                 blocking: false
375                 description: >-
376                     The list of test cases is generated by
377                     Tempest automatically and depends on the parameters of
378                     the OpenStack deployment.
379                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
380                 run:
381                     name: tempest_common
382                     args:
383                         mode: '(?=.*\[.*\bslow\b.*\])(^tempest\.)'
384                         option:
385                             - '--concurrency=1'
386
387             -
388                 case_name: patrole
389                 project_name: functest
390                 criteria: 100
391                 blocking: false
392                 description: >-
393                     Test suite from Patrole project.
394                 run:
395                     name: patrole
396                     args:
397                         role: 'admin'
398                         includes:
399                             - 'image'
400                             - 'network'
401                         excludes:
402                             - 'network.test_flavors_rbac'
403                             - 'network.test_network_ip_availability_rbac'
404                             - 'test_networks_multiprovider_rbac'
405                             - 'test_auto_allocated_topology_rbac'
406                             - 'test_create_network_provider_segmentation_id'
407                             - 'test_update_network_provider_physical_network'
408                             - 'test_update_network_provider_segmentation_id'
409                             - 'network.test_agents_rbac'
410                             - 'test_list_metadef_namespaces'
411
412             -
413                 case_name: tempest_barbican
414                 project_name: functest
415                 criteria: 100
416                 blocking: false
417                 description: >-
418                     It leverages on the tempest plugin containing tests used to
419                     verify the functionality of a barbican installation.
420                 run:
421                     name: barbican
422                     args:
423                         mode:
424                             '^barbican_tempest_plugin.((?!test_signed_image_upload_boot_failure).)*$'
425                         services:
426                             - barbican
427
428             -
429                 case_name: tempest_octavia
430                 project_name: functest
431                 criteria: 100
432                 blocking: false
433                 description: >-
434                     It leverages on the tempest plugin containing tests used to
435                     verify the functionality of an octavia installation.
436                 run:
437                     name: tempest_common
438                     args:
439                         mode: "(?!.*api.v2.test_availability_zone)\
440                             (?!.*api.v2.test_availability_zone_profile)\
441                             (?!.*api.v2.test_member.MemberAPITest.test_member_ipv4_create)\
442                             (?!.*api.v2.test_member.MemberAPITest.test_member_ipv6_create)\
443                             (^octavia_tempest_plugin.tests.(api|scenario))"
444                         services:
445                             - octavia
446                         option:
447                             - '--concurrency=2'
448
449     -
450         name: benchmarking
451         order: 2
452         description: >-
453             Run several OpenStack performance tools
454             https://docs.openstack.org/performance-docs/latest/methodologies/tools.html
455         testcases:
456             -
457                 case_name: rally_full
458                 project_name: functest
459                 criteria: 100
460                 blocking: false
461                 description: >-
462                     This test case runs the full suite of scenarios of the
463                     OpenStack Rally suite using several threads and iterations.
464                 run:
465                     name: rally_full
466                     args:
467                         optional:
468                             - 'gnocchi'
469                             - 'barbican'
470
471             -
472                 case_name: rally_jobs
473                 project_name: functest
474                 criteria: 100
475                 blocking: false
476                 description: >-
477                     This test case runs a group of Rally jobs used in
478                     OpenStack gating
479                 run:
480                     name: rally_jobs
481                     args:
482                         optional:
483                             - 'gnocchi'
484
485             -
486                 case_name: vmtp
487                 project_name: functest
488                 criteria: 100
489                 blocking: false
490                 description: >-
491                     VMTP is a small python application that will automatically
492                     perform ping connectivity, round trip time measurement
493                     (latency) and TCP/UDP throughput
494                 dependencies:
495                     - POD_ARCH: '^(?!aarch64$)'
496                 run:
497                     name: vmtp
498
499             -
500                 case_name: shaker
501                 project_name: functest
502                 criteria: 100
503                 blocking: false
504                 description: >-
505                     Shaker wraps around popular system network testing tools
506                     like iperf, iperf3 and netperf (with help of flent). Shaker
507                     is able to deploy OpenStack instances and networks in
508                     different topologies.
509                 dependencies:
510                     - POD_ARCH: '^(?!aarch64$)'
511                 run:
512                     name: shaker
513
514     -
515         name: vnf
516         order: 4
517         description: >-
518             Collection of VNF test cases.
519         testcases:
520             -
521                 case_name: cloudify
522                 project_name: functest
523                 criteria: 100
524                 blocking: false
525                 description: >-
526                     This test case deploys the Cloudify orchestrator.
527                 run:
528                     name: cloudify
529             -
530                 case_name: cloudify_ims
531                 project_name: functest
532                 criteria: 100
533                 blocking: false
534                 description: >-
535                     This test case deploys an OpenSource vIMS solution from
536                     Clearwater using the Cloudify orchestrator. It also runs
537                     some signaling traffic.
538                 dependencies:
539                     - DEPLOY_SCENARIO: 'os-.*-nofeature-.*ha'
540                 run:
541                     name: cloudify_ims
542
543             -
544                 case_name: heat_ims
545                 project_name: functest
546                 criteria: 100
547                 blocking: false
548                 description: >-
549                     This test case deploys an OpenSource vIMS solution from
550                     Clearwater using the OpenStack Heat orchestrator.
551                     It also runs some signaling traffic.
552                 run:
553                     name: heat_ims
554
555             -
556                 case_name: vyos_vrouter
557                 project_name: functest
558                 criteria: 100
559                 blocking: false
560                 description: >-
561                     This test case is vRouter testing.
562                 run:
563                     name: vyos_vrouter
564
565             -
566                 case_name: juju_epc
567                 project_name: functest
568                 criteria: 100
569                 blocking: false
570                 description: >-
571                     vEPC validation with Juju as VNF manager and ABoT as test
572                     executor.
573                 run:
574                     name: juju_epc