-
Notifications
You must be signed in to change notification settings - Fork 54
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
e2e error: already exists in namespace '' and cannot be managed by operator-controller #1307
Comments
This is inconsistent, when it shows up, a re-run of the e2e usually succeeds. This is a fairly frequent flake. |
Sounds like the reason for this flake is that we reuse bundle objects in different tests and do not properly wait for cleanup to occur. Short term fix:
Long term fix:
|
hi @joelanford for the short term fix, should I add a grace period? |
/assign rashmi43 |
I think this is related #1354 |
#1354 seems to be WIP. I'm taking a look at this as well. |
Fixes operator-framework#1307 Create and use a new namespace for every e2e test. This means that extension resources are placed in their own namespace. The tests deletes the namespace, and then waits until completion. This ensures that _most_ of an extension's resources are deleted. It does not guarantee that global resources (e.g. CRDs, CRs, CRBs) are deleted, but it improves the tests, and would eventually allow the tests to be run in parallel (assuming the installed extensions allow for that). Signed-off-by: Todd Short <tshort@redhat.com>
Fixes operator-framework#1307 Create and use a new namespace for every e2e test. This means that extension resources are placed in their own namespace. The tests deletes the namespace, and then waits until completion. This ensures that _most_ of an extension's resources are deleted. It does not guarantee that global resources (e.g. CRDs, CRs, CRBs) are deleted, but it improves the tests, and would eventually allow the tests to be run in parallel (assuming the installed extensions allow for that). Signed-off-by: Todd Short <tshort@redhat.com>
Fixes operator-framework#1307 Create and use a new namespace for every e2e test. This means that extension resources are placed in their own namespace. The tests deletes the namespace, and then waits until completion. This ensures that _most_ of an extension's resources are deleted. It does not guarantee that global resources (e.g. CRDs, CRs, CRBs) are deleted, but it improves the tests, and would eventually allow the tests to be run in parallel (assuming the installed extensions allow for that). Signed-off-by: Todd Short <tshort@redhat.com>
Fixes operator-framework#1307 Create and use a new namespace for every e2e test. This means that extension resources are placed in their own namespace. The tests deletes the namespace, and then waits until completion. This ensures that _most_ of an extension's resources are deleted. It does guarantee that global resources (e.g. CRDs, CRs, CRBs) are deleted. And would eventually allow the tests to be run in parallel (assuming the installed extensions allow for that). Signed-off-by: Todd Short <tshort@redhat.com>
See https://github.com/operator-framework/operator-controller/actions/runs/11019902090/job/30603456402#step:4:417
Other runs with this error:
The text was updated successfully, but these errors were encountered: