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

kubeovn / kube-ovn / 31349036419
36%

Build:
DEFAULT BRANCH: master
Ran 10 Aug 2026 02:13AM UTC
Jobs 1
Files 221
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 02:09AM UTC coverage: 30.523% (+0.02%) from 30.503%
31349036419

push

github

web-flow
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>

16 of 18 new or added lines in 1 file covered. (88.89%)

2 existing lines in 1 file now uncovered.

18907 of 61944 relevant lines covered (30.52%)

0.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.88
0.54% pkg/ipam/subnet.go

Coverage Regressions

Lines Coverage ∆ File
2
75.73
-0.53% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 31349036419.1 10 Aug 2026 02:13AM UTC 221
30.52
GitHub Action Run
Source Files on build 31349036419
  • Tree
  • List 221
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • abab3df2 on github
  • Prev Build on master (#31255030970)
  • Next Build on master (#31360634022)
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