Fix oc-mirror component mapping for Sippy dashboard#667
Fix oc-mirror component mapping for Sippy dashboard#667aguidirh wants to merge 1 commit intoopenshift-eng:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: aguidirh The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest-required |
|
@xueqzhan could you help review? Thanks |
|
@deads2k Could you help review? Thanks |
d7cb0b5 to
351981d
Compare
The oc-mirror component was not appearing in Sippy dashboard due to: 1. Empty matchers - component couldn't identify any tests 2. Orphaned duplicate component at pkg/components/oc/ocmirror Changes: - Add matchers to pkg/components/ocmirror/component.go to identify tests containing 'ocmirror' or 'oc-mirror' - Set Priority=5 to resolve conflicts with parent 'oc' component - Remove orphaned pkg/components/oc/ocmirror/ directory (legacy from when Jira component was 'oc / oc-mirror') - Remap 137 tests from 'oc' to 'oc-mirror' component This enables oc-mirror tests to appear correctly in the Sippy dashboard with proper Jira component mapping (JIRA ID: 14970). Signed-off-by: Alex Guidi <aguidi@redhat.com>
351981d to
c82d8f1
Compare
|
@deads2k could you please have a look? @kasturinarra are you also a reviewer on this repo? |
@aguidirh no, i am not a reviewer actually on this repo. |
Fix oc-mirror component mapping for Sippy dashboard
Problem
The
oc-mirrorcomponent was not appearing in the Sippy dashboard because:Matchersarray, so it couldn't identify any testspkg/components/oc/ocmirror/from when the Jira component was namedoc / oc-mirror(now renamed tooc-mirror)As a result, all oc-mirror tests were being incorrectly mapped to the parent
occomponent instead ofoc-mirror.Solution
Added test matchers:
pkg/components/ocmirror/component.goto identify tests containingocmirrororoc-mirrorPriority=5to resolve ownership conflicts with the parentoccomponent (which also matches Workloads suite tests)Cleaned up legacy code:
pkg/components/oc/ocmirror/directory that was never registered in the component registryUpdated mappings:
make mappingto regenerate test mappingsoccomponent tooc-mirrorcomponent (Jira Component ID: 14970)Test Examples
Tests now properly mapped to oc-mirror:
OCP-46520: Local backend support for oc-mirrorOCP-46523: Check the User Agent for oc-mirrorOCP-51093: oc-mirror initOCP-72708: ocmirror v2 works well support delete functionOCP-75502: IBM Operator Index mirrored by oc-mirrorResult
✅ The oc-mirror component will now appear in the Sippy dashboard with its 137 tests properly attributed
✅ Tests are correctly mapped to Jira component
oc-mirror(ID: 14970)✅ No test ownership conflicts
Checklist
make mappingand committed the resultsUnknowncomponent