Bug 1488736 - the unit test 'TestBarbicanACLAuth.test_get_barbican_client' fails
Summary: the unit test 'TestBarbicanACLAuth.test_get_barbican_client' fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron-lbaas
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 12.0 (Pike)
Assignee: Nir Magnezi
QA Contact: Toni Freger
URL:
Whiteboard:
Depends On:
Blocks: 1490093
TreeView+ depends on / blocked
 
Reported: 2017-09-06 07:15 UTC by Arie Bregman
Modified: 2019-09-10 14:10 UTC (History)
5 users (show)

Fixed In Version: openstack-neutron-lbaas-11.0.2-0.20170906215706.c43b9a7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1490093 (view as bug list)
Environment:
Last Closed: 2017-12-13 22:02:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Arie Bregman 2017-09-06 07:15:29 UTC
Description of problem:

The following neutron-lbaas RHOSP 12 unit test, fails:

neutron_lbaas.tests.unit.common.cert_manager.barbican_auth.test_barbican_acl.TestBarbicanACLAuth.test_get_barbican_client

Version-Release number of selected component (if applicable): osp 12 source


How reproducible: 100%


Steps to Reproduce:
1. clone neutron-lbaas and checkout osp 12 branch
2. run 'tox -e py27'

Actual results:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutron/tests/base.py", line 118, in func
    return f(self, *args, **kwargs)
  File "neutron_lbaas/tests/unit/common/cert_manager/barbican_auth/test_barbican_acl.py", line 43, in test_get_barbican_client
    barbican_client.Client
  File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 401, in assertIsInstance
    self.assertThat(obj, matcher, msg)
  File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 483, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/lib/python2.7/site-packages/testtools/matchers/_basic.py", line 230, in match
    if isinstance(other, self.types):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types



Expected results: All tests passed successfully

Comment 2 Assaf Muller 2017-09-06 13:40:18 UTC
Assigned to Nir for triage.

Comment 8 errata-xmlrpc 2017-12-13 22:02:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462


Note You need to log in before you can comment on or make changes to this bug.