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

kubeovn / kube-ovn / 30317987102
30%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2026 12:45AM UTC
Jobs 1
Files 220
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 Jul 2026 12:40AM UTC coverage: 30.15% (+0.006%) from 30.144%
30317987102

push

github

web-flow
ovs: skip address set update when the addresses are unchanged (#7084)

AddressSetUpdateAddress overwrote the address set and issued an nb
transaction on every call, without ever comparing the addresses against
the ones already stored. All the call sites sit on reconcile paths
(network policy, anp, cnp, security group, subnet u2o, ippool and vpc
egress gateway), and several of them rewrite address sets whose content
never changes: the network policy except address sets are always given a
nil address list, and the u2o overlay CIDRs address set is named after
the vpc but written once per subnet of that vpc.

The current addresses are read from the local ovsdb cache, so comparing
them costs nothing. Compare them as a set, since the order returned by
strset is not stable, and skip the update when nothing has changed.

While at it, stop formatting the CIDRs in place: the variadic slice is
owned by the caller.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

15 of 16 new or added lines in 1 file covered. (93.75%)

18485 of 61310 relevant lines covered (30.15%)

0.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
78.76
0.56% pkg/ovs/ovn-nb-address_set.go
Jobs
ID Job ID Ran Files Coverage
1 30317987102.1 28 Jul 2026 12:45AM UTC 220
30.15
GitHub Action Run
Source Files on build 30317987102
  • Tree
  • List 220
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0e942cae on github
  • Prev Build on master (#30253489111)
  • Next Build on master (#30323521552)
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