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

NVIDIA / gpu-operator / 25459157702
29%
main: 29%

Build:
Build:
LAST BUILD BRANCH: release-26.3
DEFAULT BRANCH: main
Ran 06 May 2026 08:30PM UTC
Jobs 1
Files 57
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

06 May 2026 08:25PM UTC coverage: 28.364% (+0.08%) from 28.287%
25459157702

push

github

rajathagasthya
Remove shell dependency from validator pods

NVIDIA's distroless-cc `-dev` tag (the gpu-operator image base) will no
longer be approved as a STIG parent image. The non-`-dev` variant ships
no shell, so the validator daemonsets and workload validation pods —
which wrapped binaries in `sh -c` and used shell-based preStop hooks —
would break on the new base. Re-adding a shell to the image would only
swap one CVE source for another.

Replace shell wrappers with direct binary invocation. The
operator-validator and sandbox-validator init containers invoke
`nvidia-validator` directly. Their pause containers use a new top-level
`--sleep` flag that prints the validator-success message and blocks on
SIGTERM. Workload pod main containers run `nvidia-validator --version`
as a no-op exit-0; the per-workload success message now prints from
`(c *CUDA).runWorkload` and `(p *Plugin).runWorkload` after
`waitForPod` succeeds — surfacing in the operator-validator init
container logs where success is actually established.

For preStop cleanup, add a small static helper `rmglob` that takes
glob patterns and removes matching paths. Modeled on k8s-cc-manager's
vendored static `/bin/rm`, shipped at `/usr/bin/rmglob`. Both
validator daemonsets keep their `lifecycle.preStop` blocks; they now
call this binary instead of `sh -c rm`.

Flip the Dockerfile base to `nvcr.io/nvidia/distroless/cc:v4.0.0`.

Signed-off-by: Rajath Agasthya <ragasthya@nvidia.com>

17 of 74 new or added lines in 2 files covered. (22.97%)

3 existing lines in 1 file now uncovered.

3552 of 12523 relevant lines covered (28.36%)

0.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
32
11.51
1.59% cmd/nvidia-validator/main.go
25
0.0
cmd/rmglob/main.go

Coverage Regressions

Lines Coverage ∆ File
3
11.51
1.59% cmd/nvidia-validator/main.go
Jobs
ID Job ID Ran Files Coverage
1 25459157702.1 06 May 2026 08:30PM UTC 57
28.36
GitHub Action Run
Source Files on build 25459157702
  • Tree
  • List 57
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25459157702
  • 14f5202a on github
  • Prev Build on main (#25410613941)
  • Next Build on pull-request/2434 (#25506659261)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc