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:32:00 +0100 |
commit | 3518c21fd094e0b82cff65f9bdf3cb964aa724e8 (patch) | |
tree | cea89b4086339636d4861cda6f97065ffb1a33ed /docker | |
parent | 11b8000b3d1077f52fd0ff66a8148b4a54951749 (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 | 4 | ||||
-rw-r--r-- | docker/smoke-cntt/testcases.yaml | 26 |
2 files changed, 28 insertions, 2 deletions
diff --git a/docker/smoke-cntt/tempest_conf.yaml b/docker/smoke-cntt/tempest_conf.yaml index 13e001238..4b8927026 100644 --- a/docker/smoke-cntt/tempest_conf.yaml +++ b/docker/smoke-cntt/tempest_conf.yaml @@ -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 diff --git a/docker/smoke-cntt/testcases.yaml b/docker/smoke-cntt/testcases.yaml index 8b4214123..6a1d2318f 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_floating_ips.FloatingIPPoolTestJSON)\ @@ -106,6 +107,8 @@ tiers: project_name: functest criteria: 100 blocking: false + deny_skipping: true + tests_count: 1293 description: >- The list of test cases is generated by Tempest automatically and depends on the parameters of @@ -114,11 +117,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)\ @@ -133,7 +148,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' |