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

kubeovn / kube-ovn / 22943278123
27%

Build:
DEFAULT BRANCH: master
Ran 11 Mar 2026 08:24AM 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

11 Mar 2026 08:20AM UTC coverage: 23.26% (+0.1%) from 23.152%
22943278123

push

github

web-flow
fix: scope ipBlock.except to its own CIDR in NetworkPolicy ACL rules (#6419)

When a NetworkPolicy rule has both ipBlock and selector peers, the
ipBlock.except was incorrectly applied to all peers because all
addresses were merged into a single allow/except address set pair.
Per K8s spec, peers within a rule are OR'd, so ipBlock.except should
only exclude addresses within its own CIDR, not affect selector peers.

Split ipBlock and selector peers into separate ACLs: ipBlock peers
use inline OVN match expressions with per-CIDR scoped except, while
selector peers use address sets without except. This follows the same
approach as ovn-kubernetes.

No upgrade migration needed: handleUpdateNp deletes all ACLs before
recreating, and controller restart triggers resync of all policies.

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

94 of 185 new or added lines in 2 files covered. (50.81%)

5 existing lines in 1 file now uncovered.

12726 of 54713 relevant lines covered (23.26%)

0.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
72
4.3
-0.16% pkg/controller/network_policy.go
19
78.02
0.42% pkg/ovs/ovn-nb-acl.go

Coverage Regressions

Lines Coverage ∆ File
5
75.13
-0.8% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 22943278123.1 11 Mar 2026 08:24AM UTC 204
23.26
GitHub Action Run
Source Files on build 22943278123
  • Tree
  • List 204
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 13f99601 on github
  • Prev Build on master (#22939641317)
  • Next Build on master (#22944540940)
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