-
Notifications
You must be signed in to change notification settings - Fork 425
[19.03 backport] Bump Golang 1.12.5 #209
[19.03 backport] Bump Golang 1.12.5 #209
Commits on May 13, 2019
-
Dockerfile.e2e fix TestBuildPreserveOwnership
The Dockerfile missed some fixtures, which caused this test fail when running from this image. I also noticed some other fixtures missing in integration-cli, where the image had symlinks to some certificates, but the original files were not included; ``` |-- integration-cli |-- fixtures | |-- auth | | `-- docker-credential-shell-test | |-- credentialspecs | | `-- valid.json | |-- https | | |-- ca.pem -> ../../../integration/testdata/https/ca.pem | | |-- client-cert.pem -> ../../../integration/testdata/https/client-cert.pem | | |-- client-key.pem -> ../../../integration/testdata/https/client-key.pem | | |-- client-rogue-cert.pem | | |-- client-rogue-key.pem | | |-- server-cert.pem -> ../../../integration/testdata/https/server-cert.pem | | |-- server-key.pem -> ../../../integration/testdata/https/server-key.pem | | |-- server-rogue-cert.pem | | `-- server-rogue-key.pem ``` Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 48fd0e9) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3afbf83 - Browse repository at this point
Copy the full SHA 3afbf83View commit details -
Dockerfile.e2e: use alpine 3.9
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 2026268) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fdd245 - Browse repository at this point
Copy the full SHA 1fdd245View commit details -
Dockerfile.e2e: move frozen-images to a separate stage
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 5554bd1) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc6d1ac - Browse repository at this point
Copy the full SHA dc6d1acView commit details -
Dockerfile.e2e: re-order steps for caching
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 63aefbf) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce9cabf - Browse repository at this point
Copy the full SHA ce9cabfView commit details -
Dockerfile.e2e: use /build to be consistent with main Dockerfile
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 045beed) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6605a26 - Browse repository at this point
Copy the full SHA 6605a26View commit details -
Dockerfile.e2e: move dockercli to a separate build-stage
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit e7784a6) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d36c7de - Browse repository at this point
Copy the full SHA d36c7deView commit details -
Dockerfile.e2e: move "contrib" to a separate build-stage
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 3ededb8) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d3405b - Browse repository at this point
Copy the full SHA 7d3405bView commit details -
Dockerfile.e2e: builder: change output directory to simplify copy
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit b73e340) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb8d675 - Browse repository at this point
Copy the full SHA cb8d675View commit details -
Skip TestNISDomainname on API < 1.40
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 <[email protected]> (cherry picked from commit c91c377) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11e2802 - Browse repository at this point
Copy the full SHA 11e2802View commit details -
Remove TestContainerAPICreateWithHostName
TestNISDomainname in the integration suite covers this Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 2b5880c) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1b045c - Browse repository at this point
Copy the full SHA e1b045cView commit details -
Fix TestVolumesCreateAndList when running against a shared daemon
The daemon may already have other volumes, so filter out those when running the test. Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 566eea1) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 620d9d3 - Browse repository at this point
Copy the full SHA 620d9d3View commit details -
Skip TestBuildWithEmptyDockerfile on API < v1.40
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 0e7b46a) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 545bc6b - Browse repository at this point
Copy the full SHA 545bc6bView commit details -
Skip TestPingCacheHeaders on API < v1.40
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit d080a86) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cedf201 - Browse repository at this point
Copy the full SHA cedf201View commit details -
Skip TestUUIDGeneration on API < v1.40
Older versions did not use an UUID as ID Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 05bd995) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3b4e92 - Browse repository at this point
Copy the full SHA a3b4e92View commit details -
Skip TestImagesFilterMultiReference on API < v1.40
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 83ac2b4) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f60a56 - Browse repository at this point
Copy the full SHA 5f60a56View commit details -
TestIpcModeOlderClient: skip if client < 1.40
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 <[email protected]> (cherry picked from commit 1ada1c8) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d42845 - Browse repository at this point
Copy the full SHA 8d42845View commit details -
Dockerfile.e2e: copy test sources
Package "gotest.tools/assert" uses source introspection to print more info in case of assertion failure. When source code is not available, it prints an error instead. In other words, before this commit: > --- SKIP: TestCgroupDriverSystemdMemoryLimit (0.00s) > cgroupdriver_systemd_test.go:32: failed to parse source file: /go/src/github.com/docker/docker/integration/system/cgroupdriver_systemd_test.go: open /go/src/github.com/docker/docker/integration/system/cgroupdriver_systemd_test.go: no such file or directory > cgroupdriver_systemd_test.go:32: and after: > --- SKIP: TestCgroupDriverSystemdMemoryLimit (0.09s) > cgroupdriver_systemd_test.go:32: !hasSystemd() This increases the resulting image size by about 2 MB on my system (from 758 to 760 MB). Signed-off-by: Kir Kolyshkin <[email protected]> (cherry picked from commit 0deb18a) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e95499 - Browse repository at this point
Copy the full SHA 2e95499View commit details -
Dockerfile.e2e: fix DOCKER_GITCOMMIT handling
1. There is no need to persist DOCKER_GITCOMMIT, as it's not needed for runtime, only for build. So, remove ENV. 2. In case $GITCOMMIT is not defined during build time (and it happens if .git directory is not present), we still need to have some value set, so set it to `undefined`. Otherwise we'll have something like > => ERROR [builder 2/3] RUN hack/make.sh build-integration-test-binary > ------ > > [builder 2/3] RUN hack/make.sh build-integration-test-binary: > moby#32 0.488 > moby#32 0.505 error: .git directory missing and DOCKER_GITCOMMIT not specified > moby#32 0.505 Please either build with the .git directory accessible, or specify the > moby#32 0.505 exact (--short) commit hash you are building using DOCKER_GITCOMMIT for > moby#32 0.505 future accountability in diagnosing build issues. Thanks! Signed-off-by: Kir Kolyshkin <[email protected]> (cherry picked from commit c3b2494) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14bb71d - Browse repository at this point
Copy the full SHA 14bb71dView commit details -
Signed-off-by: Jintao Zhang <[email protected]> (cherry picked from commit 3a4c5b6) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d0823a - Browse repository at this point
Copy the full SHA 6d0823aView commit details