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

kubeovn / kube-ovn / 27017056817
26%

Build:
DEFAULT BRANCH: master
Ran 05 Jun 2026 01:20PM 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

05 Jun 2026 01:15PM UTC coverage: 25.681% (+0.09%) from 25.587%
27017056817

push

github

web-flow
perf(daemon): list subnets and pods once per gateway setter (#6827)

* perf(daemon): list subnets and pods once per gateway setter

runGateway runs every 3s, and each of setIPSet/setPolicyRouting/setIptables
re-listed the whole subnet cache up to 15 times per dual-stack tick (and pods
2-4 times). List subnets/pods once per setter and thread the slice through the
helpers, dropping the now-redundant error returns whose only source was List.

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

* perf(daemon): log getCidrByProtocol errors instead of dropping them

Address review feedback: getSubnetsNeedNAT, getSubnetsDistributedGateway and
getDefaultVpcSubnetsCIDR silently skipped subnets when getCidrByProtocol
failed, and StartTProxyTCPPortProbe swallowed getTProxyConditionPod errors.
Log these errors to match the existing handling in reconcileNatOutGoingPolicyIPset
and generateNatOutgoingPolicyChainRules; the error path only triggers on
malformed CIDRs, not on normal single-stack subnets.

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

---------

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

0 of 80 new or added lines in 3 files covered. (0.0%)

433 existing lines in 5 files now uncovered.

14867 of 57891 relevant lines covered (25.68%)

0.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
45
0.8
0.8% pkg/daemon/gateway_linux.go
28
4.86
0.47% pkg/daemon/gateway.go
7
0.0
0.0% pkg/daemon/tproxy_linux.go

Coverage Regressions

Lines Coverage ∆ File
241
0.8
0.8% pkg/daemon/gateway_linux.go
132
4.88
3.96% pkg/controller/gc.go
57
5.45
-0.03% pkg/controller/init.go
2
61.61
-0.62% pkg/ovs/ovn-nb-bfd.go
1
4.86
0.47% pkg/daemon/gateway.go
Jobs
ID Job ID Ran Files Coverage
1 27017056817.1 05 Jun 2026 01:20PM UTC 212
25.68
GitHub Action Run
Source Files on build 27017056817
  • Tree
  • List 212
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • db385f28 on github
  • Prev Build on master (#26991033093)
  • Next Build on master (#27020761364)
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