Ask Your Question

Swift Unit Test failing

asked 2013-10-21 21:23:21 -0600

sharathcshekhar gravatar image

updated 2013-10-25 16:51:49 -0600

smaffulli gravatar image

Hi All, I am very new to OpenStack and swift and tyring to setup a swift test bed for the first time. I installed swift on a VM following the instructions at (link text). When I run the unit test, 1 of the tests is failing. Everything else - functests and probetests are working fine.

    FAIL: test_connection_pooling (test.unit.common.test_memcached.TestMemcached)
Traceback (most recent call last):
  File "/home/sharath/src/swift/test/unit/common/", line 385, in test_connection_pooling
    self.assertEqual(2, len(connected))
AssertionError: 2 != 10

I am using the master branch and I am on the commit ID 16ddd3c53f. Can I ignore this error or is there something wrong with my set up? Thanks in advance.

Regards, Sharath

edit retag flag offensive close merge delete


If you're getting started, I would suggest you to use released software, not pulling from master. Even if in theory the repo is always working, the practice says that bugs are always to be expected.

smaffulli gravatar imagesmaffulli ( 2013-10-25 16:53:42 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2013-10-25 19:33:34 -0600

torgomatic gravatar image

It's a bug. Report is here if you want to follow along:

edit flag offensive delete link more

answered 2013-10-24 11:59:17 -0600

updated 2013-10-25 04:20:38 -0600

Hi, I also reproduce this bug with 7ccde73974. (following the same procedure...). There is a wrong eventlet version in swift/requirement.txt. You can fix your install with: sudo pip install 'eventlet>=0.13.0'

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-10-21 21:23:21 -0600

Seen: 682 times

Last updated: Oct 25 '13