Dong Chen
30633d10a0
Verify rescheduled containers are started properly.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-02-08 15:18:09 -08:00
Victor Vieux
6f58c870a4
update compose in tests to 1.6.0
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-02-06 05:42:50 -08:00
Nishant Totla
c22d7fd78b
Fix integration test - label affinity in parallel
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2016-02-04 15:14:46 -08:00
Victor Vieux
24fe2c04e5
support docker network ls --filter type=XXX
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-02-02 15:57:53 -08:00
Alexandre Beslic
79f255355d
Merge pull request #1726 from vieux/more_network_tests
...
add docker run --net-alias, docker network connect --ip and docker network connect --alias tests
2016-02-01 16:08:54 -08:00
Alexandre Beslic
b450039172
Merge pull request #1725 from vieux/add_simple_strategy_test
...
add simple strategy test
2016-02-01 15:52:29 -08:00
Isabel Jimenez
8ddb324a9e
Merge pull request #1633 from ezrasilvera/mesosCreateNW
...
New network functions for mesos cluster: CreateNetwork(), RemoveNetwork(), and Networks()
2016-02-01 15:17:19 -08:00
Dongluo Chen
615158432d
Merge pull request #1723 from vieux/test_run_ip
...
add test for run --ip
2016-02-01 13:04:32 -08:00
Victor Vieux
36e1fbdd77
Merge pull request #1715 from vieux/1676-fiximageaffinity
...
Fix images affinity for local registry and digest
2016-02-01 13:01:29 -08:00
Alexandre Beslic
d9c677f50b
Merge pull request #1697 from jimenez/double_start
...
Fix double start with Mesos
2016-02-01 09:08:20 -08:00
Ezra Silvera
5d63e55936
add integration network test
...
Signed-off-by: Ezra Silvera <ezra@il.ibm.com>
2016-02-01 08:32:05 -05:00
Isabel Jimenez
c809e6a643
Fix double start
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2016-01-31 19:08:48 -05:00
Alexandre Beslic
f86f41ba09
Merge pull request #1712 from vieux/hostdown_ps
...
Host Down containers in ps requires -a
2016-01-29 15:38:40 -08:00
Dong Chen
388b7b132f
Allow more retries for node validation.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-29 13:26:42 -08:00
Victor Vieux
97749f3f2d
add docker run --net-alias, docker network connect --ip and docker network connect --alias tests
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-29 06:04:55 -08:00
Victor Vieux
47609f74f3
add simple strategy test
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-29 05:50:09 -08:00
Victor Vieux
9f9aba623f
update godeps
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-29 03:04:17 -08:00
Victor Vieux
9abd727c52
add test for run --ip
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-29 01:16:48 -08:00
Victor Vieux
967a98d40f
fix unit test and add integration test
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-28 13:12:42 -08:00
Victor Vieux
2cc980e4ab
check the container started successfully after reschedule
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-28 11:47:48 -08:00
Victor Vieux
aa028f4d09
Host Down containers in ps requires -a
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-28 11:28:19 -08:00
Victor Vieux
80ffd860cb
update_to_go_1.5.3
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-27 03:13:47 -08:00
Victor Vieux
f3a1027bbe
update docker info
...
add test
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-27 01:07:52 -08:00
Dong Chen
0b6d390d66
swarm_manage should confirm nodes pass validation.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-26 18:47:51 -08:00
Victor Vieux
cc4eea83da
Merge pull request #1669 from dongluochen/dockerUpdateCmd
...
Support 'docker update' command
2016-01-22 17:43:41 -08:00
Dong Chen
f42f5fa3d4
Support 'docker update' command.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-22 17:10:22 -08:00
Victor Vieux
7c41b95b8e
Merge pull request #1672 from jimenez/mesos0.26
...
Upgrading Mesos integration tests to 0.26.0
2016-01-22 17:03:38 -08:00
Isabel Jimenez
b290a62342
Adding mesos 0.26 Dockerfile for tests
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2016-01-22 17:56:48 -05:00
Victor Vieux
1225eddc79
allow engine/name support in volumes
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-16 17:40:53 -08:00
Victor Vieux
04fb48d27a
support 1.10 events
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-15 19:35:04 -08:00
Isabel Jimenez
a99ceeb9c1
Adding suicide logic for tasks so as to prevent false timeout for tasks having a long image pull
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2016-01-14 13:37:23 -05:00
Isabel Jimenez
d12ea7ff6d
Adding test
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2016-01-14 13:37:23 -05:00
Isabel Jimenez
b297c1bd41
Enabling checkpoint failover in FrameworkInfo
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2016-01-14 04:05:00 -05:00
Dong Chen
8cc9b6c284
Add swarm container create retry option.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-13 16:06:38 -08:00
Alexandre Beslic
d21748699d
Merge pull request #1565 from jimmyxian/fresh-image-when-commit
...
fresh image when receive commit event
2016-01-13 12:01:09 -08:00
Victor Vieux
14bf4e08b3
add -experimental to enable rescheduling
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-12 01:35:39 -08:00
Alexandre Beslic
e1213384bc
Merge pull request #1578 from aluzzardi/rescheduling
...
[experimental] Simple container rescheduling on node failure
2016-01-12 15:00:27 -08:00
Victor Vieux
78008f4d4a
add doc
...
fix tests and keep swarm id
remove duplicate on node reconnect
explicit failure
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-11 15:59:44 -08:00
Andrea Luzzardi
13f60212f5
Add support for container rescheduling on node failure.
...
Add rescheduling integration tests.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2016-01-11 15:59:44 -08:00
Dong Chen
cf664141b6
Scheduler prefers nodes without connection failures.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-11 11:42:58 -08:00
Xian Chaobo
1fef59f738
fresh image when receive commit event
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2016-01-08 17:25:30 +08:00
Alexandre Beslic
8b173fd382
Merge pull request #1569 from dongluochen/nodeManagement
...
Improve node management.
2016-01-07 16:14:36 -08:00
Alexandre Beslic
ba5cbb9519
Merge pull request #1590 from jimenez/upgrade_mesos0.25
...
Upgrade mesos0.25 in CI
2016-01-07 13:55:34 -08:00
Isabel Jimenez
3f5d018c2d
moving big run to more adequate stress test
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2016-01-06 22:57:16 -05:00
Isabel Jimenez
2ec3c16efe
adapting tests to mesos0.25 upgrade
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2016-01-06 21:12:53 -05:00
Isabel Jimenez
542af05391
updrading tests to use mesos 0.25
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2016-01-06 20:18:07 -05:00
Dong Chen
6a1b49cf4e
Fix format issue in state.bats.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-05 16:20:38 -08:00
Dong Chen
9a1584d508
Update integration test. Reduce pending node validation sleep interval. Each pending node has its own validation interval according to failure count. So reducing sleep interval is not increasing validation frequency for unreachable nodes.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-05 15:56:55 -08:00
Dong Chen
52a7616d99
Add integration test for state machine.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2016-01-05 14:59:30 -08:00
Victor Vieux
5daaecdaa1
do not save image affinity on reschedule
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-05 10:29:45 -08:00
Xian Chaobo
ef8fb1cbc8
Merge pull request #1579 from vieux/fix_api_code
...
fix status code when container found on unhealthy node
2016-01-06 09:30:25 +08:00
Victor Vieux
94aad7d423
fix plugin not found case in tests
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-04 22:06:12 -08:00
Victor Vieux
0f93c86398
fix test ps --before
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-04 17:36:51 -08:00
Victor Vieux
ea5b2290ed
fix soft affinities/constraints
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-01-04 15:59:51 -08:00
Victor Vieux
c11d4fe82c
fix stable tests
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-22 00:03:59 -08:00
Victor Vieux
d00c23094b
remove sleep from tests
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-17 16:49:54 -08:00
Dong Chen
82d16226e6
rebase and update test case.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2015-12-15 19:13:03 -08:00
Dong Chen
ec3b00c484
Reorganize engine failure detection procedure. Change engine option 'RefreshRetry' to 'FailureRetry'.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2015-12-15 19:13:03 -08:00
Victor Vieux
cdd42a5c6b
display all the containers that are part of a global network on inspect
...
update godeps
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-12-15 17:48:35 -08:00
Isabel Jimenez
70a2713c60
Adding integration tests for mesos
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2015-12-11 16:14:49 -05:00
Victor Vieux
4b33656bb4
return proper error for inspect and proxy on unhealthy node
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-12-10 20:05:17 -08:00
Alexandre Beslic
31791e2241
Merge pull request #1513 from vieux/compose_1.5.2
...
update compose to 1.5.2
2015-12-08 12:43:37 -08:00
Victor Vieux
4aafe4aa7b
Merge pull request #1492 from aluzzardi/profiling
...
Enable profiling over HTTP in debug mode
2015-12-08 12:43:00 -08:00
Victor Vieux
b399d7c7ed
update compose to 1.5.2
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-07 22:05:58 -08:00
Victor Vieux
0bddb0096f
longer retries
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-07 22:04:14 -08:00
Victor Vieux
9677ddd06f
1.5.1->1.5.2
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-07 21:45:34 -08:00
Victor Vieux
a4a1d3bd01
Merge pull request #1466 from abronan/fix_ci_discovery_race
...
Integration: Wait for nodes to be registered and discovered before testing
2015-12-07 21:11:20 -08:00
Victor Vieux
f1b7b7be59
fix tests
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-07 19:57:29 -08:00
Victor Vieux
67a4d559db
Merge pull request #1449 from jimenez/mesos_user_abnormal_error
...
Improving error output for bad swarm mesos user
2015-12-07 13:43:34 -08:00
Xian Chaobo
19c0c0e6f9
integration: fix retry time when check disconnect events
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-12-03 16:53:24 +08:00
Alexandre Beslic
44d96a6185
integration: fix --kernel-memory value set too low
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-12-03 00:28:00 -08:00
Victor Vieux
a17f182026
add mesos
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-02 22:16:00 -08:00
Alexandre Beslic
2ac860e335
integration: wait for agents to be registered on the Manager before running tests
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-12-02 22:09:17 -08:00
Victor Vieux
f73ec80548
default back to aufs
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-02 20:45:15 -08:00
Xian Chaobo
63498b1a80
set MemorySwappiness default value
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-12-04 09:25:32 +08:00
Isabel Jimenez
a250ded715
Adding zk tests for swarm-mesos integration
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2015-12-02 02:40:09 -05:00
Victor Vieux
d295d4b323
update compose to 1.5.1
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-01 02:27:50 -08:00
Xian Chaobo
b85c2a65c6
fix CI
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-11-26 10:49:08 +08:00
Victor Vieux
24fc1b6909
Merge pull request #1451 from aluzzardi/parallel-affinity-fix
...
Set labels for pending containers
2015-11-25 15:19:58 -08:00
Alexandre Beslic
e82752cace
Merge pull request #1363 from dongluochen/refreshConfiguration
...
add engine options for refresh interval
2015-11-25 14:30:16 -08:00
Andrea Luzzardi
905a8c8e5a
Add parallel label affinity integration tests.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-11-25 06:58:06 -08:00
Andrea Luzzardi
0961c1e48a
Add parallel to integration test environment.
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-11-25 06:57:51 -08:00
Isabel Jimenez
e71bda76f8
Improving error output for bad swarm mesos user
...
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2015-11-25 04:24:08 -05:00
Alexandre Beslic
c4f85c531a
upgrade integration environment
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-11-22 15:31:57 -08:00
Alexandre Beslic
bb26c7c164
replace deprecated --daemon flag by daemon when starting docker in test runner
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-11-22 14:58:44 -08:00
Alexandre Beslic
f2944386df
Update Docker version in swarm-test-env Dockerfile
...
Update the version of docker to 1.9.0 because of helpers
removal in hack/dind script that was mounting the cgroups.
It's now done automatically inside the containers as of
1.8.0.
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-11-20 16:53:54 -08:00
Dong Chen
a150a0d521
Add cli test for engine refresh options
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2015-11-18 13:45:39 -08:00
Xian Chaobo
bea12ab8ab
add support do with image digest
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-11-11 12:11:08 +08:00
Alexandre Beslic
374370e39d
fix integration tests, --exec-driver has been removed in docker master
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-11-09 09:34:37 -08:00
Victor Vieux
f3bffb2dd9
update compose to 1.5.0
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-11-03 16:45:09 -08:00
Victor Vieux
c286a183b3
fix diff test
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-11-02 18:03:29 -08:00
Victor Vieux
3c397e5b96
update test name
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-11-02 16:32:43 -08:00
Xian Chaobo
5aae69fc58
add integraion test for rmi -f with image tag
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-10-31 10:36:02 +08:00
Victor Vieux
1c1a99038e
ensure docker network inspect is the same as the engine one
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-10-30 00:38:42 -07:00
Victor Vieux
d2c5446ea0
Merge pull request #1340 from jimmyxian/volume-driver
...
Move VolumeDriver to HostConfig
2015-10-28 15:28:53 -07:00
Alexandre Beslic
e8dd274b65
Merge pull request #1342 from vieux/update_to_1.5.1
...
switch to go1.5.1
2015-10-28 11:47:11 -07:00
Victor Vieux
86816e7d44
Merge pull request #1287 from dnephin/fix_filter_images_by_repo
...
Fix filter images by repo
2015-10-27 21:33:25 -07:00
Victor Vieux
6e9362af50
add file back to test env
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-10-27 21:13:12 -07:00
Xian Chaobo
588c29c3cc
move VolumeDriver to HostConfig
...
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
2015-10-28 10:58:24 +08:00
Daniel Nephin
e001980b5c
Add filter by image name support to /images/json
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-10-27 11:00:37 -04:00