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

kubeovn / kube-ovn / 27260111083
27%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2026 07:26AM UTC
Jobs 1
Files 212
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 Jun 2026 07:21AM UTC coverage: 25.866% (+0.05%) from 25.821%
27260111083

push

github

web-flow
fix(controller): avoid wiping priority-0 CNP map entries on zero-value key (#6844)

wipeCnpPriorityMapEntries deleted entries from the priority->name map of
both tiers using namePriorityMap[cnp.Name] as the key. When the CNP has
no entry in a tier's name->priority map (always true for the other tier,
and also for the CNP's own tier on first creation), the map read returns
the zero value int32(0), so delete(priorityNameMap, 0) silently removed
the entry of whatever CNP legitimately occupies priority 0 in that tier.

Since checkCnpPriorities relies on these maps as the only guard against
duplicate priorities within a tier, a second CNP could then be admitted
at priority 0, producing two CNPs with identical OVN ACL priorities and
undefined match ordering.

Guard the deletion with a comma-ok lookup so the priority->name entry is
only removed when the CNP actually has a mapping in that tier.

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

4 of 4 new or added lines in 1 file covered. (100.0%)

248 existing lines in 2 files now uncovered.

14985 of 57934 relevant lines covered (25.87%)

0.3 hits per line

Coverage Regressions

Lines Coverage ∆ File
198
16.8
0.81% pkg/controller/pod.go
50
76.27
0.52% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 27260111083.1 10 Jun 2026 07:26AM UTC 212
25.87
GitHub Action Run
Source Files on build 27260111083
  • Tree
  • List 212
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f2f03f63 on github
  • Prev Build on master (#27196941622)
  • Next Build on master (#27260640629)
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