forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_config.yaml
424 lines (407 loc) · 13.4 KB
/
test_config.yaml
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
# This file defines the list of tests whose definition and Prow configurations
# that can be generated automatically.
#
# The name of the test job in this file must satisfy a predefined format, which
# consists of several dimensions, such as cloud provider, OS image name,
# Kubernetes version and test suites. The definition of each dimension is
# provided separately from the job definition. A tool can automatically generate
# the test definition and Prow configuration from the test name by pulling the
# configs of each dimension in the test name and assembling them together.
#
# E.g., for test "ci-kubernetes-e2e-gce-ubuntu1-k8sdev-serial", its
# configuration will be generated from the configs of cloud provider "gce", the
# image "ubuntu1", the Kubernetes version "k8sdev" and the test suite "serial".
# To generate the test definitions and Prow configurations from this file:
#
# bazel run //releng:generate_tests -- \
# --yaml-config-path=releng/test_config.yaml
# Supported tests:
#
# * cluster e2e test
# The name starts with "ci-kubernetes-e2e-" and must satisfy the following
# format:
# ci-kubernetes-e2e-<cloudProvider>-<image>-<k8sVersion>-<testSuite>
#
# * node e2e test
# The name starts with "ci-kubernetes-e2enode-" and must satisfy the
# following format:
# ci-kubernetes-e2enode-<nodeImage>-<nodeK8sVersion>-<nodeTestSuite>
# The envs and args defined in "jobs" override the ones defined in each
# dimension.
jobs:
# GCE e2e tests
# release branch jobs - cos only (cvm is deprecated at 1.8)
# beta release (inactive)
ci-kubernetes-e2e-gce-cos-k8sbeta-reboot:
interval: 1h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sbeta-ingress:
interval: 1h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sbeta-default:
args:
- --env=ENABLE_POD_SECURITY_POLICY=true
- --env=ENABLE_CACHE_MUTATION_DETECTOR=true
interval: 1h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sbeta-serial:
interval: 1h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sbeta-slow:
interval: 1h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sbeta-alphafeatures:
interval: 1h
args:
- --env=KUBE_PROXY_DAEMONSET=true
- --env=ENABLE_POD_PRIORITY=true
- --env=KUBE_FEATURE_GATES=AllAlpha=true,CSIMigration=false,InTreePluginGCEUnregister=false
# Panic if anything mutates a shared informer cache
- --env=ENABLE_CACHE_MUTATION_DETECTOR=true
- --runtime-config=api/all=true
- --test_args=--ginkgo.focus=\[Feature:(Audit|BlockVolume|PodPreset|ExpandCSIVolumes|ExpandInUseVolumes)\]|Networking
--ginkgo.skip=\[Feature:(SCTPConnectivity|Volumes|Networking-Performance|Networking-IPv6)\]|csi-hostpath-v0
--minStartupPods=8
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
# stable1
ci-kubernetes-e2e-gce-cos-k8sstable1-reboot:
interval: 2h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sstable1-ingress:
interval: 2h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sstable1-default:
args:
- --env=ENABLE_POD_SECURITY_POLICY=true
interval: 2h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable1-serial:
interval: 2h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable1-slow:
interval: 2h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable1-alphafeatures:
interval: 2h
args:
- --env=KUBE_PROXY_DAEMONSET=true
- --env=ENABLE_POD_PRIORITY=true
# TODO(hasheddan): add "InTreePluginGCEUnregister=false" to feature gates when this 1.21 reaches k8sstable1
- --env=KUBE_FEATURE_GATES=AllAlpha=true,CSIMigration=false
# Panic if anything mutates a shared informer cache
- --env=ENABLE_CACHE_MUTATION_DETECTOR=true
- --runtime-config=api/all=true
- --test_args=--ginkgo.focus=\[Feature:(Audit|BlockVolume|PodPreset|ExpandCSIVolumes|ExpandInUseVolumes)\]|Networking
--ginkgo.skip=\[Feature:(SCTPConnectivity|Volumes|Networking-Performance|Networking-IPv6)\]|csi-hostpath-v0
--minStartupPods=8
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
# stable2
ci-kubernetes-e2e-gce-cos-k8sstable2-reboot:
interval: 6h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sstable2-ingress:
interval: 6h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sstable2-default:
interval: 6h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable2-serial:
interval: 6h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable2-slow:
interval: 6h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable2-alphafeatures:
interval: 6h
args:
- --env=KUBE_PROXY_DAEMONSET=true
- --env=ENABLE_POD_PRIORITY=true
# TODO(hasheddan): add "InTreePluginGCEUnregister=false" to feature gates when this 1.21 reaches k8sstable2
- --env=KUBE_FEATURE_GATES=AllAlpha=true,CSIMigration=false
# Panic if anything mutates a shared informer cache
- --env=ENABLE_CACHE_MUTATION_DETECTOR=true
- --runtime-config=api/all=true
- --test_args=--ginkgo.focus=\[Feature:(Audit|BlockVolume|PodPreset|ExpandCSIVolumes|ExpandInUseVolumes)\]|Networking
--ginkgo.skip=Networking-Performance|IPv6|Feature:Volumes --minStartupPods=8
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
# stable3
ci-kubernetes-e2e-gce-cos-k8sstable3-ingress:
interval: 24h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sstable3-reboot:
interval: 24h
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
ci-kubernetes-e2e-gce-cos-k8sstable3-default:
interval: 24h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable3-serial:
interval: 24h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable3-slow:
interval: 24h
sigOwners: [sig-cloud-provider-gcp]
releaseInforming: true
testgridNumFailuresToAlert: 6
ci-kubernetes-e2e-gce-cos-k8sstable3-alphafeatures:
interval: 24h
args:
- --env=KUBE_PROXY_DAEMONSET=true
- --env=ENABLE_POD_PRIORITY=true
# TODO(hasheddan): add "InTreePluginGCEUnregister=false" to feature gates when this 1.21 reaches k8sstable3
- --env=KUBE_FEATURE_GATES=AllAlpha=true,CSIMigration=false
# Panic if anything mutates a shared informer cache
- --env=ENABLE_CACHE_MUTATION_DETECTOR=true
- --runtime-config=api/all=true
sigOwners: [sig-cloud-provider-gcp]
releaseBlocking: true
# The following settings are used by cluster e2e tests.
common:
args:
- --cluster=test-${job_name_hash}
cloudProviders:
gce:
args:
- --check-leaked-resources
- --provider=gce
- --gcp-zone=us-west1-b
gke:
args:
- --check-leaked-resources
- --provider=gke
- --deployment=gke
- --gcp-zone=us-west1-c
- --gcp-cloud-sdk=gs://cloud-sdk-testing/ci/staging
- --gke-environment=test
images:
cos1:
args:
- --image-family=cos-shielded-lts-1
- --image-project=gke-node-images-test
- --gcp-node-image=custom
testgrid_prefix: cos
cos2:
args:
- --image-family=cos-lts-2
- --image-project=gke-node-images-test
- --gcp-node-image=custom
testgrid_prefix: cos
ubuntu1:
args:
- --image-family=pipeline-1
- --image-project=ubuntu-os-gke-cloud-devel
- --gcp-node-image=custom
testgrid_prefix: canonical
ubuntu2:
args:
- --image-family=pipeline-2
- --image-project=ubuntu-os-gke-cloud-devel
- --gcp-node-image=custom
testgrid_prefix: canonical
cos:
args:
- --gcp-node-image=gci
k8sVersions:
dev:
args:
- --extract=ci/latest
- --extract-ci-bucket=k8s-release-dev
version: master
beta:
args:
- --extract=ci/latest-1.21
- --extract-ci-bucket=k8s-release-dev
version: '1.21'
stable1:
args:
- --extract=ci/latest-1.20
- --extract-ci-bucket=k8s-release-dev
version: '1.20'
stable2:
args:
- --extract=ci/latest-1.19
- --extract-ci-bucket=k8s-release-dev
version: '1.19'
stable3:
args:
- --extract=ci/latest-1.18
- --extract-ci-bucket=k8s-release-dev
version: '1.18'
testSuites:
alphafeatures:
args:
- --timeout=180m
- --test_args=--ginkgo.focus=\[Feature:(ExternalTrafficLocalOnly|DynamicKubeletConfig)\]
--minStartupPods=8
cluster: k8s-infra-prow-build
default:
args:
- --timeout=120m
- --test_args=--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]
--minStartupPods=8
- --ginkgo-parallel=30
cluster: k8s-infra-prow-build
resources:
requests:
cpu: 2000m
memory: 6Gi
limits:
cpu: 2000m
memory: 6Gi
flaky:
args:
- --timeout=300m
- --test_args=--ginkgo.focus=\[Flaky\] --ginkgo.skip=\[Feature:.+\] --minStartupPods=8
cluster: k8s-infra-prow-build
ingress:
args:
- --timeout=150m
- --test_args=--ginkgo.focus=\[Feature:Ingress\] --minStartupPods=8
cluster: k8s-infra-prow-build
reboot:
args:
- --timeout=180m
- --test_args=--ginkgo.focus=\[Feature:Reboot\] --minStartupPods=8
cluster: k8s-infra-prow-build
serial:
args:
- --timeout=660m
- --test_args=--ginkgo.focus=\[Serial\]|\[Disruptive\] --ginkgo.skip=\[Flaky\]|\[Feature:.+\]
--minStartupPods=8
- --ginkgo-parallel=1
cluster: k8s-infra-prow-build
slow:
args:
- --timeout=150m
- --test_args=--ginkgo.focus=\[Slow\] --ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]
--minStartupPods=8
- --ginkgo-parallel=30
cluster: k8s-infra-prow-build
resources:
requests:
cpu: 1000m
memory: 6Gi
limits:
cpu: 1000m
memory: 6Gi
soak:
args:
- --check-version-skew=false
- --down=false
- --soak
- --test_args=--ginkgo.skip=\[Disruptive\]|\[Flaky\]|\[Feature:.+\] --clean-start=true
--minStartupPods=8
- --timeout=600m
- --up=false
stackdriver:
args:
- --test_args=--ginkgo.focus=\[Feature:StackdriverMonitoring\]|\[Feature:StackdriverCustomMetrics\]|\[Feature:StackdriverMetadataAgent\]
--minStartupPods=8
- --timeout=50m
updown:
args:
- --timeout=30m
- --test_args=--ginkgo.focus=\[k8s.io\]\sNetworking.*\[Conformance\] --minStartupPods=8
- --ginkgo-parallel
nosnat:
args:
- --timeout=40m
- --test_args=--ginkgo.focus=\[Feature:NoSNAT\] --minStartupPods=8
- --ginkgo-parallel=1
# The following settings are used by node e2e tests.
nodeCommon:
args:
- --deployment=node
- --node-tests=true
- --provider=gce
- --gcp-zone=us-west1-b
nodeImages:
cos1:
args:
- --image-family=cos-shielded-lts-1
- --image-project=gke-node-images-test
- --node-args=--instance-metadata=user-data<test/e2e_node/jenkins/gci-init.yaml,gci-update-strategy=update_disabled
testgrid_prefix: cos
cos2:
args:
- --image-family=cos-lts-2
- --image-project=gke-node-images-test
- --node-args=--instance-metadata=user-data<test/e2e_node/jenkins/gci-init.yaml,gci-update-strategy=update_disabled
testgrid_prefix: cos
ubuntu1:
args:
- --image-family=pipeline-1
- --image-project=ubuntu-os-gke-cloud-devel
testgrid_prefix: canonical
ubuntu2:
args:
- --image-family=pipeline-2
- --image-project=ubuntu-os-gke-cloud-devel
testgrid_prefix: canonical
nodeK8sVersions:
dev:
args:
- --repo=k8s.io/kubernetes=master
prowImage: gcr.io/k8s-testimages/kubekins-e2e:v20210302-a6bf478-master
beta:
args:
- --repo=k8s.io/kubernetes=release-1.21
prowImage: gcr.io/k8s-testimages/kubekins-e2e:v20210302-a6bf478-1.21
stable1:
args:
- --repo=k8s.io/kubernetes=release-1.20
prowImage: gcr.io/k8s-testimages/kubekins-e2e:v20210302-a6bf478-1.20
stable2:
args:
- --repo=k8s.io/kubernetes=release-1.19
prowImage: gcr.io/k8s-testimages/kubekins-e2e:v20210302-a6bf478-1.19
stable3:
args:
- --repo=k8s.io/kubernetes=release-1.18
prowImage: gcr.io/k8s-testimages/kubekins-e2e:v20210302-a6bf478-1.18
nodeTestSuites:
default:
args:
- --timeout=120m
- --test_args=--nodes=8 --skip="\[Flaky\]|\[Serial\]|\[NodeAlphaFeature:.+\]"
gkespec:
args:
- --node-args=--system-spec-name=gke
- --timeout=120m
- --test_args=--nodes=8 --skip="\[Flaky\]|\[Serial\]|\[NodeAlphaFeature:.+\]"
serial:
args:
- --timeout=300m
- --test_args=--nodes=1 --focus="\[Serial\]" --skip="\[Flaky\]|\[Benchmark\]|\[NodeAlphaFeature:.+\]"
- --node-test-args=--feature-gates=DynamicKubeletConfig=true