Project

General

Profile

Actions

Bug #12017

closed

ERROR: test_rbd.TestImage.test_update_features

Added by Shambhu Rajak almost 9 years ago. Updated over 8 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions #1

Updated by Nathan Cutler almost 9 years ago

  • Project changed from Stable releases to rbd
Actions #2

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

Actions #3

Updated by Shambhu Rajak almost 9 years ago

I used master branch, after using hammer branch, this failure is not observed.

Actions #4

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.

Actions #5

Updated by Josh Durgin almost 9 years ago

  • Tracker changed from Tasks to Bug
  • Assignee deleted (Josh Durgin)
  • Regression set to No
Actions #6

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.

Actions

Also available in: Atom PDF