Ask Your Question
0

Swift Unit Test failing

asked 2013-10-21 21:23:21 -0500

sharathcshekhar gravatar image

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

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 http://docs.openstack.org/developer/swift/development_saio.html (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/test_memcached.py", 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

Comments

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 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

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

torgomatic gravatar image

It's a bug. Report is here if you want to follow along: https://bugs.launchpad.net/swift/+bug/1244597

edit flag offensive delete link more
0

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

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-10-21 21:23:21 -0500

Seen: 608 times

Last updated: Oct 25 '13