Barbican test failures with pykmip 0.4.1 in master and stable/liberty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
New
|
Undecided
|
Unassigned |
Bug Description
In Barbican, 3 unit test fails in test_kmip.py when pykmip 0.4.1 version is used instead of 0.4.0. Our internal gate picked up that version and saw the test failures.
pykmip 0.4.1 version is a valid version as per test-requirements dependency i.e. "pykmip>=0.4.0"
https:/
This issue is there with stable/liberty as well as in current master branch. Openstack gates are passing as it still getting 0.4.0 version of pykmip. This can be verified in https:/
This error can be reproduced locally by setting pykmip in test-requirements to 0.4.1 version "pykmip==0.4.1". When same setup has pykmip version pinned to 0.4.0 version, tests passes (as seen in openstack gate builds).
We might want to exclude 0.4.1 version in barbican test-requirements and global requirements.
Failure 1:
barbican.
....
....
Traceback (most recent call last):
File "barbican/
actual_
File "/home/
self.
File "/home/
raise mismatch_error
testtools.
Failure 2:
barbican.
....
....
Traceback (most recent call last):
File "barbican/
return func(self, *test_args, **test_kwargs)
File "barbican/
actual_
File "/home/
self.
File "/home/
raise mismatch_error
testtools.
Failure 3:
barbican.
....
....
Traceback (most recent call last):
File "barbican/
return func(self, *test_args, **test_kwargs)
File "barbican/
actual_
File "/home/
self.
File "/home/
raise mismatch_error
testtools.
Looks like the issue is resolved in master with this patch. https:/ /github. com/openstack/ barbican/ commit/ c6e806bb7824e37 0a60df623a2b874 ca0f8239af
And confirmed that stable/liberty branch has that issue. So may be above commit needs to backport.