fakehttpconnection unit tests failure - unexpected keyword argument 'timeout'

Bug #1129243 reported by Ionuț Arțăriși
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Undecided
Ionuț Arțăriși

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 << ---------------------

Changed in keystone:
assignee: nobody → Ionuț Arțăriși (mapleoin)
status: New → In Progress
Revision history for this message
Dolph Mathews (dolph) wrote :
Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: grizzly-3 → 2013.1
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.