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

kubeovn / kube-ovn / 22985042443
23%
master: 23%

Build:
Build:
LAST BUILD BRANCH: renovate/master-google.golang.org-grpc-1.x
DEFAULT BRANCH: master
Ran 12 Mar 2026 03:25AM UTC
Jobs 1
Files 202
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

12 Mar 2026 03:19AM UTC coverage: 23.022% (-0.01%) from 23.036%
22985042443

push

github

oilbeater
fix: use targeted patch in calcSubnetStatusIP to prevent U2O status overwrite (#6350)

calcSubnetStatusIP previously used subnet.Status.Bytes() which serialized
the entire SubnetStatus and patched all fields to etcd. This caused a race
condition where handleUpdateSubnetStatus could overwrite U2OInterconnectionVPC
with stale data from its informer cache, leading to flaky e2e test failures
in "should support underlay to overlay subnet interconnection".

The race condition occurs when:
1. handleAddOrUpdateSubnet sets U2OInterconnectionVPC and patches status
2. handleUpdateSubnetStatus retries (from IP inconsistency requeue), reads
   stale cache without U2OInterconnectionVPC, and calcSubnetStatusIP
   overwrites all status fields including U2OInterconnectionVPC=""

Fix by using a targeted JSON merge patch that only includes the 8 IP-related
fields, leaving non-IP fields like U2OInterconnectionVPC untouched.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

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

2 existing lines in 1 file now uncovered.

12501 of 54300 relevant lines covered (23.02%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
24
5.65
-0.63% pkg/controller/subnet_status.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
74.6
-0.53% pkg/ovs/ovn-nb-logical_router_route.go
Jobs
ID Job ID Ran Files Coverage
1 22985042443.1 12 Mar 2026 03:25AM UTC 202
23.02
GitHub Action Run
Source Files on build 22985042443
  • Tree
  • List 202
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a0d78743 on github
  • Prev Build on release-1.15 (#22982971308)
  • Next Build on release-1.15 (#22989240369)
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