You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
3 tests are failing locally consistently whereas 'testAttachDetach' passes if the created test-vm is not present in the inventory.
Running unit tests in /tmp/vmdk_ops_unittest3019/vmdk_ops_test.py...
..E.E........FF.
======================================================================
ERROR: testAttachDetach (__main__.VmdkAttachDetachTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/vmdk_ops_unittest3019/vmdk_ops_test.py", line 531, in testAttachDetach
vm=vm[0])
IndexError: list index out of range
======================================================================
ERROR: testBadOpts (__main__.VmdkCreateCloneRemoveTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/vmdk_ops_unittest3019/vmdk_ops_test.py", line 272, in setUp
path, err = vmdk_ops.get_vol_path(self.vm_datastore, auth.DEFAULT_TENANT)
File "/tmp/vmdk_ops_unittest3019/vmdk_ops.py", line 638, in get_vol_path
os.symlink(path, symlink_path)
OSError: [Errno 17] File exists
======================================================================
FAIL: test_vmdkops_on_different_tenants (__main__.VmdkTenantTestCase)
Test vmdkops on VMs which belong to different tenant
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/vmdk_ops_unittest3019/vmdk_ops_test.py", line 1073, in test_vmdkops_on_different_tenants
self.assertEqual("tenant1_vol1", result[0]['Name'])
AssertionError: 'tenant1_vol1' != 'tenant1_vol3'
======================================================================
FAIL: test_vmdkops_on_tenant_vm (__main__.VmdkTenantTestCase)
Test vmdk life cycle on a VM which belongs to a tenant
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/vmdk_ops_unittest3019/vmdk_ops_test.py", line 958, in test_vmdkops_on_tenant_vm
self.assertEqual("tenant1_vol2", result[0]['Name'])
AssertionError: 'tenant1_vol2' != 'tenant1_vol3'
----------------------------------------------------------------------
Ran 16 tests in 85.312s
FAILED (failures=2, errors=2)
need to supply unique vm/tenant name for vmdk_ops_test
Following tests are failing because of reusing the same name for vm/tenant name
OTOMH few tasks:
vmdk_utils.get_datastores()
instead of hardcoded value ('datastore1')3 tests are failing locally consistently whereas 'testAttachDetach' passes if the created test-vm is not present in the inventory.
//CC @kerneltime @ashahi1
The text was updated successfully, but these errors were encountered: