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

kubeovn / kube-ovn / 27182172275
27%

Build:
DEFAULT BRANCH: master
Ran 09 Jun 2026 03:37AM 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

09 Jun 2026 03:35AM UTC coverage: 25.824% (+0.08%) from 25.746%
27182172275

push

github

web-flow
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>

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

11 existing lines in 1 file now uncovered.

14955 of 57911 relevant lines covered (25.82%)

0.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
4.85
-0.02% pkg/controller/gc.go

Coverage Regressions

Lines Coverage ∆ File
11
23.86
23.86% pkg/controller/namespace.go
Jobs
ID Job ID Ran Files Coverage
1 27182172275.1 09 Jun 2026 03:37AM UTC 212
25.82
GitHub Action Run
Source Files on build 27182172275
  • Tree
  • List 212
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bd2ffe6e on github
  • Prev Build on master (#27173609671)
  • Next Build on master (#27186816109)
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