kubernetes: Failure cluster [c199077e...]: Pod InPlace Resize Container pod-resize-resource-quota-test
Failure cluster c199077e785ee1358fcf
Error text:
[FAILED] exceeded quota: resize-resource-quota, requested: memory=350Mi, used: memory=700Mi, limited: memory=800Mi
Expected an error to have occurred. Got:
<nil>: nil
In [It] at: k8s.io/kubernetes/test/e2e/node/pod_resize.go:172 @ 11/13/24 12:32:16.302
Another failure:
container[c1] status resources mismatch: Expected
<v1.ResourceRequirements>:
limits:
cpu: 300m
memory: 300Mi
requests:
cpu: 300m
memory: 300Mi
to equal
<v1.ResourceRequirements>:
limits:
cpu: 400m
memory: 400Mi
requests:
cpu: 400m
memory: 400Mi
Recent failures:
11/18/2024, 3:48:51 AM ci-kubernetes-e2e-gci-gce 11/17/2024, 5:34:50 PM ci-kubernetes-e2e-gci-gce-ip-alias 11/17/2024, 11:42:35 AM ci-containerd-e2e-ubuntu-gce 11/17/2024, 5:48:18 AM ci-kubernetes-e2e-kind-alpha-beta-features 11/16/2024, 12:34:32 PM ci-containerd-e2e-ubuntu-gce
/kind failing-test /kind flake /sig node
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (19 by maintainers)
@esotsal I don’t think that failure contains my commit - the line number of the failure doesn’t line up with where the check is in my commit.
Based on the job version of the ci job (v1.31.7-1+de93867c9241d8) I think this test is based on this older commit: https://github.com/kubernetes/kubernetes/blob/de93867c9241d860f4ba25976393e2dba5e1bc95/test/e2e/node/pod_resize.go#L1458
The line number in the failure does line up with the check in this older commit.
Though I haven’t reached the root cause, this issue doesn’t look to have been caused by
InPlacePodVerticalScalingfeature.In ci-kubernetes-e2e-gci-gce #1858341567471816704:
Referring to kube-controller-manager.log, Resource Quota Monitor detected pod updates:
However, Resource Quota Controller could not update the resource quota immediately:
It looks that
Sync()of Resource Quota Controller got stuck atWaitForNamedCacheSync()with acquiringworkerLock: https://github.com/kubernetes/kubernetes/blob/35d098aaa0a912171c46345e2c0a7b54d6046ef4/pkg/controller/resourcequota/resource_quota_controller.go#L471-L500So, workers that updates resource quotas in Resource Quota Controller got blocked at locking: https://github.com/kubernetes/kubernetes/blob/35d098aaa0a912171c46345e2c0a7b54d6046ef4/pkg/controller/resourcequota/resource_quota_controller.go#L263-L270
Sync()had gotten stuck before pod-resize-resource-quota-test started.