Repository: kubernetes-sigs/kueue

Issue:
[flaky test]  LeaderWorkerSet integration when LeaderWorkerSet created should allow to update the PodTemplate in LeaderWorkerSet
/kind flake 


**What happened**:

failure https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/periodic-kueue-test-e2e-release-0-12-1-32/1964230525405106176

on nightly build

**What you expected to happen**:

no failure

**How to reproduce it (as minimally and precisely as possible)**:
ci
**Anything else we need to know?**:

```
{Timed out after 45.001s.
The function passed to Eventually failed at /home/prow/go/src/kubernetes-sigs/kueue/test/e2e/singlecluster/leaderworkerset_test.go:633 with:
Expected
    <[]v1.Pod | len:4, cap:4>: [
        {
            TypeMeta: {Kind: "", APIVersion: ""},
            ObjectMeta: {
                Name: "lws-0",
                GenerateName: "lws-",
                Namespace: "lws-e2e-hg5gr",
                SelfLink: "",
                UID: "533b8817-f5a6-4792-a492-3db66a3fd758",
                ResourceVersion: "6249",
                Generation: 0,
                CreationTimestamp: {
                    Time: 2025-09-06T07:47:48Z,
                },
                DeletionTimestamp: nil,
                DeletionGracePeriodSeconds: nil,
                Labels: {
                    "apps.kubernetes.io/pod-index": "0",
                    "controller-revision-hash": "lws-cc779d4f",
                    "kueue.x-k8s.io/pod-group-name": "leaderworkerset-lws-0-fd0f7",
                    "kueue.x-k8s.io/podset": "leader",
                    "kueue.x-k8s.io/queue-name": "lws-lq",
                    "leaderworkerset.sigs.k8s.io/group-key": "ec750e5ee4a474d50948dae1d5d155cdb29f951a",
                    "leaderworkerset.sigs.k8s.io/name": "lws",
                    "leaderworkerset.sigs.k8s.io/worker-index": "0",
                    "kueue.x-k8s.io/managed": "true",
                    "kueue.x-k8s.io/prebuilt-workload-name": "leaderworkerset-lws-0-fd0f7",
                    "leaderworkerset.sigs.k8s.io/group-index": "0",
                    "leaderworkerset.sigs.k8s.io/template-revision-hash": "5bbd7574c4",
                    "statefulset.kubernetes.io/pod-name": "lws-0",
                },
                Annotations: {
                    "kueue.x-k8s.io/pod-group-serving": "true",
                    "kueue.x-k8s.io/pod-group-total-count": "3",
                    "kueue.x-k8s.io/pod-suspending-parent": "leaderworkerset.x-k8s.io/leaderworkerset",
                    "kueue.x-k8s.io/role-hash": "leader",
                    "kueue.x-k8s.io/workload": "leaderworkerset-lws-0-fd0f7",
                    "leaderworkerset.sigs.k8s.io/size": "3",
                },
                OwnerReferences: [
                    {
                        APIVersion: "apps/v1",
                        Kind: "StatefulSet",
                        Name: "lws",
                        UID: "941e87ef-999e-42c7-8e04-4cab7f5fbbd3",
                        Controller: true,
                        BlockOwnerDeletion: true,
                    },
                ],
                Finalizers: [
                    "kueue.x-k8s.io/managed",
                ],
                ManagedFields: [
                    {
                        Manager: "kube-controller-manager",
                        Operation: "Update",
                        APIVersion: "v1",
                        Time: {
                            Time: 2025-09-06T07:47:48Z,
                        },
                        FieldsType: "FieldsV1",
                        FieldsV1: {
                            Raw: "{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:kueue.x-k8s.io/pod-group-serving\":{},\"f:kueue.x-k8s.io/pod-suspending-parent\":{},\"f:leaderworkerset.sigs.k8s.io/size\":{}},\"f:generateName\":{},\"f:labels\":{\".\":{},\"f:apps.kubernetes.io/pod-index\":{},\"f:controller-revision-hash\":{},\"f:leaderworkerset.sigs.k8s.io/name\":{},\"f:leaderworkerset.sigs.k8s.io/template-revision-hash\":{},\"f:leaderworkerset.sigs.k8s.io/worker-index\":{},\"f:statefulset.kubernetes.io/pod-name\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"941e87ef-999e-42c7-8e04-4cab7f5fbbd3\\\"}\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"c\\\"}\":{\".\":{},\"f:args\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:resources\":{\".\":{},\"f:requests\":{\".\":{},\"f:cpu\":{}}},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:enableServiceLinks\":{},\"f:hostname\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:subdomain\":{},\"f:terminationGracePeriodSeconds\":{}}}",
           ...

Gomega truncated this representation as it exceeds 'format.MaxLength'.
Consider having the object provide a custom 'GomegaStringer' representation
or adjust the parameters in Gomega's 'format' package.

Learn more here: https://onsi.github.io/gomega/#adjusting-output

to have length 6 failed [FAILED] Timed out after 45.001s.
The function passed to Eventually failed at /home/prow/go/src/kubernetes-sigs/kueue/test/e2e/singlecluster/leaderworkerset_test.go:633 with:
Expected
    <[]v1.Pod | len:4, cap:4>: [
        {
            TypeMeta: {Kind: "", APIVersion: ""},
            ObjectMeta: {
                Name: "lws-0",
                GenerateName: "lws-",
                Namespace: "lws-e2e-hg5gr",
                SelfLink: "",
                UID: "533b8817-f5a6-4792-a492-3db66a3fd758",
                ResourceVersion: "6249",
                Generation: 0,
                CreationTimestamp: {
                    Time: 2025-09-06T07:47:48Z,
                },
                DeletionTimestamp: nil,
                DeletionGracePeriodSeconds: nil,
                Labels: {
                    "apps.kubernetes.io/pod-index": "0",
                    "controller-revision-hash": "lws-cc779d4f",
                    "kueue.x-k8s.io/pod-group-name": "leaderworkerset-lws-0-fd0f7",
                    "kueue.x-k8s.io/podset": "leader",
                    "kueue.x-k8s.io/queue-name": "lws-lq",
                    "leaderworkerset.sigs.k8s.io/group-key": "ec750e5ee4a474d50948dae1d5d155cdb29f951a",
                    "leaderworkerset.sigs.k8s.io/name": "lws",
                    "leaderworkerset.sigs.k8s.io/worker-index": "0",
                    "kueue.x-k8s.io/managed": "true",
                    "kueue.x-k8s.io/prebuilt-workload-name": "leaderworkerset-lws-0-fd0f7",
                    "leaderworkerset.sigs.k8s.io/group-index": "0",
                    "leaderworkerset.sigs.k8s.io/template-revision-hash": "5bbd7574c4",
                    "statefulset.kubernetes.io/pod-name": "lws-0",
                },
                Annotations: {
                    "kueue.x-k8s.io/pod-group-serving": "true",
                    "kueue.x-k8s.io/pod-group-total-count": "3",
                    "kueue.x-k8s.io/pod-suspending-parent": "leaderworkerset.x-k8s.io/leaderworkerset",
                    "kueue.x-k8s.io/role-hash": "leader",
                    "kueue.x-k8s.io/workload": "leaderworkerset-lws-0-fd0f7",
                    "leaderworkerset.sigs.k8s.io/size": "3",
                },
                OwnerReferences: [
                    {
                        APIVersion: "apps/v1",
                        Kind: "StatefulSet",
                        Name: "lws",
                        UID: "941e87ef-999e-42c7-8e04-4cab7f5fbbd3",
                        Controller: true,
                        BlockOwnerDeletion: true,
                    },
                ],
                Finalizers: [
                    "kueue.x-k8s.io/managed",
                ],
                ManagedFields: [
                    {
                        Manager: "kube-controller-manager",
                        Operation: "Update",
                        APIVersion: "v1",
                        Time: {
                            Time: 2025-09-06T07:47:48Z,
                        },
                        FieldsType: "FieldsV1",
                        FieldsV1: {
                            Raw: "{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:kueue.x-k8s.io/pod-group-serving\":{},\"f:kueue.x-k8s.io/pod-suspending-parent\":{},\"f:leaderworkerset.sigs.k8s.io/size\":{}},\"f:generateName\":{},\"f:labels\":{\".\":{},\"f:apps.kubernetes.io/pod-index\":{},\"f:controller-revision-hash\":{},\"f:leaderworkerset.sigs.k8s.io/name\":{},\"f:leaderworkerset.sigs.k8s.io/template-revision-hash\":{},\"f:leaderworkerset.sigs.k8s.io/worker-index\":{},\"f:statefulset.kubernetes.io/pod-name\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"941e87ef-999e-42c7-8e04-4cab7f5fbbd3\\\"}\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"c\\\"}\":{\".\":{},\"f:args\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:resources\":{\".\":{},\"f:requests\":{\".\":{},\"f:cpu\":{}}},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:enableServiceLinks\":{},\"f:hostname\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:subdomain\":{},\"f:terminationGracePeriodSeconds\":{}}}",
           ...

Gomega truncated this representation as it exceeds 'format.MaxLength'.
Consider having the object provide a custom 'GomegaStringer' representation
or adjust the parameters in Gomega's 'format' package.

Learn more here: https://onsi.github.io/gomega/#adjusting-output

to have length 6
In [It] at: /home/prow/go/src/kubernetes-sigs/kueue/test/e2e/singlecluster/leaderworkerset_test.go:637 @ 09/06/25 07:48:28.305
}
```

Hints from issue comments:
@mimowo: https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/periodic-kueue-test-e2e-release-0-13-1-32/1970899986707124224@IrvingMg: I ran over 100 executions with each of Kueue 0.12 and 0.13 on Kubernetes 1.32, reducing cluster resources to 4 CPUs and 8 GiB memory, but haven’t been able to reproduce the issue locally so far. 

Could this be related to an infrastructure issue?@mimowo: Maybe this is because the machines were loaded. Can you check the logs to see if the LWS was scaled eventually (maybe after the timeout?). In that case we could update the timeout I think. 6 pods in LWS is much as for e2e tests.@IrvingMg: Based on the logs for Kueue v0.12, it looks like the Pods were eventually created. Here's a summary of the timeline:

**TIMEOUT at 07:48:28.305**

Before the timeout, we can see multiple logs showing Pod creation and recreation after updating the template. The logs include entries like:
```
2025-09-06T07:47:41.046978217Z stderr F 2025-09-06T07:47:41Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "c51f9ab7-74e5-472e-9cfe-acb9c7a8935b"}
2025-09-06T07:47:41.068079051Z stderr F 2025-09-06T07:47:41Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "dc5c6cc9-bc8d-4266-a6f8-0bd41b11d1cc"}
2025-09-06T07:47:41.070205351Z stderr F 2025-09-06T07:47:41Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-2","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-2", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "b3e6ea84-9b39-48f8-aa16-6eda19c05703"}
2025-09-06T07:47:41.071872298Z stderr F 2025-09-06T07:47:41Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "342399bf-5907-4561-ad6b-aad1b72cda02"}
2025-09-06T07:47:41.096066262Z stderr F 2025-09-06T07:47:41Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-2","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-2", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "3de1c009-2c85-456e-9a3a-c82a7e6a8a98"}
2025-09-06T07:47:41.188357169Z stderr F 2025-09-06T07:47:41Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "7e8d3de1-eb47-4abf-b635-9725cb0033e5"}
2025-09-06T07:47:47.533030587Z stderr F 2025-09-06T07:47:47Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1-2","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1-2", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "7d345bcf-8b87-4303-a413-aa714217c770"}
2025-09-06T07:47:47.54987249Z stderr F 2025-09-06T07:47:47Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1-2","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1-2", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "b573234d-f94b-4bc0-b4b5-f2079ac214a2"}
2025-09-06T07:47:47.56733822Z stderr F 2025-09-06T07:47:47Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "fb14b408-24f2-4150-9c67-3ed36d53567a"}
2025-09-06T07:47:47.607673491Z stderr F 2025-09-06T07:47:47Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1-2","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1-2", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "1ef94557-3ff7-4629-8738-ba3f7205e842"}
2025-09-06T07:47:48.097498004Z stderr F 2025-09-06T07:47:48Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "844585ad-1ec3-4a45-a253-5c032672139b"}
2025-09-06T07:47:48.426301194Z stderr F 2025-09-06T07:47:48Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "08d74a29-c71c-466c-9ef1-eccaba1acd3d"}
2025-09-06T07:47:48.45568016Z stderr F 2025-09-06T07:47:48Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "a656ba3e-02a1-4373-b6c1-a4dc197a49d3"}
2025-09-06T07:47:48.475432582Z stderr F 2025-09-06T07:47:48Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "73029c20-0cf3-4dcc-9aa9-e077e1fc11eb"}
2025-09-06T07:47:48.478549212Z stderr F 2025-09-06T07:47:48Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "2f522cb2-3676-4086-b037-5b0e36052eae"}
...
2025-09-06T07:47:48.850773794Z stderr F 2025-09-06T07:47:48Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "8e7983c0-5b64-48e6-a4c1-f13930e00615"}
2025-09-06T07:47:48.921029316Z stderr F 2025-09-06T07:47:48Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-2","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-2", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "58627448-6870-4294-bdc4-f1872d7f8816"}
2025-09-06T07:47:49.041656376Z stderr F 2025-09-06T07:47:49Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kueue-system:kueue-controller-manager", "requestID": "a3dee753-f4a1-4a97-b527-b42448b9c93e"}
...
2025-09-06T07:48:09.11829124Z stderr F 2025-09-06T07:48:09Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "c81721c9-3c81-4525-8158-b053a74c2ae8"}
```

However, until `2025-09-06T07:48:09` (just before the timeout), the logs show activity for only 5 of the 6 expected Pods:
`lws-0`, `lws-0-2`, `lws-1-1`, `lws-1-2`, and `lws-0-1`. The missing Pod at this point is `lws-1`.


There are also several repeated log entries for `lws-0-1` before the timeout, which suggests that this Pod might still have been in the process of being recreated at that time. This could explain why the error message shows only 4 out of 6 Pods as ready when the timeout occurred.
```
2025-09-06T07:48:09.11829124Z stderr F 2025-09-06T07:48:09Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "system:serviceaccount:kube-system:statefulset-controller", "requestID": "c81721c9-3c81-4525-8158-b053a74c2ae8"}
```


Later, **after the timeout**, the missing Pod (`lws-1`) does appear in the logs:
```
2025-09-06T07:48:28.455341258Z stderr F 2025-09-06T07:48:28Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-0","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-0", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "kubernetes-admin", "requestID": "14d45865-8105-468d-b4ec-9fdfa4834f11"}
2025-09-06T07:48:28.468730088Z stderr F 2025-09-06T07:48:28Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "kubernetes-admin", "requestID": "151256ce-9e97-4767-96b6-64082ce9a567"}
2025-09-06T07:48:28.488910034Z stderr F 2025-09-06T07:48:28Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1-1","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1-1", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "kubernetes-admin", "requestID": "61aad54d-36ed-4c3b-a9f7-366774915c50"}
2025-09-06T07:48:28.507956948Z stderr F 2025-09-06T07:48:28Z	LEVEL(-2)	admission	Defaulting Pod	{"webhookGroup": "", "webhookKind": "Pod", "Pod": {"name":"lws-1-2","namespace":"lws-e2e-hg5gr"}, "namespace": "lws-e2e-hg5gr", "name": "lws-1-2", "resource": {"group":"","version":"v1","resource":"pods"}, "user": "kubernetes-admin", "requestID": "f277509a-07c0-41a0-a557-5dd34fbc6df6"}
```

This suggests that the issue might be related to timing, possibly due to an overloaded machine or some other infrastructure issue, where some Pods were still in the process of being recreated or initialized when the timeout was reached.@mimowo: Thank you, in that case I suggest to just bump the timeout.

Solution patch:
diff --git a/cmd/kueueviz/frontend/package-lock.json b/cmd/kueueviz/frontend/package-lock.json
index ea78ada22..f057be5ee 100644
--- a/cmd/kueueviz/frontend/package-lock.json
+++ b/cmd/kueueviz/frontend/package-lock.json
@@ -17,27 +17,13 @@
         "react": "^19.1.1",
         "react-ace": "^14.0.1",
         "react-dom": "^19.1.1",
-        "react-router-dom": "^7.9.1",
+        "react-router-dom": "^7.9.3",
         "react-toastify": "^11.0.5"
       },
       "devDependencies": {
-        "@vitejs/plugin-react": "^5.0.2",
+        "@vitejs/plugin-react": "^5.0.4",
         "depcheck": "^1.4.7",
-        "vite": "^7.1.5"
-      }
-    },
-    "node_modules/@ampproject/remapping": {
-      "version": "2.3.0",
-      "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
-      "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
-      "dev": true,
-      "license": "Apache-2.0",
-      "dependencies": {
-        "@jridgewell/gen-mapping": "^0.3.5",
-        "@jridgewell/trace-mapping": "^0.3.24"
-      },
-      "engines": {
-        "node": ">=6.0.0"
+        "vite": "^7.1.7"
       }
     },
     "node_modules/@babel/code-frame": {
@@ -65,22 +51,22 @@
       }
     },
     "node_modules/@babel/core": {
-      "version": "7.28.3",
-      "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.3.tgz",
-      "integrity": "sha512-yDBHV9kQNcr2/sUr9jghVyz9C3Y5G2zUM2H2lo+9mKv4sFgbA8s8Z9t8D1jiTkGoO/NoIfKMyKWr4s6CN23ZwQ==",
+      "version": "7.28.4",
+      "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.4.tgz",
+      "integrity": "sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
-        "@ampproject/remapping": "^2.2.0",
         "@babel/code-frame": "^7.27.1",
         "@babel/generator": "^7.28.3",
         "@babel/helper-compilation-targets": "^7.27.2",
         "@babel/helper-module-transforms": "^7.28.3",
-        "@babel/helpers": "^7.28.3",
-        "@babel/parser": "^7.28.3",
+        "@babel/helpers": "^7.28.4",
+        "@babel/parser": "^7.28.4",
         "@babel/template": "^7.27.2",
-        "@babel/traverse": "^7.28.3",
-        "@babel/types": "^7.28.2",
+        "@babel/traverse": "^7.28.4",
+        "@babel/types": "^7.28.4",
+        "@jridgewell/remapping": "^2.3.5",
         "convert-source-map": "^2.0.0",
         "debug": "^4.1.0",
         "gensync": "^1.0.0-beta.2",
@@ -214,26 +200,26 @@
       }
     },
     "node_modules/@babel/helpers": {
-      "version": "7.28.3",
-      "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.3.tgz",
-      "integrity": "sha512-PTNtvUQihsAsDHMOP5pfobP8C6CM4JWXmP8DrEIt46c3r2bf87Ua1zoqevsMo9g+tWDwgWrFP5EIxuBx5RudAw==",
+      "version": "7.28.4",
+      "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz",
+      "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
         "@babel/template": "^7.27.2",
-        "@babel/types": "^7.28.2"
+        "@babel/types": "^7.28.4"
       },
       "engines": {
         "node": ">=6.9.0"
       }
     },
     "node_modules/@babel/parser": {
-      "version": "7.28.3",
-      "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.3.tgz",
-      "integrity": "sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA==",
+      "version": "7.28.4",
+      "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz",
+      "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==",
       "license": "MIT",
       "dependencies": {
-        "@babel/types": "^7.28.2"
+        "@babel/types": "^7.28.4"
       },
       "bin": {
         "parser": "bin/babel-parser.js"
@@ -298,17 +284,17 @@
       }
     },
     "node_modules/@babel/traverse": {
-      "version": "7.28.3",
-      "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.3.tgz",
-      "integrity": "sha512-7w4kZYHneL3A6NP2nxzHvT3HCZ7puDZZjFMqDpBPECub79sTtSO5CGXDkKrTQq8ksAwfD/XI2MRFX23njdDaIQ==",
+      "version": "7.28.4",
+      "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.4.tgz",
+      "integrity": "sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==",
       "license": "MIT",
       "dependencies": {
         "@babel/code-frame": "^7.27.1",
         "@babel/generator": "^7.28.3",
         "@babel/helper-globals": "^7.28.0",
-        "@babel/parser": "^7.28.3",
+        "@babel/parser": "^7.28.4",
         "@babel/template": "^7.27.2",
-        "@babel/types": "^7.28.2",
+        "@babel/types": "^7.28.4",
         "debug": "^4.3.1"
       },
       "engines": {
@@ -316,9 +302,9 @@
       }
     },
     "node_modules/@babel/types": {
-      "version": "7.28.2",
-      "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz",
-      "integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==",
+      "version": "7.28.4",
+      "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz",
+      "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==",
       "license": "MIT",
       "dependencies": {
         "@babel/helper-string-parser": "^7.27.1",
@@ -901,6 +887,17 @@
         "@jridgewell/trace-mapping": "^0.3.24"
       }
     },
+    "node_modules/@jridgewell/remapping": {
+      "version": "2.3.5",
+      "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
+      "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@jridgewell/gen-mapping": "^0.3.5",
+        "@jridgewell/trace-mapping": "^0.3.24"
+      }
+    },
     "node_modules/@jridgewell/resolve-uri": {
       "version": "3.1.2",
       "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
@@ -1170,9 +1167,9 @@
       }
     },
     "node_modules/@rolldown/pluginutils": {
-      "version": "1.0.0-beta.34",
-      "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.34.tgz",
-      "integrity": "sha512-LyAREkZHP5pMom7c24meKmJCdhf2hEyvam2q0unr3or9ydwDL+DJ8chTF6Av/RFPb3rH8UFBdMzO5MxTZW97oA==",
+      "version": "1.0.0-beta.38",
+      "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.38.tgz",
+      "integrity": "sha512-N/ICGKleNhA5nc9XXQG/kkKHJ7S55u0x0XUJbbkmdCnFuoRkM1Il12q9q0eX19+M7KKUEPw/daUPIRnxhcxAIw==",
       "dev": true,
       "license": "MIT"
     },
@@ -1559,16 +1556,16 @@
       }
     },
     "node_modules/@vitejs/plugin-react": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-5.0.2.tgz",
-      "integrity": "sha512-tmyFgixPZCx2+e6VO9TNITWcCQl8+Nl/E8YbAyPVv85QCc7/A3JrdfG2A8gIzvVhWuzMOVrFW1aReaNxrI6tbw==",
+      "version": "5.0.4",
+      "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-5.0.4.tgz",
+      "integrity": "sha512-La0KD0vGkVkSk6K+piWDKRUyg8Rl5iAIKRMH0vMJI0Eg47bq1eOxmoObAaQG37WMW9MSyk7Cs8EIWwJC1PtzKA==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
-        "@babel/core": "^7.28.3",
+        "@babel/core": "^7.28.4",
         "@babel/plugin-transform-react-jsx-self": "^7.27.1",
         "@babel/plugin-transform-react-jsx-source": "^7.27.1",
-        "@rolldown/pluginutils": "1.0.0-beta.34",
+        "@rolldown/pluginutils": "1.0.0-beta.38",
         "@types/babel__core": "^7.20.5",
         "react-refresh": "^0.17.0"
       },
@@ -2866,9 +2863,9 @@
       }
     },
     "node_modules/react-router": {
-      "version": "7.9.1",
-      "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.9.1.tgz",
-      "integrity": "sha512-pfAByjcTpX55mqSDGwGnY9vDCpxqBLASg0BMNAuMmpSGESo/TaOUG6BllhAtAkCGx8Rnohik/XtaqiYUJtgW2g==",
+      "version": "7.9.3",
+      "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.9.3.tgz",
+      "integrity": "sha512-4o2iWCFIwhI/eYAIL43+cjORXYn/aRQPgtFRRZb3VzoyQ5Uej0Bmqj7437L97N9NJW4wnicSwLOLS+yCXfAPgg==",
       "license": "MIT",
       "dependencies": {
         "cookie": "^1.0.1",
@@ -2888,12 +2885,12 @@
       }
     },
     "node_modules/react-router-dom": {
-      "version": "7.9.1",
-      "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.9.1.tgz",
-      "integrity": "sha512-U9WBQssBE9B1vmRjo9qTM7YRzfZ3lUxESIZnsf4VjR/lXYz9MHjvOxHzr/aUm4efpktbVOrF09rL/y4VHa8RMw==",
+      "version": "7.9.3",
+      "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.9.3.tgz",
+      "integrity": "sha512-1QSbA0TGGFKTAc/aWjpfW/zoEukYfU4dc1dLkT/vvf54JoGMkW+fNA+3oyo2gWVW1GM7BxjJVHz5GnPJv40rvg==",
       "license": "MIT",
       "dependencies": {
-        "react-router": "7.9.1"
+        "react-router": "7.9.3"
       },
       "engines": {
         "node": ">=20.0.0"
@@ -3248,9 +3245,9 @@
       }
     },
     "node_modules/vite": {
-      "version": "7.1.5",
-      "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.5.tgz",
-      "integrity": "sha512-4cKBO9wR75r0BeIWWWId9XK9Lj6La5X846Zw9dFfzMRw38IlTk2iCcUt6hsyiDRcPidc55ZParFYDXi0nXOeLQ==",
+      "version": "7.1.7",
+      "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.7.tgz",
+      "integrity": "sha512-VbA8ScMvAISJNJVbRDTJdCwqQoAareR/wutevKanhR2/1EkoXVZVkkORaYm/tNVCjP/UDTKtcw3bAkwOUdedmA==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
diff --git a/cmd/kueueviz/frontend/package.json b/cmd/kueueviz/frontend/package.json
index da9f0add1..fa0e93360 100644
--- a/cmd/kueueviz/frontend/package.json
+++ b/cmd/kueueviz/frontend/package.json
@@ -21,13 +21,13 @@
     "react": "^19.1.1",
     "react-ace": "^14.0.1",
     "react-dom": "^19.1.1",
-    "react-router-dom": "^7.9.1",
+    "react-router-dom": "^7.9.3",
     "react-toastify": "^11.0.5"
   },
   "devDependencies": {
-    "@vitejs/plugin-react": "^5.0.2",
+    "@vitejs/plugin-react": "^5.0.4",
     "depcheck": "^1.4.7",
-    "vite": "^7.1.5"
+    "vite": "^7.1.7"
   },
   "browserslist": {
     "production": [
diff --git a/hack/releasing/ci_pull.sh b/hack/releasing/ci_pull.sh
index f6edd471c..b59eae666 100755
--- a/hack/releasing/ci_pull.sh
+++ b/hack/releasing/ci_pull.sh
@@ -252,11 +252,6 @@ EOF
 # $3 - local branch
 # $4 - pr name
 function push_and_create_pr() {
-  if [[ -n "${DRY_RUN}" ]]; then
-    echo "!!! Skipping git push and PR creation because you set DRY_RUN."
-    return
-  fi
-
   echo
   echo "+++ I'm about to do the following to push to GitHub (and I'm assuming ${KUBERNETES_TEST_INFRA_FORK_REMOTE} is your personal fork):"
   echo
@@ -280,6 +275,12 @@ CI_PR_NAME="Kueue: CI for ${MAJOR_MINOR}"
 declare -r CI_PR_NAME
 
 prepare_local_branch master "${CI_BRANCH_UNIQUE}" "${CI_PR_NAME}"
+
+if [[ -n "${DRY_RUN}" ]]; then
+  echo "!!! Skipping git push, PR creation and update issue because you set DRY_RUN."
+  exit 0
+fi
+
 push_and_create_pr master "${CI_BRANCH}" "${CI_BRANCH_UNIQUE}" "${CI_PR_NAME}"
 
 CI_PR_NUMBER=$(gh pr list --repo="${KUBERNETES_TEST_INFRA_MAIN_REPO_ORG}/${KUBERNETES_TEST_INFRA_MAIN_REPO_NAME}" | grep "${CI_PR_NAME}" | awk '{print $1}' || true)
diff --git a/keps/77-dynamically-sized-jobs/README.md b/keps/77-dynamically-sized-jobs/README.md
index ea018051e..bbad83b87 100644
--- a/keps/77-dynamically-sized-jobs/README.md
+++ b/keps/77-dynamically-sized-jobs/README.md
@@ -508,6 +508,7 @@ Here’s a structured and detailed **Graduation Criteria** section for KEP-77: *
 * [ ] Re-evaluate currently disallowed per-job-instance combination of enabled PartialAdmission and ElasticJobs.
 * [ ] Re-evaluate the approach for removing PodSchedulingReadiness gate for admitted workload slices to use a dedicated controller rather than calling from Job reconciler (see 3. in [comment](https://github.com/kubernetes-sigs/kueue/pull/5510#issuecomment-3060737465)).
 * [ ] Re-evaluate integration frameworks leveraging `ElasticJobsViaWorkloadSlices`.
+* [ ] Re-evaluate `ElasticJobsViaWorkloadSlices` by leveraging the MultiKueue JobAdapter’s `Sync` routine for ElasticJobs-specific functionality, particularly in detecting `JobUpdate` events as described in [issue #7065](https://github.com/kubernetes-sigs/kueue/issues/7065).
 
 #### GA (Stable)
 



Test patch:
diff --git a/test/e2e/customconfigs/reconcile_test.go b/test/e2e/customconfigs/reconcile_test.go
index 135cbe8bf..0c08a05ab 100644
--- a/test/e2e/customconfigs/reconcile_test.go
+++ b/test/e2e/customconfigs/reconcile_test.go
@@ -19,6 +19,7 @@ package customconfigse2e
 import (
 	"github.com/onsi/ginkgo/v2"
 	"github.com/onsi/gomega"
+	batchv1 "k8s.io/api/batch/v1"
 	corev1 "k8s.io/api/core/v1"
 	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 	"sigs.k8s.io/controller-runtime/pkg/client"
@@ -88,53 +89,59 @@ var _ = ginkgo.Describe("Job reconciliation with ManagedJobsNamespaceSelectorAlw
 		util.ExpectObjectToBeDeletedWithTimeout(ctx, k8sClient, rf, true, util.LongTimeout)
 	})
 
-	ginkgo.It("should not reconcile a job in the default (unmanaged) namespace", func() {
-		job := testingjob.MakeJob("unmanaged-job", metav1.NamespaceDefault).
-			Queue(kueue.LocalQueueName(lq.Name)).
-			Suspend(true).
-			Image(util.GetAgnHostImage(), util.BehaviorExitFast).
-			Obj()
+	ginkgo.When("Testing namespace selector behavior", func() {
+		var (
+			testJob *batchv1.Job
+			testPod *corev1.Pod
+		)
 
-		gomega.Expect(k8sClient.Create(ctx, job)).To(gomega.Succeed())
-		ginkgo.DeferCleanup(func() {
-			util.ExpectObjectToBeDeleted(ctx, k8sClient, job, true)
+		ginkgo.AfterEach(func() {
+			util.ExpectObjectToBeDeleted(ctx, k8sClient, testJob, true)
+			util.ExpectObjectToBeDeleted(ctx, k8sClient, testPod, true)
 		})
 
-		wls := &kueue.WorkloadList{}
-		gomega.Expect(k8sClient.List(ctx, wls, client.InNamespace(metav1.NamespaceDefault))).To(gomega.Succeed())
-		gomega.Expect(wls.Items).To(gomega.BeEmpty(), "Expected no workload in unmanaged namespace")
-	})
-
-	ginkgo.It("should reconcile a job in managed namespace and create a workload", func() {
-		job := testingjob.MakeJob("managed-job", ns.Name).
-			Queue(kueue.LocalQueueName(lq.Name)).
-			Suspend(true).
-			Image(util.GetAgnHostImage(), util.BehaviorExitFast).
-			Obj()
+		ginkgo.It("should not reconcile a job in the default (unmanaged) namespace", func() {
+			testJob = testingjob.MakeJob("unmanaged-job", metav1.NamespaceDefault).
+				Queue(kueue.LocalQueueName(lq.Name)).
+				Suspend(true).
+				Image(util.GetAgnHostImage(), util.BehaviorExitFast).
+				Obj()
 
-		gomega.Expect(k8sClient.Create(ctx, job)).To(gomega.Succeed())
+			gomega.Expect(k8sClient.Create(ctx, testJob)).To(gomega.Succeed())
 
-		ginkgo.By("check that only one workload is created", func() {
-			createdWorkloads := &kueue.WorkloadList{}
-			gomega.Eventually(func(g gomega.Gomega) {
-				g.Expect(k8sClient.List(ctx, createdWorkloads, client.InNamespace(ns.Name))).To(gomega.Succeed())
-				g.Expect(createdWorkloads.Items).To(gomega.HaveLen(1))
-			}, util.Timeout, util.Interval).Should(gomega.Succeed())
+			wls := &kueue.WorkloadList{}
+			gomega.Expect(k8sClient.List(ctx, wls, client.InNamespace(metav1.NamespaceDefault))).To(gomega.Succeed())
+			gomega.Expect(wls.Items).To(gomega.BeEmpty(), "Expected no workload in unmanaged namespace")
 		})
-	})
 
-	ginkgo.It("Verify existing behavior - should not reconcile a pod in the default (unmanaged) namespace", func() {
-		testPod := testingpod.MakePod("test-pod", metav1.NamespaceDefault).
-			Queue(lq.Name).
-			Image(util.GetAgnHostImage(), util.BehaviorWaitForDeletion).
-			Obj()
-		gomega.Expect(k8sClient.Create(ctx, testPod)).To(gomega.Succeed())
-		ginkgo.DeferCleanup(func() {
-			util.ExpectObjectToBeDeleted(ctx, k8sClient, testPod, true)
+		ginkgo.It("should reconcile a job in managed namespace and create a workload", func() {
+			testJob = testingjob.MakeJob("managed-job", ns.Name).
+				Queue(kueue.LocalQueueName(lq.Name)).
+				Suspend(true).
+				Image(util.GetAgnHostImage(), util.BehaviorExitFast).
+				Obj()
+
+			gomega.Expect(k8sClient.Create(ctx, testJob)).To(gomega.Succeed())
+
+			ginkgo.By("check that only one workload is created", func() {
+				createdWorkloads := &kueue.WorkloadList{}
+				gomega.Eventually(func(g gomega.Gomega) {
+					g.Expect(k8sClient.List(ctx, createdWorkloads, client.InNamespace(ns.Name))).To(gomega.Succeed())
+					g.Expect(createdWorkloads.Items).To(gomega.HaveLen(1))
+				}, util.Timeout, util.Interval).Should(gomega.Succeed())
+			})
 		})
 
-		wls := &kueue.WorkloadList{}
-		gomega.Expect(k8sClient.List(ctx, wls, client.InNamespace(metav1.NamespaceDefault))).To(gomega.Succeed())
-		gomega.Expect(wls.Items).To(gomega.BeEmpty(), "Expected no workload for pod in unmanaged namespace")
+		ginkgo.It("should not reconcile a pod in the default (unmanaged) namespace", func() {
+			testPod = testingpod.MakePod("test-pod", metav1.NamespaceDefault).
+				Queue(lq.Name).
+				Image(util.GetAgnHostImage(), util.BehaviorWaitForDeletion).
+				Obj()
+			gomega.Expect(k8sClient.Create(ctx, testPod)).To(gomega.Succeed())
+
+			wls := &kueue.WorkloadList{}
+			gomega.Expect(k8sClient.List(ctx, wls, client.InNamespace(metav1.NamespaceDefault))).To(gomega.Succeed())
+			gomega.Expect(wls.Items).To(gomega.BeEmpty(), "Expected no workload for pod in unmanaged namespace")
+		})
 	})
 })
diff --git a/test/e2e/singlecluster/leaderworkerset_test.go b/test/e2e/singlecluster/leaderworkerset_test.go
index 91b63e320..fa57ad268 100644
--- a/test/e2e/singlecluster/leaderworkerset_test.go
+++ b/test/e2e/singlecluster/leaderworkerset_test.go
@@ -634,7 +634,7 @@ var _ = ginkgo.Describe("LeaderWorkerSet integration", func() {
 					for _, p := range pods.Items {
 						g.Expect(p.Spec.Containers[0].Image).To(gomega.Equal(util.GetAgnHostImage()))
 					}
-				}, util.LongTimeout, util.Interval).Should(gomega.Succeed())
+				}, util.VeryLongTimeout, util.Interval).Should(gomega.Succeed())
 			})
 
 			ginkgo.By("Waiting for replicas to be ready again", func() {
diff --git a/test/integration/multikueue/jobs_test.go b/test/integration/multikueue/jobs_test.go
index 7e2664a42..a6e0e76c7 100644
--- a/test/integration/multikueue/jobs_test.go
+++ b/test/integration/multikueue/jobs_test.go
@@ -42,7 +42,6 @@ import (
 
 	config "sigs.k8s.io/kueue/apis/config/v1beta1"
 	kueue "sigs.k8s.io/kueue/apis/kueue/v1beta1"
-	"sigs.k8s.io/kueue/pkg/controller/constants"
 	"sigs.k8s.io/kueue/pkg/controller/jobframework"
 	workloadappwrapper "sigs.k8s.io/kueue/pkg/controller/jobs/appwrapper"
 	workloadjob "sigs.k8s.io/kueue/pkg/controller/jobs/job"
@@ -1728,8 +1727,6 @@ var _ = ginkgo.Describe("MultiKueue", ginkgo.Ordered, ginkgo.ContinueOnFailure,
 		/*
 			Scale-up Section
 		*/
-		ginkgo.By("DEBUG Before Scale")
-		debugAll(job.Namespace)
 
 		ginkgo.By("scale-up the job", func() {
 			getJob(manager.ctx, manager.client, job)
@@ -1739,18 +1736,12 @@ var _ = ginkgo.Describe("MultiKueue", ginkgo.Ordered, ginkgo.ContinueOnFailure,
 			}, util.Timeout, util.Interval).Should(gomega.Succeed())
 		})
 
-		ginkgo.By("DEBUG After Scale")
-		debugAll(job.Namespace)
-
 		ginkgo.By("observe: a new workload slice is created")
 		newWorkloadKey := getWorkloadKey(job)
 		gomega.Eventually(func(g gomega.Gomega) {
 			getWorkload(g, manager.ctx, manager.client, newWorkloadKey)
 		}, util.Timeout, util.Interval).Should(gomega.Succeed())
 
-		ginkgo.By("DEBUG After new slice created")
-		debugAll(job.Namespace)
-
 		ginkgo.By("copy clusterName from the old workload to the new workload", func() {
 			oldWorkload := getWorkload(gomega.Default, manager.ctx, manager.client, workloadKey)
 			newWorkload := getWorkload(gomega.Default, manager.ctx, manager.client, newWorkloadKey)
@@ -1764,9 +1755,6 @@ var _ = ginkgo.Describe("MultiKueue", ginkgo.Ordered, ginkgo.ContinueOnFailure,
 			gomega.Expect(newWorkload.Status.ClusterName).Should(gomega.BeEquivalentTo(oldWorkload.Status.ClusterName))
 		})
 
-		ginkgo.By("DEBUG After new slice copy cluster name")
-		debugAll(job.Namespace)
-
 		ginkgo.By("admit the new workload and finish the old workload in the manager cluster", func() {
 			gomega.Eventually(func(g gomega.Gomega) {
 				oldWorkload := getWorkload(g, manager.ctx, manager.client, workloadKey)
@@ -1775,9 +1763,6 @@ var _ = ginkgo.Describe("MultiKueue", ginkgo.Ordered, ginkgo.ContinueOnFailure,
 			util.SetQuotaReservation(manager.ctx, manager.client, newWorkloadKey, utiltesting.MakeAdmission(managerCq.Name).Obj())
 		})
 
-		ginkgo.By("DEBUG After new slice admission")
-		debugAll(job.Namespace)
-
 		ginkgo.By("observe: the new workload is created in the worker1 cluster")
 		gomega.Eventually(func(g gomega.Gomega) {
 			local := getWorkload(g, manager.ctx, manager.client, newWorkloadKey)
@@ -1794,9 +1779,6 @@ var _ = ginkgo.Describe("MultiKueue", ginkgo.Ordered, ginkgo.ContinueOnFailure,
 			gomega.Expect(jobs.Items).To(gomega.BeEmpty())
 		})
 
-		ginkgo.By("DEBUG After new slice created on worker1")
-		debugAll(job.Namespace)
-
 		ginkgo.By("observe: the old workload is still admitted in the worker1 cluster", func() {
 			workload := getWorkload(gomega.Default, worker1.ctx, worker1.client, workloadKey)
 			util.ExpectWorkloadsToBeAdmitted(worker1.ctx, worker1.client, workload)
@@ -1929,34 +1911,6 @@ var _ = ginkgo.Describe("MultiKueue", ginkgo.Ordered, ginkgo.ContinueOnFailure,
 	})
 })
 
-func debugAll(ns string) {
-	debug(ns, "MANAGER", managerTestCluster)
-	debug(ns, "WORKER1", worker1TestCluster)
-	debug(ns, "WORKER2", worker2TestCluster)
-}
-
-func debug(ns, clusterName string, c cluster) {
-	log := ginkgo.GinkgoLogr.WithName(clusterName)
-
-	jobs := &batchv1.JobList{}
-	gomega.Expect(c.client.List(c.ctx, jobs, client.InNamespace(ns))).To(gomega.Succeed())
-	if len(jobs.Items) == 0 {
-		log.Info("no jobs")
-	}
-	for _, job := range jobs.Items {
-		log.Info("job", "name", job.Name, "uid", job.UID, "prebuild", job.Labels[constants.PrebuiltWorkloadLabel], "pods", job.Spec.Parallelism, "suspend", job.Spec.Suspend)
-	}
-
-	wls := &kueue.WorkloadList{}
-	gomega.Expect(c.client.List(c.ctx, wls, client.InNamespace(ns))).To(gomega.Succeed())
-	if len(wls.Items) == 0 {
-		log.Info("no workloads")
-	}
-	for _, wl := range wls.Items {
-		log.Info("wl", "name", wl.Name, "pods", wl.Spec.PodSets[0].Count, "labels", wl.Labels, "status", wl.Status)
-	}
-}
-
 func admitWorkloadAndCheckWorkerCopies(acName string, wlLookupKey types.NamespacedName, admission *utiltesting.AdmissionWrapper) {
 	ginkgo.By("setting workload reservation in the management cluster", func() {
 		util.SetQuotaReservation(managerTestCluster.ctx, managerTestCluster.client, wlLookupKey, admission.Obj())