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

CVP failure: multiple required annotations missing [1.6.0 downstream]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • OSC 1.6.0
    • OSC 1.6.0
    • midstream
    • None
    • 2
    • False
    • None
    • False
    • Proposed
    • Kata Sprint #252
    • 0
    • 0.000
    • High

      ===== Test: operator-infrastructure-feature-bundle-image =====

       

      Red Hat operators should indicate whether they support running in a disconnected environment, in the 'features.operators.openshift.io/*' annotations. The annotations are expected to be a string "true" or "false".

      A list of required infrastructure-related annotations:
       * features.operators.openshift.io/disconnected
       * features.operators.openshift.io/fips-compliant
       * features.operators.openshift.io/proxy-aware
       * features.operators.openshift.io/tls-profiles
       * features.operators.openshift.io/token-auth-aws
       * features.operators.openshift.io/token-auth-azure
       * features.operators.openshift.io/token-auth-gcp

      A list of optional infrastructure-related annotations:
       * features.operators.openshift.io/cnf
       * features.operators.openshift.io/cni
       * features.operators.openshift.io/csi

      What this test does:
       * Parses the value of 'features.operators.openshift.io/*' annotations in the operator CSV file
       * Checks whether the values are set to a string "true" or "false"

      The test will pass with SUCCESS if:
       * all the required infrastructure feature annotations are present in the operator CSV file
       AND
       * all the required infrastructure feature annotations are set to string "true" or "false"

      The test will fail otherwise.

      More information about the infrastructure feature annotations can be found here:
      https://docs.openshift.com/container-platform/4.15/operators/operator_sdk/osdk-generating-csvs.html#osdk-csv-annotations-infra_osdk-generating-csvs 

      [INVALID] The 'features.operators.openshift.io/disconnected' annotation is missing from the operator CSV.
      [INVALID] The 'features.operators.openshift.io/fips-compliant' annotation is missing from the operator CSV.
      [INVALID] The 'features.operators.openshift.io/proxy-aware' annotation is missing from the operator CSV.
      [INVALID] The 'features.operators.openshift.io/tls-profiles' annotation is missing from the operator CSV.
      [INVALID] The 'features.operators.openshift.io/token-auth-aws' annotation is missing from the operator CSV.
      [INVALID] The 'features.operators.openshift.io/token-auth-azure' annotation is missing from the operator CSV.
      [INVALID] The 'features.operators.openshift.io/token-auth-gcp' annotation is missing from the operator CSV.
      [OPTIONAL] The 'features.operators.openshift.io/cnf' annotation is missing from the operator CSV.
      [OPTIONAL] The 'features.operators.openshift.io/cni' annotation is missing from the operator CSV.
      [OPTIONAL] The 'features.operators.openshift.io/csi' annotation is missing from the operator CSV.

      [TEST RESULT] The infrastructure feature annotations [disconnected, fips-compliant, proxy-aware, tls-profiles, token-auth-aws, token-auth-azure, token-auth-gcp, cnf, cni, csi] are either missing from the operator CSV or not equal to a string "true"/"false".

       

      -------------------
      Execution Reference:

      -> /cvp/cvp-redhat-operator-bundle-image-validation-test/osc-operator-bundle-container-1.5.3-3/f7183047-bc44-445b-af6f-20f32d73d795/

              rhgkurz Greg Kurz
              cmeadors@redhat.com Cameron Meadors
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: