-
Notifications
You must be signed in to change notification settings - Fork 32
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
operator: image bundle < 1000 references test #2549
operator: image bundle < 1000 references test #2549
Conversation
b5cac8e
to
44b1993
Compare
from change #2549: |
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 guess you need to update CATALOG.md too, right?
from change #2549: |
I tried this new test in our operator-based workload but it's skipped, it complains that no catalog source is found:
However, all the other operator tests are passing:
In our case, we create a CatalogSource called nfv-example-cnf-catalog in the default openshift-marketplace namespace. Is it the reason why it's not autodiscovered for this test (not using the workload namespace)? |
At the moment, the requirement is to only test catalogSources that come from a namespace-under-test. Users don't have to label their catalog sources. Let me bring that up with the rest of the team to see if that would make sense to change it. |
58619de
to
ee78a85
Compare
ee78a85
to
cad28de
Compare
from change #2549: |
cad28de
to
2bda85b
Compare
from change #2549: |
redhat-best-practices-for-k8s/certsuite-sample-workload#502 I added a sample catalogsource in the sample-workload repo that gets deployed in the CI so we can mark it as an expected passing test. I will also add a positive and negative test in QE. |
85a95fc
to
ba205ea
Compare
from change #2549: |
ba205ea
to
a35e0a4
Compare
from change #2549: |
a35e0a4
to
e321320
Compare
from change #2549: |
from change #2549: |
@sebrandon1, the operator-bundle-count test is still skipped. Please tell me if you need some info to troubleshoot, but in the DCI job, in Files section, you can take a look at the claim.json file, certsuite.log (however, no logs are provided to this test, it directly says that no CatalogSource was found) and so on. |
e321320
to
7e57fde
Compare
3f9b195
to
aa6e294
Compare
from change #2549: |
aa6e294
to
d87d5ef
Compare
d87d5ef
to
3175a0f
Compare
from change #2549: |
d3df56b
to
837bc3c
Compare
Okay I was able to verify that the logic I added for performing the |
837bc3c
to
52cd072
Compare
from change #2549: |
I will schedule it when it's available, it will take some time but I'll tell you when it's ready |
from change #2549: |
Tested with 4.12, and the test is skipped in this case, it's returning 0 to all executions. This needs to be reviewed. |
@ramperher Yup it is installed an available in v0.0.11 of the probe image. We are issuing the EDIT: I see what's wrong with it. The |
Look through CSVs and PackageManifests Remove curl lookup; use relatedImages Add filter for already reported catalogsources additional cleanup; catalogsource pkg and tests total up channel entries for bundle count cleanup and rebuild catalog
52cd072
to
d8b0307
Compare
from change #2549: |
from change #2549: |
Now it's passing in OCP 4.12, so LGTM |
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.
LGTM
c90ecc2
into
redhat-best-practices-for-k8s:main
from change #2549: |
Adds a test for operator image bundles. They must have a bundleCount less than 1000 images. This is new from the v1.6 document.