File tree Expand file tree Collapse file tree 4 files changed +42
-0
lines changed
config/jobs/kubernetes/sig-node Expand file tree Collapse file tree 4 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,12 @@ presubmits:
352
352
# including all unsupportd kubelet versions in a deny list.
353
353
kubelet_label_filter=" && ! KubeletMinVersion: containsAny { $( for v in $(seq $((previous_minor + 1)) $((minor - 1))); do echo "1.$v, "; done)1.$minor }"
354
354
355
+ # Running tests which only cover control plane behavior are not useful
356
+ # in a kubelet version skew job. We can filter them out by including
357
+ # only tests which have the DynamicResourceAllocation feature because
358
+ # only those cover kubelet behavior.
359
+ kubelet_label_filter+=" && Feature: contains DynamicResourceAllocation"
360
+
355
361
KUBECONFIG=${HOME}/.kube/config ${ginkgo} run --nodes=8 --timeout=24h --silence-skips --force-newlines --no-color --label-filter="DRA && Feature: isSubsetOf { OffByDefault, DynamicResourceAllocation }$kubelet_label_filter && !Alpha && !Flaky && !Slow" ${e2e_test} -- -provider=local -report-dir="${ARTIFACTS}" -report-complete-ginkgo -report-complete-junit &
356
362
GINKGO_E2E_PID=$!
357
363
wait "${GINKGO_E2E_PID}"
@@ -459,6 +465,12 @@ presubmits:
459
465
# including all unsupportd kubelet versions in a deny list.
460
466
kubelet_label_filter=" && ! KubeletMinVersion: containsAny { $( for v in $(seq $((previous_minor + 1)) $((minor - 1))); do echo "1.$v, "; done)1.$minor }"
461
467
468
+ # Running tests which only cover control plane behavior are not useful
469
+ # in a kubelet version skew job. We can filter them out by including
470
+ # only tests which have the DynamicResourceAllocation feature because
471
+ # only those cover kubelet behavior.
472
+ kubelet_label_filter+=" && Feature: contains DynamicResourceAllocation"
473
+
462
474
KUBECONFIG=${HOME}/.kube/config ${ginkgo} run --nodes=8 --timeout=24h --silence-skips --force-newlines --no-color --label-filter="DRA && Feature: isSubsetOf { OffByDefault, DynamicResourceAllocation }$kubelet_label_filter && !Alpha && !Flaky && !Slow" ${e2e_test} -- -provider=local -report-dir="${ARTIFACTS}" -report-complete-ginkgo -report-complete-junit &
463
475
GINKGO_E2E_PID=$!
464
476
wait "${GINKGO_E2E_PID}"
Original file line number Diff line number Diff line change @@ -272,6 +272,12 @@ periodics:
272
272
# including all unsupportd kubelet versions in a deny list.
273
273
kubelet_label_filter=" && ! KubeletMinVersion: containsAny { $( for v in $(seq $((previous_minor + 1)) $((minor - 1))); do echo "1.$v, "; done)1.$minor }"
274
274
275
+ # Running tests which only cover control plane behavior are not useful
276
+ # in a kubelet version skew job. We can filter them out by including
277
+ # only tests which have the DynamicResourceAllocation feature because
278
+ # only those cover kubelet behavior.
279
+ kubelet_label_filter+=" && Feature: contains DynamicResourceAllocation"
280
+
275
281
KUBECONFIG=${HOME}/.kube/config ${ginkgo} run --nodes=8 --timeout=24h --silence-skips --force-newlines --no-color --label-filter="DRA && Feature: isSubsetOf { OffByDefault, DynamicResourceAllocation }$kubelet_label_filter && !Alpha && !Flaky" ${e2e_test} -- -provider=local -report-dir="${ARTIFACTS}" -report-complete-ginkgo -report-complete-junit &
276
282
GINKGO_E2E_PID=$!
277
283
wait "${GINKGO_E2E_PID}"
@@ -383,6 +389,12 @@ periodics:
383
389
# including all unsupportd kubelet versions in a deny list.
384
390
kubelet_label_filter=" && ! KubeletMinVersion: containsAny { $( for v in $(seq $((previous_minor + 1)) $((minor - 1))); do echo "1.$v, "; done)1.$minor }"
385
391
392
+ # Running tests which only cover control plane behavior are not useful
393
+ # in a kubelet version skew job. We can filter them out by including
394
+ # only tests which have the DynamicResourceAllocation feature because
395
+ # only those cover kubelet behavior.
396
+ kubelet_label_filter+=" && Feature: contains DynamicResourceAllocation"
397
+
386
398
KUBECONFIG=${HOME}/.kube/config ${ginkgo} run --nodes=8 --timeout=24h --silence-skips --force-newlines --no-color --label-filter="DRA && Feature: isSubsetOf { OffByDefault, DynamicResourceAllocation }$kubelet_label_filter && !Alpha && !Flaky" ${e2e_test} -- -provider=local -report-dir="${ARTIFACTS}" -report-complete-ginkgo -report-complete-junit &
387
399
GINKGO_E2E_PID=$!
388
400
wait "${GINKGO_E2E_PID}"
Original file line number Diff line number Diff line change @@ -359,6 +359,12 @@ presubmits:
359
359
# including all unsupportd kubelet versions in a deny list.
360
360
kubelet_label_filter=" && ! KubeletMinVersion: containsAny { $( for v in $(seq $((previous_minor + 1)) $((minor - 1))); do echo "1.$v, "; done)1.$minor }"
361
361
362
+ # Running tests which only cover control plane behavior are not useful
363
+ # in a kubelet version skew job. We can filter them out by including
364
+ # only tests which have the DynamicResourceAllocation feature because
365
+ # only those cover kubelet behavior.
366
+ kubelet_label_filter+=" && Feature: contains DynamicResourceAllocation"
367
+
362
368
KUBECONFIG=${HOME}/.kube/config ${ginkgo} run --nodes=8 --timeout=24h --silence-skips --force-newlines --no-color --label-filter="DRA && Feature: isSubsetOf { OffByDefault, DynamicResourceAllocation }$kubelet_label_filter && !Alpha && !Flaky && !Slow" ${e2e_test} -- -provider=local -report-dir="${ARTIFACTS}" -report-complete-ginkgo -report-complete-junit &
363
369
GINKGO_E2E_PID=$!
364
370
wait "${GINKGO_E2E_PID}"
@@ -468,6 +474,12 @@ presubmits:
468
474
# including all unsupportd kubelet versions in a deny list.
469
475
kubelet_label_filter=" && ! KubeletMinVersion: containsAny { $( for v in $(seq $((previous_minor + 1)) $((minor - 1))); do echo "1.$v, "; done)1.$minor }"
470
476
477
+ # Running tests which only cover control plane behavior are not useful
478
+ # in a kubelet version skew job. We can filter them out by including
479
+ # only tests which have the DynamicResourceAllocation feature because
480
+ # only those cover kubelet behavior.
481
+ kubelet_label_filter+=" && Feature: contains DynamicResourceAllocation"
482
+
471
483
KUBECONFIG=${HOME}/.kube/config ${ginkgo} run --nodes=8 --timeout=24h --silence-skips --force-newlines --no-color --label-filter="DRA && Feature: isSubsetOf { OffByDefault, DynamicResourceAllocation }$kubelet_label_filter && !Alpha && !Flaky && !Slow" ${e2e_test} -- -provider=local -report-dir="${ARTIFACTS}" -report-complete-ginkgo -report-complete-junit &
472
484
GINKGO_E2E_PID=$!
473
485
wait "${GINKGO_E2E_PID}"
Original file line number Diff line number Diff line change @@ -230,6 +230,12 @@ presubmits:
230
230
# generating `! KubeletMinVersion: containsAny { 1.33, 1.34 }`, i.e.
231
231
# including all unsupportd kubelet versions in a deny list.
232
232
kubelet_label_filter=" && ! KubeletMinVersion: containsAny { $( for v in $(seq $((previous_minor + 1)) $((minor - 1))); do echo "1.$v, "; done)1.$minor }"
233
+
234
+ # Running tests which only cover control plane behavior are not useful
235
+ # in a kubelet version skew job. We can filter them out by including
236
+ # only tests which have the DynamicResourceAllocation feature because
237
+ # only those cover kubelet behavior.
238
+ kubelet_label_filter+=" && Feature: contains DynamicResourceAllocation"
233
239
{%- endif %}
234
240
235
241
KUBECONFIG=${HOME}/.kube/config ${ginkgo} run --nodes=8 --timeout=24h --silence-skips --force-newlines --no-color --label-filter="DRA && Feature: isSubsetOf { OffByDefault, DynamicResourceAllocation } {%- if kubelet_skew|int > 0 %}$kubelet_label_filter{%- endif %} {%- if not all_features %} && !Alpha {%- endif %} && !Flaky {%- if not ci and not allow_slow %} && !Slow {%- endif %}" ${e2e_test} -- -provider=local -report-dir="${ARTIFACTS}" -report-complete-ginkgo -report-complete-junit &
You can’t perform that action at this time.
0 commit comments