Christopher Crone
61b13ba0d1
Test requires SameHostDaemon
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
85431566a8
Set client version instead of negotiating it
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
42d812df0a
Bring up DockerNetworkSuite
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
6936ce3b65
Remove race and split TestAPINetworkInspect test
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
86f9eb4a08
Fixes for dnephin review
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
f089a1df39
Skip some tests for E2E
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
b1fb41988d
Check integration test requirements using daemon
...
When running against a remote daemon, we cannot use the local
filesystem to determine configuration.
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
0bdba0e91a
Use TLS for tests if needed
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
dc6ddfa841
Fix tests that depend on clean environment
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
d622e81af5
Add E2E requirement for integration tests
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christopher Crone
063c89c71f
Protect entire environment when testing
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2017-09-14 19:27:09 +02:00
Christy Perez
008b217844
revendor logrus and x/crypto
...
this fixes the issue that was blocking a test from running on ppc64le.
the logrus revendor changes the color code used in that same test, so
that breaks the test for all platforms (updated in this pr)
Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
2017-09-14 11:05:47 -05:00
Daniel Nephin
014cecda46
Only attempt to find pid with local daemon
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-09-14 12:05:18 -04:00
Vincent Demeester
3a081f53c1
Merge pull request #34837 from tophj-ibm/switch-hub-test-to-alpine
...
[integration-cli] fix p/z HubPullSuite tests
2017-09-14 18:02:13 +02:00
Christopher Jones
5739ba1b91
[integration-cli] fix p/z HubPullSuite tests
...
This test tries to pull all the tags in the busybox repo and looks to see
if there were more than two images pulled. This was failing on
p/z due to the recent change to manifest lists, where one of the busybox
tags didn't have a p/z manifest in it's manifest list.
This error seems fine to me, so I changed the test to see if pull fails,
it fails with the "manifest not found" error.
Also switched from busybox -> alpine, because it has significantly less tags,
and the images are close in size.
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2017-09-14 09:42:09 -04:00
Vincent Demeester
bb0e8ee51c
Merge pull request #34784 from dnephin/fix-client-not-found
...
Cleanup client not found errors
2017-09-14 12:04:56 +02:00
Yong Tang
2ee8ef864f
Merge pull request #34686 from mion00/templating-node-hostname-support
...
Add support for .Node.Hostname templating in swarm services
2017-09-13 21:06:11 -07:00
John Howard
b291f5a317
LCOW: Spot fix for multi-os image pulling
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2017-09-12 23:33:34 -07:00
Daniel Nephin
81bb9978ab
Cleanup client not found errors.
...
And fix remove calls to return a notFound error
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-09-11 19:53:18 -04:00
Brian Goff
bf3a8bddeb
Merge pull request #34761 from dnephin/fix-mount-create-api-test
...
Some cleanup of mount create API test
2017-09-07 17:09:19 -04:00
Yong Tang
d76f0d4e06
Merge pull request #34757 from dnephin/fix-test-run-environment
...
Fix TestRunEnvironment
2017-09-07 11:28:57 -07:00
Yong Tang
2dcb77b24c
Merge pull request #34738 from wgliang/optimization1
...
Optimize some wrong usage and spelling
2017-09-07 09:45:14 -07:00
Vincent Demeester
72eb1d0a47
Merge pull request #34730 from simonferquel/fix-TestEventsOOMDisableTrue-flakkyness
...
Events CLI tests: fix flakyness of TestEventsOOMDisableTrue
2017-09-07 11:16:37 +02:00
wangguoliang
94cefa2145
Optimize some wrong usage and spelling
...
Signed-off-by: wgliang <liangcszzu@163.com>
2017-09-07 09:44:08 +08:00
Daniel Nephin
58b96aced8
Some cleanup of mount create API test
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-09-06 19:32:35 -04:00
Daniel Nephin
fff605c3b3
Fix a bad assumption
...
If the empty variable happens to be sorted to the end of the list then TrimSpace()
would remove it. Instead only strip the single trailing newline.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-09-06 17:32:56 -04:00
Victor Vieux
8e6567cb83
force inspect test format
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-09-05 08:31:44 -07:00
Simon Ferquel
adf75503db
Avoid failing the test if container is already stopped
...
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2017-09-05 17:19:57 +02:00
Carlo Mion
e2f09fa6dd
Add support for .Node.Hostname templating in swarm services
...
Signed-off-by: Carlo Mion <mion00@gmail.com>
2017-09-02 10:06:16 +02:00
Daniel Nephin
6590ee0dfb
Remove assertions that were testing CLI behaviour.
...
These tests will be moved to docker/cli
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-08-31 18:19:17 -04:00
Yong Tang
184cea5ff7
Merge pull request #34656 from dnephin/move-testenv-to-internal
...
Move integration-cli/environment to an internal package
2017-08-31 08:52:24 -07:00
Daniel Nephin
e23965d620
Merge pull request #34554 from dnephin/use-release-version-of-docker-cli
...
Pin docker-cli version to the 17.06-ce release version
2017-08-30 13:43:39 -04:00
Daniel Nephin
f85ef42ea5
Refactor test environment
...
split all non-cli portions into a new internal/test/environment package
Set a test environment on packages instead of creating new ones.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-08-30 13:13:18 -04:00
Daniel Nephin
61e7d0595d
Update fixtures/load to use the APIClient
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-08-30 13:11:06 -04:00
Vincent Demeester
15b8d0420b
Merge pull request #33684 from dnephin/update-service-ps-tests
...
Update service ps to be an API test
2017-08-29 09:44:20 +02:00
Tonis Tiigi
ba6f9e4cc9
integration-cli: fix testutil refactor merge conflict
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-08-28 10:19:54 -07:00
Tõnis Tiigi
a1183dda57
Merge pull request #34263 from estesp/chown-flag-add-copy
...
Add --chown flag to ADD/COPY commands
2017-08-28 09:50:44 -07:00
Daniel Nephin
6cd6d8646a
Replace service ps cli tests with service inspect API test.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-08-25 17:27:41 -04:00
Daniel Nephin
98a4613017
Cleanup daemon.LoadBusybox() to use the API instead of client
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-08-25 17:24:25 -04:00
Daniel Nephin
92427b3a81
Update tests to use icmd
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-08-25 12:07:30 -04:00
Yong Tang
2cea2f5469
Merge pull request #34583 from tklauser/win-event-functions
...
Use windows event functions from golang.org/x/sys/windows
2017-08-25 07:43:03 -07:00
Victor Vieux
ff6fbe224f
Merge pull request #34614 from dnephin/remove-pkg-testutil-tempfile
...
Remove pkg testutil tempfile
2017-08-24 15:24:15 -07:00
Yong Tang
0f957d2c09
Merge pull request #34627 from estesp/no-userns-plugin-upgrade-test
...
Turn off plugin upgrade test when userns on
2017-08-24 15:04:44 -07:00
Yong Tang
acd2995143
Merge pull request #34626 from kolyshkin/ipcmode-samehost
...
docker_api_ipcmode_test: add SameHostDaemon req
2017-08-24 13:01:26 -07:00
Phil Estes
b1ced2af03
Turn off plugin upgrade test when userns on
...
Until volume plugins can be made aware of the remapped root,
interactions with volumes created by plugin will not work as the file
ownership denies permissions to the userns remapped range.
Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-08-24 10:52:11 -07:00
Daniel Nephin
eb52bb22a4
Merge pull request #33534 from sbko/31410-replace-deprecated-sockrequest
...
Stop using deprecated SockRequest
2017-08-24 11:30:13 -04:00
Kir Kolyshkin
8a9878081f
docker_api_ipcmode_test: add SameHostDaemon req
...
This is needed for tests that do some checks and/or create files
on the host system. Inspired by commit d9f3548a9
.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2017-08-24 17:02:21 +03:00
Daniel Nephin
60672382c7
Update tests to use gotestyourself/fs
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-08-23 17:25:00 -04:00
Stanislav Bondarenko
0fd5a65428
Stop using deprecated SockRequest
...
Signed-off-by: Stanislav Bondarenko <stanislav.bondarenko@gmail.com>
2017-08-23 17:10:04 -04:00
Phil Estes
d9f3548a93
Host-mode IPC sharing not possible in a userns
...
This test is the API version of a docker_cli_run_test that was already
disabled from userns, but when ported to API didn't retain the same test
requirements. Specifically, a user namespaced process will not have
access to the host namespace's IPC devices and is already documented as
such in the user namespace restrictions docs.
Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-08-23 10:37:47 -07:00