-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
test: Add Error Log Exceptions #18117
test: Add Error Log Exceptions #18117
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My take on this is that this is an error message which resolves itself, and causing CI to fail on this error message causes issues by itself without providing a useful way for developers to understand and attempt to resolve the issue. The log message is very specific to the leader election code in the operator (+ underlying k8s library). So, if we think this is benign then this is the right solution. If we think this error is not benign, then we should probably develop dedicated operator HA tests in order to catch any potential issues with those codepaths. In both cases it doesn't make sense to error out randomly in different tests on arbitrary contributors' PRs.
But I welcome input from the other reviewers as well before merging this.
Occasionally the cilium-operator will run into a transient issue where it cannot get/update/release the leaselock with K8s that it uses to adjudicate its leader election. This error message is part and parcel of this failure and can be ignored. cf. #16402 Signed-off-by: Nate Sweet <nathanjsweet@pm.me>
e9a25ec
to
2874bf9
Compare
I don't think we need to run the full end-to-end tests given this is a trivial change. All reviews are in, so marking ready to merge. The CodeQL failures are for code not touched in this pull request. |
Occasionally the cilium-operator will run into a transient issue
where it cannot get/update/release the leaselock with K8s that
it uses to adjudicate its leader election. This error message
is part and parcel of this failure and can be ignored.
cf. #16402
Signed-off-by: Nate Sweet nathanjsweet@pm.me
Fixes: #17660.