aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke-cntt/testcases.yaml
blob: ab734449b2d0ad380644754010e1a636e9cf3da7 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
---
tiers:
    -
        name: smoke
        order: 1
        description: >-
            Set of basic Functional tests to validate the OPNFV scenarios.
        testcases:
            -
                case_name: neutron-tempest-plugin-api-cntt
                project_name: functest
                criteria: 100
                blocking: false
                deny_skipping: true
                tests_count: 501
                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.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.SubnetPoolsSearchCriteriaTest.test_list_validation_filters)\
                            (?!.*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: 7
                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: 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: 1283
                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_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)\
                          (?!.*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_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'

            -
                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_network_v6)\
                          (?!.*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: 36
                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_container_sync.ContainerSyncTest.test_container_synchronization)\
                          (?!.*test_encrypted_cinder_volumes)\
                          (?!.*test_minbw_allocation_placement)\
                          (?!.*test_network_basic_ops.TestNetworkBasicOps.test_router_rescheduling)\
                          (?!.*test_network_v6)\
                          (?!.*test_volume_migrate_attached)\
                          (?!.*test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_cold_migration_revert)\
                          (?=.*\\[.*\\bslow\\b.*\\])(^tempest.)"
                        option:
                            - '--concurrency=1'