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
Bug 1841013: TestBoundTokenSignerController tests is unstable causing e2e-aws-operator to fail frequently #868
Bug 1841013: TestBoundTokenSignerController tests is unstable causing e2e-aws-operator to fail frequently #868
Conversation
test/e2e/bound_sa_token_test.go
Outdated
err := wait.PollImmediate(interval, timeout, func() (done bool, err error) { | ||
|
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.
nit: no empty line
test/e2e/bound_sa_token_test.go
Outdated
}) | ||
} | ||
|
||
// checkBoundTokenOperandSecret checks that the operand secret is | ||
// populated with the expected data. | ||
func checkBoundTokenOperandSecret(t *testing.T, kubeClient *clientcorev1.CoreV1Client, timeout time.Duration, expectedData map[string][]byte) { | ||
func checkBoundTokenOperandSecret(t *testing.T, kubeClient *clientcorev1.CoreV1Client, additionalCheckFn func(), timeout time.Duration, expectedData map[string][]byte) { |
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.
doc additionalCheckFn
Needs a PR description what is actually done. |
/test e2e-aws-operator |
1 similar comment
/test e2e-aws-operator |
I think that the issue is that the test doesn't know how to detect that a new version of the server has been rolled out and it's okay to go. Rolling out a new version is an expensive process that takes quite a long time (30 min?). Like this particular line - I suspect it almost always yields immediately which will cause the test to think it's okay to test . . .
I increased the timeout and added an additional check that will wait for the operator (AvailableNotProgressingNotDegraded) while waiting for the token and it seems to improve the test. |
I think that we could change It could read revisions and wait until all replicas are on the same revision. It could then report |
I think that increasing only the timeout will fix the issue - trying now. |
31f3997
to
ef60af7
Compare
I would also remove the usage of |
I think it also has a few more issues, for example, |
/assign @marun |
/retest |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: marun, p0lyn0mial, sttts 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 |
@p0lyn0mial: This pull request references Bugzilla bug 1841013, which is invalid:
Comment In response to this:
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. |
/bugzilla refresh |
@p0lyn0mial: This pull request references Bugzilla bug 1841013, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
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. |
/retest Please review the full test history for this PR and help us cut down flakes. |
26 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@p0lyn0mial: All pull requests linked via external trackers have merged: openshift/cluster-kube-apiserver-operator#868. Bugzilla bug 1841013 has been moved to the MODIFIED state. In response to this:
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. |
No description provided.