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

Mellanox / network-operator / 25015767597
62%

Build:
DEFAULT BRANCH: master
Ran 27 Apr 2026 07:46PM 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 07:42PM UTC coverage: 62.506% (-0.3%) from 62.812%
25015767597

push

github

web-flow
fix: backfill ds-owner label on OFED pods when upgrading from GA rele… (#2493)

…ases

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.

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

48 existing lines in 4 files now uncovered.

4903 of 7844 relevant lines covered (62.51%)

46.99 hits per line

Uncovered Changes

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

Coverage Regressions

Lines Coverage ∆ File
26
53.1
-23.01% controllers/mofed_wait_labels.go
10
83.76
-2.56% controllers/nicclusterpolicy_controller.go
8
66.91
-5.88% controllers/nicnodepolicy_controller.go
4
45.47
-0.52% api/v1alpha1/zz_generated.deepcopy.go
Jobs
ID Job ID Ran Files Coverage
1 25015767597.1 27 Apr 2026 07:46PM UTC 63
62.51
GitHub Action Run
Source Files on build 25015767597
  • Tree
  • List 63
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25015767597
  • a065a276 on github
  • Prev Build on master (#25001714097)
  • Next Build on master (#25055317812)
  • 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