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

cilium / cilium / 9655
39%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2019 05:48PM UTC
Jobs 1
Files 436
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

01 Aug 2019 05:27PM UTC coverage: 44.16% (-0.04%) from 44.197%
9655

push

travis-ci-com

ianvernon
test: use kvstore-based allocator for upgrade tests

The upgrade test in the CI was sporadically failing when performing the upgrade
from `v1.5` to the latest version of Cilium, with errors like the following:

```
2019-07-29T23:07:13.582080226Z level=warning msg="Key allocation attempt failed" attempt=11 error="unable to reserve local key 'k8s:app=migrate-svc-client;k8s:io.cilium.k8s.policy.cluster=default;k8s:io.cilium.k8s.policy.serviceaccount=default;k8s:io.kubernetes.pod.namespace=default;k8s:zgroup=migrate-svc;': local key already allocated with different value (6696 != 38347)" key="[k8s:app=migrate-svc-client k8s:io.cilium.k8s.policy.cluster=default k8s:io.cilium.k8s.policy.serviceaccount=default k8s:io.kubernetes.pod.namespace=default k8s:zgroup=migrate-svc]" subsys=allocator
2019-07-29T23:07:47.293412631Z level=warning msg="Unable to restore endpoint" endpointID=823 error="exponential backoff cancelled via context: context deadline exceeded" subsys=daemon
```

By default in master, we use the CRD-based identity allocator. The upgrade path
from using the kvstore-based allocator (which is on by default in `v1.5`) to the
CRD-based allocator is not officially supported. So, make sure that in the
upgrade test, we are still using the kvstore-based allocator. The CRD alloaction
mode will still be used in the rest of the CI, as we delete the Cilium DaemonSet
and clear all Cilium state when the upgrade test finishes up.

This is a band-aid over the real problem that we do not support the upgrade path
yet. We should revert this patch once we support changing the allocator backend
when upgrade occurs.

Fixes: #8727

Signed-off by: Ian Vernon <ian@cilium.io>

25277 of 57239 relevant lines covered (44.16%)

1181.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9655.1 01 Aug 2019 05:48PM UTC 0
44.16
Travis Job 9655.1
Source Files on build 9655
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #9655
  • 8905ec5c on github
  • Prev Build on master (#9636)
  • Next Build on master (#9662)
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