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

cilium / cilium / 12556
39%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2020 07:47PM UTC
Jobs 1
Files 447
Run time 33s
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 Jan 2020 07:25PM UTC coverage: 45.888% (-0.007%) from 45.895%
12556

push

travis-ci-com

borkmann
cilium: use %v for dumping frontend struct on error

Lets not pretend we try to make users happy with small Haikus on service
update errors. ;-) The U+7532 is dumped due to the service port:

  # ./cilium/cilium service update --frontend "8.8.8.8:30002" --backends "10.12.164.240:80" --id 3
  Updating existing service with id '3'
  Error: Cannot add/update service: [PUT /service/{id}][500] putServiceIdFailure  Unable to allocate service ID 3 for {{"8.8.8.8" {"TCP" '甲'}} '\x03'}: Service ID 3 is already registered to "192.168.178.29:30002"

Use %v instead of %q format string to fix it:

  # ./cilium/cilium service update --frontend "8.8.8.8:30002" --backends "10.12.164.240:80" --id 3
  Updating existing service with id '3'
  Error: Cannot add/update service: [PUT /service/{id}][500] putServiceIdFailure  Unable to allocate service ID 3 for {{8.8.8.8 {TCP 30002}} 3}: Service ID 3 is already registered to "192.168.178.29:30002"

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>

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

26641 of 58057 relevant lines covered (45.89%)

1669.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12556.1 10 Jan 2020 07:47PM UTC 0
45.89
Travis Job 12556.1
Source Files on build 12556
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #12556
  • 88b012a5 on github
  • Prev Build on master (#12553)
  • Next Build on master (#12562)
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