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

SchSeba / sriov-cni-1 / 26096743799
63%
master: 46%

Build:
Build:
LAST BUILD BRANCH: support_mac_reset_release_4.21
DEFAULT BRANCH: master
Ran 19 May 2026 12:22PM 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

19 May 2026 12:20PM UTC coverage: 62.824%. Remained the same
26096743799

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%)

970 of 1544 relevant lines covered (62.82%)

8.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26096743799.1 19 May 2026 12:22PM UTC 12
62.82
GitHub Action Run
Source Files on build 26096743799
  • 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 #26096743799
  • 42380aec on github
  • Prev Build on support_mac_reset_release_4.21 (#24315117358)
  • 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