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

kubeovn / kube-ovn / 27194596192
25%
master: 27%

Build:
Build:
LAST BUILD BRANCH: fix/ovn-fip-delete-idempotent
DEFAULT BRANCH: master
Ran 09 Jun 2026 08:46AM UTC
Jobs 1
Files 207
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

09 Jun 2026 08:44AM UTC coverage: 25.168% (-0.002%) from 25.17%
27194596192

push

github

oilbeater
fix(controller): avoid nil pointer panic in chassis and static route gc (#6835)

* fix(controller): avoid nil pointer panic in chassis and static route gc

gcChassis logged the ListChassis error but fell through to dereference
the nil result, panicking the whole controller process whenever the OVN
SB DB is briefly unreachable (libovsdb List runs an echo RPC and returns
ErrNotConnected during the disconnect/reconnect window). Return the error
like every other gc* function instead.

gcStaticRoute dereferenced route.Policy unconditionally, but policy is
optional in the OVN schema and may be nil for manually or third-party
created routes. Normalize an unset policy to the dst-ip default, matching
the convention used elsewhere in ovn-nb-logical_router_route.go.

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

* fix(controller): log normalized static route policy instead of raw pointer

Address Copilot review: the gc static route info/error logs printed
route.Policy (a pointer), showing an address or <nil> rather than the
normalized policy actually used for deletion. Log the resolved policy
value so GC behavior is easier to debug.

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>
(cherry picked from commit bd2ffe6ee)

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

14281 of 56743 relevant lines covered (25.17%)

0.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.91
-0.0% pkg/controller/gc.go
Jobs
ID Job ID Ran Files Coverage
1 27194596192.1 09 Jun 2026 08:46AM UTC 207
25.17
GitHub Action Run
Source Files on build 27194596192
  • Tree
  • List 207
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 07085a88 on github
  • Prev Build on release-1.16 (#27194249053)
  • Next Build on release-1.16 (#27197068676)
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