Public bug reported:

>From http://logs.openstack.org/24/322324/5/check/gate-nova-
python34-db/f5fadd6/console.html

2016-06-08 22:33:44.530 | 
nova.tests.unit.virt.xenapi.test_vmops.VMOpsTestCase.test_finish_revert_migration_after_crash_before_new
2016-06-08 22:33:44.530 | 
--------------------------------------------------------------------------------------------------------
2016-06-08 22:33:44.530 | 
2016-06-08 22:33:44.531 | Captured traceback:
2016-06-08 22:33:44.531 | ~~~~~~~~~~~~~~~~~~~
2016-06-08 22:33:44.531 |     b'Traceback (most recent call last):'
2016-06-08 22:33:44.531 |     b'  File 
"/home/jenkins/workspace/gate-nova-python34-db/nova/tests/unit/virt/xenapi/test_vmops.py",
 line 126, in test_finish_revert_migration_after_crash_before_new'
2016-06-08 22:33:44.531 |     b'    
self._test_finish_revert_migration_after_crash(True, False)'
2016-06-08 22:33:44.531 |     b'  File 
"/home/jenkins/workspace/gate-nova-python34-db/nova/tests/unit/virt/xenapi/test_vmops.py",
 line 97, in _test_finish_revert_migration_after_crash'
2016-06-08 22:33:44.531 |     b"    self.mox.StubOutWithMock(vm_utils, 
'lookup')"
2016-06-08 22:33:44.531 |     b'  File 
"/home/jenkins/workspace/gate-nova-python34-db/.tox/py34/lib/python3.4/site-packages/mox3/mox.py",
 line 321, in StubOutWithMock'
2016-06-08 22:33:44.531 |     b"    raise TypeError('Cannot mock a 
MockAnything! Did you remember to '"
2016-06-08 22:33:44.531 |     b'TypeError: Cannot mock a MockAnything! Did you 
remember to call UnsetStubs in your previous test?'
2016-06-08 22:33:44.531 |     b''


This failure has happened to me a few times now on Jenkins jobs but does not 
reproduce locally. I suspect an ordering issue in the tests, especially since 
it's not always the same method that fails.

** Affects: nova
     Importance: Low
     Assignee: Andrew Laski (alaski)
         Status: In Progress

** Changed in: nova
   Importance: Undecided => Low

-- 
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/1590896

Title:
  py34 intermittent xenapi test failures

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  From http://logs.openstack.org/24/322324/5/check/gate-nova-
  python34-db/f5fadd6/console.html

  2016-06-08 22:33:44.530 | 
nova.tests.unit.virt.xenapi.test_vmops.VMOpsTestCase.test_finish_revert_migration_after_crash_before_new
  2016-06-08 22:33:44.530 | 
--------------------------------------------------------------------------------------------------------
  2016-06-08 22:33:44.530 | 
  2016-06-08 22:33:44.531 | Captured traceback:
  2016-06-08 22:33:44.531 | ~~~~~~~~~~~~~~~~~~~
  2016-06-08 22:33:44.531 |     b'Traceback (most recent call last):'
  2016-06-08 22:33:44.531 |     b'  File 
"/home/jenkins/workspace/gate-nova-python34-db/nova/tests/unit/virt/xenapi/test_vmops.py",
 line 126, in test_finish_revert_migration_after_crash_before_new'
  2016-06-08 22:33:44.531 |     b'    
self._test_finish_revert_migration_after_crash(True, False)'
  2016-06-08 22:33:44.531 |     b'  File 
"/home/jenkins/workspace/gate-nova-python34-db/nova/tests/unit/virt/xenapi/test_vmops.py",
 line 97, in _test_finish_revert_migration_after_crash'
  2016-06-08 22:33:44.531 |     b"    self.mox.StubOutWithMock(vm_utils, 
'lookup')"
  2016-06-08 22:33:44.531 |     b'  File 
"/home/jenkins/workspace/gate-nova-python34-db/.tox/py34/lib/python3.4/site-packages/mox3/mox.py",
 line 321, in StubOutWithMock'
  2016-06-08 22:33:44.531 |     b"    raise TypeError('Cannot mock a 
MockAnything! Did you remember to '"
  2016-06-08 22:33:44.531 |     b'TypeError: Cannot mock a MockAnything! Did 
you remember to call UnsetStubs in your previous test?'
  2016-06-08 22:33:44.531 |     b''

  
  This failure has happened to me a few times now on Jenkins jobs but does not 
reproduce locally. I suspect an ordering issue in the tests, especially since 
it's not always the same method that fails.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to