Bryan Boreham
9d669c3312
Merge branch '2.6'
2020-05-29 19:59:33 +00:00
Bryan Boreham
7c2084b9af
Move ansible install out from every CI run
...
to only where we create images.
2020-05-29 13:33:30 +00:00
Bryan Boreham
cee6929cb9
Merge pull request #3729 from weaveworks/simplify-test-320
...
Remove the need for a third host in test 320
2019-12-13 11:31:06 +00:00
Murali Reddy
6d2366ca4c
upgrade to newer terraform that is compatible with google cloud API
...
Fixes #3741
2019-12-06 10:19:27 +05:30
Bryan Boreham
b871c1eecb
Delete test binary committed in error
2019-11-05 12:16:45 +00:00
Bryan Boreham
9a6d0c9cf5
Remove the need for a third host in test 320
...
This was necessary when we didn't have ipam persistence, as the
comment said "to remember the IPAM CRDT when we stop host2".
But we have persistence to hold the CRDT so we don't need host3.
Rename the test so the test runner only gives it 2 hosts.
2019-11-04 16:13:46 +00:00
Bryan Boreham
d2c78d3196
Tell 'timeout' to use signal 9, so command dies immediately
...
We were seeing flakes in test 320, seemingly because the 'docker run'
command would sometimes send a delete request for the container it had
started, before dying.
We need the container to carry on running so we can check it does get
attached when the cluster reaches quorum. Sending signal 9 means the
command dies immediately and does not get a chance to delete the
container.
2019-11-01 16:39:34 +00:00
Bryan Boreham
4da2501d7a
Add sleeps in tests for topology gossip to propagate
...
The new weaveworks/mesh version defers topology updates by up to 1
second, so we can't expect to connect two nodes and immediately ping
between them.
2019-10-15 09:01:00 +00:00
Bryan Boreham
79e032c984
Reduce time test script waits for IPs to be reclaimed
...
Now we have a callback when a node is removed, there should be no
reason to wait 90 seconds.
The reclaim does wait up to 5 seconds before starting, so allowing 10
seconds in the script should be sufficient.
2019-10-11 20:29:58 +00:00
Bryan Boreham
30ed34bd2c
Shut down Kubernetes in test of deleted node
2019-10-11 20:29:58 +00:00
Bryan Boreham
ace2c12608
Merge pull request #3660 from Pensu/daemonset_api
...
Move daemonset API to apps/v1
2019-08-29 13:11:57 +01:00
Peeyush Gupta
991945081a
Move daemonset API to apps/v1
2019-08-29 13:57:16 +05:30
Bryan Boreham
c8e7dbd600
Pin busybox version to 1.28 to avoid CI issues
2019-08-14 13:59:41 +00:00
Murali Reddy
bc9939fcdc
add delay before checking ipam status
2018-11-01 14:51:19 +05:30
Murali Reddy
f16d4561e0
remove realunch weave pod to test the unreachable_ip_addresses_count
2018-10-30 12:34:28 +05:30
Murali Reddy
b8b47787be
integration test for HostPort support
2018-09-05 08:35:27 +05:30
Murali Reddy
90907a7647
Fix to use 10-weave.conflist instead of 10-weave.conf as CNI config file.
...
Also adds support for portmap as additional plugin along with weave-net
Fixes #3016
2018-08-31 16:11:24 +05:30
Murali Reddy
e0359a32f2
Merge pull request #3367 from weaveworks/issues/3168-ingress-ipblock
...
Add ipBlock support for Ingress netpol
2018-08-16 13:24:47 +05:30
Martynas Pumputis
aec8756151
npc: Add integration test case for ingress.ipBlock
2018-08-03 17:17:50 +02:00
Martynas Pumputis
b8bb7d7696
Sleep more in the 840 smoke test
2018-08-03 10:37:59 +02:00
Bryan Boreham
44e0c6add7
Try to fix failing test 840
2018-07-30 10:19:28 +00:00
Bryan Boreham
1a8794e90f
Run coverage analysis in separate step, and save results
...
Remove CircleCI 1.0 implementation which used scp to contact other
lanes.
Note we can't use an env var in store_artifacts clause
2018-07-30 10:18:57 +00:00
Martynas Pumputis
8176048268
Print defunct processes if such exist
...
Instead of printing their count. Helps to determine which
process causes the zombies.
2018-07-28 15:27:10 +02:00
Martynas Pumputis
07d31a8558
npc: Get rid of the legacy netpol
2018-07-24 10:06:55 +02:00
Martynas Pumputis
dee24aec65
npc: Add integration test for egress
...
Also, install dig (bind-tools) in the network-tester image.
2018-07-24 10:06:23 +02:00
Martynas Pumputis
be8298926a
npc: Pass --use-legacy-netpol to weaver in 840
2018-07-24 10:06:23 +02:00
Munro, Louis
b262a1eedc
Fix xtables.lock race condition between weave and kube-proxy.
...
Fixes #3351
2018-07-22 13:12:00 -04:00
Bryan Boreham
32a92a4695
Add --force flag to kubeadm reset
2018-06-28 10:26:09 +00:00
Martynas Pumputis
d15439aeac
Merge remote-tracking branch 'origin/2.3'
2018-06-11 16:39:03 +02:00
Martynas Pumputis
45a9ea666e
Add k8s integration test case for preserving client IP addr
...
Also, increase timeout for smoke tests to 360 sec.
2018-06-04 14:08:24 +02:00
Martynas Pumputis
efd5d0e410
Add /client_ip to network-tester
...
The endpoint is going to be used by --no-masq-local integration tests.
2018-06-04 14:08:24 +02:00
Bryan Boreham
791d9aecfc
Extend k8s test to cover namespaceSelector and >10 Namespaces
2018-05-25 17:24:22 +00:00
Bryan Boreham
847046a225
Update to match upstream changes
2018-04-27 14:34:48 +01:00
Bryan Boreham
519c5d686a
Remove test for k8s 1.6 which breaks on 1.10
2018-04-04 12:26:18 +01:00
Martynas Pumputis
4261777613
Remove "-j KUBESERVICES" during teardown in 840 smoke test
...
Remove the rule to ensure that api-server is not accessible while
kube-proxy is not ready.
Otherwise, we have a race between "-j KUBE-FORWARD" and "-j WEAVE-NPC"
which makes the NodePort isolation test case to fail.
2018-01-29 16:20:22 +01:00
Martynas Pumputis
7bc089f5c5
Add iproute2 scope info to assertions
...
The latest alpine linux changed iproute2 of busybox which now
includes scope info.
2018-01-29 16:20:22 +01:00
Martynas Pumputis
c46e3e8cf7
Skip CA verification in k8s smoke tests
2018-01-29 16:20:22 +01:00
Martynas Pumputis
180d554205
Do not pin k8s vsn in 840 smoke test
2018-01-29 16:20:22 +01:00
Martynas Pumputis
9a5514ffe0
Add comment about the FORWARD rule order
...
Should help debugging.
2018-01-20 14:44:40 +01:00
Bryan Boreham
4d5172f67e
Run test with Kubernetes 1.8.5 and --cluster-cidr
2018-01-11 15:24:25 +00:00
Bryan Boreham
6f01c31458
Extend kubernetes test to nodePort and virtual IP
2018-01-11 15:24:25 +00:00
Bryan Boreham
6cfb208f3f
Merge pull request #3204 from weaveworks/issues/3133-idempotent-bridge
...
Do not skip bridge creation if bridge exists
2018-01-09 17:20:06 +00:00
Brice Fernandes
b05d977cf9
Merge pull request #3217 from weaveworks/improve-test-readme
...
Improve instructions for running tests against a remote cluster
2018-01-09 17:08:49 +00:00
Brice Fernandes
36d183d988
Improve readme
2018-01-09 14:51:25 +00:00
Brice Fernandes
b154fd56fb
Fix typo
2018-01-09 13:58:07 +00:00
Brice Fernandes
3419f69246
Make sure to mention Ansible in instructions
2018-01-09 13:41:02 +00:00
Brice Fernandes
ae59a053b1
Improve readme formatting
2018-01-08 16:45:00 +00:00
Brice Fernandes
e71919226b
Add cloud build instructions to test readme
2018-01-08 16:38:22 +00:00
Martynas Pumputis
1d67e2f955
Add test case for restoring iptables rules after weaver restart
2018-01-06 13:20:02 +01:00
Martynas Pumputis
9a6935bf40
Give more memory to vagrant test machines
...
To be able to run k8s smoke tests.
2018-01-06 12:48:17 +01:00