Skip to content

Commit 583db29

Browse files
authored
Merge pull request #35440 from pohly/cluster-race-detection
sig-testing: add pull-kubernetes-e2e-kind-alpha-beta-features-race
2 parents 4c23e79 + cabdcec commit 583db29

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

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

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,66 @@ presubmits:
414414
cpu: 7
415415
memory: 9000Mi
416416

417+
- name: pull-kubernetes-e2e-kind-alpha-beta-features-race
418+
annotations:
419+
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.
420+
testgrid-num-failures-to-alert: '10'
421+
testgrid-alert-stale-results-hours: '24'
422+
testgrid-create-test-group: 'true'
423+
cluster: k8s-infra-prow-build
424+
optional: true
425+
decorate: true
426+
skip_branches:
427+
- release-\d+\.\d+ # per-release settings
428+
labels:
429+
preset-dind-enabled: "true"
430+
decoration_config:
431+
timeout: 60m
432+
grace_period: 15m
433+
path_alias: k8s.io/kubernetes
434+
spec:
435+
containers:
436+
- image: gcr.io/k8s-staging-test-infra/krte:v20250815-171060767f-master
437+
command:
438+
- wrapper.sh
439+
- bash
440+
- -c
441+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
442+
env:
443+
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
444+
- name: FEATURE_GATES
445+
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
446+
- name: RUNTIME_CONFIG
447+
value: '{"api/all":"true"}'
448+
- name: LABEL_FILTER
449+
value: "Feature: isSubsetOf OffByDefault && !Deprecated && !Slow && !Disruptive && !Flaky"
450+
- name: SKIP
451+
value: PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
452+
- name: PARALLEL
453+
value: "true"
454+
# -race gets injected into the build of dynamically linked binaries during "kind build node-image".
455+
- name: KUBE_RACE
456+
value: -race
457+
# Normally control plane components are linked statically, which does not work with -race (needs CGO).
458+
# We need to override the default for components of interest.
459+
- name: KUBE_CGO_OVERRIDES
460+
value: kube-apiserver kube-controller-manager kube-scheduler
461+
# KUBE_GORUNNER_IMAGE is the default for the images of those components.
462+
# We need something with libc. The same kubekins as for the job is used
463+
# because it is expected to get updated automatically.
464+
- name: KUBE_GORUNNER_IMAGE
465+
value: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250815-171060767f-master
466+
# we need privileged mode in order to do docker in docker
467+
securityContext:
468+
privileged: true
469+
resources:
470+
limits:
471+
cpu: 7
472+
memory: 9000Mi
473+
requests:
474+
cpu: 7
475+
memory: 9000Mi
476+
417477
- name: pull-kubernetes-e2e-kind-evented-pleg
418478
cluster: k8s-infra-prow-build
419479
optional: true

config/testgrids/kubernetes/presubmits/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ dashboards:
113113
- name: pull-kubernetes-e2e-kind-alpha-beta-features
114114
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-features
115115
base_options: width=10
116+
- name: pull-kubernetes-e2e-kind-alpha-beta-features-race
117+
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-features-race
118+
base_options: width=10
116119
- name: pull-kubernetes-e2e-gce-cos-alpha-features
117120
test_group_name: pull-kubernetes-e2e-gce-cos-alpha-features
118121
base_options: width=10

0 commit comments

Comments
 (0)