Skip to content

Commit d0c3fa8

Browse files
committed
SIG testing: alpha/beta "enabled" and "conformance" presubmits
We've had kind-alpha-beta-features and kind-beta-features jobs for a while. The original purpose was to run stable tests in a cluster with features enabled to detect when enabling those breaks stable functionality. Later the jobs were extended to also run all tests which should work in such a cluster. The kind-alpha-features job got removed recently because it's not necessarily a valid cluster configuration. What this adds for the both cluster configs is: - "-enabled": running only tests for on-by-default features, i.e. excluding tests for stable features. This matches the original purpose of the jobs. - "-enabled-conformance": restricts the test selection even further to only conformance tests. Both can eventually get promoted to release informing or even blocking. Only presubmits get added for now. If testing the jobs in a trial PR works, the corresponding periodics can be added.
1 parent b330127 commit d0c3fa8

File tree

2 files changed

+199
-0
lines changed

2 files changed

+199
-0
lines changed

config/jobs/kubernetes/sig-testing/kubernetes-kind-presubmits.yaml

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,99 @@ presubmits:
314314
cpu: 7
315315
memory: 9000Mi
316316

317+
- name: pull-kubernetes-e2e-kind-beta-enabled
318+
cluster: k8s-infra-prow-build
319+
annotations:
320+
description: Runs tests with no special requirements in a KinD cluster where beta feature gates and APIs are enabled, i.e. this does not include tests for off-by-default beta features.
321+
testgrid-num-failures-to-alert: '10'
322+
testgrid-alert-stale-results-hours: '24'
323+
testgrid-create-test-group: 'true'
324+
optional: true
325+
always_run: false
326+
decorate: true
327+
skip_branches:
328+
- release-\d+\.\d+ # per-release settings
329+
labels:
330+
preset-dind-enabled: "true"
331+
decoration_config:
332+
timeout: 60m
333+
grace_period: 15m
334+
path_alias: k8s.io/kubernetes
335+
spec:
336+
containers:
337+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
338+
command:
339+
- wrapper.sh
340+
- bash
341+
- -c
342+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
343+
env:
344+
- name: FEATURE_GATES
345+
value: '{"AllBeta":true}'
346+
- name: RUNTIME_CONFIG
347+
value: '{"api/beta":"true", "api/ga":"true"}'
348+
- name: LABEL_FILTER
349+
value: "Feature: isEmpty && !Deprecated && !Slow && !Disruptive && !Flaky"
350+
- name: PARALLEL
351+
value: "true"
352+
# we need privileged mode in order to do docker in docker
353+
securityContext:
354+
privileged: true
355+
resources:
356+
limits:
357+
cpu: 7
358+
memory: 9000Mi
359+
requests:
360+
cpu: 7
361+
memory: 9000Mi
362+
363+
- name: pull-kubernetes-e2e-kind-beta-enabled-conformance
364+
cluster: k8s-infra-prow-build
365+
annotations:
366+
description: Runs conformance tests in a KinD cluster where beta feature gates and APIs are enabled.
367+
testgrid-num-failures-to-alert: '10'
368+
testgrid-alert-stale-results-hours: '24'
369+
testgrid-create-test-group: 'true'
370+
optional: true
371+
always_run: false
372+
decorate: true
373+
skip_branches:
374+
- release-\d+\.\d+ # per-release settings
375+
labels:
376+
preset-dind-enabled: "true"
377+
decoration_config:
378+
timeout: 60m
379+
grace_period: 15m
380+
path_alias: k8s.io/kubernetes
381+
spec:
382+
containers:
383+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
384+
command:
385+
- wrapper.sh
386+
- bash
387+
- -c
388+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
389+
env:
390+
- name: FEATURE_GATES
391+
value: '{"AllBeta":true}'
392+
- name: RUNTIME_CONFIG
393+
value: '{"api/beta":"true", "api/ga":"true"}'
394+
- name: LABEL_FILTER
395+
value: "Conformance && !Deprecated && !Slow && !Disruptive && !Flaky"
396+
>>>>>>> d04977a147 (SIG testing: alpha/beta "enabled" and "conformance" presubmits)
397+
- name: PARALLEL
398+
value: "true"
399+
# we need privileged mode in order to do docker in docker
400+
securityContext:
401+
privileged: true
402+
resources:
403+
limits:
404+
cpu: 7
405+
memory: 9000Mi
406+
requests:
407+
cpu: 7
408+
memory: 9000Mi
409+
317410
- name: pull-kubernetes-e2e-kind-alpha-beta-features
318411
annotations:
319412
description: Runs tests with no special requirements other than alpha or beta feature gates in a KinD cluster where alpha and beta feature gates and APIs are enabled.
@@ -361,6 +454,100 @@ presubmits:
361454
cpu: 7
362455
memory: 9000Mi
363456

457+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled
458+
annotations:
459+
description: Runs tests with no special requirements in a KinD cluster where alpha and beta feature gates and APIs are enabled, i.e. this does not include tests for alpha features and off-by-default beta features.
460+
testgrid-num-failures-to-alert: '10'
461+
testgrid-alert-stale-results-hours: '24'
462+
testgrid-create-test-group: 'true'
463+
cluster: k8s-infra-prow-build
464+
optional: true
465+
run_if_changed: ^pkg/features/
466+
decorate: true
467+
skip_branches:
468+
- release-\d+\.\d+ # per-release settings
469+
labels:
470+
preset-dind-enabled: "true"
471+
decoration_config:
472+
timeout: 60m
473+
grace_period: 15m
474+
path_alias: k8s.io/kubernetes
475+
spec:
476+
containers:
477+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
478+
command:
479+
- wrapper.sh
480+
- bash
481+
- -c
482+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
483+
env:
484+
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
485+
- name: FEATURE_GATES
486+
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
487+
- name: RUNTIME_CONFIG
488+
value: '{"api/all":"true"}'
489+
- name: LABEL_FILTER
490+
value: "Feature: isEmpty && !Deprecated && !Slow && !Disruptive && !Flaky"
491+
- name: PARALLEL
492+
value: "true"
493+
# we need privileged mode in order to do docker in docker
494+
securityContext:
495+
privileged: true
496+
resources:
497+
limits:
498+
cpu: 7
499+
memory: 9000Mi
500+
requests:
501+
cpu: 7
502+
memory: 9000Mi
503+
504+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled-conformance
505+
annotations:
506+
description: Runs conformance tests in a KinD cluster where alpha and beta feature gates and APIs are enabled.
507+
testgrid-num-failures-to-alert: '10'
508+
testgrid-alert-stale-results-hours: '24'
509+
testgrid-create-test-group: 'true'
510+
cluster: k8s-infra-prow-build
511+
optional: true
512+
run_if_changed: ^pkg/features/
513+
decorate: true
514+
skip_branches:
515+
- release-\d+\.\d+ # per-release settings
516+
labels:
517+
preset-dind-enabled: "true"
518+
decoration_config:
519+
timeout: 60m
520+
grace_period: 15m
521+
path_alias: k8s.io/kubernetes
522+
spec:
523+
containers:
524+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
525+
command:
526+
- wrapper.sh
527+
- bash
528+
- -c
529+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
530+
env:
531+
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
532+
- name: FEATURE_GATES
533+
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
534+
- name: RUNTIME_CONFIG
535+
value: '{"api/all":"true"}'
536+
- name: LABEL_FILTER
537+
value: "Conformance && !Deprecated && !Slow && !Disruptive && !Flaky"
538+
- name: PARALLEL
539+
value: "true"
540+
# we need privileged mode in order to do docker in docker
541+
securityContext:
542+
privileged: true
543+
resources:
544+
limits:
545+
cpu: 7
546+
memory: 9000Mi
547+
requests:
548+
cpu: 7
549+
memory: 9000Mi
550+
364551
- name: pull-kubernetes-e2e-kind-alpha-beta-features-race
365552
annotations:
366553
description: Runs tests with no special requirements other than alpha or beta feature gates in a KinD cluster where alpha and beta feature gates and APIs are enabled and control plane components are built with race detection.

config/testgrids/kubernetes/presubmits/config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,21 @@ dashboards:
107107
- name: pull-kubernetes-e2e-kind-beta-features
108108
test_group_name: pull-kubernetes-e2e-kind-beta-features
109109
base_options: width=10
110+
- name: pull-kubernetes-e2e-kind-beta-enabled
111+
test_group_name: pull-kubernetes-e2e-kind-beta-enabled
112+
base_options: width=10
113+
- name: pull-kubernetes-e2e-kind-beta-enabled-conformance
114+
test_group_name: pull-kubernetes-e2e-kind-beta-enabled-conformance
115+
base_options: width=10
110116
- name: pull-kubernetes-e2e-kind-alpha-beta-features
111117
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-features
112118
base_options: width=10
119+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled
120+
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-enabled
121+
base_options: width=10
122+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled-conformance
123+
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-enabled-conformance
124+
base_options: width=10
113125
- name: pull-kubernetes-e2e-kind-alpha-beta-features-race
114126
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-features-race
115127
base_options: width=10

0 commit comments

Comments
 (0)