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

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

Build:
Build:
LAST BUILD BRANCH: add_vfio_device_to_info_provider
DEFAULT BRANCH: master
Ran 12 Jan 2026 11:37AM 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

12 Jan 2026 11:25AM UTC coverage: 74.615% (+0.05%) from 74.562%
20917891540

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: Move the VFIO device file computation to the constructor
(NewVfioInfoProvider) so the values are available immediately for
both GetEnvVal() and GetDeviceSpecs() regardless of call order.

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

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

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

2134 of 2860 relevant lines covered (74.62%)

4.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20917891540.1 12 Jan 2026 11:37AM UTC 40
74.62
GitHub Action Run
Source Files on build 20917891540
  • 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 #20917891540
  • e495cf5d 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