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

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

Build:
Build:
LAST BUILD BRANCH: support_mac_reset_release_4.21
DEFAULT BRANCH: master
Repo Added 28 Jul 2022 03:02PM UTC
Token ycKPmw0KypzBjDD5EMPZgTKjd7IhKBXsU regen
Build 291 Last
Files 12
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

LAST BUILD ON BRANCH support_mac_reset_release_4.21
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • bump_netlink_4.14
  • bump_netlink_4.15
  • bump_netlink_4.16
  • fips_support
  • fips_support_4.15
  • fips_support_4.16
  • fips_support_4.16_1
  • fix_cache_4.16
  • merge-bot-master
  • mtu_revert_4.18
  • snyk-master
  • support_mac_reset_release_4.21
  • support_rhel10
  • sync-2023-06-20
  • sync-2023-07-11
  • sync-2024-03-20
  • sync-2024-07-17
  • sync_26_10_25
  • sync_master_28_07_22
  • test

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

Relevant lines Covered
Build:
Build:
1544 RELEVANT LINES 970 COVERED LINES
8.73 HITS PER LINE
Source Files on bump_netlink_4.14
  • Tree
  • List 12
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26096743799 support_mac_reset_release_4.21 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... push 19 May 2026 12:22PM UTC SchSeba github
62.82
26005883366 merge-bot-master Updating and vendoring go modules after an upstream merge push 17 May 2026 11:32PM UTC SchSeba github
61.18
25975817081 merge-bot-master Updating and vendoring go modules after an upstream merge push 16 May 2026 11:32PM UTC SchSeba github
61.18
25946331417 merge-bot-master Updating and vendoring go modules after an upstream merge push 15 May 2026 11:32PM UTC SchSeba github
61.18
25891611897 merge-bot-master Updating and vendoring go modules after an upstream merge push 14 May 2026 11:32PM UTC SchSeba github
61.18
25832420702 merge-bot-master Updating and vendoring go modules after an upstream merge push 13 May 2026 11:32PM UTC SchSeba github
61.24
25768351559 merge-bot-master Updating and vendoring go modules after an upstream merge push 12 May 2026 11:32PM UTC SchSeba github
61.24
25703501014 merge-bot-master Updating and vendoring go modules after an upstream merge push 11 May 2026 11:32PM UTC SchSeba github
61.24
25642778163 merge-bot-master Updating and vendoring go modules after an upstream merge push 10 May 2026 11:32PM UTC SchSeba github
61.24
25614526896 merge-bot-master Updating and vendoring go modules after an upstream merge push 09 May 2026 11:32PM UTC SchSeba github
61.24
See All Builds (289)

Badge your Repo: sriov-cni-1

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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