kubernetes-sigs / kueue

Kubernetes-native Job Queueing
https://kueue.sigs.k8s.io
Apache License 2.0
1.36k stars 238 forks source link

Flaky test for single pod integration #1559

Closed alculquicondor closed 8 months ago

alculquicondor commented 8 months ago

What happened:

Expected pod to be deleted
The function passed to Eventually failed at /home/prow/go/src/sigs.k8s.io/kueue/test/integration/controller/jobs/pod/pod_controller_test.go:297 with:
Expected success, but got an error:
    <*errors.StatusError | 0xc00102f5e0>: 
    pods "test-pod" not found
    {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "pods \"test-pod\" not found",
            Reason: "NotFound",
            Details: {Name: "test-pod", Group: "", Kind: "pods", UID: "", Causes: nil, RetryAfterSeconds: 0},
            Code: 404,
        },
    }

What you expected to happen:

It looks like the Pod was actually deleted, but somehow the check is wrong.

How to reproduce it (as minimally and precisely as possible):

https://testgrid.k8s.io/sig-scheduling#periodic-kueue-test-integration-main&width=20

Anything else we need to know?:

Environment:

alculquicondor commented 8 months ago

cc @achernevskii /assign

tenzen-y commented 8 months ago

@alculquicondor Isn't this duplicated with #1501?

tenzen-y commented 8 months ago

And then, I fixed it in #1547

alculquicondor commented 8 months ago

Oops, sorry, I forgot to check for existing issues

/close

k8s-ci-robot commented 8 months ago

@alculquicondor: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/kueue/issues/1559#issuecomment-1881762012): >Oops, sorry, I forgot to check for existing issues > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
tenzen-y commented 8 months ago

/kind flake