operator-framework / community-operators

The canonical source for Kubernetes Operators that appear on OperatorHub.io, OpenShift Container Platform and OKD.
Apache License 2.0
418 stars 563 forks source link

Running scorecard trough all supplied CRs. Fails in one of the required test #1955

Closed Kaitou786 closed 4 years ago

Kaitou786 commented 4 years ago

Hi, I'm trying to integrate the OLM integration test as part of our CI. But one of the Scorecard test failed giving error.

time="2020-07-08T09:10:17Z" level=error msg="Plugin `OLM Integration` failed with error (failed to create cr resource: kogitoinfras.app.kiegroup.org \"kogito-infra\" already exists)"
    Basic Tests                         
    CR: 
    Labels: 
    Errors: 
        plugin error
    Log:
        failed to create cr resource: kogitoinfras.app.kiegroup.org "kogito-infra" already exists:
Logs: 

    OLM Integration                     
    CR: 
    Labels: 
    Errors: 
        plugin error
    Log:
        failed to create cr resource: kogitoinfras.app.kiegroup.org "kogito-infra" already exists:
Logs: 
    Running required tests                        [  FAILED  ]
make: *** [Makefile:85: operator.test] Error 1
##[error]Process completed with exit code 2.

Options used:

CATALOG_IMAGE="operatorhubio-catalog:temp"
OP_PATH="community-operators/kogito-operator"
INSTALL_MODE="SingleNamespace"
OPERATOR_TESTING_IMAGE="quay.io/operator-framework/operator-testing:latest"
Kaitou786 commented 4 years ago

I'm not sure what is I might be doing wrong, Can any of you help in this issue?