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

kubeovn / kube-ovn / 24278550607
25%

Build:
DEFAULT BRANCH: master
Ran 11 Apr 2026 08:25AM UTC
Jobs 1
Files 206
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 Apr 2026 08:23AM UTC coverage: 24.496% (-0.001%) from 24.497%
24278550607

push

github

web-flow
fix(daemon): sort map keys before iterating to stabilize iptables rules (#6619)

Go map iteration order is randomized, causing iptables rules generated
from map traversal to appear in different order on each sync cycle.
This triggers unnecessary rule deletion and re-insertion in
updateIptablesChain's incremental comparison, and could cause incorrect
SNAT matching when overlapping CIDRs exist.

Sort map keys with slices.Sorted(maps.Keys(...)) before iterating in
three locations:
- centralGwNatIPs: SNAT rules in OvnPostrouting chain
- subnetCidrs: FORWARD rules for subnet traffic accounting
- natPolicyRuleIptablesMap: NAT outgoing policy chain updates

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

0 of 6 new or added lines in 1 file covered. (0.0%)

13769 of 56209 relevant lines covered (24.5%)

0.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
0.0
0.0% pkg/daemon/gateway_linux.go
Jobs
ID Job ID Ran Files Coverage
1 24278550607.1 11 Apr 2026 08:25AM UTC 206
24.5
GitHub Action Run
Source Files on build 24278550607
  • Tree
  • List 206
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4ca54716 on github
  • Prev Build on master (#24239721804)
  • Next Build on master (#24282986272)
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