Skip to content

TestSwarmContainerEndpointOptions: fix debug#37958

Merged
thaJeztah merged 1 commit intomoby:masterfrom
kolyshkin:test-swarm-diag
Oct 4, 2018
Merged

TestSwarmContainerEndpointOptions: fix debug#37958
thaJeztah merged 1 commit intomoby:masterfrom
kolyshkin:test-swarm-diag

Conversation

@kolyshkin
Copy link
Contributor

In case of failure, stale out was printed.

Fixes: 6212ea6

Found during analysis of test failure like the following:

01:28:49.436
01:28:49.436 ----------------------------------------------------------------------
01:28:49.436 FAIL: docker_cli_swarm_test.go:340: DockerSwarmSuite.TestSwarmContainerEndpointOptions
01:28:49.436
01:28:49.436 [d9936cbb33a13] waiting for daemon to start
01:28:49.436 [d9936cbb33a13] daemon started
01:28:49.436
01:28:49.436 docker_cli_swarm_test.go:348:
01:28:49.436 c.Assert(err, checker.IsNil, check.Commentf("%s", out))
01:28:49.436 ... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc0008da200), Stderr:[]uint8(nil)} ("exit status 125")
01:28:49.437 ... enp0ai1ixwecue5w696pgzggp
01:28:49.437
01:28:49.437
01:28:49.437 [d9936cbb33a13] exiting daemon
01:28:52.285
01:28:52.285 ----------------------------------------------------------------------

(the above is from https://jenkins.dockerproject.org/job/Docker-PRs-s390x/11487/console, which comes from #37833, but it's not unique).

In case of failure, stale out was printed.

Fixes: 6212ea6

Signed-off-by: Kir Kolyshkin <[email protected]>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

we should cherry-pick this into the docker/engine 18.09 branch as well

@thaJeztah
Copy link
Member

Relates to #29663

Copy link
Contributor

@tiborvass tiborvass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants