Conversation
|
ping @vdemeester @cpuguy83 PTAL |
|
Looking at some weirdness when running these tests; looks like there might be a bug somewhere (not introduced in this PR) |
Codecov Report
@@ Coverage Diff @@
## master #39116 +/- ##
==========================================
- Coverage 37.05% 37.02% -0.04%
==========================================
Files 612 612
Lines 45400 45400
==========================================
- Hits 16824 16809 -15
- Misses 26294 26307 +13
- Partials 2282 2284 +2 |
|
Added various fixes/skips for situations where this image is run against an older daemon |
|
/cc @seemethere |
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Older versions of the daemon would concatenate hostname and domainname, so hostname "foobar" and domainname "baz.cyphar.com" would produce `foobar.baz.cyphar.com` as hostname. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
TestNISDomainname in the integration suite covers this Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The daemon may already have other volumes, so filter out those when running the test. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Older versions did not use an UUID as ID Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
ff15310 to
83ac2b4
Compare
Disregard this, just figured out I was connecting to a remote daemon running 18.09.5This actually fails for me when I try to run it locally: EDIT: Actually this only fails for me when I try running with |
(most probably the failure comes because I don't run it as root, I don't care) It looks like test case sources should be copied to the final image, because stuff like |
Yes, I actually had a branch that does so, but I was in doubt to include that;
|
This test case requires not just daemon >= 1.40, but also client API >= 1.40. In case older client is used, we'll get failure from the very first check: > ipcmode_linux_test.go:313: assertion failed: shareable (string) != private (string) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
|
@kolyshkin LGTY? |
kolyshkin
left a comment
There was a problem hiding this comment.
Yes, LGTM (I guess I can followup with gotest.tools stuff later)
follow-up to #39115 (first commit is from that PR)
See individual commits for details
To test (if you're running on Docker 18.09 (API v1.39)):
docker build -t moby-e2e-test -f Dockerfile.e2e . docker run -it --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ -e DOCKER_API_VERSION=1.39 \ moby-e2e-test