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