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
Resolve test flakes "the object has been modified" #4239
Conversation
Hi @inteon. Thanks for your PR. I'm waiting for a jetstack or cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
nit: would be great to have a bit more details in the commit message 🤔 Current:
When going through the git log, it would be nice to have "an idea" of what this commit achieves (keeping in mind the 72 chars width limit for the body, and 50 chars for the title) |
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
@inteon thank you for working on this. Looking at one of the failures:
Do you not think it's potentially a timeout from line 161 where we're attempting to apply an update? I see that this PR removes the 'Eventually' from that update operation altogether. |
A few more test runs /test pull-cert-manager-e2e-v1-21 |
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
/test pull-cert-manager-e2e-v1-21 |
This is interesting. But anyway the failures seem to be other flakes, not the ones this PR is fixing |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: inteon, irbekrm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR should resolve most of the flakes that look similar to "Operation cannot be fulfilled on certificates.cert-manager.io "serving-certs": the object has been modified; please apply your changes to the latest version and try again".
This flake is caused by the Issuing=True certificate condition that is removed by the issuing controller.
The best fix is to wait for the Issuing=True certificate condition to get removed when waiting for the certificate to become ready.
Release note:
/kind bug