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

noironetworks / aci-containers / 11627
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: unowned-del-fix
DEFAULT BRANCH: master
Ran 15 Feb 2026 06:43AM UTC
Jobs 1
Files 48
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

15 Feb 2026 06:26AM UTC coverage: 62.826% (-0.02%) from 62.843%
11627

Pull #1667

travis-pro

allenantony-oc
Fix NetworkPolicy named port resolution in HPP modes

When multiple NetworkPolicies share the same HPP and use named ports
that resolve to different port numbers, only one policy's rules were
generated in hpp-optimization and hpp-direct modes.

Root cause: HPP hash is based on ingress/egress rules and policy
types. NetworkPolicies with identical rules but different named port
mappings share the same HPP. The last NP's rules replace the previous
NPs' rules causing unintended traffic disruption for previous NPs.

Changes:
- Iterate through all NetworkPolicies sharing an HPP when building
  ingress/egress rules in both hpp-optimization and hpp-direct modes
- Add NetworkPolicy name suffix to rules in buildLocalNetPolSubjRules
  to ensure unique rule names and match buildNetPolSubjRules behavior

This ensures all named port mappings are included when multiple NPs
share an HPP, preventing traffic disruption.
Pull Request #1667: Fix NetworkPolicy named port resolution in HPP modes

81 of 108 new or added lines in 1 file covered. (75.0%)

3 existing lines in 2 files now uncovered.

13480 of 21456 relevant lines covered (62.83%)

0.72 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
27
77.07
-0.38% pkg/controller/network_policy.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.07
-0.38% pkg/controller/network_policy.go
2
64.07
-0.15% pkg/apicapi/apicapi.go
Jobs
ID Job ID Ran Files Coverage
1 11627.1 (DEFAULT_BRANCH=master GOPROXY=https://proxy.golang.org,https://goproxy.io,direct) 15 Feb 2026 06:43AM UTC 48
62.83
Travis Job 11627.1
Source Files on build 11627
  • Tree
  • List 48
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #11627
  • Pull Request #1667
  • PR Base - master (#11599)
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