blob: 00b5c538b9c14b6855182ed671debbb7bce68fce [file] [log] [blame]
Mohammed Naserdd9bbd12023-01-18 02:52:43 +00001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10# See the License for the specific language governing permissions and
11# limitations under the License.
12
13# Default values for tempest.
14# This is a YAML-formatted file.
15# Declare name/value pairs to be passed into your templates.
16# name: value
17
18---
19labels:
20 job:
21 node_selector_key: openstack-control-plane
22 node_selector_value: enabled
23
24images:
25 tags:
26 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
27 tempest_run_tests: docker.io/openstackhelm/tempest:latest-ubuntu_xenial
28 ks_user: docker.io/openstackhelm/heat:ocata-ubuntu_xenial
29 image_repo_sync: docker.io/docker:17.07.0
30 pull_policy: "IfNotPresent"
31 local_registry:
32 active: false
33 exclude:
34 - dep_check
35 - image_repo_sync
36
37jobs:
38 run_tests:
39 backoffLimit: 6
40 restartPolicy: OnFailure
41
42pod:
43 user:
44 tempest:
45 uid: 1000
46 resources:
47 enabled: false
48 jobs:
49 ks_user:
50 requests:
51 memory: "128Mi"
52 cpu: "100m"
53 limits:
54 memory: "1024Mi"
55 cpu: "2000m"
56 run_tests:
57 requests:
58 memory: "128Mi"
59 cpu: "100m"
60 limits:
61 memory: "1024Mi"
62 cpu: "2000m"
63 image_repo_sync:
64 requests:
65 memory: "128Mi"
66 cpu: "100m"
67 limits:
68 memory: "1024Mi"
69 cpu: "2000m"
70
71dependencies:
72 dynamic:
73 common:
74 local_image_registry:
75 jobs:
76 - tempest-image-repo-sync
77 services:
78 - endpoint: node
79 service: local_image_registry
80 static:
81 ks_user:
82 services:
83 - service: identity
84 endpoint: internal
85 run_tests:
86 jobs:
87 - tempest-ks-user
88 services:
89 - service: identity
90 endpoint: internal
91 image_repo_sync:
92 services:
93 - endpoint: internal
94 service: local_image_registry
95
96helm3_hook: true
97
98conf:
99 script: |
100 tempest run --config-file /etc/tempest/tempest.conf -w 4 --smoke
101 # The following sections can be used to blacklist and whitelist specific tests.
102 # If either section is not empty, it will be used to create an entry in the
103 # tempest-etc configmap and will be mounted into the tempest-run-tests pod
104 # blacklist:
105 # - (?:tempest\.api\.identity\.admin\.v3\.test_groups\.GroupsV3TestJSON\.test_list_groups)
106 # - (?:tempest\.api\.image\.v2\.test_images\.ListSharedImagesTest\.test_list_images_param_member_status)
107 # - (?:tempest\.scenario\.test_encrypted_cinder_volumes\.TestEncryptedCinderVolumes\.test_encrypted_cinder_volumes_cryptsetup)
108 # - (?:tempest\.scenario\.test_encrypted_cinder_volumes\.TestEncryptedCinderVolumes\.test_encrypted_cinder_volumes_luks)
109 # - (?:tempest\.api\.network\.test_networks\.NetworksIpV6Test\.test_external_network_visibility)
110 # - (?:tempest\.api\.network\.test_networks\.NetworksTest\.test_external_network_visibility)
111 # - (?:tempest\.scenario\.test_network_v6\.TestGettingAddress\.test_dualnet_multi_prefix_slaac)
112 # - (?:tempest\.scenario\.test_network_v6\.TestGettingAddress\.test_dualnet_multi_prefix_dhcpv6_stateless)
113 # - (?:tempest\.scenario\.test_network_basic_ops\.TestNetworkBasicOps\.test_update_router_admin_state)
114 # - (?:tempest\.scenario\.test_network_basic_ops\.TestNetworkBasicOps\.test_router_rescheduling)
115 # - (?:tempest\.scenario\.test_network_basic_ops\.TestNetworkBasicOps\.test_update_instance_port_admin_state)
116 # whitelist:
117 # - (?:tempest\.api\.identity\.admin\.v3\.test_groups\.GroupsV3TestJSON\.test_list_groups)
118 # - (?:tempest\.api\.image\.v2\.test_images\.ListSharedImagesTest\.test_list_images_param_member_status)
119 # - (?:tempest\.scenario\.test_encrypted_cinder_volumes\.TestEncryptedCinderVolumes\.test_encrypted_cinder_volumes_cryptsetup)
120 # - (?:tempest\.scenario\.test_encrypted_cinder_volumes\.TestEncryptedCinderVolumes\.test_encrypted_cinder_volumes_luks)
121 # - (?:tempest\.api\.network\.test_networks\.NetworksIpV6Test\.test_external_network_visibility)
122 # - (?:tempest\.api\.network\.test_networks\.NetworksTest\.test_external_network_visibility)
123 # - (?:tempest\.scenario\.test_network_v6\.TestGettingAddress\.test_dualnet_multi_prefix_slaac)
124 # - (?:tempest\.scenario\.test_network_v6\.TestGettingAddress\.test_dualnet_multi_prefix_dhcpv6_stateless)
125 # - (?:tempest\.scenario\.test_network_basic_ops\.TestNetworkBasicOps\.test_update_router_admin_state)
126 # - (?:tempest\.scenario\.test_network_basic_ops\.TestNetworkBasicOps\.test_router_rescheduling)
127 # - (?:tempest\.scenario\.test_network_basic_ops\.TestNetworkBasicOps\.test_update_instance_port_admin_state)
128 tempest:
129 auth:
130 # admin_username value set by configmap-etc
131 admin_username: null
132 # admin_password value set by configmap-etc
133 admin_password: null
134 # admin_project_name value set by configmap-etc
135 admin_project_name: null
136 # admin_domain_name value set by configmap-etc
137 admin_domain_name: null
138 use_dynamic_credentials: true
139 dashboard: {}
140 identity:
141 admin_domain_scope: false
142 auth_version: v3
143 # region value set by configmap-etc
144 region: null
145 # uri_v3 value set by configmap-etc
146 uri_v3: null
147 identity-feature-enabled:
148 api_v3: true
149 # this value should be the same as the keystone chart conf.keystone.identity.domain_specific_drivers_enabled
150 domain_specific_drivers: true
151 image:
152 http_image: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
153 container_formats: bare
154 disk_formats: raw
155 network:
156 project_networks_reachable: false
157 shared_physical_network: true
158 network-feature-enabled:
159 floating_ips: true
160 api_extensions:
161 - default-subnetpools
162 - network-ip-availability
163 - network_availability_zone
164 - auto-allocated-topology
165 - ext-gw-mode
166 - binding
167 - agent
168 - subnet_allocation
169 - l3_agent_scheduler
170 - tag
171 - external-net
172 - flavors
173 - net-mtu
174 - availability_zone
175 - quotas
176 - l3-ha
177 - provider
178 - multi-provider
179 - address-scope
180 - extraroute
181 - subnet-service-types
182 - standard-attr-timestamp
183 - service-type
184 - l3-flavors
185 - port-security
186 - extra_dhcp_opt
187 - standard-attr-revisions
188 - pagination
189 - sorting
190 - security-group
191 - dhcp_agent_scheduler
192 - router_availability_zone
193 - rbac-policies
194 - standard-attr-description
195 - router
196 - allowed-address-pairs
197 - project-id
198 - dvr
199 service_available:
200 cinder: true
201 glance: true
202 # The following services are marked as unavailable by default. The default
203 # tempest image used includes a bug resulting in failed network tests that
204 # wasn't fixed in newton. Swift is disabled by default as the swift chart
205 # isn't complete
206 neutron: false
207 nova: false
208 swift: false
209 validation:
210 connect_method: floating
211 volume:
212 disk_formats: raw
213 backend_names: rbd1
214 storage_protocol: rbd
215 catalog_type: volumev3
216 cleanup:
217 force: false
218 enabled: true
219 tempest_logging:
220 loggers:
221 keys:
222 - root
223 - tempest
224 handlers:
225 keys:
226 - stdout
227 - "null"
228 formatters:
229 keys:
230 - tests
231 - default
232 logger_root:
233 level: DEBUG
234 handlers:
235 - 'null'
236 logger_tempest:
237 level: WARN
238 propagate: 0
239 handlers:
240 - stdout
241 qualname: tempest
242 handler_stdout:
243 class: StreamHandler
244 level: WARN
245 args: (sys.stdout,)
246 formatter: tests
247 handler_null:
248 class: logging.NullHandler
249 formatter: default
250 args: ()
251 formatter_tests:
252 class: oslo_log.formatters.ContextFormatter
253 datefmt: "%Y-%m-%d %H:%M:%S"
254 formatter_default:
255 format: "%(message)s"
256 datefmt: "%Y-%m-%d %H:%M:%S"
257
258
259pvc:
260 enabled: true
261 name: pvc-tempest
262 requests:
263 storage: 2Gi
264 storage_class: general
265
266secrets:
267 identity:
268 admin: tempest-keystone-admin
269 tempest: tempest-keystone-user
270
271endpoints:
272 cluster_domain_suffix: cluster.local
273 local_image_registry:
274 name: docker-registry
275 namespace: docker-registry
276 hosts:
277 default: localhost
278 internal: docker-registry
279 node: localhost
280 host_fqdn_override:
281 default: null
282 port:
283 registry:
284 node: 5000
285 identity:
286 name: keystone
287 auth:
288 admin:
289 region_name: RegionOne
290 username: admin
291 password: password
292 project_name: admin
293 user_domain_name: default
294 project_domain_name: default
295 tempest:
296 role: admin
297 region_name: RegionOne
298 username: tempest
299 password: password
300 project_name: service
301 user_domain_name: service
302 project_domain_name: service
303 hosts:
304 default: keystone
305 internal: keystone-api
306 host_fqdn_override:
307 default: null
308 path:
309 default: /v3
310 scheme:
311 default: http
312 port:
313 api:
314 default: 80
315 internal: 5000
316 dashboard:
317 name: horizon
318 hosts:
319 default: horizon-int
320 public: horizon
321 host_fqdn_override:
322 default: null
323 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
324 # endpoints using the following format:
325 # public:
326 # host: null
327 # tls:
328 # crt: null
329 # key: null
330 path:
331 default: null
332 scheme:
333 default: http
334 port:
335 web:
336 default: 80
337
338manifests:
339 configmap_bin: true
340 configmap_etc: true
341 job_image_repo_sync: true
342 job_ks_user: true
343 job_run_tests: true
344 secret_keystone: true
345...