yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43357
[Bug 1526369] [NEW] nova.tests.unit.virt.xenapi.test_vmops.BootableTestCase.test_set_bootable is racy on py34
Public bug reported:
http://logstash.openstack.org/#/dashboard/file/logstash.json?query=message:%5C%22mox3.mox.UnexpectedMethodCallError:%20Unexpected%20method%20call%20function.__call__(%3Cnova.virt.xenapi.client.session.XenAPISession%5C%22%20AND%20tags:%5C%22console%5C%22%20AND%20build_name:%5C
%22gate-nova-python34%5C%22
ft1.7942: nova.tests.unit.virt.xenapi.test_vmops.BootableTestCase.test_set_bootable_StringException: Empty attachments:
stdout
pythonlogging:'': {{{2015-12-15 13:33:23,562 WARNING [oslo_reports.guru_meditation_report] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.}}}
stderr: {{{
/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/pkg_resources/__init__.py:213: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
stacklevel=1,
}}}
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 1153, in _PopNextMethod
return self._call_queue.popleft()
IndexError: pop from an empty deque
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-nova-python34/nova/tests/unit/virt/xenapi/test_vmops.py", line 1044, in test_set_bootable
self.vmops.set_bootable(self.instance, True)
File "/home/jenkins/workspace/gate-nova-python34/nova/virt/xenapi/vmops.py", line 1621, in set_bootable
vm_ref = self._get_vm_opaque_ref(instance)
File "/home/jenkins/workspace/gate-nova-python34/nova/virt/xenapi/vmops.py", line 824, in _get_vm_opaque_ref
vm_ref = vm_utils.lookup(self._session, instance['name'], check_rescue)
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 814, in __call__
return mock_method(*params, **named_params)
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 1113, in __call__
expected_method = self._VerifyMethodCall()
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 1169, in _VerifyMethodCall
expected = self._PopNextMethod()
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 1155, in _PopNextMethod
raise UnexpectedMethodCallError(self, None)
mox3.mox.UnexpectedMethodCallError: Unexpected method call function.__call__(<nova.virt.xenapi.client.session.XenAPISession object at 0x7fb2174c84a8>, 'test', False) -> None
7 hits in 7 days, check and gate, py34 only, this is just mox3 being
racy on py34.
** Affects: nova
Importance: Undecided
Status: Confirmed
** Tags: py34 testing xenserver
** Changed in: nova
Status: New => Confirmed
--
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/1526369
Title:
nova.tests.unit.virt.xenapi.test_vmops.BootableTestCase.test_set_bootable
is racy on py34
Status in OpenStack Compute (nova):
Confirmed
Bug description:
http://logstash.openstack.org/#/dashboard/file/logstash.json?query=message:%5C%22mox3.mox.UnexpectedMethodCallError:%20Unexpected%20method%20call%20function.__call__(%3Cnova.virt.xenapi.client.session.XenAPISession%5C%22%20AND%20tags:%5C%22console%5C%22%20AND%20build_name:%5C
%22gate-nova-python34%5C%22
ft1.7942: nova.tests.unit.virt.xenapi.test_vmops.BootableTestCase.test_set_bootable_StringException: Empty attachments:
stdout
pythonlogging:'': {{{2015-12-15 13:33:23,562 WARNING [oslo_reports.guru_meditation_report] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.}}}
stderr: {{{
/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/pkg_resources/__init__.py:213: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
stacklevel=1,
}}}
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 1153, in _PopNextMethod
return self._call_queue.popleft()
IndexError: pop from an empty deque
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-nova-python34/nova/tests/unit/virt/xenapi/test_vmops.py", line 1044, in test_set_bootable
self.vmops.set_bootable(self.instance, True)
File "/home/jenkins/workspace/gate-nova-python34/nova/virt/xenapi/vmops.py", line 1621, in set_bootable
vm_ref = self._get_vm_opaque_ref(instance)
File "/home/jenkins/workspace/gate-nova-python34/nova/virt/xenapi/vmops.py", line 824, in _get_vm_opaque_ref
vm_ref = vm_utils.lookup(self._session, instance['name'], check_rescue)
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 814, in __call__
return mock_method(*params, **named_params)
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 1113, in __call__
expected_method = self._VerifyMethodCall()
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 1169, in _VerifyMethodCall
expected = self._PopNextMethod()
File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mox3/mox.py", line 1155, in _PopNextMethod
raise UnexpectedMethodCallError(self, None)
mox3.mox.UnexpectedMethodCallError: Unexpected method call function.__call__(<nova.virt.xenapi.client.session.XenAPISession object at 0x7fb2174c84a8>, 'test', False) -> None
7 hits in 7 days, check and gate, py34 only, this is just mox3 being
racy on py34.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1526369/+subscriptions
Follow ups