Bryan Boreham
adda1c459c
Fix plugin filter - truncate Docker ID to 12 chars
2016-06-16 18:03:45 +01:00
Bryan Boreham
37f820a168
Fail the script if any of the background tasks fails
2016-06-07 14:37:43 +01:00
Bryan Boreham
73d7812dc5
Check that latest version of weave image exists
...
The smoke-tests are meant to be run in a context where you have just
uploaded a build. If that upload failed and we don't do this check
then we will download the 'latest' images from DockerHub.
2016-06-07 13:29:44 +01:00
Matthias Radestock
7ffbeead8d
Merge pull request #2327 from weaveworks/issues/1960-mcast-option
...
Add an option to disable multicast route per-network
Fixes #1960 .
2016-06-06 15:49:09 +01:00
Adam Harrison
f9dd763774
Peer list persistence smoke test
2016-06-03 13:53:07 +01:00
Adam Harrison
5e03c0fe25
Revert #1967 (container reuse)
2016-06-03 13:53:07 +01:00
Bryan Boreham
a1c3cba363
Invert multicast option in plugin
...
Now it's off by default, and there is an option to enable the
multicast route per-network.
We turn it on for the `weave` network created when we start the plugin.
2016-06-02 12:52:30 +01:00
Adam Harrison
b4fda4c98e
Name tests so they are picked up by runner
2016-05-27 16:47:47 +01:00
Bryan Boreham
bf040105da
Speed up smoke-tests by reducing timeout on 'docker stop'
2016-05-27 13:15:32 +01:00
Bryan Boreham
cda1084777
Check validity of IP subnets
...
Be more consistent about this - check in the same way whether at startup
or during allocation.
2016-05-26 14:31:17 +00:00
Bryan Boreham
f695b3fd17
Smoke-test CNI arp update
2016-05-25 12:05:20 +01:00
Martynas Pumputis
02d9c090ed
Add wait_for_attached
2016-05-12 12:25:59 +01:00
Martynas Pumputis
671ed724d5
Move wait_for_proxy to config.sh
2016-05-12 12:15:20 +01:00
Martynas Pumputis
7c3e937ae8
Fix 320_claim_3_test
2016-05-11 12:18:39 +01:00
Bryan Boreham
f800813031
Test claim as first operation
2016-05-10 15:32:15 +01:00
Bryan Boreham
e49bbe176d
Make clear that we want the same universe throughout the test
2016-05-10 13:32:56 +01:00
Bryan Boreham
2fa576f3c0
Merge pull request #2265 from weaveworks/issues/2232-block-claim
...
Make claim block if the IPAM ring is not established. Fixes #2232
2016-05-09 14:37:37 +01:00
Martynas Pumputis
d698aefbfc
Make Claim to block if the IPAM ring is not established
2016-05-09 12:48:41 +01:00
Bryan Boreham
469d456c8b
Smoke-test for container restart with proxy attach failure
2016-05-09 11:19:19 +01:00
Adam Harrison
1283ba4f61
Merge pull request #2249 from weaveworks/issues/2209-depersist-on-range-change
...
Better deleting of persisted IPAM data
2016-05-05 10:11:22 +01:00
Bryan Boreham
503546d2a9
Return DNS no-error with empty answer if we have a matching name
...
but the query is for a record type we don't support.
2016-05-03 17:33:51 +01:00
Bryan Boreham
f6966548eb
Delete persisted data when IPAM range changes
2016-05-03 13:20:04 +01:00
Bryan Boreham
e96b68f0aa
Don't use persisted data until we are sure it matches
2016-05-03 13:20:04 +01:00
Bryan Boreham
9ce229ba3a
Merge pull request #2202 from weaveworks/issues/1482-update-test320
...
Update test 320 to cope with persistence
2016-04-28 10:21:57 +01:00
Bryan Boreham
0e655a2bbd
Remove plugin-connected containers before end of test, to avoid delaying later cleanup.
...
Also use a shorter sequence to exclude the plugin when removing other containers.
2016-04-26 15:42:35 +01:00
Bryan Boreham
d2450aae1c
Merge pull request #2204 from weaveworks/issues/2193-dns-leak
...
Fixes #2123 : Use ContainerID when restarting a container
2016-04-22 14:36:17 +01:00
Bryan Boreham
192fbe3a53
Update test 320 to cope with persistence
2016-04-21 16:19:59 +01:00
Martynas Pumputis
427b6d2902
Use ContainerID when restarting a container
...
Otherwise, we are risking to leak DNS entries which happens when
ContainerName is passed to `weave reset` and subsequent internal call
to nameserver creates a new entry instead of replacing the old one.
The ContainerID of the new entry is set to ContainerName and in such case
stopping the container will not remove the new entry.
2016-04-21 16:12:02 +01:00
Bryan Boreham
2f5a3f4513
Remove db-prefix now that persistence is in a volume
2016-04-21 14:32:45 +01:00
Adam Harrison
6ad9dac71a
Merge pull request #2165 from weaveworks/issues/2164-less-deleting
...
Store 'checkAlive' flag in IPAM, so we don't delete non-container IDs
2016-04-18 11:49:50 +01:00
Adam Harrison
a921f77258
Merge pull request #2172 from weaveworks/disable-peer-persistence
...
Disable persistence of peer lists
2016-04-18 11:48:46 +01:00
Bryan Boreham
01be916c37
Add test to expose problem deleting non-container IPs
...
and check dead containers are removed
2016-04-18 10:13:09 +01:00
Adam Harrison
c6609bd248
Smoke test --no-restart
2016-04-15 15:04:29 +01:00
Bryan Boreham
4669da6074
Disable persistence of peer lists
2016-04-15 14:49:50 +01:00
Bryan Boreham
02516361c7
Merge pull request #2155 from weaveworks/issues/2065-rationalise-ipam-concepts
...
Rationalise IPAM concepts
2016-04-14 17:33:27 +01:00
Adam Harrison
e355e50c0d
Tests prefer --ipalloc-init
2016-04-14 12:46:03 +01:00
Adam Harrison
a09986baa2
Rename consense -> prime
2016-04-14 12:46:03 +01:00
Bryan Boreham
0eee97b988
Use regular persistence settings in test, since they now survive a restart
2016-04-13 16:08:41 +01:00
Martynas Pumputis
928a693491
Extend version summary in the weave status report
...
The extended version summary includes info about a new available
version in the case the checkpoint is enabled.
2016-04-12 22:32:18 +01:00
Matthias Radestock
d1ca38e106
Merge pull request #2148 from weaveworks/issues/2146-cni-sock
...
Bind-mount the docker socket for CNI plugin
Fixes #2146
2016-04-11 16:03:14 +01:00
Bryan Boreham
15bdf6cd2d
Rework CNI test so it uses the scriptlet
2016-04-11 16:00:49 +01:00
Matthias Radestock
4037c763c2
Merge branch '1.4'
2016-04-11 15:40:32 +01:00
Matthias Radestock
d4fb739981
Merge pull request #2151 from weaveworks/issues/2140-fqdn-trailing-dot
...
Remove trailing dot from FQDN
Fixes #2140
2016-04-11 15:39:48 +01:00
Martynas Pumputis
a4062bd15c
Remove trailing dot from FQDN
...
As it is described in #2140 , the trailing dot might appear
when starting a container via "weave run".
2016-04-11 11:17:36 +01:00
Bryan Boreham
737b0e0504
Two different configs; ensure weave-ipam driver works when named
2016-04-08 17:59:23 +01:00
Bryan Boreham
16e5032528
Merge branch '1.4'
2016-04-08 17:48:33 +01:00
Bryan Boreham
26bd1b5787
Specify /dev/null stdin for netcat, to avoid inconsistency in Docker 1.11
2016-04-08 17:48:08 +01:00
Matthias Radestock
7d27df0907
Merge pull request #2133 from weaveworks/issues/2081-broadcast-dns-overrides
...
Immediately broadcast DNS records that "re-assert a peer's authority"
2016-04-06 14:51:22 +01:00
Bryan Boreham
768e2a31fa
Re-hide output coming from stop, since it's generally uninteresting
2016-04-06 13:54:12 +01:00
Bryan Boreham
487392b99c
Immediately broadcast DNS records that "re-assert a peer's authority"
...
and enable test to check.
2016-04-06 13:35:07 +01:00