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

kubeovn / kube-ovn / 23684855463
26%

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2026 12:09PM UTC
Jobs 1
Files 205
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

28 Mar 2026 12:06PM UTC coverage: 24.219%. Remained the same
23684855463

push

github

web-flow
fix: wrap EIP error shadowing and use uint64 for iptables counters (#6538)

* fix(controller): wrap original error instead of shadowing in EIP nat lookup

Three error handlers used `err := errors.New(...)` which shadowed the
outer `err` from getOvnEipNat/getIptablesEipNat, discarding the actual
root cause (e.g. OVSDB query failure, network timeout). Replace with
`err = fmt.Errorf("...: %w", err)` to preserve the error chain.

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

* fix(daemon): use uint64 for iptables counters to prevent overflow

iptables packet/byte counters are kernel uint64 values but were stored
as int and parsed with strconv.Atoi. When counters exceed MaxInt64 the
parse fails silently. Change GwIPTablesCounters fields to uint64 and
use strconv.ParseUint for correct handling of large counter values.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (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.6 (1M context) <noreply@anthropic.com>

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

13489 of 55696 relevant lines covered (24.22%)

0.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
0.0
0.0% pkg/controller/ovn_eip.go
2
0.0
0.0% pkg/daemon/gateway_linux.go
1
0.0
0.0% pkg/controller/vpc_nat_gw_eip.go
Jobs
ID Job ID Ran Files Coverage
1 23684855463.1 28 Mar 2026 12:09PM UTC 205
24.22
GitHub Action Run
Source Files on build 23684855463
  • Tree
  • List 205
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 99d18310 on github
  • Prev Build on master (#23679418589)
  • Next Build on master (#23685481997)
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