Generate Neutron policy.json (Patrole)
[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                             - 'network'
266                         excludes:
267                             - 'network.test_flavors_rbac'
268                             - 'network.test_network_ip_availability_rbac'
269                             - 'test_networks_multiprovider_rbac'
270                             - 'test_auto_allocated_topology_rbac'
271
272             -
273                 case_name: snaps_smoke
274                 project_name: functest
275                 criteria: 100
276                 blocking: false
277                 description: >-
278                     This test case contains tests that setup and destroy
279                     environments with VMs with and without Floating IPs
280                     with a newly created user and project. Set the config
281                     value snaps.use_floating_ips (True|False) to toggle
282                     this functionality. When the config value of
283                     snaps.use_keystone is True, functest must have access to
284                     the cloud's private network.
285                 run:
286                     name: snaps_smoke
287
288             -
289                 case_name: neutron_trunk
290                 project_name: functest
291                 criteria: 100
292                 blocking: false
293                 description: >-
294                     This test case runs the neutron trunk subtest of the
295                     OpenStack Tempest suite. The list of test cases is
296                     generated by Tempest having as input the relevant
297                     testcase list file.
298                 run:
299                     name: tempest_common
300                     args:
301                         mode: 'neutron_tempest_plugin.(api|scenario).test_trunk'
302                         neutron_extensions:
303                             - trunk
304                             - trunk-details
305
306             -
307                 case_name: networking-bgpvpn
308                 project_name: functest
309                 criteria: 100
310                 blocking: false
311                 description: >-
312                     This test case runs OpenStack networking-bgpvpn Tempest
313                     suite. The list of test cases is generated by Tempest
314                     having as input the relevant regex.
315                 run:
316                     name: tempest_common
317                     args:
318                         mode: '^networking_bgpvpn_tempest\.'
319                         neutron_extensions:
320                             - bgpvpn
321                         option:
322                             - '--concurrency=4'
323
324             -
325                 case_name: networking-sfc
326                 project_name: functest
327                 criteria: 100
328                 blocking: false
329                 description: >-
330                     This test case runs OpenStack networking-sfc Tempest
331                     suite. The list of test cases is generated by Tempest
332                     having as input the relevant regex.
333                 run:
334                     name: tempest_common
335                     args:
336                         mode:
337                             '^(?:networking_sfc\.tests\.tempest_plugin.tests.api).*$'
338                         neutron_extensions:
339                             - sfc
340                         option:
341                             - '--concurrency=0'
342
343             -
344                 case_name: barbican
345                 project_name: functest
346                 criteria: 100
347                 blocking: false
348                 description: >-
349                     It leverages on the tempest plugin containing tests used to
350                     verify the functionality of a barbican installation.
351                 run:
352                     name: barbican
353                     args:
354                         mode:
355                             '^barbican_tempest_plugin.((?!test_signed_image_upload_boot_failure).)*$'
356                         services:
357                             - barbican
358
359     -
360         name: benchmarking
361         order: 2
362         description: >-
363             Run several OpenStack performance tools
364             https://docs.openstack.org/performance-docs/latest/methodologies/tools.html
365         testcases:
366             -
367                 case_name: vmtp
368                 project_name: functest
369                 criteria: 100
370                 blocking: false
371                 description: >-
372                     VMTP is a small python application that will automatically
373                     perform ping connectivity, round trip time measurement
374                     (latency) and TCP/UDP throughput
375                 dependencies:
376                     - POD_ARCH: '^(?!aarch64$)'
377                 run:
378                     name: vmtp
379
380             -
381                 case_name: shaker
382                 project_name: functest
383                 criteria: 100
384                 blocking: false
385                 description: >-
386                     Shaker wraps around popular system network testing tools
387                     like iperf, iperf3 and netperf (with help of flent). Shaker
388                     is able to deploy OpenStack instances and networks in
389                     different topologies.
390                 run:
391                     name: shaker
392
393     -
394         name: features
395         order: 3
396         description: >-
397             Test suites from feature projects
398             integrated in functest
399         testcases:
400             -
401                 case_name: doctor-notification
402                 project_name: doctor
403                 enabled: false
404                 criteria: 100
405                 blocking: false
406                 description: >-
407                     Test suite from Doctor project.
408                 dependencies:
409                     - INSTALLER_TYPE: '(apex)|(fuel)|(daisy)'
410                     - DEPLOY_SCENARIO: '^((?!fdio|nofeature).)*$'
411                 run:
412                     name: bashfeature
413                     args:
414                         cmd: 'doctor-test'
415
416             -
417                 case_name: bgpvpn
418                 project_name: sdnvpn
419                 enabled: false
420                 criteria: 100
421                 blocking: false
422                 description: >-
423                     Test suite from SDNVPN project.
424                 dependencies:
425                     - DEPLOY_SCENARIO: 'bgpvpn'
426                 run:
427                     name: bgpvpn
428
429             -
430                 case_name: functest-odl-sfc
431                 project_name: sfc
432                 enabled: false
433                 criteria: 100
434                 blocking: false
435                 description: >-
436                     Test suite for odl-sfc to test two chains with one SF and
437                     one chain with two SFs
438                 dependencies:
439                     - DEPLOY_SCENARIO: 'odl.*sfc'
440                 run:
441                     name: functest-odl-sfc
442
443             -
444                 case_name: barometercollectd
445                 project_name: barometer
446                 enabled: false
447                 criteria: 100
448                 blocking: false
449                 description: >-
450                     Test suite for the Barometer project. Separate tests verify
451                     the proper configuration and basic functionality of all the
452                     collectd plugins as described in the Project Release Plan
453                 dependencies:
454                     - DEPLOY_SCENARIO: 'bar'
455                 run:
456                     name: barometercollectd
457
458             -
459                 case_name: fds
460                 project_name: fastdatastacks
461                 enabled: false
462                 criteria: 100
463                 blocking: false
464                 description: >-
465                     Test Suite for the OpenDaylight SDN Controller when GBP
466                     features are installed. It integrates some test suites from
467                     upstream using Robot as the test framework.
468                 dependencies:
469                     - DEPLOY_SCENARIO: 'odl.*-fdio'
470                 run:
471                     name: odl
472                     args:
473                         suites:
474                             - /src/fds/testing/robot
475             -
476                 case_name: vgpu
477                 project_name: functest
478                 criteria: 100
479                 blocking: false
480                 description: >-
481                     Test suite for the OpenStack vGPU feature
482                 dependencies:
483                     - DEPLOY_SCENARIO: 'vgpu'
484                 run:
485                     name: vgpu
486
487             -
488                 case_name: stor4nfv_os
489                 project_name: stor4nfv
490                 enabled: false
491                 criteria: 100
492                 blocking: false
493                 description: >-
494                     This tests are necessary demonstrate conformance
495                     of the OpenStack+Stor4NFV deployment.
496                 dependencies:
497                     - DEPLOY_SCENARIO: 'stor4nfv'
498                 run:
499                     name: stor4nfv_os
500
501     -
502         name: components
503         order: 4
504         description: >-
505             Extensive testing of OpenStack API.
506         testcases:
507             -
508                 case_name: tempest_full
509                 project_name: functest
510                 criteria: 100
511                 blocking: false
512                 description: >-
513                     The list of test cases is generated by
514                     Tempest automatically and depends on the parameters of
515                     the OpenStack deployment.
516                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L83
517                 run:
518                     name: tempest_common
519                     args:
520                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'
521                         option:
522                             - '--concurrency=4'
523
524             -
525                 case_name: tempest_scenario
526                 project_name: functest
527                 criteria: 100
528                 blocking: false
529                 description: >-
530                     The list of test cases is generated by
531                     Tempest automatically and depends on the parameters of
532                     the OpenStack deployment.
533                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
534                 run:
535                     name: tempest_common
536                     args:
537                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)'
538                         option:
539                             - '--concurrency=1'
540
541             -
542                 case_name: rally_full
543                 project_name: functest
544                 criteria: 100
545                 blocking: false
546                 description: >-
547                     This test case runs the full suite of scenarios of the
548                     OpenStack Rally suite using several threads and iterations.
549                 run:
550                     name: rally_full
551
552     -
553         name: vnf
554         order: 5
555         description: >-
556             Collection of VNF test cases.
557         testcases:
558             -
559                 case_name: cloudify
560                 project_name: functest
561                 criteria: 100
562                 blocking: false
563                 description: >-
564                     This test case deploys the Cloudify orchestrator.
565                 run:
566                     name: cloudify
567             -
568                 case_name: cloudify_ims
569                 project_name: functest
570                 criteria: 100
571                 blocking: false
572                 description: >-
573                     This test case deploys an OpenSource vIMS solution from
574                     Clearwater using the Cloudify orchestrator. It also runs
575                     some signaling traffic.
576                 dependencies:
577                     - DEPLOY_SCENARIO: 'os-.*-nofeature-.*ha'
578                 run:
579                     name: cloudify_ims
580
581             -
582                 case_name: heat_ims
583                 project_name: functest
584                 criteria: 100
585                 blocking: false
586                 description: >-
587                     This test case deploys an OpenSource vIMS solution from
588                     Clearwater using the OpenStack Heat orchestrator.
589                     It also runs some signaling traffic.
590                 run:
591                     name: heat_ims
592
593             -
594                 case_name: vyos_vrouter
595                 project_name: functest
596                 criteria: 100
597                 blocking: false
598                 description: >-
599                     This test case is vRouter testing.
600                 run:
601                     name: vyos_vrouter
602
603             -
604                 case_name: juju_epc
605                 project_name: functest
606                 criteria: 100
607                 blocking: false
608                 description: >-
609                     vEPC validation with Juju as VNF manager and ABoT as test
610                     executor.
611                 run:
612                     name: juju_epc