Public bug reported: This is the error from the build log
====================================================================== ERROR: test_compute_can_update_available_resource (nova.tests.test_service.ServiceTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/buildd/nova-2011.3~d2~20110601.1130/nova/tests/test_service.py", line 334, in test_compute_can_update_available_resource {'wait': wait_func}) File "/usr/lib/pymodules/python2.7/mox.py", line 256, in CreateMock new_mock = MockObject(class_to_mock, attrs=attrs) File "/usr/lib/pymodules/python2.7/mox.py", line 553, in __init__ for method in dir(class_to_mock): TypeError: __dir__() must return a list, not MockMethod It turns out the semantics around __dir__ changed in 2.7.2. I'm guessing we're mocking a mock object, and MockAnything's __init__ calls dir(class_to_mock) which calls __dir__ which gets intercepted by __getattr__ (or maybe __call__ I'm not sure right now), which returns a MockMethod rather than a list. ** Affects: nova Importance: Undecided Status: New ** Affects: nova (Ubuntu) Importance: Undecided Status: New ** Affects: python-mox (Ubuntu) Importance: Undecided Status: New ** Also affects: python-mox (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Test suite fails with python 2.7.2rc1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs