← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585632] [NEW] test_revoke_by_audit_chain_id_chained_token() fails

 

Public bug reported:

This test started failing in Ubuntu package builds as of commit
79952ffbd4c1ffd2dab32c04581b3a7f71a05e28.

==============================
Failed 1 tests - output below:
==============================

keystone.tests.unit.test_auth.FernetAuthWithToken.test_revoke_by_audit_chain_id_chained_token
---------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/��PKGBUILDDIR��/keystone/tests/unit/test_auth.py", line 595, in test_revoke_by_audit_chain_id_chained_token
        token_id=token_id)
      File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
        self.assertThat(our_callable, matcher)
      File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: <bound method Manager.validate_v2_token of <keystone.token.provider.Manager object at 0x7efd83fbb4d0>> returned {'access': {'token': {'issued_at': '2016-05-25T04:29:17.000000Z', 'expires': '2016-05-25T05:29:14.000000Z', 'id': u'gAAAAABXRSodRmWvyRUcgKFIelwt9imwkJYBsdVmL3DSNEN7rntAzfi0bpFSB4fWfSsZ61G7ETkEjDoFGOfV_lycQpUhTSZg1JFKK4Tc_cCk04aDq6vLVMnW7ZEjSZ4KTNsyKrbKtZVNbVi254Rg3vNizFUysVsG-w', 'audit_ids': [u'DIO9TonYRu6riZal9j7keg']}, 'serviceCatalog': [], 'user': {'username': u'FOO', 'roles_links': [], 'id': u'cad5986016664bb3927a3a6195581a0c', 'roles': [], 'name': u'FOO'}, 'metadata': {'is_admin': 0, 'roles': []}}}

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1585632

Title:
  test_revoke_by_audit_chain_id_chained_token() fails

Status in OpenStack Identity (keystone):
  New

Bug description:
  This test started failing in Ubuntu package builds as of commit
  79952ffbd4c1ffd2dab32c04581b3a7f71a05e28.

  ==============================
  Failed 1 tests - output below:
  ==============================

  keystone.tests.unit.test_auth.FernetAuthWithToken.test_revoke_by_audit_chain_id_chained_token
  ---------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "/��PKGBUILDDIR��/keystone/tests/unit/test_auth.py", line 595, in test_revoke_by_audit_chain_id_chained_token
          token_id=token_id)
        File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
          self.assertThat(our_callable, matcher)
        File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
          raise mismatch_error
      testtools.matchers._impl.MismatchError: <bound method Manager.validate_v2_token of <keystone.token.provider.Manager object at 0x7efd83fbb4d0>> returned {'access': {'token': {'issued_at': '2016-05-25T04:29:17.000000Z', 'expires': '2016-05-25T05:29:14.000000Z', 'id': u'gAAAAABXRSodRmWvyRUcgKFIelwt9imwkJYBsdVmL3DSNEN7rntAzfi0bpFSB4fWfSsZ61G7ETkEjDoFGOfV_lycQpUhTSZg1JFKK4Tc_cCk04aDq6vLVMnW7ZEjSZ4KTNsyKrbKtZVNbVi254Rg3vNizFUysVsG-w', 'audit_ids': [u'DIO9TonYRu6riZal9j7keg']}, 'serviceCatalog': [], 'user': {'username': u'FOO', 'roles_links': [], 'id': u'cad5986016664bb3927a3a6195581a0c', 'roles': [], 'name': u'FOO'}, 'metadata': {'is_admin': 0, 'roles': []}}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1585632/+subscriptions


Follow ups