← Back to Pull requests

INTEROP-9752: Map openshift-tests e2e-analysis readiness rows to owning components #938

Open
unknown opened this pull request with 650 lines diff across 8 files
View on GitHub
unknown unknown commented on Nov 20, 2026 17:53 UTC
Author

Map openshift-tests e2e-analysis readiness rows to owning components

Context

Three tests in suite openshift-tests were mapped to Unknown in data/openshift-gce-devel/ci_analysis_us/component_mapping.json (4480 Unknown at base 06ca32be on upstream/main). The rows are emitted by openshift-tests e2e-analysis in openshift/origin (pkg/e2eanalysis/e2e_analysis.go:93 hardcodes suite openshift-tests). The gather-extra step (ci-operator/step-registry/gather/extra) runs this analysis after every successful install and writes the names into that generic suite.

Rows:

  • verify the cluster readiness and stability (openshift-tests:62f646a84807df3d62920d496457214b)

  • ensure 1 worker node at least gets ready (openshift-tests:9fadafaa9969ba1ffce5cf6d69d25775)

  • verify all machines should be in Running state (openshift-tests:e77b966f19c1b07c1e3920ce8267160c)
  • No [sig-] tag is present (Sippy /api/tests?release=4.22 reports tags=null, suite_name=openshift-tests), so SIG/Suite matchers cannot claim the rows. Name based matching is required.

    Blast radius

    In release 4.22 each row has 2147 to 2309 blocking runs spread over 98 to 103 of 100 to 106 variant columns (Sippy 4.22-main view). Breakdown for the readiness row: LayeredProduct:none 2150 of 2309, Owner:eng 2132, Owner:lp 60 (2.6 percent), all installers and platforms represented. LP lanes contribute a small slice because every job emits the e2e-analysis family, not because the names are LP specific. The rows are general platform health checks, not LP emissions.

    Ownership

    | Test name | Component | Jira component id | Rationale |
    |---|---|---|---|
    | verify the cluster readiness and stability | Cluster Version Operator | 14665 | Check is checkClusterVersionStable on ClusterVersion Available/Degraded/Progressing conditions. CVO already owns name based CVO/OTA rows in pkg/components/clusterversionoperator/component.go |
    | ensure 1 worker node at least gets ready | Node / Kubelet | 14851 | Counts Ready nodes with label node-role.kubernetes.io/worker. Sibling verify all nodes should be ready is already owned by Node / Kubelet via name based IncludeAny with Priority: 1 in pkg/components/node/kubelet/component.go |
    | verify all machines should be in Running state | Cloud Compute / Machine API Providers | 14845 | Lists machine.openshift.io/v1beta1 Machines in openshift-machine-api and checks phase == Running. That component already carries a name based IncludeAny block Priority: 1 for Machine API rows in pkg/components/cloudcompute/machineapiproviders/component.go |

    Rejected alternative: LP--OCP. A name claim there would route about 6.6k blocking results per release from Owner:eng jobs to the LP cockpit and would inherit the open Jira prerequisite from PR #936 with no benefit.

    Change

    Add name plus suite pinned matchers (each matcher pins both Suite: "openshift-tests" and IncludeAll with the exact test name, Priority: 1 where the component precedent uses it):

  • pkg/components/clusterversionoperator/component.go: Suite: openshift-tests, IncludeAll: verify the cluster readiness and stability

  • pkg/components/node/kubelet/component.go: Suite: openshift-tests, IncludeAll: ensure 1 worker node at least gets ready, Priority: 1

  • pkg/components/cloudcompute/machineapiproviders/component.go: Suite: openshift-tests, IncludeAll: verify all machines should be in Running state, Priority: 1
  • Capability handling stays on the default path for each component (no hard coded capability). Stable ids are unchanged (no TestRenames entry for the three names, so util.StableID yields the existing hashes).

    Add test coverage in pkg/components/e2e_analysis_readiness_test.go: TestE2EAnalysisReadinessRows asserts Name + Suite openshift-tests routes to the expected component with priority and Other capability, and TestE2EAnalysisReadinessSuitePin asserts a same named test in another suite remains Unknown.

    Verification

  • Build, vet and tests pass (go build ., go vet ./pkg/..., go test ./pkg/...), including TestE2EAnalysisReadinessRows and TestE2EAnalysisReadinessSuitePin

  • Mapping regenerated with map --mode=local: Unknown 4480 to 4477 (drop of 3), matched 66601, unmatched 4477 in data/openshift-gce-devel/ci_analysis_us/component_mapping.json. The three rows now carry:

  • - verify the cluster readiness and stability to Cluster Version Operator with JIRAComponentID 14665
    - ensure 1 worker node at least gets ready to Node / Kubelet with JIRAComponentID 14851
    - verify all machines should be in Running state to Cloud Compute / Machine API Providers with JIRAComponentID 14845
    - All priorities and capabilities as pinned (0/1, Other)
  • map-verify passes with exit 0 (no test moves from a real component to Unknown)

  • The eight lp-interop--OPP-- rows (acm-connectivity, acs-sensors, cluster-health, opp-operators, quay-pull, backup, wait-mcp, predicate-selftest) remain Component Unknown and Capabilities Other in ci_analysis_us, untouched. This branch does not touch PR #936 scope

  • Diff is confined to the three rows in component_mapping.json (3 entries, 11 insertions and 11 deletions, 22 diff lines) plus the three component files and the new test file. No other data file changes. gofmt -l is clean for the touched Go files
  • Out of scope

    The long lived Unknown rename entry verify the cluster readiness and stability to verify the cluster can be connected in pkg/components/unknown/component.go is inert today and left for a separate cleanup. Consistency follow up for verify node count should match or exceed machine count (currently Machine Config Operator) is noted in the analysis and not changed here.

    Tracking: Jira https://redhat.atlassian.net/browse/INTEROP-9752

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: amp-rh Review duration: 14669m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #938"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    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: 52% (MEDIUM) · Higher = larger blast radius
    52%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 27.7% · Safe to merge
    27.7%