===== 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/
- links to
-
RHBA-2024:127642 RHBA: sandboxed-containers bug fix and enhancement update
- mentioned on