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 timing of SA pull secret creation #24776
Conversation
sa, err := clusterAdminKubeClient.CoreV1().ServiceAccounts(sa.Namespace).Create(sa) | ||
o.Expect(err).NotTo(o.HaveOccurred()) | ||
g.By("waiting for service account's pull secret to be created") | ||
_, _, err = waitForServiceAccountPullSecret(clusterAdminKubeClient, sa.Namespace, sa.Name, 5, time.Second) |
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.
@mfojtik @smarterclayton Is 5 seconds a reasonable maximum to fail on?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan 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 |
91f9cc5
to
fb06fd5
Compare
@adambkaplan: This pull request references Bugzilla bug 1765294, which is valid. 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. |
fb06fd5
to
4922f6b
Compare
@adambkaplan: This pull request references Bugzilla bug 1785023, which is valid. 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. |
4922f6b
to
5b5d7b0
Compare
/retest /assign @bparees |
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.
minor nit.
also please run the tests on this PR 4-5 times before merging to confirm we're not introducing a flaky test (i don't know how reliable the 2s timing will be)
@adambkaplan: No Bugzilla bug is referenced in the title of this pull request. 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. |
@adambkaplan please squash and let me know when you've seen 4-5 passing runs and i'll lgtm. |
b4fcc85
to
a7481aa
Compare
a7481aa
to
ffbed34
Compare
/retest |
/retest hit by CI issues |
ffbed34
to
2733ba2
Compare
@adambkaplan does this PR need to be linked to BZ 1819849? |
* Ensure service account pull secrets are created in 2 seconds or less. * Dump secrets instead of ocm logs for pull secret controller e2e tests.
2733ba2
to
11ec288
Compare
/retest |
/retest /test e2e-gcp /test e2e-aws-fips |
/test e2e-gcp /test e2e-aws-fips |
/retest |
/test e2e-aws /test e2e-gcp /test e2e-gcp-builds |
/test e2e-gcp /test e2e-aws-fips /test e2e-aws-serial |
@adambkaplan: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
@adambkaplan: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
/close No longer relevant |
@adambkaplan: Closed this PR. 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. |
Ensure service account pull secrets are created in 2 seconds or less.