← Back to Pull requests

INTEROP-9630: Add LP--OCP component for canonical OCP platform-infra OPP suites #936

Closed
unknown closed this pull request without merging on Nov 23, 2026 15:09 UTC
View on GitHub
unknown unknown commented on Nov 19, 2026 16:18 UTC
Author

Add LP--OCP for canonical OCP platform-infra OPP suites

What

Registers the Component Readiness component LP--OCP for the OCP platform-infra
interop suites of the OPP multi-LP interop job, and re-routes the 8 rows that
currently fall to Unknown. This is the OCP component that #934 deliberately
scoped out, re-creating the intent of closed #883 on the component-first matcher
convention agreed on 2026-10-23.

Review response (2026-11-20, sosiouxme): the pass-through identifyCapabilities
stub is removed; IdentifyTest calls util.DefaultCapabilities directly. No
behavior change: mapping regeneration stays byte-identical.

Acceptance: the 6 new fixture rows in pkg/components/lp_capabilities_test.go
pass, make mapping (regenerate plus verify) is a no-op after the committed
regeneration, and map-verify exits 0 with no row moved into Unknown.

Why

These rows are Unknown because no OCP component claims them. The interop step
scripts still write the runtime-first names literally (lp-interop--OPP--smoke,
--backup, --wait-mcp), and the canonical lp-interop--OCP--OPP-- names have
no consumer yet. Registering the component closes both gaps without waiting for
the producer-side prefix migration.

Scope

Read in this order:

| # | Path | Change | Why |
|---|---|---|---|
| 1 | pkg/components/lpocp/component.go | new, 73 lines | the component: ordered matcher list, capability OPP, default Jira component LP--OCP; calls util.DefaultCapabilities directly (no pass-through stub, review ask) |
| 2 | pkg/registry/registry.go | +2 lines | register LP--OCP |
| 3 | pkg/components/lp_capabilities_test.go | +27/-30 lines | 6 fixture rows (3 canonical, 3 runtime-first); retires the 3 runtime-first Unknown misroute pins and the canonical wait-mcp future pin |
| 4 | data/openshift-gce-devel/ci_analysis_us/component_mapping.json | 8 rows | regeneration output, see Data |

Not in this PR: no producer-side suite rename (the steps keep emitting
lp-interop--OPP--
until that migration lands); no junit.json or QE dataset
change; no matcher change for the LP--ACM/LP--ACS/LP--ODF/LP--Quay
siblings, whose identical pass-through stubs are left untouched (a repo-wide
cleanup, if wanted, is a separate PR); no Jira component creation (requested
separately, see below); the per-suite regexes from closed #883 are not revived.

Matcher structure

  • ^lp-ocp-compat--OCP--, no capabilities

  • ^lp-chaos--OCP--, no capabilities

  • ^lp-interop--OCP--OPP--, capability OPP

  • exact Suite lp-interop--OPP--smoke, capability OPP (runtime-first, 5 live rows)

  • exact Suite lp-interop--OPP--backup, capability OPP (1 live row)

  • exact Suite lp-interop--OPP--wait-mcp, capability OPP (2 live rows)
  • No broad ^lp-interop--OPP-- matcher: it would take rows from the exact-Suite
    claims of LP--ODF (odf-health, odf-upgrade), LP--ACM (acm-obs-odf),
    LP--ACS (acs-upgrade, acs-deploy) and LP--Quay (quay-upgrade). The three
    regex matchers match 0 rows in the committed snapshot at this head; they prepare
    the consumer side for the canonical names.

    Lineage and base

    The branch lp-ocp-canonical-opp-20261119 was cut from f877d7d and carries the
    commits that later merged as #934, so its original merge base with main was 9f718e1
    (in main since the #934 merge 244c65a, 2026-11-19). The branch has been rebased
    onto current main 06ca32be358447d6031971a850f2d74daa9394a1 (merge of #937, 2026-11-19,
    which includes #934 merge 244c65a, #935 merge d1e1275, and #937 refresh 1c58d86
    and b3a396f). The rebase was chosen because upstream rewrote
    data/openshift-gce-devel/ci_analysis_us/component_mapping.json with a refresh that
    moved the baseline from 71071 rows and 4555 Unknown at 9f718e1 to 71078 rows and
    4480 Unknown at 06ca32b, while pkg/ between 9f718e1 and 06ca32b is empty. Data
    therefore conflicted and required regeneration.

    | Fact | Value |
    |---|---|
    | main tip | 06ca32b, merge of #937 (06ca32be358447d6031971a850f2d74daa9394a1) |
    | previous merge base | 9f718e1 (with 5 commits on main since that point before rebase: 244c65a, d1e1275, 1c58d86, b3a396f, 06ca32b) |
    | current merge base | 06ca32be358447d6031971a850f2d74daa9394a1 (upstream/main), branch is ahead-only (0 behind, 5 ahead) |
    | commits unique to the branch (5) | 9795ffd, 767b99d, 0ccbeca, cd174486 (rebased; equivalent to 28109d2, b94af40, 61cd6c1, 6dcd277 before rebase), plus review-response 3fdb687 |
    | delta against the current base | 4 files, +134/-62 (git diff --stat 06ca32b 3fdb687) |
    | delta a merge would carry | the same 4 files; git merge-tree 06ca32b 3fdb687 06ca32b reports no conflict markers, and the base has not moved since the rebase |
    | what the GitHub diff view renders now | 4 files, +134/-62, matching the true delta (the previous 12-file, +30511/-63639 view at recorded base d1e1275 is closed by the rebase) |

    The rebase replayed the four original commits onto 06ca32b and regenerated the
    data file with a fresh ./ci-test-mapping map --mode=local run. The committed
    data file at the head is the output of that regeneration, so the idempotency
    claim holds at the tip. The fifth commit (3fdb687) is the review response and
    touches no data: regeneration at the new head is byte-identical (sha256
    5a99b4a290fedee324def7d04640a21a8fd66e034ea8145bbf476bce470a065a, clean tree
    in and out). At 06ca32b the same 8 rows are still
    Unknown/Other/Unknown/14832, so a regeneration re-routes exactly the same
    8 row IDs; main has 71078 rows and 4480 Unknown versus 71071 and 4555 at the
    previous base.

    Data

    At head 3fdb687 (3fdb68763a213bed51b5e9a0bf492a78932d4664), where the data
    file is byte-identical to the cd174486 regeneration, diffed against 06ca32be:

  • 8 rows re-routed Unknown/Other/Unknown/14832 to

  • LP--OCP/OPP/LP--OCP/null: 5 lp-interop--OPP--smoke (acm-connectivity,
    acs-sensors, cluster-health, opp-operators, quay-pull), 1 --backup (backup),
    2 --wait-mcp (predicate-selftest, wait-mcp)
  • 0 keys added, 0 removed (71078 rows on both sides); the row diff is confined to

  • 8 indices, and JIRAComponentID becomes null on exactly those 8 rows because
    the component does not exist in OCPBUGS yet
  • Unknown: 4480 to 4472, minus 8, fully accounted for by the re-routes

  • data//junit.json and the QE dataset: 0 lines changed

  • Previous baseline at 9f718e1 was 71071 rows and 4555 Unknown; the #937 refresh

  • on main moved it to 71078 and 4480 at 06ca32b, and this PR applies the 8-row
    re-route on top of that refreshed baseline (71078 total, 66606 matched, 4472
    unmatched at the head).

    Blast radius and revert

  • Blast radius: only rows whose Suite matches one of the six matchers, 8 rows

  • today, all previously Unknown, all in the US dataset. No row moves into
    Unknown. No schema change, no other component registration touched.
  • Must not change: the exact-Suite claims of the four sibling components (a broad

  • ^lp-interop--OPP-- matcher would take their rows), junit.json, the QE
    dataset, and config/openshift-eng.yaml (which already admits lp-chaos--%,
    lp-interop--% and lp-ocp-compat--%).
  • Failure mode if the runtime-first claims were dropped: the 8 rows return to

  • Unknown, which map-verify reports as rows moved into Unknown.
  • Revert: git revert the five commits in reverse order (review refactor, data,

  • test, registry, component), then re-run make mapping so the committed data
    matches the registry again. Reverting the merge commit is equally sufficient.

    JIRA component (corrected process)

    LP--OCP does not exist in OCPBUGS yet: an anonymous GET of
    https://issues.redhat.com/rest/api/2/project/OCPBUGS/components on 2026-11-20
    returns 200 with 351 components and no LP--OCP (12 LP--
    names plus 4
    lowercase lp-interop-- names). The 8 rows therefore carry
    JIRAComponent: LP--OCP with JIRAComponentID: null. A request will be filed
    through the Developer Services portal at
    https://devservices.dpp.openshift.com/support/new_ocpbugs_component/ (SSO,
    browser only), which opens a DPP ticket processed by Michael Davies (precedent
    DPP-18951), with
    Forrest Babcock (neisw) proposed as the staff-engineer approver (LP--
    precedent
    OCPOWJM-57) and the PR author
    (amp-rh) as component lead, for component name LP--OCP with description
    "Component Readiness tracking for OCP platform-infra interop tests (smoke,
    backup, wait-mcp) from the OPP multi-LP interop job".

    Creating the component is a convention rather than a hard merge gate: PR #786
    (LP--ACM) merged while its component was still "pending Mike Davies", with
    creation confirmed later.

    Backfill paths, in order of preference:

    1. Before merge, a local ./ci-test-mapping map --mode=local run fills
    JIRAComponentID with no code change. The OCPBUGS component list is
    anonymously readable, and local runs already resolve every other LP-- id.
    2. After merge, the daily cronjob hack/cronjob-update-mapping.sh
    (--mode=bigquery) backfills JIRAComponentID once the component exists.

    Naming note: LP--OCP drew a "potentially confusing" remark in Slack
    #forum-ocp-release-oversight (June 2026). The name is retained for consistency
    with the 13-sibling LP--
    family it joins (12 components exist in OCPBUGS
    today, and this PR adds the 13th).

    Checks and evidence

    | Claim | Verified by |
    |---|---|
    | build, vet, unit tests pass | go build ./... && go vet ./... && go test ./... -count=1 at head 3fdb687, author run: exit 0, 0 FAIL, 271 tests run (go test ./... -count=1 -v \| grep -c "^=== RUN") across 260 packages (9 test-bearing); test enumeration identical with and without the refactor commit (153 pkg/components runs at both states). Previous head cd174486 had CI ci/prow/unit, ci/prow/lint, ci/prow/mapping all SUCCESS (commit status, verified 2026-11-20). Current head 3fdb687 triggered new CI at push; commit status: https://api.github.com/repos/openshift-eng/ci-test-mapping/commits/3fdb68763a213bed51b5e9a0bf492a78932d4664/status |
    | gofmt clean | gofmt -l pkg/ at head 3fdb687, author run: only the pre-existing pkg/components/kubernetes-renames.go, byte-identical at the current base 06ca32b, a go1.24.13 map-literal alignment artifact in a file this PR does not touch |
    | mapping regeneration is idempotent | ./ci-test-mapping map --mode=local at head 3fdb687 on a clean tree: exit 0, git status --porcelain empty before and after, data file sha256 5a99b4a290fedee324def7d04640a21a8fd66e034ea8145bbf476bce470a065a unchanged (byte-identical to the committed cd174486 regeneration; a second run during the same session produced the same bytes) |
    | 8-row key diff only | element-wise jq compare of component_mapping.json at 06ca32b versus head: 8 differing indices, each Unknown/Other/Unknown/14832 to LP--OCP/OPP/LP--OCP/null; 71078 rows both sides; data file byte-identical to cd174486, so the same 8 row IDs. Raw file: component_mapping.json at the head |
    | junit and QE untouched | git diff --stat 06ca32b 3fdb687 -- 'data//junit.json' data/openshift-gce-devel/ci_analysis_qe/, empty |
    | all six matcher targets admitted | config/openshift-eng.yaml lists lp-chaos--%, lp-interop--% and lp-ocp-compat--%, none of them in excludeSuites; pinned by TestOPPFixtureSuitesAdmittedByUSConfig |
    | map-verify green | exit 0 at head 3fdb687, author run: 0 rows moved to Unknown (matched 66606, unmatched 4472). This PR only moves rows out of Unknown (4480 to 4472). Caveat: map-verify exits 0 silently on fetch errors (cmd/ci-test-mapping/mapping_verify.go:46 interpolates the mapping file value into the raw URL, bare return at :52), so the rows above come from runs that produced real findings |

    Evidence at 3fdb687 (2026-11-20, review-response update): point-in-time, not a
    currency claim. Rows 1, 2, 3 and 7 name author-local runs at that commit (build,
    vet, tests, gofmt, regeneration with clean tree in and out, map-verify); the CI
    sub-claim in row 1 was re-derived on 2026-11-20 from the GitHub API at
    cd174486 (all three prow contexts SUCCESS) and the new-head status URL is
    recorded for post-push verification. The 8-row key diff and junit/QE rows carry
    over from the byte-identical data file at cd174486, re-anchored at the new
    head by the sha256 match.

    Non-green check disclosure: tide is not_run (merge-queue context, not a code
    check) and the PR is under /hold until the OCPBUGS LP--OCP component exists.
    New-head CI contexts triggered by this push were pending at last poll.

    Commit map

    | Commit | Intent |
    |---|---|
    | 9795ffd | add the LP--OCP component (matchers, capability OPP) |
    | 767b99d | register LP--OCP in the registry |
    | 0ccbeca | pin LP--OCP routing in the LP fixture tests, retire the Unknown misroute pins |
    | cd174486 | regenerate mapping data with LP--OCP routing (rebased and regenerated at 2026-11-20; pre-rebase 6dcd277) |
    | 3fdb687 | review response (sosiouxme): remove the pass-through identifyCapabilities stub, call util.DefaultCapabilities directly; behavior-identical, data byte-identical |

    Branch lp-ocp-canonical-opp-20261119, head
    3fdb68763a213bed51b5e9a0bf492a78932d4664.

    Review ask

    @sosiouxme approved (OWNERS) with one change request, the pass-through stub,
    addressed in 3fdb687. Review requests to @dgoodwin and @xueqzhan stand.
    Approval follows OWNERS: @neisw, who is also the staff-engineer approver named
    in the component request above and has placed a /hold until the OCPBUGS
    LP--OCP component exists (portal request pending, see JIRA component above).
    #934 merged on 2026-11-19, so no other PR has to land first; the base has been
    rebased onto 06ca32b with regeneration, closing the previous 12-file view.

    Tracking: https://issues.redhat.com/browse/INTEROP-9630
    Origin: https://github.com/openshift-eng/ci-test-mapping/pull/883

    ---

    openshift-eng/ci-test-mapping@3fdb68763a213bed51b5e9a0bf492a78932d4664

    AI-generated. Review for accuracy.* Machine-checked at 3fdb687: diff, data
    sha256 and counts, merge cleanliness, CI statuses. Human-reviewed: sosiouxme
    (approved with change request, addressed in 3fdb687).

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: sosiouxme Review duration: 5691m
    All Vouch review confidence checks passed
    Residual risk 0.30 = Change Risk (0.75) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.75 · 650 lines diff across 8 files
    0.75
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.075
    Real PR Conversation Timeline
    1 comments
    "Review active on #936"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 75.2% (HIGH) · Higher = larger blast radius
    75.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 29.7% · Safe to merge
    29.7%