Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1488736

Summary: the unit test 'TestBarbicanACLAuth.test_get_barbican_client' fails
Product: Red Hat OpenStack Reporter: Arie Bregman <abregman>
Component: openstack-neutron-lbaasAssignee: Nir Magnezi <nmagnezi>
Status: CLOSED ERRATA QA Contact: Toni Freger <tfreger>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: amuller, apevec, belharar, lhh, nyechiel
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-lbaas-11.0.2-0.20170906215706.c43b9a7.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1490093 (view as bug list) Environment:
Last Closed: 2017-12-13 22:02:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1490093    

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