This repository was archived by the owner on Nov 9, 2020. It is now read-only.
This repository was archived by the owner on Nov 9, 2020. It is now read-only.
swarm_test.TestDockerSwarm failed as volume is not attached #1490 DescriptionCI: https://ci.vmware.run/vmware/docker-volume-vsphere/739
Sam, as swarm test failed, can you please take a look at it?
I was trying to fix issue #1284 (comment) and this test failed.
Test logs:
2017/06/27 03:11:08 START: swarm_test.TestDockerSwarm
2017/06/27 03:11:08 Fetching full name for volume [swarm_test_volume_184158] from VM [192.168.31.81]
2017/06/27 03:11:09 Full volume name: [swarm_test_volume_184158@datastore1]
2017/06/27 03:11:09 Creating a docker service [swarm_test_service_239730] on VM [192.168.31.81]
2017/06/27 03:11:10 Checking docker service [swarm_test_service_239730] status on VM [192.168.31.81]
2017/06/27 03:11:10 Listing docker service [swarm_test_service_239730] running on VM [192.168.31.81]
2017/06/27 03:11:10 Checking running containers for docker service [swarm_test_service_239730] on docker hosts: [192.168.31.81 192.168.31.85 192.168.31.83]
2017/06/27 03:11:11 Sleep for 5 seconds
2017/06/27 03:11:23 Containers running on docker host [192.168.31.83]: swarm_test_service_239730.1.lww2tro7aw22uh57s0pq4bbq6
2017/06/27 03:11:23 Confirming attached status for volume [swarm_test_volume_184158]
2017/06/27 03:11:27 Expected Attached VM name is [photon.vmfs]
2017/06/27 03:11:27 Attached VM name from Docker CLI is [Ubuntu.14.04]
2017/06/27 03:11:27 Attached VM name from Admin CLI is [Ubuntu.14.04]
----------------------------------------------------------------------
FAIL: swarm_test.go:91: SwarmTestSuite.TestDockerSwarm
swarm_test.go:106:
c.Assert(status, Equals, true, Commentf("Volume %s is not attached", s.volumeName))
... obtained bool = false
... expected bool = true
... Volume swarm_test_volume_184158 is not attached
2017/06/27 03:11:27 Destroying volume [swarm_test_volume_184158]
----------------------------------------------------------------------
FAIL: swarm_test.go:65: SwarmTestSuite.TearDownSuite
swarm_test.go:68:
c.Assert(err, IsNil, Commentf(out))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc4201f3ea0), Stderr:[]uint8(nil)} ("exit status 1")
... Error response from daemon: unable to remove volume: remove swarm_test_volume_184158: VolumeDriver.Remove: Failed to remove volume swarm_test_volume_184158, in use by VM = Ubuntu.14.04.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4