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

CVP failure: skipRanges are not as expect

XMLWordPrintable

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

      ===== Test: operator-accidental-unpublishing-of-released-operators-bundle-image =====

       

      Red Hat Operators should not be accidentally unpublishing released operator versions when shipping a new operator version.

      What this test does:

      • Parses the value of 'skipRange' and 'replaces' values if present in the operator CSV file.
      • Checks if 'skipRange' is used without 'replaces'. If it is, then checks if this is the first bundle in a new channel

      This test will pass with SUCCESS if:

      • 'skipRange' is used with 'replaces'
        OR
      • 'skipRange' is used without 'replaces' but the bundle is the first one in a new channel
        OR
      • 'skipRange' is used without 'replaces' but all the bundles in the targeted channels are listed in 'skips'
        OR
      • no 'skipRange' is used

      [INVALID] [sandboxed-containers-operator.v1.5.0, sandboxed-containers-operator.v1.5.1, sandboxed-containers-operator.v1.5.2] are missing from spec.skips for channel stable in the v4.12 index and "spec.replaces" is not used either. The bundle will prune existing upgrade graph in the channel "stable".
      [INVALID] [sandboxed-containers-operator.v1.5.0, sandboxed-containers-operator.v1.5.1, sandboxed-containers-operator.v1.5.2] are missing from spec.skips for channel stable in the v4.13 index and "spec.replaces" is not used either. The bundle will prune existing upgrade graph in the channel "stable".
      [INVALID] [sandboxed-containers-operator.v1.5.0, sandboxed-containers-operator.v1.5.1, sandboxed-containers-operator.v1.5.2] are missing from spec.skips for channel stable in the v4.14 index and "spec.replaces" is not used either. The bundle will prune existing upgrade graph in the channel "stable".
      [INVALID] [sandboxed-containers-operator.v1.5.0, sandboxed-containers-operator.v1.5.1, sandboxed-containers-operator.v1.5.2] are missing from spec.skips for channel stable in the v4.15 index and "spec.replaces" is not used either. The bundle will prune existing upgrade graph in the channel "stable".
      [INVALID] [sandboxed-containers-operator.v1.5.0, sandboxed-containers-operator.v1.5.1, sandboxed-containers-operator.v1.5.2] are missing from spec.skips for channel stable in the v4.16 index and "spec.replaces" is not used either. The bundle will prune existing upgrade graph in the channel "stable".

      [TEST RESULT] The bundle will prune the existing upgrade graph of the operator. The test operator-accidental-unpublishing-of-released-operators-bundle-image FAILED

       

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

      -> /cvp/cvp-redhat-operator-bundle-image-validation-test/osc-operator-bundle-container-1.6.0-11/f9697877-eb69-45ad-8eda-231196b5a1f2/

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

                Created:
                Updated:
                Resolved: