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

cilium / cilium / 11251
39%

Build:
DEFAULT BRANCH: master
Ran 10 Oct 2019 06:54AM UTC
Jobs 1
Files 444
Run time 29s
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

10 Oct 2019 06:34AM UTC coverage: 45.679% (-0.01%) from 45.693%
11251

push

travis-ci-com

borkmann
cilium: re-implement broken delete handler for prefilter

While testing prefilter I noticed that deletions don't work at all,
and they in-fact call the prefilter Insert() handler which is completely
wrong. Turns out that c0c3c213cba9 ("api: Refactor /prefilter API for
1.0") had some wrong assumptions about how prefilter CIDRs are updated.
E.g. pkg/client/prefilter.go would first get the list and diff a keepList
which is then pushed into Insert() assuming the other entries would get
evicted. Undo all this, and properly implement delete handler.

After this fix:

  # ./cilium/cilium prefilter list
  Revision: 2
  4.4.4.4/32
  2.2.2.2/32
  # ./cilium/cilium prefilter delete --cidr="4.4.4.4/32,2.2.2.2/32"
  Deleted 2 prefilter entries
  # ./cilium/cilium prefilter list
  Revision: 3
  #

Fixes: #9382
Related: #3478

Fixes: c0c3c213cba9 ("api: Refactor /prefilter API for 1.0")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>

28 of 28 new or added lines in 3 files covered. (100.0%)

26070 of 57072 relevant lines covered (45.68%)

1203.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11251.1 10 Oct 2019 06:54AM UTC 0
45.68
Travis Job 11251.1
Source Files on build 11251
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #11251
  • eb7837f1 on github
  • Prev Build on master (#11249)
  • Next Build on master (#11255)
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