Skip to content

TestDockerServiceHealthcheck flaky test on windows

Job #733280401 failed for f45ab93f:

   --- FAIL: TestDockerServiceHealthcheck/successful_service_(FF_NETWORK_PER_BUILD=true) (58.22s)
        test.go:19: Running with gitlab-runner development version (HEAD)
            Preparing the "docker-windows" executor
            Using Docker executor with image registry.gitlab.com/gitlab-org/ci-cd/tests/liveness:0.1.0 ...
            Starting service registry.gitlab.com/gitlab-org/ci-cd/tests/liveness:0.1.0 ...
            Pulling docker image registry.gitlab.com/gitlab-org/ci-cd/tests/liveness:0.1.0 ...
            Using docker image sha256:01886996f59bba4fe70e3aaa419fafb9cf96966c8025c379b661e1bc4378d9e9 for registry.gitlab.com/gitlab-org/ci-cd/tests/liveness:0.1.0 with digest registry.gitlab.com/gitlab-org/ci-cd/tests/liveness@sha256:f792e4f19cc5d225aea08d2bba4f47984d3bf647b79d20a9eb3a9d67ca474f35 ...
            Waiting for services to be up and running...
            Preparing environment
            Running on RUNNER--PROJECT via 
            packer-5f1153d4-ab48-dc24-d8cb-67ba0934f80d...
            Getting source from Git repository
            Fetching changes...
            Initialized empty Git repository in c:/builds/gitlab-org/ci-cd/tests/gitlab-test/.git/
            Created fresh repository.
            Checking out 91956efe as master...
            git-lfs/2.7.1 (GitHub; windows amd64; go 1.11.5; git 6b7fb6e3)
            
            Skipping Git submodules setup
            Executing "step_script" stage of the job script
            $FF_CMD_DISABLE_DELAYED_ERROR_LEVEL_EXPANSION=false: The term '$FF_CMD_DISABLE_DELAYED_ERROR_LEVEL_EXPANSION=false' is not recognized as the name of a cmdlet, function, script file, or operable program.
            Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
            $ liveness client db
            Get "http://db": dial tcp: lookup db: no such host
            ERROR: Job failed: exit code 1
            
        docker_command_test.go:984: 
            	Error Trace:	docker_command_test.go:984
            	Error:      	Received unexpected error:
            	            	exit code 1
            	Test:       	TestDockerServiceHealthcheck/successful_service_(FF_NETWORK_PER_BUILD=true)