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

kubeovn / kube-ovn / 22605160680
24%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2026 02:18AM 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

03 Mar 2026 02:14AM UTC coverage: 23.17% (-0.01%) from 23.181%
22605160680

push

github

web-flow
fix: protect ANP/BNP/CNP priority maps from concurrent access (#6373)

The priority maps (anpPrioNameMap, anpNamePrioMap, bnpPrioNameMap,
bnpNamePrioMap) are shared across ANP and CNP handler goroutines
which use different per-key mutexes (anpKeyMutex vs cnpKeyMutex).
This means concurrent map read/write can occur, causing a fatal
runtime panic.

Add a sync.RWMutex (priorityMapMutex) to protect all 4 priority
maps. Write lock is held during validate+write in handleAddAnp,
handleAddCnp, handleDeleteAnp, handleDeleteCnp. Read lock is
held for validation-only access in handleUpdateCnp.

Ref: antrea-io/antrea#7717

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

0 of 17 new or added lines in 2 files covered. (0.0%)

2 existing lines in 1 file now uncovered.

12616 of 54449 relevant lines covered (23.17%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
8.5
-0.05% pkg/controller/admin_network_policy.go
12
27.0
-0.34% pkg/controller/cluster_network_policy.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
74.6
-0.53% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 22605160680.1 03 Mar 2026 02:18AM UTC 204
23.17
GitHub Action Run
Source Files on build 22605160680
  • Tree
  • List 204
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 48aca407 on github
  • Prev Build on master (#22603610028)
  • Next Build on master (#22625630619)
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