summaryrefslogtreecommitdiffstats
path: root/samples/cachestat.yaml
blob: 2dc621be3aa0539ebf02b52433ae906c63261493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
##############################################################################
# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
# Sample benchmark task config file
# Reading cache hit/miss ratio and usage statistics

schema: "yardstick:task:0.1"

scenarios:
-
  type: CACHEstat
  options:
    interval: 1

  host: kratos.demo

  runner:
    type: Duration
    duration: 60

context:
  name: demo
  image: yardstick-image
  flavor: yardstick-flavor
  user: ubuntu

  servers:
    kratos:
      floating_ip: true

  networks:
    test:
      cidr: '10.0.1.0/24'
} /* Name.Variable.Instance */ .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */ } @media (prefers-color-scheme: light) { .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
---
tiers:
    -
        name: smoke_cntt
        order: 2
        description: >-
            Set of basic Functional tests to validate the OPNFV scenarios.
        testcases:
            -
                case_name: tempest_neutron_cntt
                project_name: functest
                criteria: 100
                blocking: false
                deny_skipping: true
                tests_count: 515
                description: >-
                    This test case runs the Tempest suite proposed by the
                    Neutron project. The list of test cases is generated by
                    Tempest automatically and depends on the parameters of
                    the OpenStack deployment.
                run:
                    name: tempest_common
                    args:
                        mode: "(?!.*admin.test_agent_availability_zone)\
                            (?!.*admin.test_dhcp_agent_scheduler)\
                            (?!.*admin.test_l3_agent_scheduler)\
                            (?!.*admin.test_logging)\
                            (?!.*admin.test_logging_negative)\
                            (?!.*admin.test_network_segment_range)\
                            (?!.*admin.test_ports.PortTestCasesAdmin.test_regenerate_mac_address)\
                            (?!.*admin.test_ports.PortTestCasesResourceRequest)\
                            (?!.*admin.test_routers_dvr)\
                            (?!.*admin.test_routers_flavors)\
                            (?!.*admin.test_routers_ha)\
                            (?!.*test_conntrack_helper)\
                            (?!.*test_floating_ips.FloatingIPPoolTestJSON)\
                            (?!.*test_floating_ips.FloatingIPTestJSON.test_create_update_floatingip_port_details)\
                            (?!.*test_metering_extensions)\
                            (?!.*test_metering_negative)\
                            (?!.*test_networks.NetworksSearchCriteriaTest.test_list_validation_filters)\
                            (?!.*test_networks.NetworksTestAdmin.test_create_tenant_network_vxlan)\
                            (?!.*test_networks.NetworksTestJSON.test_create_update_network_dns_domain)\
                            (?!.*test_port_forwardings)\
                            (?!.*test_ports.PortsTaggingOnCreation)\
                            (?!.*test_ports.PortsTestJSON.test_create_port_with_propagate_uplink_status)\
                            (?!.*test_ports.PortsTestJSON.test_create_port_without_propagate_uplink_status)\
                            (?!.*test_ports.PortsTestJSON.test_create_update_port_with_dns_domain)\
                            (?!.*test_ports.PortsTestJSON.test_create_update_port_with_dns_name)\
                            (?!.*test_ports.PortsTestJSON.test_create_update_port_with_no_dns_name)\
                            (?!.*test_qos.QosMinimumBandwidthRuleTestJSON)\
                            (?!.*test_revisions.TestRevisions.test_update_dns_domain_bumps_revision)\
                            (?!.*test_revisions.TestRevisions.test_update_router_extra_attributes_bumps_revision)\
                            (?!.*test_router_interface_fip)\
                            (?!.*test_routers.DvrRoutersTest)\
                            (?!.*test_routers.HaRoutersTest)\
                            (?!.*test_routers.RoutersIpV6Test.test_extra_routes_atomic)\
                            (?!.*test_routers.RoutersTest.test_extra_routes_atomic)\
                            (?!.*test_routers_negative.DvrRoutersNegativeTest)\
                            (?!.*test_routers_negative.DvrRoutersNegativeTestExtended)\
                            (?!.*test_routers_negative.HaRoutersNegativeTest)\
                            (?!.*test_security_groups.RbacSharedSecurityGroupTest)\
                            (?!.*test_subnetpool_prefix_ops)\
                            (?!.*test_subnetpools.RbacSubnetPoolTest)\
                            (?!.*test_subnetpools.SubnetPoolsSearchCriteriaTest.test_list_validation_filters)\
                            (?!.*test_subnetpools_negative.SubnetPoolsNegativeTestJSON.test_tenant_create_subnetpool_associate_shared_address_scope)\
                            (?!.*test_subnets.SubnetsSearchCriteriaTest.test_list_validation_filters)\
                            (?!.*test_timestamp.TestTimeStamp.test_segment_with_timestamp)\
                            (?!.*test_trunk.TrunkTestInheritJSONBase.test_add_subport)\
                            (?!.*test_trunk.TrunkTestMtusJSON)\
                            (?!.*test_trunk_negative.TrunkTestJSON.test_create_subport_invalid_inherit_network_segmentation_type)\
                            (?!.*test_trunk_negative.TrunkTestMtusJSON)\
                            (^neutron_tempest_plugin.api)"
                        option:
                            - '--concurrency=4'

            -
                case_name: tempest_cinder_cntt
                project_name: functest
                criteria: 100
                blocking: false
                deny_skipping: true
                tests_count: 8
                description: >-
                    This test case runs the Tempest suite proposed by the
                    Cinder project.
                run:
                    name: tempest_common
                    args:
                        mode: "(?!.*test_incremental_backup)\
                            (?!.*test_consistencygroups)\
                            (^cinder_tempest_plugin.)"
                        option:
                            - '--concurrency=4'

            -
                case_name: tempest_keystone_cntt
                project_name: functest
                criteria: 100
                blocking: false
                deny_skipping: true
                tests_count: 27
                description: >-
                    This test case runs the Tempest suite proposed by the
                    Keystone project.
                run:
                    name: tempest_common
                    args:
                        mode: "(?!.*api.identity.v3.test_oauth1_tokens)\
                            (?!.*scenario.test_federated_authentication)\
                            keystone_tempest_plugin."
                        option:
                            - '--concurrency=4'

            -
                case_name: tempest_heat_cntt
                project_name: functest
                criteria: 100
                blocking: false
                deny_skipping: true
                tests_count: 112
                description: >-
                    This test case runs the Tempest suite proposed by the
                    Heat project.
                run:
                    name: tempest_heat
                    args:
                        mode: "(?!.*functional.test_lbaasv2)\
                          (?!.*functional.test_encryption_vol_type)\
                          (?!.*functional.test_remote_stack.RemoteStackTest)\
                          (?!.*RemoteStackTest.test_stack_create_with_cloud_credential)\
                          (?!.*scenario.test_aodh_alarm)\
                          (?!.*tests.scenario.test_autoscaling_lb)\
                          (?!.*scenario.test_autoscaling_lbv2)\
                          (?!.*scenario.test_remote_deeply_nested.RemoteDeeplyNestedStackTest)\
                          (?!.*scenario.test_server_software_config)\
                          (?!.*test_volumes.VolumeBackupRestoreIntegrationTest)\
                          (?!.*scenario.test_octavia_lbaas)\
                          (?!.*scenario.test_server_cfn_init)\
                          ^heat_tempest_plugin.tests"
                        option:
                            - '--concurrency=1'

            -
                case_name: rally_sanity_cntt
                project_name: functest
                criteria: 100
                blocking: false
                description: >-
                    This test case runs a sub group of tests of the OpenStack
                    Rally suite in smoke mode.
                run:
                    name: rally_sanity
                    args:
                        tests:
                            - 'authenticate'
                            - 'glance'
                            - 'cinder'
                            - 'heat'
                            - 'keystone'
                            - 'neutron'
                            - 'nova'
                            - 'quotas'
                            - 'swift'

            -
                case_name: tempest_full_cntt
                project_name: functest
                criteria: 100
                blocking: false
                deny_skipping: true
                tests_count: 1279
                description: >-
                    The list of test cases is generated by
                    Tempest automatically and depends on the parameters of
                    the OpenStack deployment.
                    https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L83
                run:
                    name: tempest_common
                    args:
                        mode: "(?!.*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_volume_backed_live_migration)\
                          (?!.*test_live_migration.LiveMigrationTest.test_iscsi_volume)\
                          (?!.*test_live_migration.LiveMigrationTest.test_volume_backed_live_migration)\
                          (?!.*test_live_migration.LiveMigrationRemoteConsolesV26Test)\
                          (?!.*test_quotas.QuotasAdminTestV257)\
                          (?!.*certificates.test_certificates)\
                          (?!.*test_quotas_negative.QuotasSecurityGroupAdminNegativeTest)\
                          (?!.*test_novnc)(?!.*test_server_personality)\
                          (?!.*test_servers.ServerShowV263Test.test_show_update_rebuild_list_server)\
                          (?!.*test_servers_microversions.ServerShowV254Test)\
                          (?!.*test_servers_microversions.ServerShowV257Test)\
                          (?!.*test_servers_negative.ServersNegativeTestJSON.test_personality_file_contents_not_encoded)\
                          (?!.*servers.test_virtual_interfaces)\
                          (?!.*test_server_actions.ServerActionsTestJSON.test_change_server_password)\
                          (?!.*test_server_actions.ServerActionsTestJSON.test_get_vnc_console)\
                          (?!.*test_server_actions.ServerActionsTestJSON.test_reboot_server_soft)\
                          (?!.*test_server_rescue.ServerBootFromVolumeStableRescueTest)\
                          (?!.*test_server_rescue.ServerStableDeviceRescueTest)\
                          (?!.*test_security_group_default_rules)\
                          (?!.*test_security_groups_negative.SecurityGroupsNegativeTestJSON.test_security_group_create_with_duplicate_name)\
                          (?!.*test_security_groups_negative.SecurityGroupsNegativeTestJSON.test_security_group_create_with_invalid_group_description)\
                          (?!.*test_security_groups_negative.SecurityGroupsNegativeTestJSON.test_security_group_create_with_invalid_group_name)\
                          (?!.*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_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)\
                          (?!.*image.v1)\
                          (?!.*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_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)\
                          (?!.*test_volumes_negative.UpdateMultiattachVolumeNegativeTest.test_multiattach_rw_volume_update_failure)\
                          (?!.*test_volumes_extend.VolumesExtendAttachedTest.test_extend_attached_volume)\
                          (?!.*\\[.*\\bslow\\b.*\\])(^tempest.api)"
                        option:
                            - '--concurrency=4'

            -
                case_name: tempest_scenario_cntt
                project_name: functest
                criteria: 100
                blocking: false
                deny_skipping: true
                tests_count: 9
                description: >-
                    The list of test cases is generated by
                    Tempest automatically and depends on the parameters of
                    the OpenStack deployment.
                    https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
                run:
                    name: tempest_scenario
                    args:
                        mode: "\
                          (?!.*test_volume_boot_pattern.TestVolumeBootPattern.test_boot_server_from_encrypted_volume_luks)\
                          (?!.*\\[.*\\bslow\\b.*\\])(^tempest.scenario)"
                        option:
                            - '--concurrency=1'

            -
                case_name: tempest_slow_cntt
                project_name: functest
                criteria: 100
                blocking: false
                deny_skipping: true
                tests_count: 43
                description: >-
                    The list of test cases is generated by
                    Tempest automatically and depends on the parameters of
                    the OpenStack deployment.
                    https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L84
                run:
                    name: tempest_common
                    args:
                        mode: "(?!.*test_volume_swap)\
                          (?!.*test_server_personality)\
                          (?!.*test_server_rescue.ServerBootFromVolumeStableRescueTest)\
                          (?!.*test_container_sync.ContainerSyncTest.test_container_synchronization)\
                          (?!.*test_container_sync_middleware.ContainerSyncMiddlewareTest.test_container_synchronization)\
                          (?!.*test_encrypted_cinder_volumes)\
                          (?!.*test_minbw_allocation_placement)\
                          (?!.*test_network_basic_ops.TestNetworkBasicOps.test_router_rescheduling)\
                          (?!.*test_volume_migrate_attached)\
                          (?!.*test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_cold_migration_revert)\
                          (?=.*\\[.*\\bslow\\b.*\\])(^tempest.)"
                        option:
                            - '--concurrency=1'