Remove neutron_trunk; networking_bgpvpn and networking_sfc
[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)\
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: 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: 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:
440                             '^octavia_tempest_plugin.tests.api.v2'
441                         services:
442                             - octavia
443                         option:
444                             - '--concurrency=2'
445
446     -
447         name: benchmarking
448         order: 2
449         description: >-
450             Run several OpenStack performance tools
451             https://docs.openstack.org/performance-docs/latest/methodologies/tools.html
452         testcases:
453             -
454                 case_name: rally_full
455                 project_name: functest
456                 criteria: 100
457                 blocking: false
458                 description: >-
459                     This test case runs the full suite of scenarios of the
460                     OpenStack Rally suite using several threads and iterations.
461                 run:
462                     name: rally_full
463                     args:
464                         optional:
465                             - 'gnocchi'
466                             - 'barbican'
467
468             -
469                 case_name: rally_jobs
470                 project_name: functest
471                 criteria: 100
472                 blocking: false
473                 description: >-
474                     This test case runs a group of Rally jobs used in
475                     OpenStack gating
476                 run:
477                     name: rally_jobs
478                     args:
479                         optional:
480                             - 'gnocchi'
481
482             -
483                 case_name: vmtp
484                 project_name: functest
485                 criteria: 100
486                 blocking: false
487                 description: >-
488                     VMTP is a small python application that will automatically
489                     perform ping connectivity, round trip time measurement
490                     (latency) and TCP/UDP throughput
491                 dependencies:
492                     - POD_ARCH: '^(?!aarch64$)'
493                 run:
494                     name: vmtp
495
496             -
497                 case_name: shaker
498                 project_name: functest
499                 criteria: 100
500                 blocking: false
501                 description: >-
502                     Shaker wraps around popular system network testing tools
503                     like iperf, iperf3 and netperf (with help of flent). Shaker
504                     is able to deploy OpenStack instances and networks in
505                     different topologies.
506                 dependencies:
507                     - POD_ARCH: '^(?!aarch64$)'
508                 run:
509                     name: shaker
510
511     -
512         name: vnf
513         order: 4
514         description: >-
515             Collection of VNF test cases.
516         testcases:
517             -
518                 case_name: cloudify
519                 project_name: functest
520                 criteria: 100
521                 blocking: false
522                 description: >-
523                     This test case deploys the Cloudify orchestrator.
524                 run:
525                     name: cloudify
526             -
527                 case_name: cloudify_ims
528                 project_name: functest
529                 criteria: 100
530                 blocking: false
531                 description: >-
532                     This test case deploys an OpenSource vIMS solution from
533                     Clearwater using the Cloudify orchestrator. It also runs
534                     some signaling traffic.
535                 dependencies:
536                     - DEPLOY_SCENARIO: 'os-.*-nofeature-.*ha'
537                 run:
538                     name: cloudify_ims
539
540             -
541                 case_name: heat_ims
542                 project_name: functest
543                 criteria: 100
544                 blocking: false
545                 description: >-
546                     This test case deploys an OpenSource vIMS solution from
547                     Clearwater using the OpenStack Heat orchestrator.
548                     It also runs some signaling traffic.
549                 run:
550                     name: heat_ims
551
552             -
553                 case_name: vyos_vrouter
554                 project_name: functest
555                 criteria: 100
556                 blocking: false
557                 description: >-
558                     This test case is vRouter testing.
559                 run:
560                     name: vyos_vrouter
561
562             -
563                 case_name: juju_epc
564                 project_name: functest
565                 criteria: 100
566                 blocking: false
567                 description: >-
568                     vEPC validation with Juju as VNF manager and ABoT as test
569                     executor.
570                 run:
571                     name: juju_epc