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

zeeke / sriov-cni / 31509142621
63%
master: 46%

Build:
Build:
LAST BUILD BRANCH: us/OCPBUGS-86764
DEFAULT BRANCH: master
Ran 11 Aug 2026 03:51PM UTC
Jobs 1
Files 12
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

11 Aug 2026 03:49PM UTC coverage: 62.872%. First build
31509142621

push

github

zeeke
CmdDel: handle NSPathNotNSErr to prevent VF leak on corrupted netns

When a netns bind mount gets corrupted — e.g. a non-recursive bind mount
of /run/netns strips the nsfs submounts due to shared mount propagation —
statfs() returns TMPFS_MAGIC (0x01021994) instead of NSFS_MAGIC. In this
case ns.GetNS() returns NSPathNotNSErr, but CmdDel only handles
NSPathNotExistErr. The unhandled error causes CmdDel to fail, which makes
CRI-O retry teardown in a loop. The pod stays stuck and the
sriov-device-plugin keeps allocating the same VF to new sandbox attempts
that all fail with "LoadConf(): VF pci addr is required".

Treat NSPathNotNSErr the same as NSPathNotExistErr: the netns is not
usable, so return success and let CRI-O proceed with cleanup. The VF
cannot be moved back via ReleaseVF (the netns is inaccessible), but it
will be recovered by the kernel once all references to the dead netns are released.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>

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

972 of 1546 relevant lines covered (62.87%)

8.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31509142621.1 11 Aug 2026 03:51PM UTC 12
62.87
GitHub Action Run
Source Files on build 31509142621
  • Tree
  • List 12
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31509142621
  • 7e9c1fe2 on github
  • 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