yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00842
[Bug 1129243] Re: fakehttpconnection unit tests failure - unexpected keyword argument 'timeout'
** Changed in: keystone
Status: Fix Committed => Fix Released
** Changed in: keystone
Milestone: None => grizzly-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1129243
Title:
fakehttpconnection unit tests failure - unexpected keyword argument
'timeout'
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
Latest keystone unittests fail because of python-keystoneclient commit
878695ce067
This is the traceback from devstack, there are 6 more errors and
failures like it:
FAIL: test_valid_uuid_request (tests.test_auth_token_middleware.AuthTokenMiddlewa
reTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/stack/keystone/tests/test_auth_token_middleware.py", line 463, in te
st_valid_uuid_request
self.assert_valid_request_200(UUID_TOKEN_DEFAULT)
File "/opt/stack/keystone/tests/test_auth_token_middleware.py", line 458, in as
sert_valid_request_200
self.assertEqual(self.response_status, 200)
AssertionError: 401 != 200
-------------------- >> begin captured logging << --------------------
keystoneclient.middleware.auth_token: INFO: Starting keystone auth_token middlewa
re
keystoneclient.middleware.auth_token: INFO: Using /opt/stack/keystone/examples/pk
i/certs as cache directory for signing certificate
keystoneclient.middleware.auth_token: DEBUG: Authenticating user token
keystoneclient.middleware.auth_token: DEBUG: Removing headers from request enviro
nment: X-Identity-Status,X-Tenant-Id,X-Tenant-Name,X-User-Id,X-User-Name,X-Roles,
X-Service-Catalog,X-User,X-Tenant,X-Role
keystoneclient.middleware.auth_token: DEBUG: Token validation failure.
Traceback (most recent call last):
File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py"
, line 580, in _validate_user_token
data = self.verify_uuid_token(user_token, retry)
File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py"
, line 822, in verify_uuid_token
additional_headers=headers)
File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py"
, line 490, in _json_request
conn = self._get_http_connection()
File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py"
, line 453, in _get_http_connection
timeout=self.http_connect_timeout)
TypeError: __init__() got an unexpected keyword argument 'timeout'
keystoneclient.middleware.auth_token: WARNING: Authorization failed for token ec6
c0710ec2f471498484c1b53ab4f9d
keystoneclient.middleware.auth_token: INFO: Invalid user token - rejecting reques
t
--------------------- >> end captured logging << ---------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1129243/+subscriptions