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

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

Build:
Build:
LAST BUILD BRANCH: pull-request/336
DEFAULT BRANCH: main
Ran 09 Nov 2026 07:56PM 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 07:55PM UTC coverage: 24.026% (+0.1%) from 23.916%
42687979882

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, before
the operands are rescheduled: after the stale rootfs is unmounted on the
fast path, and right after the kernel modules are unloaded on the full
path. On the full path the removal comes before the rootfs unmount, so
an unmount failure does not reschedule the operands with stale files
for a driver that is no longer loaded. 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 an explicit list of what the preStop hooks remove:
the readiness files written by the operator validator and the sandbox
validator, plus the driver's .driver-ctr-ready and
.driver-daemons-status. Files not in the list are left ... (continued)
Pull Request #263: Invalidate status files before rescheduling operands

5 of 13 new or added lines in 1 file covered. (38.46%)

115 existing lines in 1 file now uncovered.

413 of 1719 relevant lines covered (24.03%)

0.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.65
0.65% cmd/driver-manager/main.go

Coverage Regressions

Lines Coverage ∆ File
115
0.65
0.65% cmd/driver-manager/main.go
Jobs
ID Job ID Ran Files Coverage
1 42687979882.1 09 Nov 2026 07:56PM UTC 10
24.03
GitHub Action Run
Source Files on build 42687979882
  • 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 #42687979882
  • 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