Filter test_policy_minimum_bandwidth_rule_rbac in Patrole
[functest.git] / functest / ci / testcases.yaml
index 97ad057..a5e2653 100644 (file)
@@ -2,7 +2,6 @@
 tiers:
     -
         name: healthcheck
-        order: 0
         description: >-
             First tier to be executed to verify the basic
             operations in the VIM.
@@ -28,6 +27,8 @@ tiers:
                     It creates and configures all tenant network ressources
                     required by advanced testcases (subnet, network and
                     router).
+                dependencies:
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: tenantnetwork1
 
@@ -40,6 +41,8 @@ tiers:
                     It creates new user/project before creating and configuring
                     all tenant network ressources required by a testcase
                     (subnet, network and router).
+                dependencies:
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: tenantnetwork2
 
@@ -174,13 +177,12 @@ tiers:
                 dependencies:
                     - DASHBOARD_URL: '^(?!\s*$).+'
                 run:
-                    name: tempest_horizon
+                    name: tempest_common
                     args:
-                        mode: '^tempest_horizon.'
+                        mode: '^tempest.scenario.test_dashboard_basic_ops.'
 
     -
         name: smoke
-        order: 1
         description: >-
             Set of basic Functional tests to validate the OPNFV scenarios.
         testcases:
@@ -212,8 +214,10 @@ tiers:
                 run:
                     name: tempest_common
                     args:
-                        mode:
-                            '(?!.*test_incremental_backup)(^cinder_tempest_plugin.)'
+                        mode: "(?!.*test_incremental_backup)\
+                            (?!.*test_backup_crossproject_admin_negative)\
+                            (?!.*test_backup_crossproject_user_negative)\
+                            (^cinder_tempest_plugin.)"
                         option:
                             - '--concurrency=4'
 
@@ -287,11 +291,11 @@ tiers:
                 project_name: functest
                 criteria: 100
                 blocking: false
-                deny_skipping: true
-                tests_count: 222
                 description: >-
                     This test case runs a sub group of tests of the OpenStack
                     Compute testcases.
+                dependencies:
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: refstack
                     args:
@@ -321,11 +325,11 @@ tiers:
                 project_name: functest
                 criteria: 100
                 blocking: false
-                deny_skipping: true
-                tests_count: 278
                 description: >-
                     This test case runs a sub group of tests of the OpenStack
                     Platform testcases.
+                dependencies:
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: refstack
                     args:
@@ -361,7 +365,7 @@ tiers:
                     the OpenStack deployment.
                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
                 run:
-                    name: tempest_scenario
+                    name: tempest_common
                     args:
                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)'
                         option:
@@ -394,23 +398,34 @@ tiers:
                 run:
                     name: patrole
                     args:
-                        role: 'admin'
-                        includes:
-                            - 'image'
-                            - 'network'
-                        excludes:
-                            - 'network.test_flavors_rbac'
-                            - 'network.test_network_ip_availability_rbac'
-                            - 'test_networks_multiprovider_rbac'
-                            - 'test_auto_allocated_topology_rbac'
-                            - 'test_create_network_provider_segmentation_id'
-                            - 'test_update_network_provider_physical_network'
-                            - 'test_update_network_provider_segmentation_id'
-                            - 'network.test_agents_rbac'
-                            - 'test_list_metadef_namespaces'
+                        roles: 'admin'
+                        mode: "(?!.*test_unmanage_snapshot_rbac)\
+                          (?!.*test_show_auto_allocated_topology)\
+                          (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*test_create_network_provider_segmentation_id)\
+                          (?!.*compute.test_floating_ips_rbac)\
+                          (?!.*test_reset_network)\
+                          (?!.*test_create_image_from_volume_backed_server)\
+                          (?!.*test_network_ip_availability_rbac.NetworkIpAvailabilityExtRbacTest.test_get_network_ip_availabilities)\
+                          (?!.*test_policy_bandwidth_limit_rule_rbac)\
+                          (?!.*test_policy_minimum_bandwidth_rule_rbac)\
+                          (?!.*test_group_type_specs)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_create_group_type)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_delete_group_type)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_update_group_type)\
+                          (?!.*test_quota_classes_rbac)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_delete_volume_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_list_volumes_details_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_show_volume_details_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_update_volume_image_metadata)\
+                          (?!.*test_volume_types_rbac)\
+                          (?=.*[.*\bslow\b.*])\
+                          (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
+                        option:
+                            - '--concurrency=4'
 
             -
-                case_name: patrole_user
+                case_name: patrole_member
                 project_name: functest
                 criteria: 100
                 blocking: false
@@ -419,20 +434,31 @@ tiers:
                 run:
                     name: patrole
                     args:
-                        role: 'user'
-                        includes:
-                            - 'image'
-                            - 'network'
-                        excludes:
-                            - 'network.test_flavors_rbac'
-                            - 'network.test_network_ip_availability_rbac'
-                            - 'test_networks_multiprovider_rbac'
-                            - 'test_auto_allocated_topology_rbac'
-                            - 'test_create_network_provider_segmentation_id'
-                            - 'test_update_network_provider_physical_network'
-                            - 'test_update_network_provider_segmentation_id'
-                            - 'network.test_agents_rbac'
-                            - 'test_list_metadef_namespaces'
+                        roles: 'member'
+                        mode: "(?!.*test_unmanage_snapshot_rbac)\
+                          (?!.*test_show_auto_allocated_topology)\
+                          (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*test_create_network_provider_segmentation_id)\
+                          (?!.*compute.test_floating_ips_rbac)\
+                          (?!.*test_reset_network)\
+                          (?!.*test_create_image_from_volume_backed_server)\
+                          (?!.*test_network_ip_availability_rbac.NetworkIpAvailabilityExtRbacTest.test_get_network_ip_availabilities)\
+                          (?!.*test_policy_bandwidth_limit_rule_rbac)\
+                          (?!.*test_policy_minimum_bandwidth_rule_rbac)\
+                          (?!.*test_group_type_specs)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_create_group_type)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_delete_group_type)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_update_group_type)\
+                          (?!.*test_quota_classes_rbac)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_delete_volume_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_list_volumes_details_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_show_volume_details_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_update_volume_image_metadata)\
+                          (?!.*test_volume_types_rbac)\
+                          (?=.*[.*\bslow\b.*])\
+                          (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
+                        option:
+                            - '--concurrency=4'
 
             -
                 case_name: patrole_reader
@@ -444,20 +470,31 @@ tiers:
                 run:
                     name: patrole
                     args:
-                        role: 'reader'
-                        includes:
-                            - 'image'
-                            - 'network'
-                        excludes:
-                            - 'network.test_flavors_rbac'
-                            - 'network.test_network_ip_availability_rbac'
-                            - 'test_networks_multiprovider_rbac'
-                            - 'test_auto_allocated_topology_rbac'
-                            - 'test_create_network_provider_segmentation_id'
-                            - 'test_update_network_provider_physical_network'
-                            - 'test_update_network_provider_segmentation_id'
-                            - 'network.test_agents_rbac'
-                            - 'test_list_metadef_namespaces'
+                        roles: 'reader'
+                        mode: "(?!.*test_unmanage_snapshot_rbac)\
+                          (?!.*test_show_auto_allocated_topology)\
+                          (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*test_create_network_provider_segmentation_id)\
+                          (?!.*compute.test_floating_ips_rbac)\
+                          (?!.*test_reset_network)\
+                          (?!.*test_create_image_from_volume_backed_server)\
+                          (?!.*test_network_ip_availability_rbac.NetworkIpAvailabilityExtRbacTest.test_get_network_ip_availabilities)\
+                          (?!.*test_policy_bandwidth_limit_rule_rbac)\
+                          (?!.*test_policy_minimum_bandwidth_rule_rbac)\
+                          (?!.*test_group_type_specs)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_create_group_type)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_delete_group_type)\
+                          (?!.*test_groups_rbac.GroupTypesV3RbacTest.test_update_group_type)\
+                          (?!.*test_quota_classes_rbac)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_delete_volume_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_list_volumes_details_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_show_volume_details_image_metadata)\
+                          (?!.*test_volume_metadata_rbac.VolumeMetadataV3RbacTest.test_update_volume_image_metadata)\
+                          (?!.*test_volume_types_rbac)\
+                          (?=.*[.*\bslow\b.*])\
+                          (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
+                        option:
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_barbican
@@ -498,9 +535,25 @@ tiers:
                         option:
                             - '--concurrency=2'
 
+            -
+                case_name: tempest_cyborg
+                project_name: functest
+                criteria: 100
+                blocking: false
+                description: >-
+                    It leverages on the tempest plugin containing tests used to
+                    verify the functionality of a cyborg installation.
+                run:
+                    name: tempest_common
+                    args:
+                        mode: '^cyborg_tempest_plugin'
+                        services:
+                            - cyborg
+                        option:
+                            - '--concurrency=4'
+
     -
         name: smoke_cntt
-        order: 2
         description: >-
             Set of basic Functional tests to validate the OPNFV scenarios.
         testcases:
@@ -510,7 +563,7 @@ tiers:
                 criteria: 100
                 blocking: false
                 deny_skipping: true
-                tests_count: 515
+                tests_count: 546
                 description: >-
                     This test case runs the Tempest suite proposed by the
                     Neutron project. The list of test cases is generated by
@@ -577,7 +630,7 @@ tiers:
                 criteria: 100
                 blocking: false
                 deny_skipping: true
-                tests_count: 8
+                tests_count: 10
                 description: >-
                     This test case runs the Tempest suite proposed by the
                     Cinder project.
@@ -586,6 +639,10 @@ tiers:
                     args:
                         mode: "(?!.*test_incremental_backup)\
                             (?!.*test_consistencygroups)\
+                            (?!.*test_backup_crossproject_admin_negative)\
+                            (?!.*test_backup_crossproject_user_negative)\
+                            (?!.*test_volume_encrypted.TestEncryptedCinderVolumes)\
+                            (?!.*rbac)\
                             (^cinder_tempest_plugin.)"
                         option:
                             - '--concurrency=4'
@@ -604,6 +661,7 @@ tiers:
                     name: tempest_common
                     args:
                         mode: "(?!.*api.identity.v3.test_oauth1_tokens)\
+                            (?!.*rbac)\
                             (?!.*scenario.test_federated_authentication)\
                             keystone_tempest_plugin."
                         option:
@@ -615,7 +673,7 @@ tiers:
                 criteria: 100
                 blocking: false
                 deny_skipping: true
-                tests_count: 120
+                tests_count: 125
                 description: >-
                     This test case runs the Tempest suite proposed by the
                     Heat project.
@@ -623,6 +681,7 @@ tiers:
                     name: tempest_heat
                     args:
                         mode: "(?!.*functional.test_lbaasv2)\
+                          (?!.*functional.test_encryption_vol_type)\
                           (?!.*RemoteStackTest.test_stack_create_with_cloud_credential)\
                           (?!.*scenario.test_aodh_alarm)\
                           (?!.*tests.scenario.test_autoscaling_lb)\
@@ -663,7 +722,7 @@ tiers:
                 criteria: 100
                 blocking: false
                 deny_skipping: true
-                tests_count: 1279
+                tests_count: 1269
                 description: >-
                     The list of test cases is generated by
                     Tempest automatically and depends on the parameters of
@@ -672,17 +731,22 @@ tiers:
                 run:
                     name: tempest_common
                     args:
-                        mode: "(?!.*test_fixed_ips)\
+                        mode: "(?!.*admin.test_agents)(?!.*test_fixed_ips)\
                           (?!.*test_fixed_ips_negative)\
                           (?!.*test_auto_allocate_network)(?!.*test_floating_ips_bulk)\
                           (?!.*test_flavors_microversions.FlavorsV255TestJSON)\
                           (?!.*test_flavors_microversions.FlavorsV261TestJSON)\
                           (?!.*test_live_migration.LiveAutoBlockMigrationV225Test.test_iscsi_volume)\
+                          (?!.*test_live_migration.LiveAutoBlockMigrationV225Test.test_live_block_migration)\
+                          (?!.*test_live_migration.LiveAutoBlockMigrationV225Test.test_live_block_migration_paused)\
                           (?!.*test_live_migration.LiveAutoBlockMigrationV225Test.test_volume_backed_live_migration)\
                           (?!.*test_live_migration.LiveMigrationTest.test_iscsi_volume)\
+                          (?!.*test_live_migration.LiveMigrationTest.test_live_block_migration)\
+                          (?!.*test_live_migration.LiveMigrationTest.test_live_block_migration_paused)\
                           (?!.*test_live_migration.LiveMigrationTest.test_volume_backed_live_migration)\
                           (?!.*test_live_migration.LiveMigrationRemoteConsolesV26Test)\
                           (?!.*test_quotas.QuotasAdminTestV257)\
+                          (?!.*test_servers.ServersAdminTestJSON.test_reset_network_inject_network_info)\
                           (?!.*certificates.test_certificates)\
                           (?!.*test_quotas_negative.QuotasSecurityGroupAdminNegativeTest)\
                           (?!.*test_novnc)(?!.*test_server_personality)\
@@ -703,21 +767,40 @@ tiers:
                           (?!.*test_security_groups_negative.SecurityGroupsNegativeTestJSON.test_update_security_group_with_invalid_sg_des)\
                           (?!.*test_security_groups_negative.SecurityGroupsNegativeTestJSON.test_update_security_group_with_invalid_sg_id)\
                           (?!.*test_security_groups_negative.SecurityGroupsNegativeTestJSON.test_update_security_group_with_invalid_sg_name)\
+                          (?!.*test_create_server.ServersTestFqdnHostnames.test_create_server_with_fqdn_name)\
+                          (?!.*test_server_metadata.ServerMetadataTestJSON)\
+                          (?!.*test_server_metadata_negative.ServerMetadataNegativeTestJSON.test_delete_metadata_non_existent_server)\
+                          (?!.*test_server_metadata_negative.ServerMetadataNegativeTestJSON.test_metadata_items_limit)\
+                          (?!.*test_server_metadata_negative.ServerMetadataNegativeTestJSON.test_set_metadata_invalid_key)\
+                          (?!.*test_server_metadata_negative.ServerMetadataNegativeTestJSON.test_set_metadata_non_existent_server)\
+                          (?!.*test_server_metadata_negative.ServerMetadataNegativeTestJSON.test_set_server_metadata_blank_key)\
+                          (?!.*test_server_metadata_negative.ServerMetadataNegativeTestJSON.test_set_server_metadata_missing_metadata)\
+                          (?!.*test_server_metadata_negative.ServerMetadataNegativeTestJSON.test_update_metadata_non_existent_server)\
+                          (?!.*test_server_metadata_negative.ServerMetadataNegativeTestJSON.test_update_metadata_with_blank_key)\
                           (?!.*test_list_server_filters.ListServerFiltersTestJSON.test_list_servers_filtered_by_ip_regex)\
                           (?!.*compute.test_virtual_interfaces)(?!.*compute.test_virtual_interfaces_negative)\
                           (?!.*compute.test_networks)\
                           (?!.*test_attach_volume.AttachVolumeMultiAttach)\
                           (?!.*identity.admin.v2)(?!.*identity.v2)\
+                          (?!.*identity.v3.test_access_rules)\
+                          (?!.*identity.v3.test_application_credentials.ApplicationCredentialsV3Test.test_create_application_credential_access_rules)\
                           (?!.*image.v1)\
+                          (?!.*image.v2.admin.test_images.ImportCopyImagesTest)\
+                          (?!.*image.v2.test_images_negative.ImagesNegativeTest.test_create_image_reserved_property)\
+                          (?!.*image.v2.test_images_negative.ImagesNegativeTest.test_update_image_reserved_property)\
+                          (?!.*image.v2.test_images_negative.ImportImagesNegativeTest.test_image_web_download_import_with_bad_url)\
+                          (?!.*image.v2.test_images.ImportImagesTest)\
+                          (?!.*image.v2.test_images.MultiStoresImportImages)\
                           (?!.*admin.test_dhcp_agent_scheduler)\
                           (?!.*admin.test_routers_dvr)\
                           (?!.*test_metering_extensions)(?!.*network.test_tags)\
                           (?!.*test_routers_negative.DvrRoutersNegativeTest)\
                           (?!.*test_routers.RoutersIpV6Test.test_create_router_set_gateway_with_fixed_ip)\
                           (?!.*test_routers.RoutersTest.test_create_router_set_gateway_with_fixed_ip)\
+                          (?!.*test_object_services.ObjectTest.test_create_object_with_transfer_encoding)\
+                          (?!.*test_encrypted_volumes_extend)\
                           (?!.*test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status)\
                           (?!.*test_multi_backend)\
-                          (?!.*test_snapshot_manage)\
                           (?!.*test_volume_retype.VolumeRetypeWithMigrationTest)\
                           (?!.*test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete)\
                           (?!.*test_volumes_backup.VolumesBackupsTest.test_volume_backup_create_get_detailed_list_restore_delete)\
@@ -733,7 +816,7 @@ tiers:
                 criteria: 100
                 blocking: false
                 deny_skipping: true
-                tests_count: 9
+                tests_count: 12
                 description: >-
                     The list of test cases is generated by
                     Tempest automatically and depends on the parameters of
@@ -743,6 +826,9 @@ tiers:
                     name: tempest_scenario
                     args:
                         mode: "\
+                          (?!.*test_minbw_allocation_placement)\
+                          (?!.*test_unified_limits.ImageQuotaTest.test_image_count_uploading_quota)\
+                          (?!.*test_unified_limits.ImageQuotaTest.test_image_stage_quota)\
                           (?!.*test_volume_boot_pattern.TestVolumeBootPattern.test_boot_server_from_encrypted_volume_luks)\
                           (?!.*\\[.*\\bslow\\b.*\\])(^tempest.scenario)"
                         option:
@@ -771,6 +857,7 @@ tiers:
                           (?!.*test_encrypted_cinder_volumes)\
                           (?!.*test_minbw_allocation_placement)\
                           (?!.*test_network_basic_ops.TestNetworkBasicOps.test_router_rescheduling)\
+                          (?!.*test_shelve_instance.TestShelveInstance.test_cold_migrate_unshelved_instance)\
                           (?!.*test_volume_migrate_attached)\
                           (?!.*test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_cold_migration_revert)\
                           (?=.*\\[.*\\bslow\\b.*\\])(^tempest.)"
@@ -779,7 +866,6 @@ tiers:
 
     -
         name: benchmarking
-        order: 3
         description: >-
             Run several OpenStack performance tools
             https://docs.openstack.org/performance-docs/latest/methodologies/tools.html
@@ -807,6 +893,8 @@ tiers:
                 description: >-
                     This test case runs a group of Rally jobs used in
                     OpenStack gating
+                dependencies:
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: rally_jobs
                     args:
@@ -823,7 +911,7 @@ tiers:
                     perform ping connectivity, round trip time measurement
                     (latency) and TCP/UDP throughput
                 dependencies:
-                    - POD_ARCH: '^(?!aarch64$)'
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: vmtp
 
@@ -838,13 +926,12 @@ tiers:
                     is able to deploy OpenStack instances and networks in
                     different topologies.
                 dependencies:
-                    - POD_ARCH: '^(?!aarch64$)'
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: shaker
 
     -
         name: benchmarking_cntt
-        order: 4
         description: >-
             Run several OpenStack performance tools
             https://docs.openstack.org/performance-docs/latest/methodologies/tools.html
@@ -887,7 +974,6 @@ tiers:
 
     -
         name: vnf
-        order: 5
         description: >-
             Collection of VNF test cases.
         testcases:
@@ -910,7 +996,7 @@ tiers:
                     Clearwater using the Cloudify orchestrator. It also runs
                     some signaling traffic.
                 dependencies:
-                    - DEPLOY_SCENARIO: 'os-.*-nofeature-.*ha'
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: cloudify_ims
 
@@ -923,6 +1009,8 @@ tiers:
                     This test case deploys an OpenSource vIMS solution from
                     Clearwater using the OpenStack Heat orchestrator.
                     It also runs some signaling traffic.
+                dependencies:
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: heat_ims
 
@@ -933,6 +1021,8 @@ tiers:
                 blocking: false
                 description: >-
                     This test case is vRouter testing.
+                dependencies:
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: vyos_vrouter
 
@@ -944,5 +1034,7 @@ tiers:
                 description: >-
                     vEPC validation with Juju as VNF manager and ABoT as test
                     executor.
+                dependencies:
+                    - NO_TENANT_NETWORK: '^(?![tT]rue$)'
                 run:
                     name: juju_epc