[Openstack] unittests failed - Swift All In One on Ubuntu
Luse, Paul E
paul.e.luse at intel.com
Mon Oct 28 13:42:21 UTC 2013
Here is the answer:
https://ask.openstack.org/en/question/6165/swift-unit-test-failing/
-Paul
From: 董建华 [mailto:dongjh at nci.com.cn]
Sent: Sunday, October 27, 2013 9:02 PM
To: openstack
Subject: [Openstack] unittests failed - Swift All In One on Ubuntu
Hello all,
I'm deploying Swift All-In-One on Ubuntu 12.04,following with the installation guide http://docs.openstack.org/developer/swift/development_saio.html, but the .unittests script failed with the following error, what is the issue?
swift at swift:~/swift$ ~/swift/.unittests
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_connection_pooling (test.unit.common.test_memcached.TestMemcached)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/switft/swift/test/unit/common/test_memcached.py", line 385, in test_connection_pooling
self.assertEqual(2, len(connected))
AssertionError: 2 != 10
Name Stmts Miss Cover Missing
------------------------------------------------------------------------
swift.account 0 0 100%
swift.account.auditor 73 11 85% 59-72, 86-90, 94
swift.account.backend 163 7 96% 47, 209, 215, 217, 312, 329, 384
swift.account.reaper 234 40 83% 81-83, 87-89, 93-95, 108-110, 130-131, 151, 155, 159, 163, 167, 242-247, 249-252, 254, 256, 258, 261, 263, 266, 269-272, 278, 351-352
swift.account.server 197 21 89% 123-124, 153, 232-242, 290-294, 310, 318-320
swift.account.utils 45 0 100%
swift.common 0 0 100%
swift.common.bufferedhttp 70 7 90% 75-79, 152, 177
swift.common.constraints 92 0 100%
swift.common.daemon 48 5 90% 49-51, 93, 97
swift.common.db 383 49 87% 55-57, 80, 153-154, 259, 286, 305, 315-319, 343-347, 373-376, 411-417, 492, 513, 520-521, 528-530, 539-541, 549, 589-591, 617, 648-654, 688-691, 725
swift.common.db_replicator 413 113 73% 65, 260, 288-293, 297-302, 311, 438, 447-448, 452-453, 476-477, 500, 516, 527-528, 530-542, 545, 555-564, 579-599, 602-649, 660-668, 674-685
swift.common.direct_client 204 45 78% 48, 50, 52, 54, 62-63, 137, 193, 225, 266-267, 276-281, 317, 322-323, 325, 329, 331, 358, 400, 435, 460-461, 464-465, 472-492
swift.common.exceptions 56 2 96% 26, 120
swift.common.http 77 0 100%
swift.common.internal_client 193 0 100%
swift.common.manager 331 3 99% 342-343, 620
swift.common.memcached 264 25 91% 170, 175-176, 184-188, 204, 302, 326, 346-349, 378, 397-398, 433-434, 449-450, 474-477, 491-492
swift.common.middleware 0 0 100%
swift.common.middleware.account_quotas 52 4 92% 67, 131-133
swift.common.middleware.acl 47 0 100%
swift.common.middleware.bulk 280 17 94% 290, 292, 311-313, 364-366, 414-416, 491, 498-499, 507-509
swift.common.middleware.catch_errors 40 0 100%
swift.common.middleware.cname_lookup 81 4 95% 37-39, 90, 110
swift.common.middleware.container_quotas 51 4 92% 86, 116-118
swift.common.middleware.crossdomain 21 5 76% 85-90
swift.common.middleware.domain_remap 58 5 91% 127-132
swift.common.middleware.formpost 240 10 96% 225, 365-366, 395, 425-426, 440-441, 471-472
swift.common.middleware.healthcheck 28 2 93% 54-56
swift.common.middleware.keystoneauth 152 1 99% 137
swift.common.middleware.list_endpoints 53 0 100%
swift.common.middleware.memcache 38 9 76% 42-43, 49-50, 71-77
swift.common.middleware.name_check 55 3 95% 65, 82, 104
swift.common.middleware.proxy_logging 123 1 99% 220
swift.common.middleware.ratelimit 138 1 99% 210
swift.common.middleware.recon 218 39 82% 141, 145-149, 160, 164-165, 188, 220-235, 268-270, 274-278, 338-343
swift.common.middleware.slo 192 7 96% 342, 346-347, 354, 408-411
swift.common.middleware.staticweb 190 2 99% 225, 455
swift.common.middleware.tempauth 278 38 86% 162-163, 226, 232, 235-248, 260-262, 348, 350-355, 368-370, 375-376, 408-410, 442, 459-460, 467
swift.common.middleware.tempurl 173 4 98% 297-298, 300-302
swift.common.request_helpers 28 0 100%
swift.common.ring 3 0 100%
swift.common.ring.builder 456 20 96% 100-101, 117-128, 184, 431, 460, 669, 685, 1041
swift.common.ring.ring 199 4 98% 75, 113-114, 139
swift.common.ring.utils 110 1 99% 283
swift.common.swob 640 7 99% 273, 309, 579, 830, 914, 1206-1207
swift.common.utils 1148 76 93% 42-43, 93, 99, 416, 580, 669, 743, 841, 847, 930, 972-983, 1007-1009, 1054-1055, 1203-1206, 1240, 1246-1247, 1275-1279, 1306-1311, 1475-1477, 1515-1518, 1527-1528, 1535-1536, 1543-1544, 1613, 1791-1793, 1806-1808, 1943-1953, 2093-2095, 2107, 2133
swift.common.wsgi 260 71 73% 43-44, 82, 163, 194-196, 220, 228-230, 243-314, 324-325, 333, 341, 396, 504
swift.container 0 0 100%
swift.container.auditor 73 8 89% 59-72, 86-88
swift.container.backend 209 15 93% 44, 47, 103, 216, 222, 224, 252, 288, 306, 328-334, 408, 425
swift.container.replicator 13 0 100%
swift.container.server 297 32 89% 160, 162, 177, 199-200, 214, 217, 236, 246-247, 259-260, 265, 281, 403, 421-431, 489-493, 505, 513-514
swift.container.sync 192 2 99% 261, 363
swift.container.updater 180 66 63% 83-84, 95-97, 99, 101-104, 110-111, 113-165, 215, 251, 256-257, 284-300
swift.obj 0 0 100%
swift.obj.auditor 146 4 97% 152, 208, 253-254
swift.obj.diskfile 481 17 96% 181, 196, 277-278, 290, 374, 447-449, 484, 621-622, 879-880, 893-896, 1033
swift.obj.expirer 117 0 100%
swift.obj.mem_diskfile 191 33 83% 163, 170-171, 178-192, 195, 199, 204, 268, 289-290, 293, 299-307, 310-316, 323-325, 327, 340
swift.obj.mem_server 37 12 68% 81-93, 104, 109-111
swift.obj.replicator 296 54 82% 106-109, 114-119, 124, 127, 148, 163, 199, 207-211, 218, 227, 229-234, 352-356, 365, 378, 395, 402, 423-424, 462-463, 465-467, 474-476, 499-514
swift.obj.server 369 21 94% 199, 290, 299-300, 326, 351, 441-442, 513-514, 551-552, 601, 613, 632-636, 655, 661-663
swift.obj.updater 159 49 69% 66-108, 119-122, 146, 151, 154-159, 182-189, 204-205, 208
swift.proxy 0 0 100%
swift.proxy.controllers 5 0 100%
swift.proxy.controllers.account 72 6 92% 53-56, 99-102
swift.proxy.controllers.base 494 9 98% 260, 386, 688, 711, 814, 946, 953, 1056, 1093
swift.proxy.controllers.container 106 1 99% 184
swift.proxy.controllers.obj 788 131 83% 150, 257, 275, 279-286, 347-348, 389-390, 425-426, 434-437, 439, 441, 449-452, 457, 480-485, 579, 582-591, 608, 610, 612, 628-633, 653-654, 715, 724, 845-846, 871-875, 893-895, 900-907, 932-962, 975, 1008, 1024, 1089-1090, 1094, 1101, 1103-1107, 1117-1120, 1122-1126, 1150-1151, 1155-1157, 1198-1204, 1223-1242, 1244-1246, 1253-1257, 1277
swift.proxy.server 183 13 93% 121-122, 127, 132-134, 140, 147-148, 200-202, 233-235
------------------------------------------------------------------------
TOTAL 12603 1136 91%
----------------------------------------------------------------------
Ran 1790 tests in 115.830s
FAILED (failures=1)
/home/switft/swift
swift at swift:/var/log$ sudo tail -f /var/log/syslog|egrep -i "error|warning"
[sudo] password for swift:
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpMp058D/tmp_test_account_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpMp058D/tmp_test_account_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:48 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:49 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:49 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:49 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:49 swift swift ERROR Could not get account info /tmp/tmpOmEg0f/tmp_test_account_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:49 swift swift ERROR Could not get account info /tmp/tmp8hBI_i/tmp_test_account_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:49 swift swift ERROR Could not get account info /tmp/tmp8hBI_i/tmp_test_account_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/account/auditor.py", line 118, in account_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/account/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError
Oct 28 11:57:55 swift swift Error: An error occurred: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/middleware/catch_errors.py", line 37, in handle_request#012 resp = self._app_call(env)#012 File "/home/switft/swift/swift/common/wsgi.py", line 388, in _app_call#012 resp = self.app(env, self._start_response)#012 File "/home/switft/swift/test/unit/common/middleware/test_except.py", line 33, in __call__#012 raise Exception('An erro occurred')#012Exception: An error occurred (txn: tx9ebd28bf3228485587058-00526de0c3)
Oct 28 11:57:55 swift swift Error: invalid literal for int() with base 10: 'a': #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/middleware/catch_errors.py", line 37, in handle_request#012 resp = self._app_call(env)#012 File "/home/switft/swift/swift/common/wsgi.py", line 394, in _app_call#012 first_chunk = resp.next()#012 File "/home/switft/swift/test/unit/common/middleware/test_except.py", line 84, in <genexpr>#012 FakeApp(body_iter=(int(x) for x in 'abcd')), {})#012ValueError: invalid literal for int() with base 10: 'a' (txn: txe6819a00c9db4e03aafa5-00526de0c3)
Oct 28 11:57:55 swift swift Error: An error occurred: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/middleware/catch_errors.py", line 37, in handle_request#012 resp = self._app_call(env)#012 File "/home/switft/swift/swift/common/wsgi.py", line 388, in _app_call#012 resp = self.app(env, self._start_response)#012 File "/home/switft/swift/test/unit/common/middleware/test_except.py", line 33, in __call__#012 raise Exception('An erro occurred')#012Exception: An error occurred (txn: txdd51bd31705148c6b25da-00526de0c3)
Oct 28 11:57:55 swift swift Warning: Cannot ratelimit without a memcached client (txn: tx13438795b3a74d65b18fc-00526de0c3-stuff)
Oct 28 11:57:55 swift swift Error retrieving recon data: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/middleware/recon.py", line 71, in _from_recon_cache#012 with openr(cache_file, 'r') as f:#012 File "/home/switft/swift/test/unit/common/middleware/test_recon.py", line 174, in raise_Exception#012 raise Exception#012Exception (txn: tx13438795b3a74d65b18fc-00526de0c3-stuff)
Oct 28 11:57:55 swift swift Error reading recon cache file: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/middleware/recon.py", line 71, in _from_recon_cache#012 with openr(cache_file, 'r') as f:#012 File "/home/switft/swift/test/unit/common/middleware/test_recon.py", line 168, in raise_IOError#012 raise IOError#012IOError (txn: tx13438795b3a74d65b18fc-00526de0c3-stuff)
Oct 28 11:57:55 swift swift Error parsing recon cache file: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/middleware/recon.py", line 71, in _from_recon_cache#012 with openr(cache_file, 'r') as f:#012 File "/home/switft/swift/test/unit/common/middleware/test_recon.py", line 171, in raise_ValueError#012 raise ValueError#012ValueError (txn: tx13438795b3a74d65b18fc-00526de0c3-stuff)
Oct 28 11:57:59 swift swift ERROR syncing /path/to/file with node {'meta': '', 'weight': 10.0, 'zone': 1, 'device': 'sdb', 'ip': '1.1.1.1', 'id': 1, 'port': 6000}: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/db_replicator.py", line 474, in _replicate_object#012 success = self._repl_to_node(node, broker, partition, info)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 365, in _repl_to_node#012 http = self._http_connect(node, partition, broker.db_file)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 349, in _http_connect#012 self.logger)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 120, in __init__#012 host = "%s:%s" % (node['replication_ip'], node['replication_port'])#012KeyError: 'replication_ip'
Oct 28 11:57:59 swift swift ERROR syncing /path/to/file with node {'meta': '', 'weight': 10.0, 'zone': 2, 'device': 'sdb', 'ip': '1.1.1.2', 'id': 2, 'port': 6000}: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/db_replicator.py", line 474, in _replicate_object#012 success = self._repl_to_node(node, broker, partition, info)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 365, in _repl_to_node#012 http = self._http_connect(node, partition, broker.db_file)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 349, in _http_connect#012 self.logger)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 120, in __init__#012 host = "%s:%s" % (node['replication_ip'], node['replication_port'])#012KeyError: 'replication_ip'
Oct 28 11:57:59 swift swift ERROR syncing /path/to/file with node {'meta': '', 'weight': 10.0, 'zone': 3, 'device': 'sdb', 'ip': '1.1.1.3', 'id': 3, 'port': 6000}: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/common/db_replicator.py", line 474, in _replicate_object#012 success = self._repl_to_node(node, broker, partition, info)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 365, in _repl_to_node#012 http = self._http_connect(node, partition, broker.db_file)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 349, in _http_connect#012 self.logger)#012 File "/home/switft/swift/swift/common/db_replicator.py", line 120, in __init__#012 host = "%s:%s" % (node['replication_ip'], node['replication_port'])#012KeyError: 'replication_ip'
Oct 28 11:57:59 swift swift ERROR rsync failed with -1: ['rsync', '--quiet', '--no-motd', '--timeout=10', '--contimeout=1', '--whole-file', '/some/file', 'remote:/some/file']
Oct 28 11:58:02 swift swift blah: [Errno 5] my 5 error message
Oct 28 11:58:02 swift swift blah: [Errno 5] my 5 error message
Oct 28 11:58:02 swift swift blah: [Errno 28] my 28 error message
Oct 28 11:58:02 swift swift blah: [Errno 28] my 28 error message
Oct 28 11:58:02 swift swift blah: #012Traceback (most recent call last):#012 File "/home/switft/swift/test/unit/common/test_utils.py", line 500, in log_exception#012 raise exc#012OSError
Oct 28 11:58:02 swift swift blah: #012Traceback (most recent call last):#012 File "/home/switft/swift/test/unit/common/test_utils.py", line 500, in log_exception#012 raise exc#012OSError
Oct 28 11:58:02 swift swift blah: #012Traceback (most recent call last):#012 File "/home/switft/swift/test/unit/common/test_utils.py", line 500, in log_exception#012 raise exc#012error: [Errno 0] my error message
Oct 28 11:58:02 swift swift blah: #012Traceback (most recent call last):#012 File "/home/switft/swift/test/unit/common/test_utils.py", line 500, in log_exception#012 raise exc#012error: [Errno 0] my error message
Oct 28 11:58:02 swift swift blah: MessageTimeout (42s) my error message
Oct 28 11:58:02 swift swift blah: MessageTimeout (42s) my error message
Oct 28 11:58:02 swift swift blah: #012Traceback (most recent call last):#012 File "/home/switft/swift/test/unit/common/test_utils.py", line 500, in log_exception#012 raise exc#012Exception: my error message
Oct 28 11:58:02 swift swift blah: #012Traceback (most recent call last):#012 File "/home/switft/swift/test/unit/common/test_utils.py", line 500, in log_exception#012 raise exc#012Exception: my error message
Oct 28 11:58:05 swift swift my error message
Oct 28 11:58:05 swift swift my error message
Oct 28 11:58:05 swift swift my#012error#012message (txn: 12345)
Oct 28 11:58:05 swift swift my#012error#012message (txn: 12345)
Oct 28 11:58:05 swift swift my error message (txn: 12345)
Oct 28 11:58:05 swift swift my error message (txn: 12345)
Oct 28 11:58:05 swift swift WARNING: SSL should only be enabled for testing purposes. Use external SSL termination for a production deployment. (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift WARNING: SSL should only be enabled for testing purposes. Use external SSL termination for a production deployment. (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmp7j7Wsu/tmp_test_container_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmp7j7Wsu/tmp_test_container_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:05 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:06 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:06 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:06 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:06 swift swift ERROR Could not get container info /tmp/tmpjf53Mi/tmp_test_container_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:06 swift swift ERROR Could not get container info /tmp/tmpZY9qBQ/tmp_test_container_auditor/fail1.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:06 swift swift ERROR Could not get container info /tmp/tmpZY9qBQ/tmp_test_container_auditor/fail2.db: #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/container/auditor.py", line 118, in container_audit#012 broker.get_info()#012 File "/home/switft/swift/test/unit/container/test_auditor.py", line 39, in get_info#012 raise ValueError#012ValueError (txn: 12345) (client_ip: 1.2.3.4)
Oct 28 11:58:08 swift swift ERROR Account update failed with 127.0.0.1:49310/sda1 (will retry later): Response 503 OK (client_ip: 1.2.3.4)
Oct 28 11:58:10 swift swift ERROR Account update failed with 127.0.0.1:47584/sda1 (will retry later): Response 503 OK (client_ip: 1.2.3.4)
Oct 28 11:58:11 swift swift ERROR Account update failed: different numbers of hosts and devices in request: "127.0.0.1:0" vs "sda1,sda2" (client_ip: 1.2.3.4)
Oct 28 11:58:17 swift swift ERROR Container update failed (saving for async update later): 500 response from 1.2.3.4:0/sda1
Oct 28 11:58:17 swift swift ERROR container update failed with 1.2.3.4:0/sda1 (saving for async update later): #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/obj/server.py", line 148, in async_update#012 response = conn.getresponse()#012 File "/home/switft/swift/test/unit/obj/test_server.py", line 589, in getresponse#012 raise Exception('test')#012Exception: test
Oct 28 11:58:17 swift swift ERROR container update failed with 127.0.0.1:1234/sdc1 (saving for async update later): #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/obj/server.py", line 146, in async_update#012 full_path, headers_out)#012 File "/home/switft/swift/test/unit/obj/test_server.py", line 1738, in fake_http_connect#012 raise Exception('test')#012Exception: test (client_ip: 1.2.3.4)
Oct 28 11:58:17 swift swift ERROR container update failed with 127.0.0.1:1234/sdc1 (saving for async update later): #012Traceback (most recent call last):#012 File "/home/switft/swift/swift/obj/server.py", line 146, in async_update#012 full_path, headers_out)#012 File "/home/switft/swift/test/unit/obj/test_server.py", line 1950, in fake_http_connect#012 raise Exception('test')#012Exception: test (client_ip: 1.2.3.4)
Oct 28 11:58:17 swift swift ERROR Container update failed (saving for async update later): 199 response from 127.0.0.1:1234/sdc1 (client_ip: 1.2.3.4)
Oct 28 11:58:17 swift swift ERROR Container update failed (saving for async update later): 300 response from 127.0.0.1:1234/sdc1 (client_ip: 1.2.3.4)
Oct 28 11:58:17 swift swift ERROR Container update failed (saving for async update later): 503 response from 127.0.0.1:1234/sdc1 (client_ip: 1.2.3.4)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131028/fab20582/attachment.html>
More information about the Openstack
mailing list