• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rollandf / network-operator / 25002584503
62%
master: 62%

Build:
Build:
LAST BUILD BRANCH: dts-3.4-bp
DEFAULT BRANCH: master
Ran 27 Apr 2026 03:02PM UTC
Jobs 1
Files 63
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Apr 2026 02:59PM UTC coverage: 61.933% (-0.3%) from 62.226%
25002584503

push

github

rollandf
fix: backfill ds-owner label on OFED pods when upgrading from GA releases

When upgrading from a GA release (e.g. v26.1) to v26.4+, existing MOFED
pods lack the ds-owner label that was added to the pod template in v26.4.
Because the DaemonSet uses OnDelete update strategy, these pods are never
recreated automatically and retain their original label set.

The upgrade controller calls BuildState with both nvidia.com/ofed-driver
and ds-owner label selectors. With no pods matching the combined selector,
BuildState errors with "driver DaemonSet should not have Unscheduled pods"
on every reconcile, preventing ApplyState from ever running and causing
the upgrade to stall indefinitely.

Add handleMissingDSOwnerLabelOnPods to the migration path. It runs at
operator startup before any controller is unblocked (MigrationCh gate),
finds OFED pods that lack ds-owner, and patches them with the correct
NicClusterPolicy CRD name. This is a no-op on v26.4+ upgrades where all
pods already carry the label.

Signed-off-by: Fred Rolland <frolland@nvidia.com>

25 of 35 new or added lines in 1 file covered. (71.43%)

95 existing lines in 9 files now uncovered.

4858 of 7844 relevant lines covered (61.93%)

46.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
60.59
0.0% pkg/migrate/migrate.go

Coverage Regressions

Lines Coverage ∆ File
31
60.59
0.0% pkg/migrate/migrate.go
26
53.1
-8.85% controllers/mofed_wait_labels.go
15
76.74
-15.12% controllers/hostdevicenetwork_controller.go
8
66.91
4.41% controllers/nicnodepolicy_controller.go
6
82.05
0.43% controllers/nicclusterpolicy_controller.go
4
44.95
-0.52% api/v1alpha1/zz_generated.deepcopy.go
2
78.38
0.0% pkg/state/state_hostdevice_network.go
2
83.6
-0.53% pkg/state/state_skel.go
1
75.35
-0.35% pkg/drain/drain_requestor.go
Jobs
ID Job ID Ran Files Coverage
1 25002584503.1 27 Apr 2026 03:02PM UTC 63
61.93
GitHub Action Run
Source Files on build 25002584503
  • Tree
  • List 63
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25002584503
  • 202608b7 on github
  • Prev Build on upgrade-ofed (#25000902914)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc