Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test TestImageUpdateAutomationReconciler_deleteBeforeFinalizer #575

Closed
makkes opened this issue Aug 22, 2023 · 2 comments · Fixed by #565
Closed

Flaky test TestImageUpdateAutomationReconciler_deleteBeforeFinalizer #575

makkes opened this issue Aug 22, 2023 · 2 comments · Fixed by #565
Labels
area/ci CI related issues and pull requests area/testing Testing related issues and PRs

Comments

@makkes
Copy link
Member

makkes commented Aug 22, 2023

The test flakes with the following error message:

--- FAIL: TestImageUpdateAutomationReconciler_deleteBeforeFinalizer (2.05s)
    update_test.go:162: 
        Unexpected error:
            <*errors.StatusError | 0xc00010a280>: 
            Operation cannot be fulfilled on imageupdateautomations.image.toolkit.fluxcd.io "test-imageupdate": the object has been modified; please apply your changes to the latest version and try again
            {
                ErrStatus: {
                    TypeMeta: {Kind: "", APIVersion: ""},
                    ListMeta: {
                        SelfLink: "",
                        ResourceVersion: "",
                        Continue: "",
                        RemainingItemCount: nil,
                    },
                    Status: "Failure",
                    Message: "Operation cannot be fulfilled on imageupdateautomations.image.toolkit.fluxcd.io \"test-imageupdate\": the object has been modified; please apply your changes to the latest version and try again",
                    Reason: "Conflict",
                    Details: {
                        Name: "test-imageupdate",
                        Group: "image.toolkit.fluxcd.io",
                        Kind: "imageupdateautomations",
                        UID: "",
                        Causes: nil,
                        RetryAfterSeconds: 0,
                    },
                    Code: 409,
                },
            }
        occurred

Example logs of a failed workflow run: logs_3920.zip

@makkes makkes added area/ci CI related issues and pull requests area/testing Testing related issues and PRs labels Aug 22, 2023
@aryan9600
Copy link
Member

this is addressed in #565

@makkes
Copy link
Member Author

makkes commented Aug 22, 2023

Thanks @aryan9600. I edited the PR's description to close this issue when it's merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI related issues and pull requests area/testing Testing related issues and PRs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants