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

kubeovn / kube-ovn / 23224155169
23%
master: 23%

Build:
Build:
LAST BUILD BRANCH: fix/encap-ip-deterministic-sort
DEFAULT BRANCH: master
Ran 18 Mar 2026 01:11AM UTC
Jobs 1
Files 205
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

18 Mar 2026 01:08AM UTC coverage: 23.359% (+0.001%) from 23.358%
23224155169

Pull #6469

github

oilbeater
fix(daemon): race condition between setExGateway and configProviderNic

setExGateway uses `port-to-br` to check whether a provider network is
using the external bridge. However, configProviderNic transfers addresses
before calling `add-port`, creating a window where `port-to-br` fails
and setExGateway mistakenly deletes the bridge. This causes permanent
IP address loss on the bridge since the retry finds no addresses left
on the original NIC to transfer.

Replace the OVS runtime check with a declarative bridge name match
derived from the ProviderNetwork CR, which exists in the informer
cache before the bridge is created and eliminates the race window.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Pull Request #6469: fix(daemon): race condition between setExGateway and configProviderNic

0 of 2 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

12885 of 55161 relevant lines covered (23.36%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% pkg/daemon/gateway_linux.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% pkg/daemon/gateway_linux.go
Jobs
ID Job ID Ran Files Coverage
1 23224155169.1 18 Mar 2026 01:11AM UTC 205
23.36
GitHub Action Run
Source Files on build 23224155169
  • Tree
  • List 205
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #6469
  • PR Base - master (#23222926385)
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