Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4129

Kogito Operator scorecard errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.13.0.GA
    • 7.12.0.GA
    • Cloud
    • None
    • 2022 Week 02-04 (from Jan 10), 2022 Week 05-07 (from Jan 31), 2022 Week 08-10 (from Feb 21), 2022 Week 11-13 (from Mar 14)

       

      Custom scorecard tests are failing on rhpam-kogito-operator:

      {
            "kind": "Test",
            "apiVersion": "scorecard.operatorframework.io/v1alpha3",
            "spec": {
              "image": "quay.io/operator-framework/scorecard-test:v1.2.0",
              "entrypoint": [
                "scorecard-test",
                "olm-crds-have-resources"
              ],
              "labels": {
                "suite": "olm",
                "test": "olm-crds-have-resources-test"
              },
              "storage": {
                "spec": {
                  "mountPath": {}
                }
              }
            },
            "status": {
              "results": [
                {
                  "name": "olm-crds-have-resources",
                  "log": "Loaded ClusterServiceVersion: rhpam-kogito-operator.v7.12.0\n",
                  "state": "fail",
                  "errors": [
                    "Owned CRDs do not have resources specified"
                  ],
                  "creationTimestamp": null
                }
              ]
            }
          }, 
      {
            "kind": "Test",
            "apiVersion": "scorecard.operatorframework.io/v1alpha3",
            "spec": {
              "image": "quay.io/operator-framework/scorecard-test:v1.2.0",
              "entrypoint": [
                "scorecard-test",
                "olm-status-descriptors"
              ],
              "labels": {
                "suite": "olm",
                "test": "olm-status-descriptors-test"
              },
              "storage": {
                "spec": {
                  "mountPath": {}
                }
              }
            },
            "status": {
              "results": [
                {
                  "name": "olm-status-descriptors",
                  "log": "Loaded ClusterServiceVersion: rhpam-kogito-operator.v7.12.0\nLoaded 3 Custom Resources from alm-examples\n",
                  "state": "fail",
                  "errors": [
                    "kogitobuilds.rhpam.kiegroup.org does not have a status descriptor",
                    "kogitoinfras.rhpam.kiegroup.org does not have a status descriptor",
                    "kogitoruntimes.rhpam.kiegroup.org does not have a status descriptor"
                  ],
                  "creationTimestamp": null
                }
              ]
            }
          } 
      {
            "kind": "Test",
            "apiVersion": "scorecard.operatorframework.io/v1alpha3",
            "spec": {
              "image": "quay.io/operator-framework/scorecard-test:v1.2.0",
              "entrypoint": [
                "scorecard-test",
                "olm-spec-descriptors"
              ],
              "labels": {
                "suite": "olm",
                "test": "olm-spec-descriptors-test"
              },
              "storage": {
                "spec": {
                  "mountPath": {}
                }
              }
            },
            "status": {
              "results": [
                {
                  "name": "olm-spec-descriptors",
                  "log": "Loaded ClusterServiceVersion: rhpam-kogito-operator.v7.12.0\nLoaded 3 Custom Resources from alm-examples\n",
                  "state": "fail",
                  "errors": [
                    "gitSource does not have a spec descriptor",
                    "type does not have a spec descriptor",
                    "resource does not have a spec descriptor",
                    "replicas does not have a spec descriptor"
                  ],
                  "suggestions": [
                    "Add a spec descriptor for gitSource",
                    "Add a spec descriptor for type",
                    "Add a spec descriptor for resource",
                    "Add a spec descriptor for replicas"
                  ],
                  "creationTimestamp": null
                }
              ]
            }
          }, 

       

       

              vajain Vaibhav Jain
              tradisso@redhat.com Tristan Radisson
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: