← Back to Pull requests

Fix the kind-dpu-no-overlay Uplink e2e lane #44

Closed
unknown closed this pull request without merging on Sep 10, 2026 14:25 UTC
View on GitHub
unknown unknown commented on Aug 31, 2026 11:40 UTC
Author

The kind-dpu-no-overlay Uplink e2e lane fails on three independent problems:

1. Zero specs selected: the lane focuses on Uplink specs without exporting ENABLE_UPLINK (flag added in ovn-kubernetes/ovn-kubernetes#6755), so e2e-cp.sh skip-labels them all, fatal since ovn-kubernetes/ovn-kubernetes#6766.
2. The uplink interface (eth0-16) is inside the advertised pod VF pool; a pod allocated it pulls rep0-16 off the uplink bridge and wedges (run 33411543157).
3. dpusim.io/mgmtvf pool of 3 equals the overlap spec's exact peak; one in-flight release from the previous spec starves it (devices are freed asynchronously on CUDN deletion).

What this PR does:

  • exports ENABLE_UPLINK=true in the Uplink e2e step

  • bumps mgmt_port_vfs_count 3 -> 8 in the kind configs (VM-mode config stays at 3; pod VF pool shifts automatically)

  • adds networks[].uplink_vfs_count: that many interfaces right after the mgmt range (eth0-9 in the kind configs) are reserved for Uplink gateways and belong to no device-plugin pool, at any num_pairs (same pattern as eth0-0 for the gateway); the reserved names are published as DPU_SIM_UPLINK_HOST_INTERFACES in the generated FRR env file, and the e2e step derives its uplink interface from the published value
  • Merge order: ovn-kubernetes/ovn-kubernetes#6879 first (it wires the published reservation, with a temporary fallback for a dpu-simulator that publishes nothing); rerun the no-overlay lane here after that for a green run.

    When ovn-kubernetes learns to select VF-backed uplinks by resource name, the reserved range flips into a dpusim.io/uplink pool in BuildResourcePools with the config surface unchanged.

    Diff: 208 lines (+156 / -52) across 2 files Reviewer: wizhaoredhat Review duration: 14565m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 208 lines diff across 2 files
    0.36
    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.320
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #44"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 36.4% (MEDIUM) · Higher = larger blast radius
    36.4%
    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: 14.4% · Safe to merge
    14.4%