The TestBackwardsCompatibilityV1 e2e test is flakey and regularly fails on CI when trying to contact the CI's port.
Steps to reproduce the issue:
Run make E2E_TESTS=TestBackwardsCompatibilityV1 -f docker.Makefile test-e2e. Occasionally this will fail with an error saying wget failed to contact localhost:8080 or localhost:8081
Describe the results you received:
The test occasionally fails with the following error message. Note that it should retry the wget in a poll and only fail after 30s but instead fails immediately.
--- FAIL: TestBackwardsCompatibilityV1 (66.93s)
helper_test.go:65: assertion failed:
Command: docker exec -t 3ec92eaa50778efbefef894a68984031b114dc7a644ff194806658f23d706781 /usr/bin/wget -O - http://localhost:8081
ExitCode: 1
Error: exit status 1
Stdout: Connecting to localhost:8081 (127.0.0.1:8081)
wget: can't connect to remote host (127.0.0.1): Connection refused
Stderr:
Failures:
ExitCode was 1 expected 0
Expected no error
Describe the results you expected:
The test should retry the wget in a poll and only fail after 30s if the port has still failed to update.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea838
Built: Wed Nov 13 07:29:52 2019
OS/Arch: linux/amd64
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:29:19 2019
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: v1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
Description
The
TestBackwardsCompatibilityV1
e2e test is flakey and regularly fails on CI when trying to contact the CI's port.Steps to reproduce the issue:
Run
make E2E_TESTS=TestBackwardsCompatibilityV1 -f docker.Makefile test-e2e
. Occasionally this will fail with an error saying wget failed to contact localhost:8080 or localhost:8081Describe the results you received:
The test occasionally fails with the following error message. Note that it should retry the wget in a poll and only fail after 30s but instead fails immediately.
Describe the results you expected:
The test should retry the wget in a poll and only fail after 30s if the port has still failed to update.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker app version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):