Skip to content

NVreg preflight pod-lifecycle code lacks unit tests and folds driver-absent into flag-absent #2560

Closed

Description

@atif1996

Carried out of #2356 review (pre-existing code in validators/performance/nccl_preflight_nvreg.go, reused unchanged by the OKE extension):

  1. No unit tests for the pod-lifecycle half: only the pure parseNVregFromParams and gb200NetPreflightApplies are covered. checkNVregOnNode + waitForPreflightPodPhase — including the PodFailed-vs-infrastructure classification and the watch channel-close re-Get — are untested, and both EKS and OKE now rely on that fail-closed classification. The deployment validator models the fake-clientset approach well (expected_resources_rdma_test.go).
  2. grep exit-2 (/proc/driver/nvidia/params absent) folds into "flag absent" (~L191), so a driver-absent node gets the "set the NVreg flag" remediation instead of a driver-missing one. Fails closed either way; setting Type: HostPathDirectory on the hostPath (~L163) would surface a driver-absent node as a distinct mount error.

Both are diagnostics/coverage improvements, not correctness bugs — the preflight fails closed in every ambiguous case today.

Activity

  1. added
    theme/validation
    on Sep 3, 2026
  2. mchmarny commented on Sep 8, 2026

    @mchmarny
    Member

    Triaged: confirmed at unset / Backlog. Scope remains valid but is not ready for immediate execution; current placement is intentional.

  3. mohityadav8 commented on Oct 7, 2026

    @mohityadav8
    Contributor

    /assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/infratheme/validation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions