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

kubeovn / kube-ovn / 22522889470
24%

Build:
DEFAULT BRANCH: master
Ran 28 Feb 2026 02:49PM 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

28 Feb 2026 02:46PM UTC coverage: 23.089% (+0.06%) from 23.027%
22522889470

push

github

web-flow
fix: prevent subnet from getting permanently stuck when VLAN is not ready (#6352)

Fix two bugs that combine to cause underlay subnets to get permanently
stuck during controller startup when the VLAN is created after the subnet.

Bug 1: In handleAddOrUpdateSubnet, variable shadowing (err :=) and
overwriting (err =) in the VLAN/subnet validation error paths caused
patchSubnetStatus success to zero out the original validation error.
The handler returned nil, making the work queue forget the item instead
of retrying it. Fix by using a separate patchErr variable for the patch
call and using = instead of := for the error wrapping.

Bug 2: handleAddVlan did not re-enqueue subnets that reference the
newly created VLAN. Once a subnet's validation failed and was forgotten
by the queue, no event would trigger it to be reprocessed. Fix by
iterating over subnets at the end of handleAddVlan and adding those
referencing the VLAN back to the addOrUpdateSubnetQueue.

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

2 of 11 new or added lines in 2 files covered. (18.18%)

1 existing line in 1 file now uncovered.

12561 of 54402 relevant lines covered (23.09%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
0.0
0.0% pkg/controller/vlan.go
5
7.57
0.96% pkg/controller/subnet.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% pkg/controller/vlan.go
Jobs
ID Job ID Ran Files Coverage
1 22522889470.1 28 Feb 2026 02:49PM UTC 204
23.09
GitHub Action Run
Source Files on build 22522889470
  • Tree
  • List 204
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e9b65ce7 on github
  • Prev Build on master (#22518899160)
  • Next Build on master (#22538259073)
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