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

NVIDIA / nvidia-container-toolkit / 34668084772
44%
main: 44%

Build:
Build:
LAST BUILD BRANCH: pull-request/1942
DEFAULT BRANCH: main
Ran 12 Sep 2026 02:36AM UTC
Jobs 1
Files 247
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

12 Sep 2026 02:12AM UTC coverage: 44.03% (+0.004%) from 44.026%
34668084772

push

github

daniel-ohayon
Fix intermittent EBADF in create-symlinks hook

createSymlinkInRoot extracted the raw fd of the link's parent directory
with (*os.File).Fd() and then only used the integer in Symlinkat and
Renameat. Nothing kept the *os.File reachable after that point, so the
garbage collector could run its finalizer and close the fd while the
syscalls were still using it. The hook then failed with

  failed to create link [...]: failed to create symlink: bad file descriptor

and crun aborted container creation with
"error executing hook /usr/bin/nvidia-cdi-hook (exit code: 1)". The
failure is timing dependent and rare, roughly 1 in 1000-2000 container
starts on busy hosts, which is enough to break large multi-node jobs
where every container has to start.

v1.19.1 had `defer linkDirInRoot.Close()` here; the line was dropped in
v1.20.0. Restore it so the file stays alive for the whole function and
the descriptor is closed deterministically.

Signed-off-by: Daniel Ohayon <dohayon@meta.com>

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

5952 of 13518 relevant lines covered (44.03%)

0.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34668084772.1 12 Sep 2026 02:36AM UTC 247
44.03
GitHub Action Run
Source Files on build 34668084772
  • Tree
  • List 247
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34668084772
  • 9f4201be on github
  • Prev Build on main (#34619140706)
  • 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