Swift installation failed
Hi everyone today i tried to install Swift using the guide at http://swift.openstack.org/development_saio.html (http://swift.openstack.org/developmen...) , When i run the test "cd ~/swift/trunk; ./.unittests" this is what is put out
root@ACRS-HVM1:~/bin# cd ~/swift/trunk; ./.unittests ..........................................SSSSSSSS..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 329, in fire_timers timer() File "/usr/lib/pymodules/python2.6/eventlet/hubs/timer.py", line 56, in __call__ cb(args, *kw) TypeError: exceptions must be classes, or instances, not str
EF............................................................................................
ERROR: test_acc_or_con_missing_returns_404 (test.unit.proxy.test_server.TestObjectController)
Traceback (most recent call last): File "/root/swift/trunk/test/unit/proxy/test_server.py", line 1329, in test_acc_or_con_missing_returns_404 resp = getattr(controller, 'DELETE')(req) File "/root/swift/trunk/swift/proxy/server.py", line 81, in wrapped return func(a, *kw) File "/root/swift/trunk/swift/proxy/server.py", line 97, in wrapped return func(a, *kw) File "/root/swift/trunk/swift/proxy/server.py", line 1115, in DELETE partition, 'DELETE', req.path_info, headers) File "/root/swift/trunk/swift/proxy/server.py", line 531, in make_requests response = [resp for resp in pile if resp] File "/usr/lib/pymodules/python2.6/eventlet/greenpool.py", line 218, in next return self.waiters.get().wait() File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 166, in wait return self._exit_event.wait() File "/usr/lib/pymodules/python2.6/eventlet/event.py", line 116, in wait return hubs.get_hub().switch() File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 172, in switch return self.greenlet.switch() MessageTimeout: 42 seconds: my error message
======================================================================
FAIL: test_bad_metadata (test.unit.proxy.test_server.TestObjectController)
Traceback (most recent call last): File "/root/swift/trunk/test/unit/proxy/test_server.py", line 1427, in test_bad_metadata self.assertEquals(resp.status_int, 201) AssertionError: 503 != 201
Name Stmts Exec Cover Missing
swift 3 3 100% swift.account 0 0 100% swift.account.auditor 57 12 21% 30-37, 41-62, 66-84, 93-103 swift.account.reaper 204 23 11% 55-74, 78-82, 86-90, 94-98, 106-113, 122-132, 147-174, 213-266, 304-364, 387-415 swift.account.replicator 8 8 100% swift.account.server 215 171 79% 62-63, 66, 69, 82-83, 86, 114, 137-138, 141, 156-158, 172, 255-269, 275-276, 280, 283, 286, 301, 307-311, 315, 327, 335-337 swift.common 0 0 100% swift.common.bench 177 31 17% 32-33, 36, 42-78, 83-84, 91-104, 107-116, 119, 125-129, 132-139, 145-148, 151-157, 161-177, 183-186, 189-205, 211-218, 222-248 swift.common.bufferedhttp 64 46 71% 64-65, 122, 124, 155-169 swift.common.client 428 327 76% 28-29, 33-34, 39-43, 82, 124, 129, 134, 188-191, 217-225, 229, 231, 233, 249, 293-302, 332-344, 349, 351, 353, 355, 370, 399-402, 447-457, 520-533, 562-565, 599, 601, 603, 605, 616-627, 750, 754, 775, 797 swift.common.compressing_file_reader 31 31 100% swift.common.constraints 73 73 100% swift.common.daemon 38 35 92% 46-48 swift.common.db 730 631 86% 134-135, 230, 241, 298-301, 336-342, 354-356, 407-409, 425, 466, 472-474, 498-501, 529-535, 547, 582, 594, 597, 651, 732-734, 750, 762-763, 770-772, 800-803, 835, 841, 843, 866-868 ...