Bug #12017
closedERROR: test_rbd.TestImage.test_update_features
0%
Description
ERROR: test_rbd.TestImage.test_update_features fails on ceph 0.94
On execution of workunit.client.0/rbd/test_librbd_python.sh
From below log snippet:
2015-06-12T11:04:52.075 INFO:tasks.workunit.client.0.rack2-client-1.stderr:ERROR: test_rbd.TestImage.test_update_features 2015-06-12T11:04:52.076 INFO:tasks.workunit.client.0.rack2-client-1.stderr:---------------------------------------------------------------------- 2015-06-12T11:04:52.076 INFO:tasks.workunit.client.0.rack2-client-1.stderr:Traceback (most recent call last): 2015-06-12T11:04:52.076 INFO:tasks.workunit.client.0.rack2-client-1.stderr: File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest 2015-06-12T11:04:52.076 INFO:tasks.workunit.client.0.rack2-client-1.stderr: self.test(*self.arg) 2015-06-12T11:04:52.076 INFO:tasks.workunit.client.0.rack2-client-1.stderr: File "/home/ems/cephtest/mnt.0/client.0/tmp/test_rbd.py", line 82, in _require_new_format 2015-06-12T11:04:52.077 INFO:tasks.workunit.client.0.rack2-client-1.stderr: return fn(*args, **kwargs) 2015-06-12T11:04:52.077 INFO:tasks.workunit.client.0.rack2-client-1.stderr: return fn(*args, **kwargs) 2015-06-12T11:04:52.077 INFO:tasks.workunit.client.0.rack2-client-1.stderr: File "/home/ems/cephtest/mnt.0/client.0/tmp/test_rbd.py", line 300, in test_update_features 2015-06-12T11:04:52.077 INFO:tasks.workunit.client.0.rack2-client-1.stderr: self.image.update_features(RBD_FEATURE_EXCLUSIVE_LOCK, True) 2015-06-12T11:04:52.077 INFO:tasks.workunit.client.0.rack2-client-1.stderr:AttributeError: 'Image' object has no attribute 'update_features' 2015-06-12T11:04:52.078 INFO:tasks.workunit.client.0.rack2-client-1.stderr: 2015-06-12T11:04:52.078 INFO:tasks.workunit.client.0.rack2-client-1.stderr:---------------------------------------------------------------------- 2015-06-12T11:04:52.078 INFO:tasks.workunit.client.0.rack2-client-1.stderr:Ran 71 tests in 502.787s 2015-06-12T11:04:52.078 INFO:tasks.workunit.client.0.rack2-client-1.stderr: 2015-06-12T11:04:52.078 INFO:tasks.workunit.client.0.rack2-client-1.stderr:FAILED (SKIP=10, errors=1) 2015-06-12T11:
But rbd module does not have method Image.update_features
Updated by Nathan Cutler almost 9 years ago
- Project changed from Stable releases to rbd
Updated by Jason Dillaman almost 9 years ago
- Status changed from New to Need More Info
Shambhu, under what condition did you encounter this issue? The Hammer branch does not have this test case [1], so either you ran the master branch's test cases against a Hammer OSD or you had a stale (master branch) test_rbd.pyc file hanging around.
[1] https://github.com/ceph/ceph/blob/hammer/src/test/pybind/test_rbd.py
Updated by Shambhu Rajak almost 9 years ago
I used master branch, after using hammer branch, this failure is not observed.
Updated by Jason Dillaman almost 9 years ago
Was this a failure from a teuthology test? If so, can you provide a link to the logs or the name of the suite? The only way I can see this issue occurring is if you had a Hammer-based python-rbd package installed while running a Master-based test_rbd nose test.
Updated by Josh Durgin almost 9 years ago
- Tracker changed from Tasks to Bug
- Assignee deleted (
Josh Durgin) - Regression set to No
Updated by Josh Durgin over 8 years ago
- Status changed from Need More Info to Can't reproduce
If you have more info on how to produce this issue please reopen.