failures in unit tests when building Debian package

Bug #1475426 reported by Thomas Goirand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-barbicanclient
New
Undecided
Unassigned

Bug Description

Hi,

When building the package of barbicanclient, I get the below unit test failures. It looks like an issue in the fixture in _delete_secret.

If you need help to reproduce this bug, please let me know.

======================================================================
FAIL: barbicanclient.tests.test_barbican.TestBarbicanWithKeystonePasswordAuth.test_v2_auth
barbicanclient.tests.test_barbican.TestBarbicanWithKeystonePasswordAuth.test_v2_auth
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "barbicanclient/tests/keystone_client_fixtures.py", line 250, in test_v2_auth
    self._delete_secret('v2')
  File "barbicanclient/tests/keystone_client_fixtures.py", line 240, in _delete_secret
    self.fail('failed to delete secret')
  File "/usr/lib/python2.7/dist-packages/unittest2/case.py", line 690, in fail
    raise self.failureException(msg)
AssertionError: failed to delete secret

======================================================================
FAIL: barbicanclient.tests.test_barbican.TestBarbicanWithKeystoneTokenAuth.test_v2_auth
barbicanclient.tests.test_barbican.TestBarbicanWithKeystoneTokenAuth.test_v2_auth
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "barbicanclient/tests/keystone_client_fixtures.py", line 250, in test_v2_auth
    self._delete_secret('v2')
  File "barbicanclient/tests/keystone_client_fixtures.py", line 240, in _delete_secret
    self.fail('failed to delete secret')
  File "/usr/lib/python2.7/dist-packages/unittest2/case.py", line 690, in fail
    raise self.failureException(msg)
AssertionError: failed to delete secret

======================================================================
FAIL: barbicanclient.tests.test_barbican.TestBarbicanWithKeystoneTokenAuth.test_v3_auth
barbicanclient.tests.test_barbican.TestBarbicanWithKeystoneTokenAuth.test_v3_auth
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "barbicanclient/tests/keystone_client_fixtures.py", line 263, in test_v3_auth
    self._delete_secret('v3')
  File "barbicanclient/tests/keystone_client_fixtures.py", line 240, in _delete_secret
    self.fail('failed to delete secret')
  File "/usr/lib/python2.7/dist-packages/unittest2/case.py", line 690, in fail
    raise self.failureException(msg)
AssertionError: failed to delete secret

Revision history for this message
Fernando Diaz (diazjf) wrote :

I can't recreate this. These test work fine for me.

Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

There's instructions on how to do this within a Debian environment:
http://openstack.alioth.debian.org/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.