← Back to Pull requests

DNM/TEST: CORENET-6742: enable [Feature:Service] test suite via OTE #3467

Open
unknown opened this pull request with 284 lines diff across 3 files
View on GitHub
unknown unknown commented on Sep 21, 2026 21:40 UTC
Author

Summary

Enables the [Feature:Service] e2e suite in OpenShift CI via OTE and includes the infrastructure and test fixes required for reliable execution.

Of the 37 Service specs upstream, 28 run on every supported platform, 3 run only where their infrastructure prerequisites are available, and 6 MetalLB specs remain disabled with [Disabled:SpecialConfig]. OpenShift CI does not deploy MetalLB.

Disabled specs are not listed by the OTE binary, so they do not appear in JUnit as skips or failures.

Contents

  • Enable the suite — remove [Feature:Service] from Disabled:Unimplemented, add the enabled specs to BlockingTests, disable the MetalLB specs by name, and regenerate annotations.

  • Platform gating — skip three infrastructure-dependent specs only on platforms that cannot provide their required topology.

  • Port safety — use the firewall-allowed 9700–9899 host-port window and allocate external-container ports through the ConfigMap-backed allocator. Cached listeners are deleted before their reservations are released; a failed deletion retains the reservation.

  • External-client reliability — use unique container names, report the correct host interface, and discover the node primary interface by node IP.

  • Test robustness — retry only the initial non-fragmented NodePort readiness probe; the fragmented probe remains single-shot.

  • Supporting cleanup — avoid shared temporary files for EgressIP CRDs and use a fixed name for helper-created pods.

  • Docs — document Service-suite coverage and platform gating in openshift/test/README.md.
  • Validation

  • go test ./test/infraprovider ./cmd/ovn-kubernetes-tests-ext ./test/annotate from openshift/

  • focused allocator and infrastructure-provider tests

  • full test/e2e package compilation

  • openshift/hack/validate-test-lists.sh

  • git diff --check
  • CI validation is provided by the required -ote lanes that run the ovn-kubernetes/conformance/parallel suite. The final report will distinguish lanes that reached e2e from infrastructure failures and will count the Service specs from their JUnit results.

    JIRA: CORENET-6742

    🤖 Generated with Claude Code

    Diff: 284 lines (+213 / -71) across 3 files Reviewer: jluhrsen Review duration: 101856m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.47) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.47 · 284 lines diff across 3 files
    0.47
    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%
    44%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.338
    Real PR Conversation Timeline
    1 comments
    "Review active on #3467"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.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: 46.7% (MEDIUM) · Higher = larger blast radius
    46.7%
    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: 44.7% · Lower = rushed or shallow review
    44.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: 25.9% · Safe to merge
    25.9%