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

kubeovn / kube-ovn / 31365085020
30%
master: 34%

Build:
Build:
LAST BUILD BRANCH: x86-e2e/pr-7242-a-1-d-33611829020
DEFAULT BRANCH: master
Ran 10 Aug 2026 07:18AM UTC
Jobs 1
Files 211
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

10 Aug 2026 07:14AM UTC coverage: 28.523% (-0.005%) from 28.528%
31365085020

push

github

web-flow
[release-1.16] ipam: align dual-stack family preservation (#7190)

* ipam: restore counter views when preserving the other family's static address (#7187)

In a dual-stack subnet, `GetStaticAddress` replacing one family's static address
preserves the other. The preserve path calls `releaseAddr` and restores only the
lookup maps, not the counter sets, so the preserved address stays in
`Available`/`Released` and out of `Using`. Once the pool exhausts and recycles
from `Released`, a later random allocation can hand the still-configured address
to another pod, causing a duplicate address and drifting `usingIPs`/`availableIPs`.

Restore the counter views with the maps: re-add the address to `Using` and
remove it from `Available`/`Released` at subnet and pool level, mirroring
`releaseV4Addr`/`releaseV6Addr`. The set operations are idempotent, so the
out-of-CIDR/reserved and multi-owner paths are unaffected.

Signed-off-by: kiarash <kiarash.azarnia@gmail.com>
(cherry picked from commit abab3df20)
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Signed-off-by: Kiarash <48817462+kiarashazarnia@users.noreply.github.com>

* ipam: align dual-stack family preservation (#7189)

Reuse family-specific lease release for static address replacement instead of releasing the whole NIC and rebuilding the preserved family state. Split the allocation flow and regression tests into focused helpers.

Cover skipped-address retries for IPv4, IPv6, and both families in default and named pools.

Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
(cherry picked from commit c79de0bd5)
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>

---------

Signed-off-by: kiarash <kiarash.azarnia@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Signed-off-by: Kiarash <48817462+kiarashazarnia@users.noreply.github.com>
Co-authored-by: Kiarash <48817462+kiarashazarnia@users.noreply.github.com>

153 of 182 new or added lines in 1 file covered. (84.07%)

2 existing lines in 1 file now uncovered.

16605 of 58216 relevant lines covered (28.52%)

0.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
29
87.95
-2.41% pkg/ipam/subnet.go

Coverage Regressions

Lines Coverage ∆ File
2
75.13
-0.52% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 31365085020.1 10 Aug 2026 07:18AM UTC 211
28.52
GitHub Action Run
Source Files on build 31365085020
  • Tree
  • List 211
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c66d40fa on github
  • Prev Build on release-1.16 (#31360399943)
  • Next Build on release-1.16 (#31372292163)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc