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

Mellanox / network-operator / 45362041556
68%

Build:
DEFAULT BRANCH: master
Ran 24 Nov 2026 09:11AM 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

24 Nov 2026 09:06AM UTC coverage: 64.967% (-0.2%) from 65.161%
45362041556

push

github

web-flow
fix(ofed): check module state directly in health probes (#3745)

## What changed

The OFED driver's liveness and readiness probes currently start `lsmod`
and
`grep` to look for `mlx5_core` in the loaded-module list. Read the
specific
module's `/sys/module/mlx5_core/initstate` with shell builtins instead
and
require the state to be `live`.

This removes two external executable launches and the full module-list
scan
from each check. The probe still checks module lifecycle state rather
than
functional NIC or network health. Missing or unreadable state, `coming`,
and
`going` produce a failed check.

Update the existing rendered-probe assertions for the new command. Probe
timings, thresholds, and the startup probe retain their current values.

## Validation

- Focused renderer and MOFED state tests: 55 passed, 195 unrelated state
specs
  skipped.
- Compared all rendered objects before and after the patch, using
default and
custom probe settings across two kernel pools. Only the
liveness/readiness
  command fields differed.
- Executed the candidate in a Linux driver container against a live
module;
checked read/comparison behavior for live, coming, going, empty, and
unexpected
  states, plus an actual nonexistent sysfs module path.
- `git diff --check`.

The command-level checks do not establish end-to-end kubelet probe
latency or
resolve container-runtime startup delays. Broader platform and rollout
validation remain for review.

5363 of 8255 relevant lines covered (64.97%)

94.38 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
84.23
-3.15% controllers/nicclusterpolicy_controller.go
5
76.38
-0.95% pkg/state/state_skel.go
3
73.51
-1.12% controllers/drain_controller.go
1
75.35
-0.35% pkg/drain/drain_requestor.go
Jobs
ID Job ID Ran Files Coverage
1 45362041556.1 24 Nov 2026 09:11AM UTC 63
64.97
GitHub Action Run
Source Files on build 45362041556
  • Tree
  • List 63
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45362041556
  • 7fd8cc48 on github
  • Prev Build on master (#45138757406)
  • Next Build on master (#45576284087)
  • 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