unittests failed - Swift All In One on Ubuntu [closed]

asked 2013-10-27 23:08:01 -0500

Dongjh gravatar image

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@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 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by koolhead17
close date 2013-11-17 19:23:34.011029

Comments