-
Notifications
You must be signed in to change notification settings - Fork 4.8k
add extended clusteroperators delete operand namespace recover test #24875
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
Conversation
68816f7 to
f448206
Compare
17a2448 to
79363b2
Compare
|
/assign |
80076a6 to
694fe3a
Compare
694fe3a to
0fae074
Compare
|
/retest |
soltysh
left a comment
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.
One small nit and you're good to go.
test/extended/operators/recover.go
Outdated
| o.Expect(err).ToNot(o.HaveOccurred(), fmt.Sprintf("Operators never became available: %s\n%s", strings.Join(operatorNames(operators.Items).Difference(operatorNames(healthy)).List(), ", "), buf.String())) | ||
| } | ||
| }) | ||
| g.It("when operator-owned operand namespace is deleted [Disruptive]", func() { |
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.
Tags should be at the top next to g.Describe, also add there one more unique tag so we can ensure we select only these in that separate test-suite we want to add. Something like [OperatorRecovery], for example.
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.
I was following suit w/ the other test-case in this file:
origin/test/extended/operators/recover.go
Line 28 in 0fae074
| g.It("when operator-owned objects are deleted [Disruptive]", func() { |
g.Describe though.
0fae074 to
304daed
Compare
|
@sallyom: The following commands are available to trigger jobs:
Use
DetailsIn 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 |
a739186 to
a35e51c
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sallyom, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-aws-disruptive |
a35e51c to
54f2df0
Compare
|
/test e2e-aws-disruptive |
54f2df0 to
71f24ae
Compare
|
/test e2e-aws-disruptive |
|
these are failing, and I think the var |
|
/test e2e-aws-disruptive |
71f24ae to
9706bb9
Compare
846548c to
7fa1a1a
Compare
|
/test e2e-gcp-disruptive |
7fa1a1a to
7f7bc40
Compare
|
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 |
e2e to delete clusteroperators' operand ns, ensure cluster recovery, that is, all COs are Available=True Degraded=False Progressing=False, except "kube-apiserver", deemed healthy with Progressing=True to meet e2e time limit. This test is necessary because deletion of an operand namespace has an effect on another clusteroperator's health. For example, deleting openshift-service-ca namespace causes openshift-console to progress, degrade (if service-ca not recovered). kube-controller-manager co also affects other COs.
7f7bc40 to
66b4b16
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sallyom, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@sallyom: The following tests failed, say
Full PR test history. Your PR dashboard. 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. |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn 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. |
e2e to delete clusteroperators' operand ns, ensure cluster recovery,
that is, all COs are Available=True Degraded=False Progressing=False,
except "kube-apiserver", deemed healthy with Progressing=True to meet e2e time limit.
This test deletes operand namespaces and waits for each to be terminated before deleting another. The recovery happens in parallel. This test is more to check that individual cluster operators recover from operand namespace deletion, rather than recovery from deletion of all operand namespaces at once.
This test is necessary because deletion of an operand namespace has an effect on another
clusteroperator's health. For example, deleting openshift-service-ca namespace causes openshift-console
to progress, degrade (if service-ca not recovered). kube-controller-manager co also affects other COs.