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

SchSeba / sriov-network-device-plugin / 22921557073
75%
master: 75%

Build:
Build:
LAST BUILD BRANCH: add_vfio_device_to_info_provider
DEFAULT BRANCH: master
Ran 10 Mar 2026 07:57PM UTC
Jobs 1
Files 40
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

10 Mar 2026 07:54PM UTC coverage: 74.589% (+0.03%) from 74.562%
22921557073

push

github

SchSeba
Fix VFIO device path missing from env variables

The vfioInfoProvider was not including the VFIO device path
(e.g., /dev/vfio/162) in the environment variables because
GetEnvVal() was called before GetDeviceSpecs() during allocation.

The VFIO device file path was computed in GetDeviceSpecs() and stored
in vfioDevContainer, but since GetEnvVal() runs first in the Allocate()
flow, the field was always empty when building env vars.

Fix: Compute the VFIO device file on the fly in both GetDeviceSpecs()
and GetEnvVal() so the values are always current regardless of call
order. This also handles the case where device files may change during
the lifetime of the device plugin (e.g., IOMMU group reassignment).

Before: {"vfio":{"mount":"/dev/vfio/vfio"}}
After:  {"vfio":{"mount":"/dev/vfio/vfio","dev-mount":"/dev/vfio/162"}}

Signed-off-by: Author <author@example.com>

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

2131 of 2857 relevant lines covered (74.59%)

4.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22921557073.1 10 Mar 2026 07:57PM UTC 40
74.59
GitHub Action Run
Source Files on build 22921557073
  • Tree
  • List 40
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22921557073
  • 1ec6e55a on github
  • Prev Build on master (#20553902696)
  • Delete
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