Project

General

Profile

Actions

Bug #45103

closed

TestVolumeClient is failing under new py3 runtime

Added by Greg Farnum about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Testing
Target version:
-
% Done:

0%

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

Description

in eg http://pulpito.front.sepia.ceph.com/teuthology-2020-04-12_03:15:03-fs-master-distro-basic-smithi/4946437/

AttributeError: 'TestVolumeClient' object has no attribute 'assertCountEqual'

This was added in commit 21d6c5a95b4a6873bc8f35a74e3f48436bd96264 because assertCountEqual is the py3 equivalent to py2's assertItemsEqual (https://docs.python.org/2/library/unittest.html#unittest.TestCase.assertItemsEqual), but it is causing failures in the suite runs now.

Actions #1

Updated by Xiubo Li about 4 years ago

  • Pull request ID set to 34578
Actions #2

Updated by Xiubo Li about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Xiubo Li
Actions #3

Updated by Xiubo Li about 4 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Xiubo Li about 4 years ago

Removed the py2 supporting and for all the qa test are dropping the py2. Only py3 will be support.

Actions #5

Updated by Kefu Chai about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF