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

kubeovn / kube-ovn / 24762886302
26%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2026 06:03AM UTC
Jobs 1
Files 207
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 Apr 2026 06:01AM UTC coverage: 24.813% (+0.04%) from 24.774%
24762886302

push

github

web-flow
fix(lb): skip ct_flush on session-affinity UDP load balancers (#6671)

* fix(lb): skip ct_flush on session-affinity UDP load balancers

ct_flush wipes every conntrack entry on the LB's datapath whenever a
vip is mutated. The per-VPC session UDP LB is shared across every
service in the VPC, and SessionAffinity=ClientIP is carried in that
conntrack; enabling ct_flush there lets one service's backend churn
invalidate another service's active affinity and bounce subsequent
packets to a different backend.

Observed as a dual-stack k8s conformance flake where, during the
"session affinity: udp" test, a concurrent service in another
namespace updated its backends on cluster-udp-session-loadbalancer
mid-test, flushing the affinity state and landing try 2 on a different
pod than try 0.

Keep ct_flush=true for the non-session UDP LB (the original #6620
goal: no rolling-update blackholes) and keep it on per-DNAT UDP LBs
(those are not shared). Only the session UDP LB is excluded.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

* test(init): assert exact variadic arity for CreateLoadBalancer

Copilot review on #6671 flagged that the regression test used a single
gomock.Any() for CreateLoadBalancer's variadic selectFields, which did
not match the production call's actual arity (0 args for non-session,
2 ip_src/ipv6_src args for session). Split the expectation to match
exactly so the test guards both call shapes precisely.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.7 (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.7 (1M context) <noreply@anthropic.com>

1 of 1 new or added line in 1 file covered. (100.0%)

14037 of 56572 relevant lines covered (24.81%)

0.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24762886302.1 22 Apr 2026 06:03AM UTC 207
24.81
GitHub Action Run
Source Files on build 24762886302
  • Tree
  • List 207
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4cf41215 on github
  • Prev Build on master (#24760799335)
  • Next Build on master (#24802898067)
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