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

Mellanox / sriov-network-operator / 21246933371 / 1
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: network-operator-26.1.x
DEFAULT BRANCH: master
Ran 22 Jan 2026 11:45AM UTC
Files 107
Run time 2s
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

22 Jan 2026 11:35AM UTC coverage: 62.951% (+0.5%) from 62.497%
21246933371.1

push

github

e0ne
fix: getCurrentBridgeState to return all uplinks for grouped bridges

The getCurrentBridgeState() function was only processing the first
uplink (Uplinks[0]) and ignoring the rest. This caused bridges with
multiple uplinks (created via groupingPolicy: all) to constantly
reconfigure because the current state comparison always showed a
mismatch.

Additionally, NeedToUpdateBridges was comparing the entire Bridges
struct including the GroupingPolicy field. However, GroupingPolicy is
a policy directive used during configuration and is not stored in OVS,
so it will never appear in the discovered status. This caused another
source of constant mismatch detection.

Changes:
- Modify getCurrentBridgeState() to iterate through all uplinks in
  knownConfig.Uplinks instead of only processing the first one
- Modify NeedToUpdateBridges to only compare OVS configurations,
  ignoring the GroupingPolicy field
- Add test cases for bridge with multiple uplinks
- Add test case for partial uplinks when some interfaces are missing
- Add test case for groupingPolicy difference being ignored

Fixes infinite reconciliation loop where bridge ports kept being
removed and re-added on every sync cycle.

Signed-off-by: Alexander Maslennikov <amaslennikov@nvidia.com>
(cherry picked from commit c1c988791)

9396 of 14926 relevant lines covered (62.95%)

0.7 hits per line

Source Files on job 21246933371.1
  • Tree
  • List 107
  • Changed 10
  • Source Changed 7
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21246933371
  • e6afa2fd on github
  • Prev Job for on network-operator-26.1.x (#21241555526.1)
  • Next Job for on network-operator-26.1.x (#21253833966.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