• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

kubeovn / kube-ovn / 22335642797
23%
master: 24%

Build:
Build:
LAST BUILD BRANCH: fix/chart
DEFAULT BRANCH: master
Ran 24 Feb 2026 03:45AM UTC
Jobs 1
Files 204
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

24 Feb 2026 03:43AM UTC coverage: 23.064% (+0.007%) from 23.057%
22335642797

Pull #6327

github

oilbeater
fix: skip unallocated pods during IPAM initialization to avoid spurious errors

During controller startup, InitIPAM() iterates over all pods and calls
getPodKubeovnNets(), which checks namespace network annotations. However,
namespace annotations are not yet set at this point because the namespace
worker starts after InitIPAM(). This causes spurious error logs like
"namespace kube-system network annotations is empty" for pods that have
not been allocated an IP by kube-ovn (e.g., coredns on first startup).

Skip pods without any allocated annotation before calling
getPodKubeovnNets(), since they have no IP to restore into IPAM anyway.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Pull Request #6327: fix: skip unallocated pods during IPAM initialization

6 of 8 new or added lines in 1 file covered. (75.0%)

12539 of 54365 relevant lines covered (23.06%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.72
0.72% pkg/controller/init.go
Jobs
ID Job ID Ran Files Coverage
1 22335642797.1 24 Feb 2026 03:45AM UTC 204
23.06
GitHub Action Run
Source Files on build 22335642797
  • Tree
  • List 204
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #6327
  • PR Base - master (#22313794790)
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