diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-26 13:17:35 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-26 16:34:41 +0100 |
commit | 194243e30ece72895088bdcfd7db6185a34a36d9 (patch) | |
tree | 2a6b55a30eb96bbf3c527b69aa8430d88d3d30a6 /docker | |
parent | 475f7e09f84c668ca54e9d8365e6da45be9a0ef3 (diff) |
Complete tempest_full for CNTT Compliance
It forbids skipping any test and counts the testcases executed.
It mosly avoids running tests accoring to the upstream skip tests
(known bugs), related to nova-network, glance v1, keystone v2 and
all features defined as optional by CNTT.
It fixes an issue highlighted by yallint.
Close cntt-n/CNTT#624
Change-Id: Ib4678cb9e9fc37b16fcf21d8418931eae0f667d0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 21a0708799bd0fa61e086dc6f1c0f35c1450b55c)
Diffstat (limited to 'docker')
-rw-r--r-- | docker/smoke-cntt/tempest_conf.yaml | 10 | ||||
-rw-r--r-- | docker/smoke-cntt/testcases.yaml | 26 |
2 files changed, 31 insertions, 5 deletions
diff --git a/docker/smoke-cntt/tempest_conf.yaml b/docker/smoke-cntt/tempest_conf.yaml index 288abed73..5277a4849 100644 --- a/docker/smoke-cntt/tempest_conf.yaml +++ b/docker/smoke-cntt/tempest_conf.yaml @@ -1,6 +1,6 @@ --- compute: - max_microversion: latest + max_microversion: 2.79 compute-feature-enabled: attach_encrypted_volume: false block_migration_for_live_migration: false @@ -20,6 +20,10 @@ compute-feature-enabled: rdp_console: false rescue: true resize: true + scheduler_available_filters: "RetryFilter,AvailabilityZoneFilter,\ + ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,\ + ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SameHostFilter,\ + DifferentHostFilter" serial_console: false shelve: true snapshot: true @@ -46,9 +50,9 @@ image-feature-enabled: api_v2: true api_v1: false placement: - max_microversion: latest + max_microversion: 1.36 volume: - max_microversion: latest + max_microversion: 3.59 storage_protocol: ceph manage_volume_ref: source-name,volume-%s manage_snapshot_ref: source-name,snapshot-%s diff --git a/docker/smoke-cntt/testcases.yaml b/docker/smoke-cntt/testcases.yaml index 87bb5a7f9..b6e3dc999 100644 --- a/docker/smoke-cntt/testcases.yaml +++ b/docker/smoke-cntt/testcases.yaml @@ -21,7 +21,8 @@ tiers: run: name: tempest_common args: - mode: "(?!.*test_logging)(?!.*test_logging_negative)\ + mode: "(?!.*test_logging)\ + (?!.*test_logging_negative)\ (?!.*test_network_segment_range)\ (?!.*test_ports.PortTestCasesResourceRequest)\ (?!.*test_conntrack_helper)\ @@ -111,6 +112,8 @@ tiers: project_name: functest criteria: 100 blocking: false + deny_skipping: true + tests_count: 1295 description: >- The list of test cases is generated by Tempest automatically and depends on the parameters of @@ -119,11 +122,23 @@ tiers: run: name: tempest_common args: - mode: "(?!.*test_fixed_ips)(?!.*test_fixed_ips_negative)\ + mode: "(?!.*test_fixed_ips)\ + (?!.*test_fixed_ips_negative)\ + (?!.*test_auto_allocate_network)(?!.*test_floating_ips_bulk)\ + (?!.*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)\ + (?!.*certificates.test_certificates)\ (?!.*test_quotas_negative.QuotasSecurityGroupAdminNegativeTest)\ + (?!.*test_novnc)(?!.*test_server_personality)\ + (?!.*test_servers.ServerShowV263Test.test_show_update_rebuild_list_server)\ + (?!.*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_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)\ @@ -138,7 +153,14 @@ tiers: (?!.*identity.admin.v2)(?!.*identity.v2)\ (?!.*image.v1)\ (?!.*test_metering_extensions)(?!.*network.test_tags)\ + (?!.*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_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_extend.VolumesExtendAttachedTest.test_extend_attached_volume)\ (?!.*\\[.*\\bslow\\b.*\\])(^tempest.api)" option: - '--concurrency=4' |