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

SchSeba / sriov-cni / 25500636424
61%
master: 61%

Build:
Build:
LAST BUILD BRANCH: fix-releasevf-effective-mac-guard
DEFAULT BRANCH: master
Ran 07 May 2026 02:04PM 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

07 May 2026 02:01PM UTC coverage: 61.236%. Remained the same
25500636424

push

github

SchSeba
fix: gate effective MAC restore on cached state instead of user config in ReleaseVF

The ReleaseVF function previously used `conf.MAC != ""` to guard the
effective MAC address restore during pod teardown. This condition only
triggers when the user explicitly sets a MAC via CNI config/annotation,
but the effective MAC may have been changed by the driver or other
processes regardless of user configuration.

Change the guard to `conf.OrigVfState.EffectiveMAC != ""` so the
effective MAC is always restored when it was captured during SetupVF,
matching the pattern already used by other fields like MTU
(`conf.OrigVfState.MTU != 0`) and the recent fix to ResetVFConfig
for admin MAC (`conf.OrigVfState.AdminMAC != ""`).

Signed-off-by: Sebastian Sch <sebassch@gmail.com>

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

981 of 1602 relevant lines covered (61.24%)

8.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25500636424.1 07 May 2026 02:04PM UTC 12
61.24
GitHub Action Run
Source Files on build 25500636424
  • Tree
  • List 12
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25500636424
  • 8ef03d7d on github
  • Prev Build on master (#25489738671)
  • 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