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

kubeovn / kube-ovn / 22566768185
24%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2026 08:03AM UTC
Jobs 1
Files 204
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

02 Mar 2026 08:01AM UTC coverage: 23.08% (-0.009%) from 23.089%
22566768185

push

github

web-flow
fix(daemon): handle OVS bridge creation race condition with exchangeLinkName (#6374)

When exchangeLinkName=true, a race condition exists between OVS vswitchd
processing the netlink rename notification and the bridge creation: OVS's
netdev cache still holds a reference to the old NIC name, causing the
bridge's kernel interface to never appear. Additionally, the retry path
fails because changeProviderNicName cannot detect the already-renamed
state.

Fix by:
1. Making changeProviderNicName idempotent - when the source link is not
   found, check if the target already exists as a non-OVS interface,
   indicating a prior successful rename.
2. Adding waitForBridgeInterface to poll for the kernel interface after
   bridge creation. If it doesn't appear within 5s, delete the stale
   OVSDB bridge record so the reconciliation loop can retry cleanly.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

0 of 23 new or added lines in 2 files covered. (0.0%)

12561 of 54424 relevant lines covered (23.08%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
0.0
0.0% pkg/daemon/init_linux.go
17
0.0
0.0% pkg/daemon/ovs.go
Jobs
ID Job ID Ran Files Coverage
1 22566768185.1 02 Mar 2026 08:03AM UTC 204
23.08
GitHub Action Run
Source Files on build 22566768185
  • Tree
  • List 204
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e6a657c8 on github
  • Prev Build on master (#22566111437)
  • Next Build on master (#22568406613)
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