Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test : TestRestartContainerwithRestartPolicy (winrs1) #32219

Open
vdemeester opened this issue Mar 30, 2017 · 12 comments
Open

Flaky test : TestRestartContainerwithRestartPolicy (winrs1) #32219

vdemeester opened this issue Mar 30, 2017 · 12 comments
Assignees
Labels
area/testing status/needs-attention Calls for a collective discussion during a review session

Comments

@vdemeester
Copy link
Member

02:13:23 ----------------------------------------------------------------------
02:13:23 FAIL: docker_cli_restart_test.go:265: DockerSuite.TestRestartContainerwithRestartPolicy
02:13:23 
02:13:23 docker_cli_restart_test.go:282:
02:13:23     // Make sure we can stop/start (regression test from a705e166cf3bcca62543150c2b3f9bfeae45ecfa)
02:13:23     dockerCmd(c, "stop", id1)
02:13:23 c:/gopath/src/github.com/docker/docker/pkg/testutil/cmd/command.go:64:
02:13:23     t.Fatalf("at %s:%d - %s", filepath.Base(file), line, err.Error())
02:13:23 ... Error: at cli.go:47 - 
02:13:23 Command:  d:\CI\CI-905aa93fb\binary\docker.exe stop 560d75ca5668d8450272a695f0539b1e9d86a247d39e16438348443e2a9d4274
02:13:23 ExitCode: 1
02:13:23 Error:    exit status 1
02:13:23 Stdout:   
02:13:23 Stderr:   Error response from daemon: Cannot stop container 560d75ca5668d8450272a695f0539b1e9d86a247d39e16438348443e2a9d4274: Cannot kill container 560d75ca5668d8450272a695f0539b1e9d86a247d39e16438348443e2a9d4274: invalid container: 560d75ca5668d8450272a695f0539b1e9d86a247d39e16438348443e2a9d4274
02:13:23 
02:13:23 
02:13:23 Failures:
02:13:23 ExitCode was 1 expected 0
02:13:23 Expected no error
02:13:23 
02:13:23 
02:13:23 
02:13:23 ----------------------------------------------------------------------

See https://jenkins.dockerproject.org/job/Docker-PRs-WoW-RS1/11968/console

@thaJeztah
Copy link
Member

thaJeztah commented Mar 30, 2017

also seen failing on https://jenkins.dockerproject.org/job/Docker-PRs-WoW-RS1/11908/console

20:15:29 ----------------------------------------------------------------------
20:15:29 FAIL: docker_cli_restart_test.go:265: DockerSuite.TestRestartContainerwithRestartPolicy
20:15:29 
20:15:29 docker_cli_restart_test.go:282:
20:15:29     // Make sure we can stop/start (regression test from a705e166cf3bcca62543150c2b3f9bfeae45ecfa)
20:15:29     dockerCmd(c, "stop", id1)
20:15:29 docker_utils_test.go:108:
20:15:29     c.Assert(result, icmd.Matches, icmd.Success)
20:15:29 ... result *cmd.Result = &cmd.Result{Cmd:(*exec.Cmd)(0xc0422a8000), ExitCode:1, Error:(*exec.ExitError)(0xc042de0920), Timeout:false, outBuffer:(*cmd.lockedBuffer)(0xc042320090), errBuffer:(*cmd.lockedBuffer)(0xc042320120)} ("\nCommand:  d:\\CI\\CI-aac861f3d\\binary\\docker.exe stop 2c39b7b9cb8e7a4ba94639c5f79d232ad9048db2eab91d55aeb7f97a83e60b3f\nExitCode: 1\nError:    exit status 1\nStdout:   \nStderr:   Error response from daemon: Cannot stop container 2c39b7b9cb8e7a4ba94639c5f79d232ad9048db2eab91d55aeb7f97a83e60b3f: Cannot kill container 2c39b7b9cb8e7a4ba94639c5f79d232ad9048db2eab91d55aeb7f97a83e60b3f: invalid container: 2c39b7b9cb8e7a4ba94639c5f79d232ad9048db2eab91d55aeb7f97a83e60b3f\n\n")
20:15:29 ... expected cmd.Expected = cmd.Expected{ExitCode:0, Timeout:false, Error:"", Out:"", Err:""}
20:15:29 ... 
20:15:29 Command:  d:\CI\CI-aac861f3d\binary\docker.exe stop 2c39b7b9cb8e7a4ba94639c5f79d232ad9048db2eab91d55aeb7f97a83e60b3f
20:15:29 ExitCode: 1
20:15:29 Error:    exit status 1
20:15:29 Stdout:   
20:15:29 Stderr:   Error response from daemon: Cannot stop container 2c39b7b9cb8e7a4ba94639c5f79d232ad9048db2eab91d55aeb7f97a83e60b3f: Cannot kill container 2c39b7b9cb8e7a4ba94639c5f79d232ad9048db2eab91d55aeb7f97a83e60b3f: invalid container: 2c39b7b9cb8e7a4ba94639c5f79d232ad9048db2eab91d55aeb7f97a83e60b3f
20:15:29 
20:15:29 
20:15:29 Failures:
20:15:29 ExitCode was 1 expected 0
20:15:29 Expected no error
20:15:29 
20:15:29 

@mlaventure
Copy link
Contributor

@thaJeztah
Copy link
Member

Failed twice so far on #33621

https://jenkins.dockerproject.org/job/Docker-PRs-WoW-RS1/14820/console, and https://jenkins.dockerproject.org/job/Docker-PRs-WoW-RS1/14832/console

23:05:42 ----------------------------------------------------------------------
23:05:42 FAIL: docker_cli_restart_test.go:265: DockerSuite.TestRestartContainerwithRestartPolicy
23:05:42 
23:05:42 docker_cli_restart_test.go:279:
23:05:42     dockerCmd(c, "restart", id2)
23:05:42 c:/gopath/src/github.com/docker/docker/pkg/testutil/cmd/command.go:64:
23:05:42     t.Fatalf("at %s:%d - %s", filepath.Base(file), line, err.Error())
23:05:42 ... Error: at cli.go:48 - 
23:05:42 Command:  d:\CI\CI-6400ce8f0\binary\docker.exe restart 65cfc86781deb8284d1110011e23934179976cbc5a03a545af8c61e3cf4f266a
23:05:42 ExitCode: 1
23:05:42 Error:    exit status 1
23:05:42 Stdout:   
23:05:42 Stderr:   Error response from daemon: Cannot restart container 65cfc86781deb8284d1110011e23934179976cbc5a03a545af8c61e3cf4f266a: Cannot kill container 65cfc86781deb8284d1110011e23934179976cbc5a03a545af8c61e3cf4f266a: invalid container: 65cfc86781deb8284d1110011e23934179976cbc5a03a545af8c61e3cf4f266a
23:05:42 
23:05:42 
23:05:42 Failures:
23:05:42 ExitCode was 1 expected 0
23:05:42 Expected no error
23:05:42 
23:05:42 
23:05:42

@thaJeztah thaJeztah added the status/needs-attention Calls for a collective discussion during a review session label Jun 12, 2017
@thaJeztah
Copy link
Member

ping @johnstep perhaps you have time to look into this one?

@johnstep
Copy link
Member

Sure, I'll take a look.

@andrewhsu
Copy link
Member

andrewhsu commented Aug 2, 2017

I also see it in the integration test logs on docker-archive/docker-ce/pull/154 to docker-ce 17.06 branch:

FAIL: docker_cli_restart_test.go:265: DockerSuite.TestRestartContainerwithRestartPolicy

docker_cli_restart_test.go:279:
    dockerCmd(c, "restart", id2)
c:/gopath/src/github.com/docker/docker/pkg/testutil/cmd/command.go:64:
    t.Fatalf("at %s:%d - %s", filepath.Base(file), line, err.Error())
... Error: at cli.go:48 - 
Command:  d:\CI\CI-ac0d111d0e\binary\docker.exe restart 2b3be0c3a1b299791273a54e5094a959a8e586e836a35d4718fd6e44f532fb15
ExitCode: 1
Error:    exit status 1
Stdout:   
Stderr:   Error response from daemon: Cannot restart container 2b3be0c3a1b299791273a54e5094a959a8e586e836a35d4718fd6e44f532fb15: Cannot kill container 2b3be0c3a1b299791273a54e5094a959a8e586e836a35d4718fd6e44f532fb15: invalid container: 2b3be0c3a1b299791273a54e5094a959a8e586e836a35d4718fd6e44f532fb15


Failures:
ExitCode was 1 expected 0
Expected no error

@thaJeztah
Copy link
Member

ping @johnstep have you had time to look at this?

@andrewhsu
Copy link
Member

Another test failure on PR docker-archive/docker-ce/pull/158 to docker-ce 17.06 branch where the PR code is not related:

FAIL: docker_cli_restart_test.go:265: DockerSuite.TestRestartContainerwithRestartPolicy

docker_cli_restart_test.go:279:
    dockerCmd(c, "restart", id2)
c:/gopath/src/github.com/docker/docker/pkg/testutil/cmd/command.go:64:
    t.Fatalf("at %s:%d - %s", filepath.Base(file), line, err.Error())
... Error: at cli.go:48 - 
Command:  d:\CI\CI-60340beefd\binary\docker.exe restart 5131bb3c83e5fa44a12c177b0530fa128d61de93a4a7542847bb89678a3e485d
ExitCode: 1
Error:    exit status 1
Stdout:   
Stderr:   Error response from daemon: Cannot restart container 5131bb3c83e5fa44a12c177b0530fa128d61de93a4a7542847bb89678a3e485d: Cannot kill container 5131bb3c83e5fa44a12c177b0530fa128d61de93a4a7542847bb89678a3e485d: invalid container: 5131bb3c83e5fa44a12c177b0530fa128d61de93a4a7542847bb89678a3e485d

@johnstep
Copy link
Member

johnstep commented Aug 3, 2017

Sorry, will try to get to this soon.

@thaJeztah
Copy link
Member

Another failure on #35150 (https://jenkins.dockerproject.org/job/Docker-PRs-WoW-RS1/17564/console)

11:06:14 ----------------------------------------------------------------------
11:06:14 FAIL: docker_cli_restart_test.go:265: DockerSuite.TestRestartContainerwithRestartPolicy
11:06:14 
11:06:14 docker_cli_restart_test.go:282:
11:06:14     // Make sure we can stop/start (regression test from a705e166cf3bcca62543150c2b3f9bfeae45ecfa)
11:06:14     dockerCmd(c, "stop", id1)
11:06:14 c:/gopath/src/github.com/docker/docker/vendor/github.com/gotestyourself/gotestyourself/icmd/command.go:61:
11:06:14     t.Fatalf("at %s:%d - %s\n", filepath.Base(file), line, err.Error())
11:06:14 ... Error: at cli.go:33 - 
11:06:14 Command:  d:\CI\CI-01f9227ec\binary\docker.exe stop 99d2e537988e54648cb99476144662113bac195f2dca6c5abeaebcc842876ada
11:06:14 ExitCode: 1
11:06:14 Error:    exit status 1
11:06:14 Stdout:   
11:06:14 Stderr:   Error response from daemon: cannot stop container: 99d2e537988e54648cb99476144662113bac195f2dca6c5abeaebcc842876ada: Cannot kill container 99d2e537988e54648cb99476144662113bac195f2dca6c5abeaebcc842876ada: invalid container: 99d2e537988e54648cb99476144662113bac195f2dca6c5abeaebcc842876ada
11:06:14 
11:06:14 
11:06:14 Failures:
11:06:14 ExitCode was 1 expected 0
11:06:14 Expected no error
11:06:14 

@andrewhsu
Copy link
Member

Another failure on docker-ce PR docker-archive/docker-ce#264:

01:41:06.949 FAIL: docker_cli_restart_test.go:265: DockerSuite.TestRestartContainerwithRestartPolicy
01:41:06.949 
01:41:06.949 docker_cli_restart_test.go:282:
01:41:06.949     // Make sure we can stop/start (regression test from a705e166cf3bcca62543150c2b3f9bfeae45ecfa)
01:41:06.949     dockerCmd(c, "stop", id1)
01:41:06.949 c:/gopath/src/github.com/docker/docker/vendor/github.com/gotestyourself/gotestyourself/icmd/command.go:61:
01:41:06.950     t.Fatalf("at %s:%d - %s\n", filepath.Base(file), line, err.Error())
01:41:06.950 ... Error: at cli.go:33 - 
01:41:06.950 Command:  d:\CI\CI-a761ee3d4d\binary\docker.exe stop cdd38e2935426686a6a8abfee3e1ab3ac901f0212cf958a4d36889860837e86d
01:41:06.950 ExitCode: 1
01:41:06.950 Error:    exit status 1
01:41:06.950 Stdout:   
01:41:06.950 Stderr:   Error response from daemon: cannot stop container: cdd38e2935426686a6a8abfee3e1ab3ac901f0212cf958a4d36889860837e86d: Cannot kill container cdd38e2935426686a6a8abfee3e1ab3ac901f0212cf958a4d36889860837e86d: invalid container: cdd38e2935426686a6a8abfee3e1ab3ac901f0212cf958a4d36889860837e86d
01:41:06.950 
01:41:06.950 
01:41:06.950 Failures:
01:41:06.950 ExitCode was 1 expected 0
01:41:06.950 Expected no error

@thaJeztah
Copy link
Member

And one more failure #34509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing status/needs-attention Calls for a collective discussion during a review session
Projects
None yet
Development

No branches or pull requests

6 participants
@vdemeester @andrewhsu @thaJeztah @johnstep @mlaventure and others