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

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

Build:
Build:
LAST BUILD BRANCH: task-4ddb04f7-79d2-4cd1-939f-d44c49772f75
DEFAULT BRANCH: master
Ran 12 Jan 2026 11:37AM UTC
Files 40
Run time 1s
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.1

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>

2134 of 2860 relevant lines covered (74.62%)

4.8 hits per line

Source Files on job 20917891540.1
  • Tree
  • List 40
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20917891540
  • e495cf5d on github
  • Prev Job for on add_vfio_device_to_info_provider (#20553902696.1)
  • Next Job for on add_vfio_device_to_info_provider (#22921557073.1)
  • 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