Uploaded image for project: 'Openshift sandboxed containers'
  1. Openshift sandboxed containers
  2. KATA-3273

CVP test warning: "provided API should have an example annotation"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • OSC 1.6.0, OSC 1.7.0
    • Operator
    • None
    • False
    • None
    • False
    • 3
    • 0
    • Low

      Description

      <What were you trying to do that didn't work?>

      CVP score card tests report warnings/suggestions:

                    "Warning: Value confidentialcontainers.org/v1alpha1, Kind=PeerPodConfig: provided API should have an example annotation",
                    "Warning: Value confidentialcontainers.org/v1alpha1, Kind=PeerPod: provided API should have an example annotation"

      Steps to reproduce

      <What actions did you take to hit the bug?>
      1. execute CVP scorecard tests
      2.
      3.

      Expected result

      <What did you expect to happen?>

      No warnings

      Actual result

      <What actually happened?>

                  "name": "olm-bundle-validation",
                  "log": "time=\"2024-08-09T23:00:15Z\" level=debug msg=\"Found manifests directory\" name=bundle-test\ntime=\"2024-08-09T23:00:15Z\" level=debug msg=\"Found metadata directory\" name=bundle-test\ntime=\"2024-08-09T23:00:15Z\" level=debug msg=\"Getting mediaType info from manifests directory\" name=bundle-test\ntime=\"2024-08-09T23:00:15Z\" level=debug msg=\"Found annotations file\" name=bundle-test\ntime=\"2024-08-09T23:00:15Z\" level=debug msg=\"Could not find optional dependencies file\" name=bundle-test\n",
                  "state": "pass",
                  "suggestions": [
                    "Warning: Value confidentialcontainers.org/v1alpha1, Kind=PeerPodConfig: provided API should have an example annotation",
                    "Warning: Value confidentialcontainers.org/v1alpha1, Kind=PeerPod: provided API should have an example annotation"

      Impact

      <How badly does this interfere with using the software?>

      One less warning from CVP but also we need example CRs for RapidDAST testing.

      Env

      <Where was the bug found, i.e. OCP build, operator build, kata-containers build, cluster infra, test case id>

      OSC 1.7.0-9, but has been consistent or all previous builds.

      Additional helpful info

      <logs, screenshot, doc links, etc.>

      http://external-ci-coldstorage.datahub.redhat.com/cvp/cvp-redhat-operator-bundle-image-validation-test/osc-operator-bundle-container-1.7.0-9/e7481d06-5a36-442c-9698-88ccb69a5696/operator-scorecard-tests-bundle-image-output.txt

      Not sure how long this link will exist before it is reaped.

              Unassigned Unassigned
              cmeadors@redhat.com Cameron Meadors
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: