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

Mellanox / network-operator / 32228652704
63%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2026 07:40AM 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

19 Aug 2026 07:36AM UTC coverage: 62.464% (-0.5%) from 62.917%
32228652704

push

github

web-flow
fix: hash NicNodePolicy DaemonSet names (#3027)

## Summary

- use one deterministic policy-name hash suffix for NicNodePolicy-owned
OFED, RDMA shared device plugin, and SR-IOV device plugin DaemonSets
- preserve all existing NicClusterPolicy DaemonSet names
- render NNP DaemonSets as:
  - `mofed-<os>-<kernel-hash>-<policy-name-hash>-ds`
  - `rdma-shared-dp-ds-<policy-name-hash>`
  - `network-operator-sriov-device-plugin-<policy-name-hash>`
- use the hashed OFED identity consistently in DaemonSet metadata,
selectors, and pod labels
- preserve readable `ds-owner` values, policy-specific ConfigMap names,
and the RDMA `app` selector used by SOS report discovery
- centralize the shared hashed suffix helper and update focused render
tests and heterogeneous-cluster documentation

This is a follow-up to #3019 and replaces direct policy-name suffixes in
NicNodePolicy-owned DaemonSet names.

## Verification

- `CGO_ENABLED=0 go build ./...`
- `CGO_ENABLED=0 go test ./pkg/state/... -count=1`
- `CGO_ENABLED=0 make lint`
- `bash -n scripts/sosreport/generate-maps.sh
scripts/sosreport/kubectl-netop_sosreport
scripts/sosreport/test-sosreport.sh`
- verified the OFED SOS component selector remains
`nvidia.com/ofed-driver=`
- verified the RDMA SOS component key remains `rdma-shared-dp-ds` with
selector `app=rdma-shared-dp__NAME_SUFFIX__`

18 of 19 new or added lines in 4 files covered. (94.74%)

43 existing lines in 5 files now uncovered.

4999 of 8003 relevant lines covered (62.46%)

44.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.08
0.63% pkg/state/state_skel.go

Coverage Regressions

Lines Coverage ∆ File
24
49.26
-17.65% controllers/nicnodepolicy_controller.go
8
40.43
-1.02% api/v1alpha1/zz_generated.deepcopy.go
4
81.62
-0.85% controllers/nicclusterpolicy_controller.go
4
73.43
-0.35% pkg/state/state_ofed.go
3
75.0
-1.12% controllers/drain_controller.go
Jobs
ID Job ID Ran Files Coverage
1 32228652704.1 19 Aug 2026 07:40AM UTC 63
62.46
GitHub Action Run
Source Files on build 32228652704
  • Tree
  • List 63
  • Changed 8
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32228652704
  • 63092a87 on github
  • Prev Build on master (#32219494321)
  • Next Build on master (#32228666185)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc