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

NVIDIA / k8s-driver-manager / 42673938667
24%
main: 24%

Build:
Build:
LAST BUILD BRANCH: pull-request/336
DEFAULT BRANCH: main
Ran 09 Nov 2026 06:28PM UTC
Jobs 1
Files 10
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

09 Nov 2026 06:25PM UTC coverage: 24.407% (+0.5%) from 23.916%
42673938667

Pull #263

github

rajathagasthya
Invalidate status files before rescheduling operands

The operator-validator and driver containers remove the readiness files
under /run/nvidia/validations in their preStop hooks. Those hooks do not
run when the containers are removed outside the kubelet, for example
when a CRI-O minor version upgrade wipes every pod sandbox on the node.
The files survive on the host tmpfs. When k8s-driver-manager then
re-enables the operand labels, the operand pods are recreated together
with the driver pod, before the driver is installed. A stale
toolkit-ready lets an operand init container pass while the kernel
module is unloaded, so the nvidia runtime creates the main container
without the driver libraries. The MIG manager then fails NVML
initialization with ERROR_LIBRARY_NOT_FOUND and leaves the node at
mig.config.state=failed until the pod is deleted.

Remove the files once the previous driver has been torn down, just
before the operands are rescheduled: after the stale rootfs is unmounted
on the fast path, and after the kernel modules are unloaded and the
rootfs unmounted on the full path. The validators were deleted by the
eviction before that, so nothing recreates the files in between. Every
failure that can still fall back to the loaded driver, such as a drain
failure or modules in use, happens before the removal, so
cleanupOnFailure re-enables the operands with the files it finds, as it
does today. The paths that do not evict, because no driver is loaded or
because eviction itself failed, leave the files alone: a validator that
is still running would not rewrite them.

The set removed is what the two preStop hooks remove: the *-ready files
written by the validators, plus the driver's .driver-ctr-ready and
.driver-daemons-status. Other hidden markers, such as cc-manager's
.cc-manager-ctr-ready, are left in place because k8s-driver-manager
does not restart their owners. The sandbox validator waits on that
marker before writing cc-manager-ready, and cc-manager... (continued)
Pull Request #263: Invalidate status files before rescheduling operands

14 of 23 new or added lines in 1 file covered. (60.87%)

171 existing lines in 1 file now uncovered.

422 of 1729 relevant lines covered (24.41%)

0.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
1.79
1.79% cmd/driver-manager/main.go

Coverage Regressions

Lines Coverage ∆ File
171
1.79
1.79% cmd/driver-manager/main.go
Jobs
ID Job ID Ran Files Coverage
1 42673938667.1 09 Nov 2026 06:28PM UTC 10
24.41
GitHub Action Run
Source Files on build 42673938667
  • Tree
  • List 10
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42673938667
  • Pull Request #263
  • PR Base - main (#42122022197)
  • 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