-
Notifications
You must be signed in to change notification settings - Fork 95
Refcount tests are failing against docker 1.12.2 #790
Comments
Whats happening is this:
g. Thats the issue, the test itself is issuing commands (step b above) that has issued unmounts and Unmount() api has been called which logs "Unmounting Volume name=....". The unmount fails as the ref count is >0. h. The test script gets the message logged by Unmount() and fails the test while actually the plugin init path has also logged the messages indicating successful recovery of the volume. a. Unmount() logs this - 2016-12-02 07:58:22.91229911 +0000 UTC [INFO] Unmounting Volume name=refCountTestVol b. PLugin starts and also logs the same message - 2016-12-02 07:58:23.372044193 +0000 UTC [INFO] Docker VMDK plugin started log_level=info config="/etc/docker-volume-vsphere.conf" version="VMDK Volume Driver v0.3" port=1019 mock_esx=false c. Message logged by refcount handler - 2016-12-02 08:00:49.528388432 +0000 UTC [INFO] Volume name=refCountTestVol count=4 mounted=true device='/dev/disk/by-path/pci-0000:0b:00.0-scsi-0:0:0:0' Fix is for the test script to "explicitly" search for "Volume name=" and "mounted=true" |
@kerneltime is this still a blocker? If yes, who is working on fix? |
PR #791 handles the issue that caused this test to fail. The test itself can be re-designed to get the number of in use disks recovered by the plugin on startup, but for now there is no API to call into the plugin to figure that. |
@govint Can you please take a look? I hear this is blocker to support Docker 1.12.X |
I'm seeing refcount errors with 1.13.1 as well and its owing to the way the test code determines test outcome. Have posted PR #826 for review. |
Ran into this while deploying the 6.5 testbed which has VMs with newer version of Docker.
https://ci.vmware.run/vmware/docker-volume-vsphere/584
This issue is blocking #763
Ran it manually as well against the testbed.
Sample run
docker-volume-vsphere.txt
vmdk_ops.txt
The text was updated successfully, but these errors were encountered: