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

kubeovn / kube-ovn / 21585158152
23%

Build:
DEFAULT BRANCH: master
Ran 02 Feb 2026 09:50AM 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

02 Feb 2026 09:47AM UTC coverage: 23.043% (+0.1%) from 22.924%
21585158152

push

github

web-flow
Fix qos not work (#6231)

* fix(qos): fix NAT Gateway QoS not working
* fix eip deletion not trigger qos again

This PR fixes multiple issues with NAT Gateway QoS functionality:

1. Fix matchall filter handle extraction regex
   - matchall filter uses 'handle 0xNNNN' format, not 'fh' like u32 filters
   - Changed regex from 'fh [0-9a-f:]+' to 'handle 0x[0-9a-fA-F]+'

2. Fix matchall filter line extraction when u32 filters exist
   - When both u32 and matchall filters exist, 'grep -B2 matchall' captured wrong lines
   - Use 'grep matchall.*flowid' to directly match the correct line

3. Use IFB + HTB instead of police for ingress QoS
   - police drops packets exceeding rate limit (unfriendly to TCP)
   - HTB queues packets and applies backpressure, allowing TCP to adapt smoothly
   - This results in actual throughput close to the configured rate limit

4. Support decimal values for rateMax/burstMax (e.g., 1.5 Mbit/s)
   - Convert burst from MB to bytes to avoid tc parsing issues

5. Add detailed parameter documentation for all QoS functions
   - qos_add: 9 parameters
   - qos_del: 7 parameters
   - eip_*_qos_add: 4 parameters
   - eip_*_qos_del: 1 parameter

6. Add DEBUG switch for QoS troubleshooting



---------

Signed-off-by: zbb88888 <jmdxjsjgcxy@gmail.com>

42 of 113 new or added lines in 3 files covered. (37.17%)

2 existing lines in 2 files now uncovered.

12411 of 53860 relevant lines covered (23.04%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
0.0
0.0% pkg/controller/vpc_nat_gw_eip.go
28
2.17
-0.04% pkg/controller/vpc_nat_gateway.go
34
20.4
20.4% pkg/controller/qos_policy.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
20.4
20.4% pkg/controller/qos_policy.go
1
0.0
0.0% pkg/controller/vpc_nat_gw_eip.go
Jobs
ID Job ID Ran Files Coverage
1 21585158152.1 02 Feb 2026 09:50AM UTC 196
23.04
GitHub Action Run
Source Files on build 21585158152
  • Tree
  • List 196
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2e089ff3 on github
  • Prev Build on master (#21580923272)
  • Next Build on master (#21613240815)
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