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

cilium / cilium / 10090
39%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2019 10:38PM UTC
Jobs 1
Files 435
Run time 32s
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 Aug 2019 10:19PM UTC coverage: 44.187% (-0.02%) from 44.209%
10090

push

travis-ci-com

ianvernon
endpoint: Fix proxy port leak on endpoint delete

Deep in the proxy.removeRedirect() logic, a finalize function is created
to defer proxy port release to allow a port to be reused by the proxy
after a grace period. The port is not actually released when the
removeRedirect() function is returned, instead the finalize function is
passed all the way up to the caller.

In the endpoint leave case, this finalize function was being ignored,
meaning that the proxy port used by this endpoint is never released.
After 10,000 endpoint deletions of endpoints that have L7 policy
applied, the endpoint regeneration begins to fail for new endpoints that
are subject to L7 policy. As a result, the CNI times out:

  Failed create pod sandbox: rpc error:
  code = Unknown
  desc = failed to set up sandbox container "xxx" network for pod "yyy":
  NetworkPlugin cni failed to set up pod "yyy" network:
  Unable to create endpoint:
  Put http:///var/run/cilium/cilium.sock/v1/endpoint/cilium-local:0:
  context deadline exceeded

Fix this by running the finalize function upon endpoint leave.

Signed-off-by: Joe Stringer <joe@cilium.io>

25427 of 57544 relevant lines covered (44.19%)

1185.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10090.1 15 Aug 2019 10:38PM UTC 0
44.19
Travis Job 10090.1
Source Files on build 10090
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #10090
  • 0c7f0665 on github
  • Prev Build on master (#10075)
  • Next Build on master (#10097)
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