OCP-24818 Checking OLM descriptors#14
Conversation
…cription,CatalogSource,OperatorSource,OperatorGroup,PackageManifest,CatalogSourceConfig
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tbuskey 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 |
|
/cc @jianzhangbjz, @bandrade, @scolange, @kuiwang02, @mffiedler Have a review |
|
|
||
| // OCP-24818 - Checking OLM descriptors | ||
| // author: tbuskey@redhat.com | ||
| g.It("Checking OLM descriptors", func() { |
There was a problem hiding this comment.
Is this being done for all CRDs shipped with OpenShift?
There was a problem hiding this comment.
@jianzhangbjz Do you have direction here?
There was a problem hiding this comment.
This test seems extremely similar to those featured in openshift/origin#22696 as well. Could you explain how the tests featured in openshift/origin are different from those featured in the openshift/openshift-test repository?
There was a problem hiding this comment.
We were directed to move QE OLM tests out of the origin repo to this one.
There was a problem hiding this comment.
Yes, we're migrating the extended tests from origin to this repo. Details in: openshift/enhancements#183
@tbuskey this will continue to fail on 4.3 until operator-framework/operator-lifecycle-manager#1197 is merged |
|
@awgreene Yes, this fails on 4.3, but it demonstrates the log output. |
|
Removed CatalogSourceConfig check |
oc explain for InstallPlan, ClusterServiceVersion, Subscription, CatalogSource, OperatorSource, OperatorGroup, PackageManifest, CatalogSourceConfig should not be empty
Test case: https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-24818
Succeeds on OCP 4.4, fails 5(?) on OCP 4.3
If any one of the descriptors is empty, the tests fails and logs the ones that failed and a total count
./extended-platform-tests run all --dry-run | grep 'Checking OLM descriptors' | ./extended-platform-tests run -f - 2>&1 > tee testruntestrun-24818.log