-
Bug
-
Resolution: Unresolved
-
Major
-
4.14.z, 4.15.z, 4.17.z, 4.16.z, 4.18.z, 4.19.z
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
Rejected
-
Oddish Sprint 275, Pikachu Sprint 276, Quagsire Sprint 277, Rhydon Sprint 278
-
4
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
opm validate is not failing when channel entry both replaces and skips the same bundle. this is a condition created by the bug OCPBUGS-60254 opm validate needs to be able to fail validation when it detects a channel entry which contains a replaces and skips edge referencing the same bundle version.
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Create FBC with an olm.channel schema with an edge that references the same bundle version for both replaces and skips edges, for e.g.: ... "entries": [ { "name": "test-operator-v1.0.0" }, { "name": "test-operator-v1.1.0" }, { "name": "test-operator-v1.1.2" }, { "name": "test-operator-v1.1.4", "replaces": "test-operator-v1.0.0", "skips": [ "test-operator-v1.0.0", "test-operator-v1.1.0", "test-operator-v1.1.2" ] }, ... 2. write this FBC to a directory 3. run `opm validate <directory>`
Actual results:
validation passes
Expected results:
validation fails
Additional info:
- is caused by
-
OCPBUGS-60254 Semver template is producing invalid channel entries
-
- Verified
-
- links to