-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
area/testingkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
Description
Description
integration/container.TestRenameAnonymousContainer consistently fails locally
Steps to reproduce the issue:
$ TESTFLAGS="-test.run TestRenameAnonymousContainer -test.count 10" make test-integration
...
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (14.30s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.34s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.39s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.36s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.44s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.39s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.48s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.84s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.60s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
=== RUN TestRenameAnonymousContainer
--- FAIL: TestRenameAnonymousContainer (13.78s)
rename_test.go:165: timeout hit after 10s: waiting for container to be one of (exited), currently running
FAIL
...moby/integration/container/rename_test.go
Lines 155 to 165 in 852542b
| count := "-c" | |
| if testEnv.OSType == "windows" { | |
| count = "-n" | |
| } | |
| cID = container.Run(t, ctx, client, func(c *container.TestContainerConfig) { | |
| c.NetworkingConfig.EndpointsConfig = map[string]*network.EndpointSettings{ | |
| networkName: {}, | |
| } | |
| c.HostConfig.NetworkMode = containertypes.NetworkMode(networkName) | |
| }, container.WithCmd("ping", count, "1", container1Name)) | |
| poll.WaitOn(t, container.IsInState(ctx, client, cID, "exited"), poll.WithDelay(100*time.Millisecond)) |
Tested on 852542b, with Ubuntu 18.04.1 kernel 4.15.0-39-generic
Describe the results you received:
The test failed
Describe the results you expected:
The test should success
Additional information you deem important (e.g. issue happens only occasionally):
CI does not seem hitting the issue
Output of docker version:
Client:
Version: master-dockerproject-2018-11-28
API version: 1.40
Go version: go1.11.1
Git commit: 69bd2728
Built: Wed Nov 28 23:39:38 2018
OS/Arch: linux/amd64
Experimental: true
Server:
Engine:
Version: master-dockerproject-2018-11-28
API version: 1.40 (minimum version 1.12)
Go version: go1.11.2
Git commit: 852542b
Built: Wed Nov 28 23:48:23 2018
OS/Arch: linux/amd64
Experimental: true
Output of docker info:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 37
Server Version: master-dockerproject-2018-11-28
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: kata runc runnc runsc runsc-kvm
Default Runtime: runc
Init Binary: docker-init
containerd version: de1f167ab96338a9f5c2b17347abf84bdf1dd411
runc version: b1068fb9258d2cc5aa59505fbb703d914120013d
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.15.0-39-generic
Operating System: Ubuntu 18.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.829GiB
Name: suda-ws01
ID: MTEP:U62V:AHM4:G7PE:XLR6:W4WR:WL4B:G5MY:VM5S:2MAV:GP25:ETL6
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 22
Goroutines: 43
System Time: 2018-11-29T13:59:54.443932021+09:00
EventsListeners: 0
Username: akihirosuda
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Additional environment details (AWS, VirtualBox, physical, etc.):
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/testingkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.