A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vmware/docker-volume-vsphere/issues/1477 below:

Unit test - test_vmdkops_on_default_tenant_vm test fails · Issue #1477 · vmware-archive/vsphere-storage-for-docker · GitHub

I am running into an issue where test_vmdkops_on_default_tenant_vm test fails as total volumes listed by admincli volume ls is not as expected. Test expects the output from admin cli volume ls to be two but assert fails as there are total of three volumes. Volume named stale_volume is the third one.

https://github.com/vmware/docker-volume-vsphere/blob/master/esx_service/vmdk_ops_test.py#L813

Logs have been attached at the end
CI run: https://ci.vmware.run/vmware/docker-volume-vsphere/717

Error:

======================================================================
FAIL: test_vmdkops_on_default_tenant_vm (__main__.VmdkTenantTestCase)
Test vmdk life cycle on a VM which belongs to DEFAULT tenant
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/vmdk_ops_unittest23218/vmdk_ops_test.py", line 814, in test_vmdkops_on_default_tenant_vm
    self.assertEqual(len(result), 2)
AssertionError: 3 != 2

----------------------------------------------------------------------

Admin cli volume ls:

[root@sc-rdops-vm10-dhcp-39-239:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py volume ls
Volume        Datastore     VMGroup   Capacity  Used  Filesystem  Policy  Disk Format  Attached-to  Access      Attach-as               Created By     Created Date
------------  ------------  --------  --------  ----  ----------  ------  -----------  -----------  ----------  ----------------------  -------------  ------------------------
stale_volume  sharedVmfs-0  _DEFAULT  100MB     0     N/A         N/A     thin         detached     read-write  independent_persistent  test-vm_33467  Sat Jun 24 03:50:54 2017

[root@sc-rdops-vm10-dhcp-39-239:~]

Logs:
docker-volume-vsphere.txt
vmdk_ops.txt


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