hunting ResourceQuota and capture the life of a secret#24778
hunting ResourceQuota and capture the life of a secret#24778p0lyn0mial wants to merge 3 commits intoopenshift:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: p0lyn0mial The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
8cd84cd to
bed0aa3
Compare
|
I think that the way the test counts the expected number of secrets is not deterministic. Especially under moderate load. I wrote a script rage.sh that runs the test 50 times in parallel on my local machine. The output (the log file ) is attached as a commit. It shows that the number of expected vs actual secrets diverges quickly. For example "expected 6, actual 7", "expected 6, actual 8", "expected 3, actual 6". It's worth noting that the default number of secrets in 4.5 cluster is 9. The secrets are generated by various controllers I suspect they are simply throttled - given the number of namespaces we create during e2e tests. To properly fix the test I think we would need a way of knowing a namespace has been fully initialized and it's ready to be consumed. Additionally, we could inspect the individual controllers to see if there are no glaring errors that would slow them down, for example, https://github.com/openshift/openshift-controller-manager/blob/master/pkg/serviceaccounts/controllers/create_dockercfg_secrets.go#L68 |
|
spoke with @mfojtik, it seems that this PR https://github.com/openshift/openshift-controller-manager/pull/72/files#diff-bc9c443ebaeefc1c4319cb1018e62b8cR17 increased the number of times the test fails substantially. |
|
@p0lyn0mial: The following tests 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. DetailsInstructions 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. |
No description provided.