Project

General

Profile

Actions

Bug #18733

closed

test_rbd.TestImage.test_block_name_prefix and test_rbd.TestImage.test_id fail in upgrade/jewel-x (10.2.6 integration testing)

Added by Nathan Cutler about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

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

Description

Run: http://pulpito.ceph.com/smithfarm-2017-01-30_12:04:19-upgrade:jewel-x-wip-jewel-backports-distro-basic-vps/

Failed test description: The same failure appears in several tests, e.g. (choosing one at random) in "upgrade:jewel-x/stress-split/{0-cluster/{openstack.yaml start.yaml} 1-jewel-install/jewel.yaml 2-partial-upgrade/firsthalf.yaml 3-thrash/default.yaml 4-mon/mona.yaml 5-workload/{rbd-cls.yaml rbd-import-export.yaml readwrite.yaml snaps-few-objects.yaml} 6-next-mon/monb.yaml 7-workload/{radosbench.yaml rbd_api.yaml} 8-next-mon/monc.yaml 9-workload/{rbd-python.yaml rgw-swift.yaml snaps-many-objects.yaml} distros/centos_7.3.yaml}"

Failed test URL: http://pulpito.ceph.com/smithfarm-2017-01-30_12:04:19-upgrade:jewel-x-wip-jewel-backports-distro-basic-vps/764970/

Version analysis: The base "jewel" version is 20a480d and the "-x" is b671230 (wip-jewel-backports)

test_librbd_python.sh gets run on client.0 (vpm069) while the cluster is in thrashosds, and BOOM:

test_rbd.TestImage.test_block_name_prefix ... ERROR
...
test_rbd.TestImage.test_id ... ERROR

Tracebacks:

INFO:tasks.workunit.client.0.vpm069.stderr:======================================================================
2017-01-30T14:26:38.235 INFO:tasks.workunit.client.0.vpm069.stderr:ERROR: test_rbd.TestImage.test_block_name_prefix
2017-01-30T14:26:38.235 INFO:tasks.workunit.client.0.vpm069.stderr:----------------------------------------------------------------------
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:Traceback (most recent call last):
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:    self.test(*self.arg)
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:  File "/home/ubuntu/cephtest/clone.client.0/src/test/pybind/test_rbd.py", line 323, in test_block_name_prefix
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:    assert_not_equal(b'', self.image.block_name_prefix())
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:AttributeError: 'rbd.Image' object has no attribute 'block_name_prefix'
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:======================================================================
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:ERROR: test_rbd.TestImage.test_id
2017-01-30T14:26:38.236 INFO:tasks.workunit.client.0.vpm069.stderr:----------------------------------------------------------------------
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:Traceback (most recent call last):
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:    self.test(*self.arg)
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:  File "/home/ubuntu/cephtest/clone.client.0/src/test/pybind/test_rbd.py", line 82, in _require_new_format
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:    return fn(*args, **kwargs)
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:  File "/home/ubuntu/cephtest/clone.client.0/src/test/pybind/test_rbd.py", line 320, in test_id
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:    assert_not_equal(b'', self.image.id())
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:AttributeError: 'rbd.Image' object has no attribute 'id'
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:
2017-01-30T14:26:38.237 INFO:tasks.workunit.client.0.vpm069.stderr:----------------------------------------------------------------------
2017-01-30T14:26:38.238 INFO:tasks.workunit.client.0.vpm069.stderr:Ran 85 tests in 922.039s
2017-01-30T14:26:38.238 INFO:tasks.workunit.client.0.vpm069.stderr:
2017-01-30T14:26:38.238 INFO:tasks.workunit.client.0.vpm069.stderr:FAILED (SKIP=8, errors=2)
Actions #1

Updated by Nathan Cutler about 7 years ago

  • Description updated (diff)
Actions #2

Updated by Nathan Cutler about 7 years ago

  • Description updated (diff)
Actions #3

Updated by Nathan Cutler about 7 years ago

  • Subject changed from test_rbd.TestImage.test_block_name_prefix fails in jewel 10.2.6 integration testing to test_rbd.TestImage.test_block_name_prefix and test_rbd.TestImage.test_id fail in upgrade/jewel-x (10.2.6 integration testing)
Actions #4

Updated by Jason Dillaman about 7 years ago

  • Status changed from New to Need More Info

The test installed jewel at commit 20a480d as the base installation:

2017-01-30T12:25:10.195 INFO:teuthology.orchestra.run.vpm069.stdout:--> Processing Dependency: python-rados = 1:10.2.5-5727.g20a480d.el7 for package: 1:ceph-common-10.2.5-5727.g20a480d.el7.x86_64

When it cloned the test case from git, it must have pulled a different (more up-to-date version) from the 'jewel' branch that now contained commit 05295ef -- which expected these new API methods to be available. Were you merging PRs into the jewel branch while this test was scheduled/queued?

Actions #5

Updated by Nathan Cutler about 7 years ago

Were you merging PRs into the jewel branch while this test was scheduled/queued?

Yes, quite likely. Re-running.

Actions #6

Updated by Nathan Cutler about 7 years ago

  • Assignee set to Nathan Cutler
Actions #7

Updated by Nathan Cutler about 7 years ago

  • Status changed from Need More Info to Rejected
Actions

Also available in: Atom PDF