Strange 'rstrip' error while importing tempest.scenario.test_server_basic_ops
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I installed tempest on a clean machine as follows, both ubuntu and fedora:
1a. (fedora) sudo yum -y install python-pip git libxml2-devel libxslt-devel python-devel gcc openssl-devel
1b. (ubuntu) sudo apt-get install python-pip git gcc libxslt1-dev libxml2-dev python-dev zlib1g-dev
2. git clone http://
3. cd tempest
4. sudo pip install -r requirements.txt
5. testr init
6. testr list-tests --> garbage due to import error
Then
ubuntu@
2014-02-12 20:56:39.590 11694 CRITICAL tempest [-] 'NoneType' object has no attribute 'rstrip'
This is very strange. I also changed all rstrip to strip in the code so 'grep -r rstrip .' is clean, and still get the same error.
Also:
>>> from tempest.
>>> test_utils.
2014-02-12 21:05:48.294 18172 CRITICAL tempest [-] 'NoneType' object has no attribute 'rstrip'
summary: |
- Strange 'rstrip' error in test_utils after clean tempest install + ImageUtils() logs 'NoneTy'e has no attribute 'rstrip' on clean install |
summary: |
- ImageUtils() logs 'NoneTy'e has no attribute 'rstrip' on clean install + ImageUtils() logs 'NoneType' has no attribute 'rstrip' on clean install |
Changed in tempest: | |
status: | Incomplete → Fix Released |
I tried adding -U to the pip install which required installing libssl-dev on ubuntu but the error is the same.