← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1363349] [NEW] VMware: test_driver_api...test_snapshot_delete_vm_snapshot* need to be fixed

 

Public bug reported:

once converted to use oslo.vmware, 
these test cases, test_driver_api.VMwareAPIVMTestCase.test_snapshot_delete_vm_snapshot* are failing:
http://logs.openstack.org/75/70175/43/check/gate-nova-python27/c714fde/console.html

This is most likely related unintended consequence of mocking time.sleep
These tests are currently proposed to be skipped but we should look to provide an fix for the test cases as soon as possible.

A separate patch was posted to demonstrate the potential cause. See lone diff between patch 1 (which fails the above-mentioned tests) and patch 3 (which doesn't)
https://review.openstack.org/#/c/117897/1..3/nova/tests/virt/vmwareapi/test_driver_api.py

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: vmware

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1363349

Title:
  VMware: test_driver_api...test_snapshot_delete_vm_snapshot* need to be
  fixed

Status in OpenStack Compute (Nova):
  New

Bug description:
  once converted to use oslo.vmware, 
  these test cases, test_driver_api.VMwareAPIVMTestCase.test_snapshot_delete_vm_snapshot* are failing:
  http://logs.openstack.org/75/70175/43/check/gate-nova-python27/c714fde/console.html

  This is most likely related unintended consequence of mocking time.sleep
  These tests are currently proposed to be skipped but we should look to provide an fix for the test cases as soon as possible.

  A separate patch was posted to demonstrate the potential cause. See lone diff between patch 1 (which fails the above-mentioned tests) and patch 3 (which doesn't)
  https://review.openstack.org/#/c/117897/1..3/nova/tests/virt/vmwareapi/test_driver_api.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1363349/+subscriptions


Follow ups

References