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

kubeovn / kube-ovn / 18705377874
23%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2025 04:31AM UTC
Jobs 1
Files 186
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

22 Oct 2025 04:28AM UTC coverage: 21.149% (-0.009%) from 21.158%
18705377874

push

github

web-flow
fix: prevent GC from deleting KubeVirt VM interfaces (#5814)

The garbage collector introduced in PR #5789 incorrectly identifies
KubeVirt VM interfaces as 'lost' and deletes them, breaking network
connectivity for VMs within ~60 seconds of creation.

Root cause: For KubeVirt VMs, the pod_name in OVS external_ids is set
to the VM name (e.g., 'ubuntu-vm-br'), not the launcher pod name
(e.g., 'virt-launcher-ubuntu-vm-br-xyz'). When gcInterfaces() tries
to look up the pod by the VM name, it fails and incorrectly deletes
the interface.

Solution: When a pod is not found by direct lookup, check if it might
be a KubeVirt VM by searching for launcher pods with the label
'vm.kubevirt.io/name' matching the pod_name from OVS. If a matching
launcher pod exists, keep the interface instead of deleting it.

This fix maintains backward compatibility with non-KubeVirt pods
while preventing false-positive deletions for KubeVirt VMs.

Signed-off-by: dnugmanov <damir_nug@mail.ru>

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

3 existing lines in 2 files now uncovered.

10735 of 50758 relevant lines covered (21.15%)

0.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
17
0.0
0.0% pkg/daemon/controller.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% pkg/daemon/controller.go
2
74.6
-0.53% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 18705377874.1 22 Oct 2025 04:31AM UTC 186
21.15
GitHub Action Run
Source Files on build 18705377874
  • Tree
  • List 186
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 37386690 on github
  • Prev Build on master (#18673352411)
  • Next Build on master (#18731990090)
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