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

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

Build:
Build:
LAST BUILD BRANCH: vpc-nat-gw-in-any-ns
DEFAULT BRANCH: master
Ran 01 Feb 2026 04:01PM UTC
Jobs 1
Files 196
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

01 Feb 2026 03:58PM UTC coverage: 22.93% (-0.003%) from 22.933%
21565852316

Pull #6243

github

zbb88888
fix: ensure kubevirt migration uses current migration state

Add MigrationUID validation to prevent stale state usage during
consecutive VM migrations (e.g., A→B→A).

Changes:
1. Add MigrationUID check: Only use vmi.Status.MigrationState if
   MigrationUID matches current vmiMigration.UID
2. Simplify MigrationScheduling: Wait for valid state instead of
   using Pod/vmi.Status.NodeName fallback
3. Add unit tests covering UID validation and migration scenarios

The root cause was that vmi.Status.MigrationState could contain stale
info from a previous migration, causing incorrect node detection and
skipping SetLogicalSwitchPortMigrateOptions.

Fixes: #6220
Signed-off-by: zbb88888 <jmdxjsjgcxy@gmail.com>
Pull Request #6243: Fix migration

3 of 93 new or added lines in 2 files covered. (3.23%)

5 existing lines in 2 files now uncovered.

12332 of 53782 relevant lines covered (22.93%)

0.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
76
0.0
0.0% pkg/controller/kubevirt.go
14
77.95
-1.29% pkg/ovs/ovn-nb-logical_switch_port.go

Coverage Regressions

Lines Coverage ∆ File
3
0.0
0.0% pkg/controller/kubevirt.go
2
74.6
-0.53% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 21565852316.1 01 Feb 2026 04:01PM UTC 196
22.93
GitHub Action Run
Source Files on build 21565852316
  • Tree
  • List 196
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #6243
  • PR Base - master (#21538844522)
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