[stable/victoria] ddt version incompatibility for victoria branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Low
|
Unassigned |
Bug Description
In victoria test-requirements state:
ddt>=1.2.1
However the tests use the code:
cinder/
Which is not in ddt 1.2.1
=======
Failures during discovery
=======
--- import errors ---
Failed to import test module: cinder.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "/build/
@ddt.
AttributeError: module 'ddt' has no attribute 'TestNameFormat'
This is the version that is in ubuntu focal victoria
This breakage was added in commit 8095a7af801e7b4
Not sure the best way to handle this, update the test-reqirements for stable/victoria ?
Changed in cinder: | |
importance: | Undecided → Low |
tags: | added: test victoria |
tags: |
added: tests removed: test |
This is interesting because the current CI for stable/victoria passed because I think it's using the master file test-requiremen ts.txt ( ddt==1.4.1 ) instead of the stable/victoria one [1]. Maybe we can update the version in stable/victoria code. [2]
[1] https:/ /zuul.opendev. org/t/openstack /build/ a630bf25689141d 8b329bc6119e9b2 18/log/ job-output. txt#731
[2] https:/ /opendev. org/openstack/ cinder/ src/branch/ stable/ victoria/ test-requiremen ts.txt# L12