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

NVIDIA / gpu-operator / 32538726724
39%
main: 38%

Build:
Build:
LAST BUILD BRANCH: pull-request/2784
DEFAULT BRANCH: main
Ran 22 Aug 2026 12:08AM UTC
Jobs 2
Files 73
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

21 Aug 2026 11:57PM UTC coverage: 38.626% (+0.1%) from 38.495%
32538726724

push

github

abrarshivani
Mount host /lib/modules for precompiled drivers on SUSE

getDriverAdditionalConfigs placed the lib-modules volume and mount inside
the "if !cr.Spec.UsePrecompiledDrivers()" branch, guarded by a check for
UsePrecompiledDrivers. That inner condition can never hold there, so an
NVIDIADriver with usePrecompiled: true on sles or sl-micro rendered a
driver pod without /run/host/lib/modules.

Move the mount out to its own block after the non-precompiled branch. The
comment above it goes as well, since the guard already says precompiled
and SUSE and the volume literals already say host module tree.

The equivalent code in the ClusterPolicy path sits before the early return
for precompiled drivers and works as intended, so only the NVIDIADriver
path was affected. That is also why this went unnoticed: the tests added
with the mount only covered the ClusterPolicy path.

Add a table-driven test that renders the DaemonSet and asserts the volume
on the pod spec and the mount on nvidia-driver-ctr. Going through the
render catches a template change that stopped threading AdditionalConfigs
into the pod as well as the Go-side bug.

Fixes #2776

Signed-off-by: Abrar Shivani <ashivani@nvidia.com>

16 of 16 new or added lines in 1 file covered. (100.0%)

5617 of 14542 relevant lines covered (38.63%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32538726724.1 22 Aug 2026 12:08AM UTC 73
38.63
GitHub Action Run
2 32538726724.2 22 Aug 2026 12:51AM UTC 73
38.63
GitHub Action Run
Source Files on build 32538726724
  • Tree
  • List 73
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32538726724
  • 77d16735 on github
  • Prev Build on main (#32507328763)
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