❯ make test-e2e GOBIN=/Users/anahas/Github/forks/kueue-operator/kueue-operator/bin GO111MODULE=on go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo@v2.1.4 /Users/anahas/Github/forks/kueue-operator/kueue-operator/bin/ginkgo --keep-going --flake-attempts=1 --label-filter="gangscheduling" -v ./test/e2e/... Starting kueue operator suite Running Suite: e2e suite - /Users/anahas/Github/forks/kueue-operator/kueue-operator/test/e2e ============================================================================================ Random Seed: 1772056774 Will run 3 of 53 specs ------------------------------ [BeforeSuite] /Users/anahas/Github/forks/kueue-operator/kueue-operator/test/e2e/e2e_suite_test.go:68 STEP: Deploying Kueue operand for all test suites @ 02/25/26 18:59:40.757 I0225 18:59:40.758005 85413 e2e_operator_test.go:1648] Creating Kueue instance STEP: Waiting for all Kueue CRDs to be registered @ 02/25/26 18:59:48.826 I0225 18:59:48.826597 85413 e2e_operator_test.go:1671] Checking pod: kueue-controller-manager-5db55748c7-4x7qw, phase: Running, deletionTS: STEP: Waiting for webhook to handle requests successfully @ 02/25/26 19:00:05.119 I0225 19:00:05.119308 85413 e2e_operator_test.go:1739] All 9 Kueue CRDs are registered and established I0225 19:00:05.471767 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-fvzs5 I0225 19:00:05.658380 85413 e2e_operator_test.go:1494] Webhook success 1/3 I0225 19:00:09.232354 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-5xtjz I0225 19:00:09.407107 85413 e2e_operator_test.go:1494] Webhook success 2/3 I0225 19:00:12.752697 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-qrmtf I0225 19:00:12.920533 85413 e2e_operator_test.go:1491] Webhook stable after 3 consecutive successes [BeforeSuite] PASSED [32.168 seconds] ------------------------------ SSSSSSSSSSSSSSSSSSSSSSSSSS ------------------------------ Gangscheduling when Policy is ByWorkload and Admission is Sequential should apply all-or-nothing admission for workloads [gangscheduling] /Users/anahas/Github/forks/kueue-operator/kueue-operator/test/e2e/e2e_gangscheduling_test.go:81 STEP: Saving initial Kueue configuration @ 02/25/26 19:00:12.921 STEP: Configuring Kueue with gangScheduling: policy=ByWorkload, admission=Sequential @ 02/25/26 19:00:13.081 STEP: Feching Kueue Instance @ 02/25/26 19:00:13.081 STEP: Updating Kueue config @ 02/25/26 19:00:13.57 STEP: Waiting for kueue-controller-manager resource version to change from 106575 @ 02/25/26 19:00:13.742 STEP: Checking if deployment replicas: 3 matches amount of ready replicas: 1 @ 02/25/26 19:00:24.712 STEP: Checking if deployment replicas: 2 matches amount of ready replicas: 2 @ 02/25/26 19:00:35.043 STEP: Waiting for webhook configurations to exist @ 02/25/26 19:00:35.043 STEP: Waiting for webhook to handle requests successfully @ 02/25/26 19:00:35.4 I0225 19:00:35.746157 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-6qwrm I0225 19:00:35.934226 85413 e2e_operator_test.go:1494] Webhook success 1/3 I0225 19:00:39.304285 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-rbzdc I0225 19:00:39.480078 85413 e2e_operator_test.go:1494] Webhook success 2/3 I0225 19:00:42.825525 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-8qjvv I0225 19:00:42.999915 85413 e2e_operator_test.go:1491] Webhook stable after 3 consecutive successes STEP: Waiting for Kueue configuration to be applied @ 02/25/26 19:00:42.999 STEP: Creating Cluster Resources @ 02/25/26 19:00:43.158 STEP: Creating Namespaces and LocalQueues @ 02/25/26 19:00:43.515 STEP: Creating LocalQueue local-queue in namespace gangscheduling-qfwwr @ 02/25/26 19:00:43.695 STEP: Admitting a Job that consumes partial quota @ 02/25/26 19:00:43.868 STEP: Verifying first job workload is created and admitted @ 02/25/26 19:00:44.081 STEP: verifying workload created in namespace gangscheduling-qfwwr and uid 59c1be6e-da1a-4dc2-b5b5-842722641877 @ 02/25/26 19:00:44.081 STEP: Creating a gang job (parallelism=2) that exceeds remaining quota @ 02/25/26 19:00:44.44 STEP: Verifying the gang job workload is created but NOT admitted (not enough quota for all pods) @ 02/25/26 19:00:44.633 STEP: verifying workload is created in namespace gangscheduling-qfwwr @ 02/25/26 19:00:44.633 STEP: Waiting for first job to complete and free up quota @ 02/25/26 19:00:49.802 STEP: Verifying the second gang job is now admitted after quota is freed (all pods admitted together) @ 02/25/26 19:01:20.66 STEP: verifying workload created in namespace gangscheduling-qfwwr and uid e4b69eea-1e89-470a-be8a-a53c72219a0e @ 02/25/26 19:01:20.66 I0225 19:01:21.577678 85413 warnings.go:110] "Warning: child pods are preserved by default when jobs are deleted; set propagationPolicy=Background to remove them or set propagationPolicy=Orphan to suppress this warning" I0225 19:01:21.798579 85413 warnings.go:110] "Warning: child pods are preserved by default when jobs are deleted; set propagationPolicy=Background to remove them or set propagationPolicy=Orphan to suppress this warning" STEP: Destroying LocalQueue gangscheduling-qfwwr/local-queue @ 02/25/26 19:01:21.798 STEP: Deleting namespace gangscheduling-qfwwr @ 02/25/26 19:01:22.558 STEP: Destroying ClusterQueue cluster-queue-xh888 @ 02/25/26 19:01:56.261 STEP: Destroying ResourceFlavor resource-flavor-wmn85 @ 02/25/26 19:02:07.184 • [114.771 seconds] ------------------------------ Gangscheduling when Policy is ByWorkload and Admission is Sequential should admit workloads sequentially even when quota is available [gangscheduling] /Users/anahas/Github/forks/kueue-operator/kueue-operator/test/e2e/e2e_gangscheduling_test.go:157 STEP: Creating Cluster Resources with enough quota for multiple jobs @ 02/25/26 19:02:07.687 STEP: Creating Namespace and LocalQueue @ 02/25/26 19:02:08.027 STEP: Creating LocalQueue local-queue in namespace sequential-dxc57 @ 02/25/26 19:02:08.187 STEP: Creating the first gang job (parallelism=2) with delayed pod readiness @ 02/25/26 19:02:08.363 STEP: Verifying first gang job workload is admitted @ 02/25/26 19:02:08.551 STEP: verifying workload created in namespace sequential-dxc57 and uid 299a2a65-a147-46df-a103-aabbd59bc7b8 @ 02/25/26 19:02:08.551 STEP: Creating the second gang job (parallelism=2) while first gang job pods are not yet ready @ 02/25/26 19:02:08.885 STEP: Verifying second gang job is NOT admitted because sequential admission waits for first gang job pods to be ready @ 02/25/26 19:02:09.071 STEP: verifying workload is created in namespace sequential-dxc57 @ 02/25/26 19:02:09.072 STEP: Waiting for first gang job pods to complete @ 02/25/26 19:02:14.239 STEP: Verifying second gang job is now admitted after first gang job pods became ready @ 02/25/26 19:02:44.974 STEP: verifying workload created in namespace sequential-dxc57 and uid 59722786-210d-4122-ab51-18e1a7e1e5a6 @ 02/25/26 19:02:44.974 STEP: Restoring initial Kueue configuration @ 02/25/26 19:02:45.477 STEP: Feching Kueue Instance @ 02/25/26 19:02:45.477 STEP: Updating Kueue config @ 02/25/26 19:02:46.036 STEP: Waiting for kueue-controller-manager resource version to change from 108866 @ 02/25/26 19:02:46.217 STEP: Checking if deployment replicas: 3 matches amount of ready replicas: 1 @ 02/25/26 19:02:57.237 STEP: Checking if deployment replicas: 2 matches amount of ready replicas: 2 @ 02/25/26 19:03:07.76 STEP: Waiting for webhook configurations to exist @ 02/25/26 19:03:07.76 STEP: Waiting for webhook to handle requests successfully @ 02/25/26 19:03:08.433 I0225 19:03:08.823582 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-f69lk I0225 19:03:09.008008 85413 e2e_operator_test.go:1494] Webhook success 1/3 I0225 19:03:12.383850 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-2qgm7 I0225 19:03:12.563816 85413 e2e_operator_test.go:1494] Webhook success 2/3 I0225 19:03:15.910401 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-9w2tb I0225 19:03:16.082334 85413 e2e_operator_test.go:1491] Webhook stable after 3 consecutive successes I0225 19:03:16.250574 85413 warnings.go:110] "Warning: child pods are preserved by default when jobs are deleted; set propagationPolicy=Background to remove them or set propagationPolicy=Orphan to suppress this warning" I0225 19:03:16.418736 85413 warnings.go:110] "Warning: child pods are preserved by default when jobs are deleted; set propagationPolicy=Background to remove them or set propagationPolicy=Orphan to suppress this warning" STEP: Destroying LocalQueue sequential-dxc57/local-queue @ 02/25/26 19:03:16.418 STEP: Deleting namespace sequential-dxc57 @ 02/25/26 19:03:16.918 STEP: Destroying ClusterQueue cluster-queue-2q9tl @ 02/25/26 19:03:27.612 STEP: Destroying ResourceFlavor resource-flavor-hgdnr @ 02/25/26 19:03:28.126 • [80.962 seconds] ------------------------------ Gangscheduling when Policy is ByWorkload and Admission is Parallel should admit workloads in parallel without waiting for pods to be ready [gangscheduling] /Users/anahas/Github/forks/kueue-operator/kueue-operator/test/e2e/e2e_gangscheduling_test.go:273 STEP: Saving initial Kueue configuration @ 02/25/26 19:03:28.646 STEP: Configuring Kueue with gangScheduling: policy=ByWorkload, admission=Parallel @ 02/25/26 19:03:28.814 STEP: Feching Kueue Instance @ 02/25/26 19:03:28.814 STEP: Updating Kueue config @ 02/25/26 19:03:29.323 STEP: Waiting for kueue-controller-manager resource version to change from 110298 @ 02/25/26 19:03:29.502 STEP: Checking if deployment replicas: 3 matches amount of ready replicas: 1 @ 02/25/26 19:03:40.538 STEP: Checking if deployment replicas: 2 matches amount of ready replicas: 2 @ 02/25/26 19:03:50.912 STEP: Waiting for webhook configurations to exist @ 02/25/26 19:03:50.912 STEP: Waiting for webhook to handle requests successfully @ 02/25/26 19:03:51.254 I0225 19:03:51.621622 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-rhnmp I0225 19:03:51.803197 85413 e2e_operator_test.go:1494] Webhook success 1/3 I0225 19:03:55.194769 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-689gd I0225 19:03:55.392739 85413 e2e_operator_test.go:1494] Webhook success 2/3 I0225 19:03:58.757568 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-64k6x I0225 19:03:58.939254 85413 e2e_operator_test.go:1491] Webhook stable after 3 consecutive successes STEP: Waiting for Kueue configuration to be applied @ 02/25/26 19:03:58.939 STEP: Creating Cluster Resources with enough quota for multiple jobs @ 02/25/26 19:03:59.115 STEP: Creating Namespace and LocalQueue @ 02/25/26 19:03:59.477 STEP: Creating LocalQueue local-queue in namespace parallel-gljwh @ 02/25/26 19:03:59.648 STEP: Creating the first gang job (parallelism=2) with delayed pod readiness @ 02/25/26 19:03:59.82 STEP: Verifying first gang job workload is admitted @ 02/25/26 19:04:00.022 STEP: verifying workload created in namespace parallel-gljwh and uid 809d44d6-410b-478f-a819-abf6127d75b1 @ 02/25/26 19:04:00.022 STEP: Creating the second gang job (parallelism=2) while first gang job pods are not yet ready @ 02/25/26 19:04:00.375 STEP: Verifying second gang job is admitted immediately despite first gang job pods not being ready (parallel admission) @ 02/25/26 19:04:00.565 STEP: verifying workload created in namespace parallel-gljwh and uid 551aa564-8004-4305-a309-ca726de70bfe @ 02/25/26 19:04:00.565 STEP: Verifying both gang jobs are admitted together without waiting for pod readiness @ 02/25/26 19:04:00.934 STEP: Restoring initial Kueue configuration @ 02/25/26 19:04:01.117 STEP: Feching Kueue Instance @ 02/25/26 19:04:01.117 STEP: Updating Kueue config @ 02/25/26 19:04:01.653 STEP: Waiting for kueue-controller-manager resource version to change from 110828 @ 02/25/26 19:04:01.836 STEP: Checking if deployment replicas: 3 matches amount of ready replicas: 1 @ 02/25/26 19:04:12.83 STEP: Checking if deployment replicas: 2 matches amount of ready replicas: 2 @ 02/25/26 19:04:23.154 STEP: Waiting for webhook configurations to exist @ 02/25/26 19:04:23.154 STEP: Waiting for webhook to handle requests successfully @ 02/25/26 19:04:23.486 I0225 19:04:23.854345 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-tgc49 I0225 19:04:24.030103 85413 e2e_operator_test.go:1494] Webhook success 1/3 I0225 19:04:27.402381 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-g7vgc I0225 19:04:27.584337 85413 e2e_operator_test.go:1494] Webhook success 2/3 I0225 19:04:30.928153 85413 e2e_operator_test.go:1482] Webhook test successful, cleaning up test job: webhook-test-b5n68 I0225 19:04:31.099525 85413 e2e_operator_test.go:1491] Webhook stable after 3 consecutive successes I0225 19:04:31.280931 85413 warnings.go:110] "Warning: child pods are preserved by default when jobs are deleted; set propagationPolicy=Background to remove them or set propagationPolicy=Orphan to suppress this warning" I0225 19:04:31.462426 85413 warnings.go:110] "Warning: child pods are preserved by default when jobs are deleted; set propagationPolicy=Background to remove them or set propagationPolicy=Orphan to suppress this warning" STEP: Destroying LocalQueue parallel-gljwh/local-queue @ 02/25/26 19:04:31.462 STEP: Deleting namespace parallel-gljwh @ 02/25/26 19:04:31.974 STEP: Destroying ClusterQueue cluster-queue-dv8w4 @ 02/25/26 19:04:42.662 STEP: Destroying ResourceFlavor resource-flavor-wzmkb @ 02/25/26 19:04:43.191 • [75.246 seconds] ------------------------------ SSSSSSSSSSSSSSSSSSSSSSSS Ran 3 of 53 Specs in 303.149 seconds SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 50 Skipped PASS You're using deprecated Ginkgo functionality: ============================================= --ginkgo.slow-spec-threshold is deprecated --slow-spec-threshold has been deprecated and will be removed in a future version of Ginkgo. This feature has proved to be more noisy than useful. You can use --poll-progress-after, instead, to get more actionable feedback about potentially slow specs and understand where they might be getting stuck. To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=2.27.2 Ginkgo ran 1 suite in 5m9.286272042s Test Suite Passed